Felix K�hling <[EMAIL PROTECTED]> writes:
>> but I have next problem: X server locked after a few minutes playing in
>> quake2 ;( My computer do not react on mouse or keyboard activity... but
>> this is not bus lock --- mplayer is contining playing music and I can login
>> on the computer through SSH.
>>
>> it is the head of top output:
>>
>> top - 11:02:53 up 19:53, 8 users, load average: 1.22, 0.57, 0.25
>> Tasks: 59 total, 3 running, 54 sleeping, 0 stopped, 2 zombie
>> Cpu(s): 0.3% us, 99.7% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
>> Mem: 255232k total, 185004k used, 70228k free, 29812k buffers
>> Swap: 0k total, 0k used, 0k free, 117208k cached
>>
>> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
>>
>> 1444 root 25 0 148m 5832 3332 R 99.3 2.3 1:59.36 X
>>
>> 1423 dima 15 0 2628 1084 908 S 0.7 0.4 0:01.30 esd
>>
>> 1487 dima 16 0 1864 964 764 R 0.3 0.4 0:00.14 top
>>
>>
>> As I can see --- all cpu power eaten by X server, but I cant kill it :(
>> even with help -9 or -11 signal 8o probably because the proces is in system
>> (kernel) mode...
>
> Sounds like a graphics engine lockup. Some process keeps holding the
> lock waiting for the engine to become available, which it never does
> because it's locked up. In the mean while X tries to grab the lock and
> fails. So it keeps retrying, eating 100% CPU. Just a theory though.
> There have been reports about instabilities with r200-based cards. It
> was introduced by some driver change last year. But AFAIK noone got
> around to tracking it down. :-/
>
>>
>> what I can do? and how I can debug the problem?
>
> Try to find a version in CVS that works and then narrow it down to one
> specific commit that introduced the problem. This will be time consuming
> and not very exciting though.
>
now I rewert to clean (ie stable) xorg-6.8.1 build from source.
(but I do not change drm module... it look like xorg source do not contain
drm sources) this not help much :( quake crached after a minute or
two. only garbage on the screen and locked mouse... but Xserver itself not
locked I can shutdown Xserver by keyboard... coredump for quake2 not
generated regardless I set ulimit -c unlimited
but there is a message in the log of running quake2:
Error: R200 timed out... exiting
What I can do farther? any ideas?
can this problem be related to drm module?
what other drm modules I can try ?
>>
>> PS: I have more problems: If I exit from quake before X locked --- the
>> mouse locked (or grabbed ??) I cant use it :( the mouse cursor placed in
>> the left top corner of display. and size of display do not returned to
>> normal rezolution... but keyboard work and I can cleanly shutdown X
>> server... Why this can be?
>
> Probably quake2 or the 3D driver segfaults before the mouse grab and
> graphics mode can be restored, possibly in r200DestroyContext. If it's
> crashing in the graphics driver this should be fairly easy to track
> down. Enable core dumps (ulimit -c unlimited) and analyze the core dump
> with gdb to see where it crashed (gdb -c core `which quake2`). (Caution,
> quake2 may be a shell script. You must point gdb the actual executable
> instead.) In gdb use the "bt" command to see a call stack trace. "up"
> and "down" jump between stack frames. Use "print" to inspect variables.
>
> (This is just general advise. I don't have any r200 hardware myself
> ATM.)
--
Dimitry
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel