Bug 195283

Summary: amdgpu: desktop freezes with wine-staging and FS2002
Product: Drivers Reporter: fin4478
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED PATCH_ALREADY_AVAILABLE    
Severity: blocking CC: alexdeucher
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.11-rc5 Subsystem:
Regression: No Bisected commit-id:

Description fin4478 2017-04-07 18:38:29 UTC
I updated Oibaf ppa Mesa git today and wine-staging 2.4. Before that MS Flight Simulator 2002 did work without freezing the desktop. Now the desktop freezes when  nearing takeoff speed and there is this in dmesg (via ssh):
[  142.466155] amdgpu 0000:01:00.0: GPU fault detected: 147 0x04207702
[  142.466159] amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x001A6A84
[  142.466161] amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0C077002
[  142.466163] amdgpu 0000:01:00.0: VM fault (0x02, vmid 6) at page 1731204, read from 'SDM0' (0x53444d30) (119)
[  142.468214] amdgpu 0000:01:00.0: GPU fault detected: 147 0x01580402
[  142.468217] amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x0010002B
[  142.468219] amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0E004002
[  142.468221] amdgpu 0000:01:00.0: VM fault (0x02, vmid 7) at page 1048619, read from 'TC3' (0x54433300) (4)
[  142.468225] amdgpu 0000:01:00.0: GPU fault detected: 147 0x01584402
[  142.468226] amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00139F91
[  142.468227] amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0E008002
[  142.468229] amdgpu 0000:01:00.0: VM fault (0x02, vmid 7) at page 1286033, read from 'TC2' (0x54433200) (8)

sudo reboot does not work. Must reboot the computer with the power button. My System: Debian testing Xfce, Gigabyte Rx 460 2GB, Amd X4 845, 8GB 2133Mhz ddr3, 240GB sata ssd, Asus A88XM-E motherboard.

Freezing also with the ad5gf drm-next-wip kernel when it used kernel 4.10-rc5.
Comment 1 Alex Deucher 2017-04-07 18:59:48 UTC
Most likely a mesa bug rather than a kernel bug.
Comment 2 fin4478 2017-04-07 20:09:42 UTC
It was Mesa bug that is fixed in Oibaf ppa uploaded 2 hours ago.Game works ok as before.