nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Periodic short-term 'freeze' with nvidia-drivers (http://www.nvnews.net/vbulletin/showthread.php?t=86253)

platojones 02-13-07 03:13 PM

Periodic short-term 'freeze' with nvidia-drivers
Let me start by saying that I've searched high and low for a definitive fix or workaround for this to no avail. So maybe the answer is here :)

System Specs:
CPU: Intel Core 2 Duo E6700
MB: Asus P5W64WS
Gfx Card: EVGA Geforce 7950GT KO 512MB GDDR3 PCI-E x16
OS: Gentoo (Gentoo Sources 2.6.19-r5, 2.6.18-r6)
Drivers: Nvidia 1.0.9476, 1.0.9631

1) When attempting to run the latest SVN Gentoo Xeffects Beryl Package (9999) using the Nvidia XGL setup, I noticed a consistent 15 to 30 sec 'freeze' every time I tried to minimize a window. By freeze, I mean the mouse was still responsive, but nothing else on the KDE desktop would respond to clicks. After the freeze period, any clicks I had previous made on icons or menus would be executed. I began looking at all of the system logs to see if the kernel was reporting any issues. The output of the logs (and dmesg) showed nothing, but the Xorg logs displayed this:

(II) evdev brain: Rescanning devices (2).
(II) Logitech MX1000-usb-0000:00:1d.0-1/input0: On
(WW) NVIDIA(0): WAIT (0, 7, 0x0000, 0x000085e4, 0x000085e4)
(WW) NVIDIA(0): WAIT (0, 7, 0x0000, 0x0000e75c, 0x0000e75c)
(WW) NVIDIA(0): WAIT (0, 7, 0x0000, 0x0000e780, 0x0000e780)
(WW) NVIDIA(0): WAIT (0, 7, 0x0000, 0x0000fa30, 0x0000fa30)
(WW) NVIDIA(0): WAIT (0, 7, 0x0000, 0x0000e4e0, 0x0000e4e0)
(WW) NVIDIA(0): WAIT (0, 7, 0x0000, 0x00000f70, 0x00000f70)
(WW) NVIDIA(0): WAIT (0, 7, 0x0000, 0x000011e4, 0x000011e4)
(WW) NVIDIA(0): WAIT (0, 7, 0x0000, 0x000046f4, 0x000046f4)
(WW) NVIDIA(0): WAIT (0, 7, 0x0000, 0x0000f568, 0x0000f568)
(WW) NVIDIA(0): WAIT (0, 7, 0x0000, 0x00008a00, 0x00008a00)
(WW) NVIDIA(0): WAIT (0, 7, 0x0000, 0x00003608, 0x00003608)
(WW) NVIDIA(0): WAIT (0, 7, 0x0000, 0x00004c5c, 0x00004c5c)

2) I tailed the Xorg log and noticed that these WAIT messages did, in fact, seem to correlate with these 'freeze' events.

3) I then disabled beryl; rebooted my system; started a normal KDE session and simply ran glxgears to try to narrow the issue down: was it beryl or the nividia drivers themselves that were responsible for the freeze events?. I was tailing the Xorg log and again noticed this 'freeze' effect, which correlated perfectly with the Xorg log entries I posted above. The output of glxgears was showing a very high frame rate compared to any previous versions of the nividia-drivers I'd tried (:

83904 frames in 5.0 seconds = 16780.706 FPS
84805 frames in 5.0 seconds = 16960.986 FPS
84586 frames in 5.0 seconds = 16917.156 FPS
84794 frames in 5.0 seconds = 16958.705 FPS
84848 frames in 5.0 seconds = 16969.597 FPS
84764 frames in 5.0 seconds = 16952.688 FPS
84644 frames in 5.0 seconds = 16928.739 FPS

3) I reverted the nvdia-drivers from 9476 to 9631 and still observed the same issue.

Here are some of the things I've tried to work-around/fix the problem:

1) I commented out the 'RenderAccel' entry in my xorg.conf - No effect
2) I loading the nvidia driver module with the "modprobe nvidia NVreg_RegistryDwords="PerfLevelSrc=0x2222" - No effect

Here's the device section of my my xorg.conf, btw:

Section "Device"
Identifier "EVGA GeForce 7950GT"
Driver "nvidia"
VideoRam 524288
Option "RandRRotation" "on"
# Option "RenderAccel" "true"
Option "DPMS" "true"
Option "UseEvents" "true"
Option "NvAGP" "0"
# Required for XGL
Option "AddARGBGLXVisuals" "true"
# Insert Clocks lines here if appropriate

netllama 02-13-07 03:18 PM

Re: Periodic short-term 'freeze' with nvidia-drivers

platojones 02-13-07 04:01 PM

Re: Periodic short-term 'freeze' with nvidia-drivers
Thanks for the quick response. I did try those (at least the ones that made sense in this case), but none of the tips I did try had any effect (i.e., I tried idle=poll). I didn't try the nommconfig I since I was not getting the indicated output from dmesg suggesting that that was the problem. I am using the most recent stable BIOS for the MB as well.

wibble123 02-13-07 06:37 PM

Re: Periodic short-term 'freeze' with nvidia-drivers
Hi there.

With my 7900GT pci-e card i too suffered with freezes on my dual LCD setup.

Once I disabled UseEvents it stopped. Try that.


platojones 02-13-07 07:21 PM

Re: Periodic short-term 'freeze' with nvidia-drivers
BINGO! Thanks wibble123, that fixed it. glxgears (and beryl) are smooth as glass now. It's great to have forums like this to go to where people not only have a clue, but aren't shy about sharing some of it. Thanks Again!

soniclava 03-29-07 01:14 AM

Re: Periodic short-term 'freeze' with nvidia-drivers

Having the exact same issue, how would one disable UseEvents ? I can't find the option. Any help(lee63)


misterflibble 04-03-07 12:58 PM

Re: Periodic short-term 'freeze' with nvidia-drivers
soniclava, UseEvents would be a line in your /etc/X11/xorg.conf file (assuming you're using Xorg) reading

Option "UseEvents" "true"

under the Device Section, and deleting the line or changing "true" to "false" would disable them. If you don't have this line in your X config file, then your problem lies elsewhere.

Thanks wibble123, this was driving me batty because I couldn't remember what I had changed, but this was definitely it.

Revs 02-17-11 04:55 AM

Re: Periodic short-term 'freeze' with nvidia-drivers

All times are GMT -5. The time now is 11:36 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.