Discussion:
[blfs-support] Firefox - slow menu and right-click response
Magnus Larsson
2015-01-18 08:35:42 UTC
Permalink
Hello BLFS Support List

If I use the Firefox menu bar and left click on "file", "edit", "view" or if I
select text from the web page and right click then there is a 1-2 second delay
before the menu pops up and when I "copy" there is a similar delay before it
disappears.

However is I click on the "open menu" icon (looks like three horizontal bars,
to the right of the search window)

This problem has been around for a long time, for me and it is not related to
any particular Firefox version.

I have searched the web and there are numerous reports about this, however
none of the "SOLVED" solutions reported works for me. I have some other
problem in my system.

All other menus are "fast": KDE applications, Libre office etc, etc.

=== my system ===

LFS/BLFS SVN "ca 2014"

I use the Nouveau driver on Intel P8Z77 board with Nvidia GTX 670 graphics
card.

I have Firefox-34.0.5 as per BLSF-SVN
http://www.linuxfromscratch.org/blfs/view/svn/xsoft/firefox.html

$ uname -a
Linux lfs 3.18.1 #2 SMP Sat Dec 20 18:26:02 CET 2014 x86_64 GNU/Linux

$ kde4-config -v
Qt: 4.8.5
KDE Development Platform: 4.13.0
kde4-config: 1.0

=== ===

One obvious test is to use the NVIDIA proprietary driver. I have not tested
that. I prefer to keep Nouveau, but I am open for feedback if that is the
solution.

What do you think?
Have you experienced similar problems?

Best regards,

Magnus L
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Bruce Dubbs
2015-01-18 16:05:59 UTC
Permalink
Post by Magnus Larsson
Hello BLFS Support List
If I use the Firefox menu bar and left click on "file", "edit", "view" or if I
select text from the web page and right click then there is a 1-2 second delay
before the menu pops up and when I "copy" there is a similar delay before it
disappears.
However is I click on the "open menu" icon (looks like three horizontal bars,
to the right of the search window)
This problem has been around for a long time, for me and it is not related to
any particular Firefox version.
I have searched the web and there are numerous reports about this, however
none of the "SOLVED" solutions reported works for me. I have some other
problem in my system.
All other menus are "fast": KDE applications, Libre office etc, etc.
=== my system ===
LFS/BLFS SVN "ca 2014"
I use the Nouveau driver on Intel P8Z77 board with Nvidia GTX 670 graphics
card.
I have Firefox-34.0.5 as per BLSF-SVN
http://www.linuxfromscratch.org/blfs/view/svn/xsoft/firefox.html
$ uname -a
Linux lfs 3.18.1 #2 SMP Sat Dec 20 18:26:02 CET 2014 x86_64 GNU/Linux
$ kde4-config -v
Qt: 4.8.5
KDE Development Platform: 4.13.0
kde4-config: 1.0
=== ===
One obvious test is to use the NVIDIA proprietary driver. I have not tested
that. I prefer to keep Nouveau, but I am open for feedback if that is the
solution.
What do you think?
Have you experienced similar problems?
I have not seen this problem but can suggest a couple of things to
check. Run top in a window and watch the load. Look at
/var/log/Xorg.0.log to see if the Nouveau driver is indeed being used.
Build another browser -- seamonkey, lynx or links, konqueror (a part of
KDE) and see if you get similar behavior.

-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Magnus Larsson
2015-01-18 22:50:42 UTC
Permalink
Post by Bruce Dubbs
I have not seen this problem but can suggest a couple of things to
check. Run top in a window and watch the load. Look at
/var/log/Xorg.0.log to see if the Nouveau driver is indeed being used.
Build another browser -- seamonkey, lynx or links, konqueror (a part of
KDE) and see if you get similar behavior.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Hello Bruce,

Thanks for checking.
Post by Bruce Dubbs
Look at /var/log/Xorg.0.log to see if the Nouveau driver is indeed being
used.
It seems module is loaded.

$ cat Xorg.0.log | grep nouveau
[ 21.011] (==) Matched nouveau as autoconfigured driver 0
[ 21.011] (==) Matched nouveau as autoconfigured driver 2
[ 21.011] (II) LoadModule: "nouveau"
[ 21.011] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 21.129] (II) Module nouveau: vendor="X.Org Foundation"
[ 21.210] (II) [drm] nouveau interface version: 1.2.1
[ 21.596] (II) NOUVEAU(0): [DRI2] DRI driver: nouveau
[ 21.596] (II) NOUVEAU(0): [DRI2] VDPAU driver: nouveau
[ 21.960] (II) AIGLX: Loaded and initialized nouveau

$ lsmod
Module Size Used by
x86_pkg_temp_thermal 14205 0
kvm_intel 148301 0
kvm 455200 1 kvm_intel
nouveau 1318968 2
crc32c_intel 22094 0
ghash_clmulni_intel 13230 0
joydev 17344 0
microcode 23468 0
i2c_i801 18146 0
ttm 80659 1 nouveau
serio_raw 13434 0
pcspkr 12718 0
snd_seq 62266 0
snd_seq_device 14136 1 snd_seq
Post by Bruce Dubbs
Build another browser -- seamonkey, lynx or links, konqueror
Konqueror works fine with regards to menus, I use it often, but I have some
multimedia problems, on some sites, with Konq that I do not have with
Firefox. Some Firefox menus are fast and all the rest of my system as well.
Post by Bruce Dubbs
Build another browser
I am planning to try Chrome. I have fetched the source and set up the the
build tools. The build stopped because it needs ncurses libtinfo.so.5. It
seems I have to reconfigure ncurses and rebuild to get libtinfo, but that is
another story...

Magnus
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Richard Melville
2015-01-19 10:59:59 UTC
Permalink
Post by Magnus Larsson
Post by Bruce Dubbs
Build another browser
I am planning to try Chrome. I have fetched the source and set up the the
build tools. The build stopped because it needs ncurses libtinfo.so.5. It
seems I have to reconfigure ncurses and rebuild to get libtinfo, but that
is
another story...
Is that Chrome or Chromium? I thought that Chrome was proprietary.

Richard
Magnus Larsson
2015-01-19 16:16:53 UTC
Permalink
Post by Richard Melville
Post by Magnus Larsson
Post by Bruce Dubbs
Build another browser
I am planning to try Chrome. I have fetched the source and set up the the
build tools. The build stopped because it needs ncurses libtinfo.so.5. It
seems I have to reconfigure ncurses and rebuild to get libtinfo, but that
is
another story...
Is that Chrome or Chromium? I thought that Chrome was proprietary.
Richard
Hello Richard,
You are right. I meant Chromium.

I still wonder why some, not all, Firefox menus are slow. I do not mind
keeping Firefox. I will try the Nvidia proprietary driver as well.

Magnus
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Magnus Larsson
2015-01-24 17:04:17 UTC
Permalink
Post by Magnus Larsson
Post by Richard Melville
Post by Magnus Larsson
Post by Bruce Dubbs
Build another browser
I am planning to try Chrome. I have fetched the source and set up the the
build tools. The build stopped because it needs ncurses libtinfo.so.5. It
seems I have to reconfigure ncurses and rebuild to get libtinfo, but that
is
another story...
Is that Chrome or Chromium? I thought that Chrome was proprietary.
Richard
Hello Richard,
You are right. I meant Chromium.
I still wonder why some, not all, Firefox menus are slow. I do not mind
keeping Firefox. I will try the Nvidia proprietary driver as well.
Magnus
Hello again,

Unloaded nouveau. Installed NVIDIA-Linux-x86_64-346.35 instead.

No change.

Firefox right-click response, still slow, 1 second to react, other Firefox
menus are fast, rest of system besides Firefox fast.

Magnus
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Magnus Larsson
2015-01-25 15:01:48 UTC
Permalink
Post by Magnus Larsson
Post by Magnus Larsson
Post by Richard Melville
Post by Magnus Larsson
Post by Bruce Dubbs
Build another browser
I am planning to try Chrome. I have fetched the source and set up the the
build tools. The build stopped because it needs ncurses libtinfo.so.5. It
seems I have to reconfigure ncurses and rebuild to get libtinfo, but that
is
another story...
Is that Chrome or Chromium? I thought that Chrome was proprietary.
Richard
Hello Richard,
You are right. I meant Chromium.
I still wonder why some, not all, Firefox menus are slow. I do not mind
keeping Firefox. I will try the Nvidia proprietary driver as well.
Magnus
Hello again,
Unloaded nouveau. Installed NVIDIA-Linux-x86_64-346.35 instead.
No change.
Firefox right-click response, still slow, 1 second to react, other Firefox
menus are fast, rest of system besides Firefox fast.
Magnus
SOLVED: [blfs-support] Firefox - slow menu and right-click response

The right click menu in Firefox is now fast again. I disabled Pulseaudio which
tried to load ConsoleKit. This did not work sine I have unstalled ConsoleKit.

=== details ===

I found this:

/var/log/sys.log
Jan 25 09:13:47 lfs pulseaudio[2565]: [pulseaudio] module-console-kit.c:
GetSessionsForUnixUser() call failed:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit
was not provided by any .service files
Jan 25 09:13:47 lfs pulseaudio[2565]: [pulseaudio] module.c: Failed to load
module "module-console-kit" (argument: ""): initialization failed.
Jan 25 09:13:47 lfs pulseaudio[2565]: [pulseaudio] main.c: Module load failed.
Jan 25 09:13:47 lfs pulseaudio[2565]: [pulseaudio] main.c: Failed to
initialize daemon.
Jan 25 09:13:47 lfs pulseaudio[2562]: [pulseaudio] main.c: Daemon startup
failed.

I commented out the text below in /etc/pulse/default.pa
#.ifexists module-console-kit.so
#load-module module-console-kit
#.endif

I restarted and then the problem with the Firefox menus disappeared.

The root cause is probably that I uninstalled ConsoleKit. This was
intentional, but I failed to recognize the side effects.

Magnus
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Loading...