Bug 83285

Summary: GPU Lockup using wine d3d under certain games
Product: Mesa Reporter: josepwnz
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: blocker    
Priority: highest CC: vmerlet, xavier.miller
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=93706
Whiteboard:
i915 platform: i915 features:
Attachments: Kern.log
dmesg output

Description josepwnz 2014-08-30 22:43:48 UTC
Created attachment 105479 [details]
Kern.log

Hi, im getting some gpu resets (sometimes even reboot computer) playing some games (League of legends & starcraft2) using wine (patched for d3d)

I have to say it only happens using certain settings, for example using "character quality" option from league of legends setting to very low/low game loads normally. if i set to medium or higher then causes GPU reset loops untill game crash/computer completly freeze(need reboot)/or if i'm enough faster, kill process from tty.

If you need, i can try to make a movie showing problem

Linux mint 17
Kernel 3.16.0
OpenGL ES 3.0 Mesa 10.4.0-devel (git-932b0ef 2014-08-30 trusty-oibaf-ppa)
ATI 6670
Comment 1 josepwnz 2014-09-06 11:14:19 UTC
using GALLIUM_HUD=fps also produces GPU lockups sometimes. No matter what version of wine i use.

Sep  6 12:04:10 mint-pwnz kernel: [ 3561.461837] radeon 0000:01:00.0: ring 0 stalled for more than 10016msec
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.461853] radeon 0000:01:00.0: GPU lockup (waiting for 0x00000000006040e5 last fence id 0x000000000060403f on ring 0)
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.461929] radeon 0000:01:00.0: failed to get a new IB (-35)
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.461944] [drm:radeon_cs_ib_fill] *ERROR* Failed to get ib !
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.461961] radeon 0000:01:00.0: failed to get a new IB (-35)
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.461977] [drm:radeon_cs_ib_fill] *ERROR* Failed to get ib !
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.469294] radeon 0000:01:00.0: Saved 10500 dwords of commands on ring 0.
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.469368] radeon 0000:01:00.0: GPU softreset: 0x0000000D
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.469376] radeon 0000:01:00.0:   GRBM_STATUS               = 0xA2733828
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.469383] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x1C000007
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.469389] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.469395] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.469400] radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.469406] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.469412] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00010800
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.469418] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00028006
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.469423] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x80038647
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.469429] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83146
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.485576] radeon 0000:01:00.0: GRBM_SOFT_RESET=0x00007F6B
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.485633] radeon 0000:01:00.0: SRBM_SOFT_RESET=0x00100100
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.486785] radeon 0000:01:00.0:   GRBM_STATUS               = 0x00003828
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.486791] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000007
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.486797] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.486803] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.486808] radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.486814] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.486820] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.486825] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.486831] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x00000000
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.486837] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
Sep  6 12:04:10 mint-pwnz kernel: [ 3561.486855] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
Comment 2 Ilya 2015-11-17 17:55:32 UTC
Have the same bug on a Radeon HD2400 Pro playing Crimsonland2 (but other games too). GPU locks, X server hangs, after 10 seconds I can restart X server by C-A-Backspace. But in a new session the are no accelerated OpenGL. I must restart a Computer. Dmesg-log attached
Comment 3 Ilya 2015-11-17 17:56:21 UTC
Created attachment 119746 [details]
dmesg output
Comment 4 GitLab Migration User 2019-09-18 19:17:09 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/524.

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.