Bug 28615

Summary: [r300g] Hard freeze when running POP: Sands of time under wine
Product: Mesa Reporter: Maciej Cencora <m.cencora>
Component: Drivers/Gallium/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Kernel log

Description Maciej Cencora 2010-06-19 12:32:59 UTC
Machine hangs when running POP: Sands of time under wine. SysRq doesn't work.

Mesa git revision 4c761843051d7e97be828baad965c13789127dbf
Kernel 2.6.32-23 (ubuntu lucid)
Comment 1 Marek Olšák 2010-07-12 19:19:28 UTC
[My comment from Bug 29020, which seems to be the same issue as yours]

Multiple simultaneously running contexts are most probably the cause of these hardlocks, because this way the driver may generate pretty much a random command stream which has valid register writes, meaning that the CS checker doesn't notice anything, and the hardware goes crazy.

Wine uses multiple contexts quite often, if not all the time.

Soon I am going to rewrite winsys for it to support multiple command streams, and then we'll see if it resolves this issue...
Comment 2 Marek Olšák 2010-07-15 23:57:22 UTC
Pushed the multi-context stuff. Could you please test POP with current mesa git?
Comment 3 Maciej Cencora 2010-07-17 08:00:04 UTC
No luck, it still hangs.
Comment 4 Marek Olšák 2010-08-02 08:43:57 UTC
I've fixed the hardlock we were getting in wine tests. Could you please test POP again?
Comment 5 Maciej Cencora 2010-08-03 12:00:24 UTC
Created attachment 37552 [details]
Kernel log

This time the machine didn't hang, but the screen went off. I had to reboot to bring it on again.
Attached kernel output.
Comment 6 Maciej Cencora 2010-09-11 05:50:26 UTC
It doesn't hang anymore with mesa afd328afa8fdad58d22c214c01bcbf82614801c5.

Unfortunately the image is broken, and the game is unusable under r300g. Works fine with r300c though.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.