Bug 36421 - RV710: GPU lockup running portal2 in wine.
Summary: RV710: GPU lockup running portal2 in wine.
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-20 05:45 UTC by Andrian Nord
Modified: 2012-03-23 11:26 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
kernel traces for GPU lockup (7.03 KB, text/plain)
2011-04-20 05:45 UTC, Andrian Nord
Details
dmesg output (52.39 KB, application/octet-stream)
2011-04-30 23:41 UTC, Vladimir Usikov
Details

Description Andrian Nord 2011-04-20 05:45:34 UTC
Created attachment 45860 [details]
kernel traces for GPU lockup

OpenGL renderer string: Gallium 0.4 on AMD RV710
OpenGL version string: 2.1 Mesa 7.11-devel (git-c98fa6b)

After finishing loading any level game shows black screen (like monitor goes off), than screen goes back to live filled with some flickering garbage. netconsole on other hosts reports GPU lockup traces from kernel. Leaving game in this state for a while leads to complete kernel hangup.

I failed to reproduce this on any other non-native 3d-application (read: game), neither on any native (still, I don't have access to much of them).

Changing various in-game settings to lowest possible doesn't help, nor switching dxlevel (they seems to disable this feature).

Attaching traces log from netconsole. I may also attach wine output, as it contains information about GL calls, but maybe it will be better to post wine bug for this?

If there is any way to get some error-state (like one from intel cards in similar bugs here) or opengl calls trace - I'll happily provide them.
Comment 1 Vladimir Usikov 2011-04-30 23:38:36 UTC
I have ArchLinux x86, Radeon HD 4850

OpenGL renderer string: Gallium 0.4 on AMD RV770
OpenGL version string: 2.1 Mesa 7.11-devel (git-bd661a9)

I have similar error in Portal & Portal 2 game.
Comment 2 Vladimir Usikov 2011-04-30 23:39:39 UTC
I have ArchLinux x86, Radeon HD 4850

OpenGL renderer string: Gallium 0.4 on AMD RV770
OpenGL version string: 2.1 Mesa 7.11-devel (git-bd661a9)

I have similar error in Portal & Portal 2 game.
Comment 3 Vladimir Usikov 2011-04-30 23:41:06 UTC
Created attachment 46207 [details]
dmesg output
Comment 4 Tobias Jakobi 2011-05-01 04:02:42 UTC
This seems to be a problem with all games that use the HL2 engine in its DX9 level mode. Portal seems to force dxlevel >= 90 and therefore always produces this lockups.
Comment 5 Sven Arvidsson 2011-05-16 12:50:53 UTC
This might be the same as bug 36812. Can you try reverting the commit mentioned there and see if it still hangs?
Comment 6 Tobias Jakobi 2011-05-17 09:57:27 UTC
This issue was already present long before this particular commit, at least for me. It's also not strictly related to the HL2 engine, since I get the exact same problem with FEAR and its DX9 level renderpath.

I presume that r600g currently doesn't handle shader code that well that gets build by wined3d for certain shader configurations.
Comment 7 Sven Arvidsson 2011-06-14 04:59:18 UTC
The hangs in Team Fortress 2 and Left 4 Dead has been fixed on git master now, can you retest?
Comment 8 Vladimir Usikov 2012-03-23 10:15:54 UTC
I have not tested it for a long time and I can't say when the error is gone. mesa-8.0 & mesa-git no error on ArchLinux x86, Radeon HD 4850. Tested Portal, HL2 (Episode One/Two), Team Fortress 2, Left 4 Dead 2.

Can this be closed?
Comment 9 Alex Deucher 2012-03-23 11:26:33 UTC
Please reopen if this is still an issue.


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.