Vladimir Dergachev wrote:


On Wed, 26 May 2004, Keith Whitwell wrote:

Vladimir Dergachev wrote:


Hi Nikolai,

I merged your patches - thank you very much !


I wonder if a similar approach could allow us to reset the radeon/r200 after lockups?


Well, Nikolai's patch is not specific to R300 - it uses plain Radeon registers.


There's historically been code which tried to do that, but it just never ever worked...


I always thought that the code did work, however since the reset usually happened in DRM driver it did not know how to set the mode. There were quite a few occasions where I was able to kill X and then restart it.
(though on other occasions killing X resulted in hard lockup).


What's different in Nikolai's patch is that the reset is initiated by X itself.

It might be that the lockup was due to clocks being switched off, but the DAC left active - or something similar.

I can confirm this code works for r200 (I'm still trying to figure out
how to fix the lockups for r200 with multiple GL apps, apparently
without much success...). However, sometimes it seems to fail, I've seen
3 different cases what happens if the watchdog is triggered:
1) one of the 2 running GL apps is killed, the other continues to run.
2) both running GL apps are killed, if that happens no further GL apps can be started (will always hang and got killed).
3) GPU lockup still happens (that happened just once, and with more than 2 apps, I was not able to reproduce it, and forgot to look in the log file if the watchdog was triggered or not).
Case 1) and 2) are both frequently seen.
But it's nice to see "VPURecover for Linux" ;-).



Roland



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to