| View previous topic :: View next topic |
| Author |
Message |
thestick Guru


Joined: 07 Apr 2006 Posts: 531 Location: /dev/urandom
|
Posted: Thu Feb 01, 2007 11:54 am Post subject: why does firefox suck on gentoo. |
|
|
ok , don`t flame!
i remember that when i ran firefox on my windows xp box yesterday , resizing fonts in firefox using ctrl + mousewheel was almous instantaneous.
on gentoo on the other hand it is quite slow [2-3 sec between changes]
the other thing i observed is that it scrolls very slow on some pages http://themes.wordpress.net/testrun/?wptheme=701 if the link doesn`t work you should know it is the vistered theme on wordpress blog.
in windows xp it scrolled smoothly.
i have disabled xcomposite , tried firefox 1.5 2 even 3 that was in the mozilla overlay.
nothing.
btw , in konqueror everything works fine.
wtf am i missing?  |
|
| Back to top |
|
 |
Braveheart1980 n00b

Joined: 26 Apr 2006 Posts: 44
|
Posted: Thu Feb 01, 2007 1:23 pm Post subject: |
|
|
I dont know exactly what is going on , but I can assure you that
(1) Resizing using ctrl+ mousewheel is INSTANT!
(2) The link works 100%
What version of firefox you tried and what where your use flags? |
|
| Back to top |
|
 |
trae n00b


Joined: 22 Apr 2005 Posts: 54 Location: Finland
|
Posted: Thu Feb 01, 2007 1:58 pm Post subject: Re: why does firefox suck on gentoo. |
|
|
| thestick wrote: | the other thing i observed is that it scrolls very slow on some pages http://themes.wordpress.net/testrun/?wptheme=701 if the link doesn`t work you should know it is the vistered theme on wordpress blog.
in windows xp it scrolled smoothly. |
I believe that page scrolls slowly mainly because of hideous web design. There's a fixed background image, so the browser has to constantly render the whole page when scrolling. It's the same problem with Opera and Konqueror.
Did you try Firefox or IE in WinXP? IE doesn't know how to render fixed background, so it scrolls smoothly. |
|
| Back to top |
|
 |
Insanity5902 Veteran


Joined: 23 Jan 2004 Posts: 1228 Location: Fort Worth, Texas
|
Posted: Thu Feb 01, 2007 3:56 pm Post subject: |
|
|
I use to have the exact same problems, what fixed it for me was compiling firefox with moznopango use flag.
No font changes are instantaneous , just as you mentioned, and that site you sent me to scrolls pretty damn smooth. It lags every fourth or fifth full scroll with the whell, but for not even half a second.
Give that a shot, it should work better. I am not sure what firefox-bin is compiled with so you will need to compile it yourself. _________________ GibbonsR.net | OpenLaptops.org
Join the adopt an unanswered post initiative today |
|
| Back to top |
|
 |
Insanity5902 Veteran


Joined: 23 Jan 2004 Posts: 1228 Location: Fort Worth, Texas
|
|
| Back to top |
|
 |
cyberjun Apprentice


Joined: 06 Nov 2005 Posts: 272
|
Posted: Thu Feb 01, 2007 4:29 pm Post subject: |
|
|
Hi,
The site works perfectly with OPERA. However it does have a lag in FIREFOX. The CPU usage also goes up when I scroll in FIREFOX. I haven't compiled firefox with moznopango. I will try that soon and post back the results. By the way will I lose some functionality if I disable pango?
cheers,
--cyberjun |
|
| Back to top |
|
 |
madisonicus Veteran


Joined: 20 Sep 2006 Posts: 1130
|
Posted: Thu Feb 01, 2007 5:01 pm Post subject: |
|
|
| cyberjun wrote: | Hi,
The site works perfectly with OPERA. However it does have a lag in FIREFOX. The CPU usage also goes up when I scroll in FIREFOX. I haven't compiled firefox with moznopango. I will try that soon and post back the results. By the way will I lose some functionality if I disable pango?
cheers,
--cyberjun | I set moznopango a while ago and haven't encountered any problems with it. In fact, firefox has been much more stable since then. However, I haven't done any real comparative work to be sure that it is in fact more stable. _________________ Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC |
|
| Back to top |
|
 |
thestick Guru


Joined: 07 Apr 2006 Posts: 531 Location: /dev/urandom
|
Posted: Thu Feb 01, 2007 5:18 pm Post subject: |
|
|
http://politics.slashdot.org/politics/04/11/03/1637232.shtml
i can scroll this one very well and very smooth.
this one http://themes.wordpress.net/testrun/ still sucks comparatively to (windows xp w/ firefox)
| Quote: | | www-client/mozilla-firefox-2.0.0.1-r2 USE="java moznopango xforms xinerama -debug -filepicker -gnome -ipv6 -mozbranding -mozdevelop -restrict-javascript -xprint" |
meebo is very slow too , and all the javascript stuff [ ajax ? ] goes slow generally . but not on windows xp  |
|
| Back to top |
|
 |
skellr l33t


Joined: 18 Jun 2005 Posts: 699 Location: The Village
|
Posted: Fri Feb 02, 2007 4:14 am Post subject: |
|
|
| Insanity5902 wrote: | As a side note, I disabled smooth scrolling, and that site scrolls perfectly now.
I didn't realize I had that enabled, I usely disable it, as it can cause that hang up I mentioned. | The ebuild turns it on for you.  |
|
| Back to top |
|
 |
Nickspaz n00b


Joined: 29 Jan 2007 Posts: 7 Location: Australia
|
Posted: Fri Feb 02, 2007 12:53 pm Post subject: |
|
|
I just recompiled Firefox with 'moznopango'.
The page renders noticeably faster when scrolling, though it's still quite lagged, especially when compared to Konqueror's job of it. _________________ ~~~Nickspaz~~~ |
|
| Back to top |
|
 |
Insanity5902 Veteran


Joined: 23 Jan 2004 Posts: 1228 Location: Fort Worth, Texas
|
|
| Back to top |
|
 |
thestick Guru


Joined: 07 Apr 2006 Posts: 531 Location: /dev/urandom
|
Posted: Fri Feb 02, 2007 8:49 pm Post subject: |
|
|
yes, i disabled smooth scrolling in options.
this sucks so bad...
it`s like : in windows it works perfectly , in gentoo it sucks.
i did recompile with moznopango and disabled smooth scrolling. none of you have this problem? |
|
| Back to top |
|
 |
Dralnu Veteran


Joined: 24 May 2006 Posts: 1919
|
Posted: Fri Feb 02, 2007 9:02 pm Post subject: |
|
|
| Nickspaz wrote: | I just recompiled Firefox with 'moznopango'.
The page renders noticeably faster when scrolling, though it's still quite lagged, especially when compared to Konqueror's job of it. |
That is sounding like an engine issue if there is that big a diff. Someone else tried to see if another gecko browser handles it well or not? _________________ The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner. |
|
| Back to top |
|
 |
jonnevers Veteran


Joined: 02 Jan 2003 Posts: 1585 Location: Gentoo64 land
|
Posted: Fri Feb 02, 2007 9:07 pm Post subject: |
|
|
| thestick wrote: | yes, i disabled smooth scrolling in options.
this sucks so bad...
it`s like : in windows it works perfectly , in gentoo it sucks.
i did recompile with moznopango and disabled smooth scrolling. none of you have this problem? |
That page loads beautifully in firefox (and firefox-bin) on my gentoo64 system. I checked my preferences and smooth scrolling is disabled (I don't think I've ever really known what this does/is anyway) and
| Code: | | [ebuild R ] www-client/mozilla-firefox-2.0.0.1-r2 USE="gnome ipv6 -debug -filepicker -java -mozbranding -mozdevelop -moznopango -restrict-javascript -xforms -xinerama -xprint" |
|
|
| Back to top |
|
 |
Nickspaz n00b


Joined: 29 Jan 2007 Posts: 7 Location: Australia
|
Posted: Sat Feb 03, 2007 1:06 am Post subject: |
|
|
| Dralnu wrote: | | Nickspaz wrote: | I just recompiled Firefox with 'moznopango'.
The page renders noticeably faster when scrolling, though it's still quite lagged, especially when compared to Konqueror's job of it. |
That is sounding like an engine issue if there is that big a diff. Someone else tried to see if another gecko browser handles it well or not? |
Quite possibly.
For the record, I did turn smooth scrolling off for both browsers when I did the comparison. _________________ ~~~Nickspaz~~~ |
|
| Back to top |
|
 |
Dralnu Veteran


Joined: 24 May 2006 Posts: 1919
|
Posted: Sat Feb 03, 2007 6:54 am Post subject: |
|
|
recompiled with mozpango. Works alot better. Also, no more smooth scrolling. _________________ The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner. |
|
| Back to top |
|
 |
alienvenom Tux's lil' helper

Joined: 12 Jan 2005 Posts: 123 Location: San Francisco, CA
|
Posted: Thu Feb 08, 2007 10:18 am Post subject: |
|
|
I'm having similar issues with changing fonts using the mouse weel, scrolling and such... But disabling pongo didn't make much of a difference here. off course i've disabled smooth scrolling and the whole bit, but... it doesnt seem as fast as windows.
I modified my xorg.conf a bit, here's what I currently have:
http://zeus.dogtoe.com/files/xorg.conf.2.txt
its almost like 2d acceleration stuff isnt being handled by the card to its abilities  |
|
| Back to top |
|
 |
neekibo n00b

Joined: 22 Oct 2003 Posts: 49
|
Posted: Thu Feb 15, 2007 12:01 am Post subject: |
|
|
| thestick wrote: | ... and all the javascript stuff [ ajax ? ] goes slow generally . but not on windows xp  |
I discovered the same here. On GMail for example: Within a conversation: on the right bottom corner there appears the name of the sender of the next message (done with JS ... and maybe AJAX ?!). Now scrolling makes FF use 100 % cpu. This can't be. It's the same with the site mentioned before (http://themes.wordpress.net/testrun/?wptheme=701).
My guess: a bug in FF's JavaScript implementation.
What I tried (without success):- Opera 9.10 does not have that problem
- recompiled with nomozpango
- updated pango, cairo, gtk+
- tried firefox-bin[/code]
And yes, I disabled smooth scrolling.
So: Is there anybody out there ... help me sing my song.
I mean does someone have a smooth scrolling on the sites mentioned in this thread and cpu-load not exceeding 90% ? |
|
| Back to top |
|
 |
Dralnu Veteran


Joined: 24 May 2006 Posts: 1919
|
Posted: Thu Feb 15, 2007 12:11 am Post subject: |
|
|
| neekibo wrote: | | thestick wrote: | ... and all the javascript stuff [ ajax ? ] goes slow generally . but not on windows xp  |
I discovered the same here. On GMail for example: Within a conversation: on the right bottom corner there appears the name of the sender of the next message (done with JS ... and maybe AJAX ?!). Now scrolling makes FF use 100 % cpu. This can't be. It's the same with the site mentioned before (http://themes.wordpress.net/testrun/?wptheme=701).
My guess: a bug in FF's JavaScript implementation.
What I tried (without success):- Opera 9.10 does not have that problem
- recompiled with nomozpango
- updated pango, cairo, gtk+
- tried firefox-bin[/code]
And yes, I disabled smooth scrolling.
So: Is there anybody out there ... help me sing my song.
I mean does someone have a smooth scrolling on the sites mentioned in this thread and cpu-load not exceeding 90% ? |
I didn't top out loading said site. Loaded quite quickly, actually, too (fliped to another screen to see Conky, then back to see a loaded page).
I'm also running the noscript extention, with only google.com havng access (going to see if I cann't limit that further)
My FF USE flags:
| Code: | | ipv6 moznopango restrict-javascript -debug -filepicker -gnome -java -mozbranding -mozdevelop -xforms -xinerama -xprint |
_________________ The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner. |
|
| Back to top |
|
 |
madisonicus Veteran


Joined: 20 Sep 2006 Posts: 1130
|
Posted: Thu Feb 15, 2007 12:35 am Post subject: |
|
|
I have smooth scrolling on too, and it also loaded quickly for me.
So....
If you're having trouble post your emerge --info. There's something else going on here. _________________ Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC |
|
| Back to top |
|
 |
thestick Guru


Joined: 07 Apr 2006 Posts: 531 Location: /dev/urandom
|
Posted: Thu Feb 15, 2007 12:10 pm Post subject: |
|
|
still unsolved and bloated an slow ..sheesh
here you go
| Code: | Portage 2.1.2-r9 (default-linux/x86, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r1 i686)
=================================================================
System uname: 2.6.19-gentoo-r1 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.12.9
Timestamp of tree: Wed, 14 Feb 2007 08:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python: 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3, 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.20
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/devel/env /usr/kde/devel/share/config /usr/kde/devel/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache confcache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.evolva.ro/gentoo/ ftp://ftp.romnet.org/gentoo/ http://ftp.roedu.net/pub/mirrors/gentoo.org/ http://distfiles.gentoo.org/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-z,now"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/root/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/portage/local/layman/sunrise /usr/portage/local/layman/mozilla /usr/portage/local/layman/musicbrainz /usr/portage/local/layman/kde /usr/portage/local/layman/pro-audio /usr/portage"
SYNC="rsync://mirrors.evolva.ro/gentoo-portage"
USE="3dnow 3dnowext 7zip X Xaw3d aac aalib acl aiglx alsa amazon amr ao ares artworkextra asf audiofile avahi background bash-completion berkdb binary-drivers bitmap-fonts bittorrent bl bmg bzip2 cdparanoia cgi chardet cjk cli clock-screen connectionstatus cpudetection cracklib css curl cursors custom-cflags custom-flags cvs d3d dbus dga directfb divx dlloader dri dts dvb dvd dvdr dvdread encode escreen etwin extensions extrafilters fastcgi fat fbcon ffmpeg firefox flash font-server fontconfig fortran fuse gcj gdbm geoip gif gjc glib glitz gmedia gnutls gtalk gtk gtk2 gtkhtml gzip hal hddtemp hfs howl howl-compat icons iconv idea imlib imlib2 insecure-savers ipod iproute2 ipv4 isdnlog jabber jack java javascript jfs jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdexdeltas kerberos kqemu l7filter lame lcms libcaca lighttpd live lm_sensors lzo maildir metalink midi mjpeg mmx mmx2 mmxext mono motif mouse moznocompose moznoirc moznomail moznopango mozsvg mp3 mpd mpeg mpeg2 mplayer multislot musepack musicbrainz nas ncurses net nls nowlistening nptl ntfs nvidia obj offensive openal opengl pam patch-loader pch pcre pdf perl php pink png pppd python qa qt3 qt4 rar rc5 rdesktop readline realmedia reflection reiser4 reiserfs risky samba scanner scenarios sdl search-screen session sms source speex spl sse ssl statistics stlport svg svga tcpd teamarena tga theme_plain theora threads thumbnail thunar-vfs tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vidix vim-with-x vnc webpresence win32codecs winbind wma wma123 wmf wmp wxwindows x86 xchat xcomposite xforms xfs xgetdefault xgl xine xinerama xml xorg xosd xpm xscreensaver xv xvid xvmc yahoo zeroconf zippy zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa v4l"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
|
|
|
| Back to top |
|
 |
thestick Guru


Joined: 07 Apr 2006 Posts: 531 Location: /dev/urandom
|
Posted: Thu Feb 15, 2007 4:29 pm Post subject: |
|
|
i`m starting to think this is a font problem..  |
|
| Back to top |
|
 |
forkboy Apprentice


Joined: 24 Nov 2004 Posts: 200 Location: Blackpool, UK
|
Posted: Thu Feb 15, 2007 10:57 pm Post subject: |
|
|
| I've never been able to get the fonts in firefox looking good in gentoo, I've no idea why, they work fine in opera and konqueror and I've tried using their settings but no luck. |
|
| Back to top |
|
 |
Mr. Anderson l33t


Joined: 22 Apr 2004 Posts: 756
|
Posted: Mon Feb 19, 2007 4:22 am Post subject: |
|
|
| thestick wrote: | i`m starting to think this is a font problem..  |
This is really, really possible. I had the same problem and I modified my xorg.conf only few days ago and made changes in several sections. One thing I changed was the files section. I removed all FontPath entries that were claimed to be wrong in Xorg.0.log and added all useful paths in /usr/share/fonts that were not listed (each directory with a fonts.dir in it). Now my xorg.conf looks like this:
| Code: | Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/ukr/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/util/"
FontPath "/usr/share/fonts/default/ghostscript"
FontPath "/usr/share/fonts/default/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/terminus/"
FontPath "/usr/share/fonts/sharefonts/"
FontPath "/usr/share/fonts/cronyx/misc/"
FontPath "/usr/share/fonts/cronyx/75dpi/"
FontPath "/usr/share/fonts/cronyx/100dpi/"
FontPath "/usr/share/fonts/unfonts-extra/"
FontPath "/usr/share/fonts/freefont/"
FontPath "/usr/share/fonts/unfonts/"
FontPath "/usr/share/fonts/aquafont/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/ja-ipafonts/"
FontPath "/usr/share/fonts/corefonts/"
FontPath "/usr/share/fonts/ttf-bitstream-vera/"
FontPath "/usr/share/fonts/alee-fonts/"
FontPath "/usr/share/fonts/intlfonts/"
FontPath "/usr/share/fonts/cyrillic/"
EndSection
Section "Module"
Load "glx"
Load "record"
Load "extmod"
Load "dbe"
# Load "dri"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "ImPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 31.5 - 91.2
VertRefresh 60.0 - 134.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV17 [GeForce4 MX 440]"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "NoLogo" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
# Option "NoDDC" "true"
#Option "ConnectedMonitor" # <str>
SubSection "Display"
Viewport 0 0
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection |
About half of the pages that were slow are now fast. The other half is still as slow as before.
Ok, just tested again. It is really strange. Sometimes all pages are fast and smooth and sometimes all are slow. I have not figured out where this comes from, yet. |
|
| Back to top |
|
 |
k0001 n00b

Joined: 12 Jun 2006 Posts: 38
|
Posted: Mon Feb 19, 2007 3:42 pm Post subject: |
|
|
| using moznopango does a better job in my firefox, but let me tell you that scrolling that website (the one mentioned on the first post) with epiphany 'feels better' than with firefox. |
|
| Back to top |
|
 |
|