X: Hard loop on gettimeofday
System: Dual Athlon 1700+ (ASUS A7M266-D - no FastWrite support)
Mandrake Cooker (pre-10.0):
Kernel 2.4.22 smp
nVidia 4496 and 5328
Had a nVidia TNT2, which has worked flawlessly for years. It went to the great AGP slot in the sky. Bought an FX5200 (the cheapest/slowest nVidia that I could find - I'm not a gamer).
When I run X (4.3 or 4.4), it runs beautifully (except for weird artifats on the screen whenever something - graphic window decoration, etc - is supposed to be "transparent")... at first. Then after some time, X will freeze. The mouse will continue to move, but X no longer responds. If I log in across the network, I see that X is using 99% of one of the CPUs. strace shows that it is in a hard loop on gettimeofday, interrupted by SIGALRM now and then. The only way out is to kill -9. The desktop manager will restart X, and it looks fine, but switching to a console shows complete garbage. I generally have to reboot.
The timing for this doesn't seem to be consistent - the only requirementis that "something" - mouse click, application start, something - is going on. If I start it up and walk away it runs fine.
It runs (although many features are missing) with the X "nv" driver, except for the same artifacts for "transparent" things, with no lock ups.
I've tried every combination of NvAGP, as well as disabling all modules, setting options to ignore the TV out..... I even booted with notsc as someone suggested in another thread, but then many apps and services segfaulted.
There are no errors in any of the logs, and it loads the AGP modules as specified with NvAGP.
I'm at a loss. Is this just a completely crap card? I'm thinking about E-Baying for a used TNT2, since I know that works.
==== /proc/driver/nvidia/agp/host-bridge ====
Host Bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] System Controller
Fast Writes: Not Supported
AGP Rates: 4x 2x 1x
==== /proc/driver/nvidia/agp/card ====
Fast Writes: Supported
AGP Rates: 4x 2x 1x
==== /proc/driver/nvidia/agp/status ====
AGP Rate: 4x
Fast Writes: Disabled
==== /proc/driver/nvidia/cards/0 ====
Model: GeForce FX 5200
Video BIOS: 04.34.20.22.00
Card Type: AGP