You are not logged in.

#1 2012-02-01 12:04:03

ryan0270
Member
Registered: 2010-08-31
Posts: 27

[solved] nvidia+flash freezing X

Websites containing flash, especially youtube, cause X to freeze up to where I can move the mouse but nothing else (no window switch, desktop switching, etc). I've had this happen with both chromium and firefox so I don't believe it is a browser issue. I believe the culprit is nvidia ... here is the relevant section of Xorg.0.log

[   256.208] (WW) NVIDIA(0): WAIT (2, 6, 0x8000, 0x00007540, 0x00008890)
[   259.386] (WW) NVIDIA(0): WAIT (0, 6, 0x8000, 0x00008890, 0x00008890)
[   280.851] nvLock: client timed out, taking the lock
[   288.891] (WW) NVIDIA(0): WAIT (2, 6, 0x8000, 0x0000d048, 0x00002d2c)
[   295.891] (WW) NVIDIA(0): WAIT (1, 6, 0x8000, 0x0000d048, 0x00002d2c)
[   312.542] [mi] EQ overflowing. The server is probably stuck in an infinite loop.
[   312.542] 
Backtrace:
[   312.573] 0: /usr/bin/X (xorg_backtrace+0x26) [0x566a86]
[   312.573] 1: /usr/bin/X (mieqEnqueue+0x191) [0x547391]
[   312.573] 2: /usr/bin/X (0x400000+0x46f54) [0x446f54]
[   312.573] 3: /usr/bin/X (xf86PostButtonEvent+0xdd) [0x481e6d]
[   312.573] 4: /usr/lib/xorg/modules/input/evdev_drv.so (0x7fe322214000+0x4883) [0x7fe322218883]
[   312.573] 5: /usr/bin/X (0x400000+0x6ca07) [0x46ca07]
[   312.573] 6: /usr/bin/X (0x400000+0x925fe) [0x4925fe]
[   312.573] 7: /lib/libpthread.so.0 (0x7fe329026000+0xf8a0) [0x7fe3290358a0]
[   312.573] 8: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fe322cd6000+0x896c0) [0x7fe322d5f6c0]
[   312.573] 9: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fe322cd6000+0x8b2b5) [0x7fe322d612b5]
[   312.573] 10: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fe322cd6000+0x89ee5) [0x7fe322d5fee5]
[   312.573] 11: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fe322cd6000+0xf4bfc) [0x7fe322dcabfc]
[   312.573] 12: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fe322cd6000+0x4c8895) [0x7fe32319e895]
[   312.573] 13: /usr/bin/X (miImageText8+0x76) [0x553ba6]
[   312.574] 14: /usr/bin/X (0x400000+0xf8496) [0x4f8496]
[   312.574] 15: /usr/bin/X (doImageText+0x353) [0x435973]
[   312.574] 16: /usr/bin/X (ImageText+0x40) [0x436cd0]
[   312.574] 17: /usr/bin/X (0x400000+0x31249) [0x431249]
[   312.574] 18: /usr/bin/X (0x400000+0x33cb9) [0x433cb9]
[   312.574] 19: /usr/bin/X (0x400000+0x22eea) [0x422eea]
[   312.574] 20: /lib/libc.so.6 (__libc_start_main+0xed) [0x7fe327edd38d]
[   312.574] 21: /usr/bin/X (0x400000+0x231dd) [0x4231dd]

After this happens I have tried waiting a few minutes but it never seems to recover so I have to forcibly power down. I've seen forum posts for other distros with the same issue but not a good solution. Is anyone else on Arch seeing this?

Here is relevant version information that I can think of

[ryantr@lappy ~]$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 230M] (rev a2)
[ryantr@lappy ~]$ lsmod | grep nvidia
nvidia              12066843  34 
i2c_core               20492  3 i2c_i801,nvidia,videodev
[ryantr@lappy ~]$ pacman -Q nvidia
nvidia 290.10-2
[ryantr@lappy ~]$ pacman -Q linux
linux 3.2.2-1

Last edited by ryan0270 (2012-02-02 10:38:45)

Offline

#2 2012-02-01 17:48:42

Darksoul71
Member
Registered: 2010-04-12
Posts: 319

Re: [solved] nvidia+flash freezing X

Honestly Flash has often be a huge pile of junk for me. Unstable. High CPU load and so on.
If you use Flash mostly for youtube you should try to use alternatives (Flash Replacer, Linterna Magica, etc).

They often work more stable than Flash.


My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick

Offline

#3 2012-02-01 19:39:00

KingX
Member
From: CA
Registered: 2010-03-24
Posts: 324

Re: [solved] nvidia+flash freezing X

If you have turned on hardware acceleration for flash turn it off. That *should* fix it. Found under /etc/adobe/mms.cfg.

#Hardware video decoding
EnableLinuxHWVideoDecode=0

Set it to 0.

Offline

#4 2012-02-02 10:38:30

ryan0270
Member
Registered: 2010-08-31
Posts: 27

Re: [solved] nvidia+flash freezing X

Thanks. Turning off hardware acceleration seems to have done the trick.

Offline

Board footer

Powered by FluxBB