Bug 92303

Summary: [radeonsi] Buffer sharing (with/without IOMMU) locks up GPU display with dGPU only
Product: DRI Reporter: Shawn Starr <shawn.starr>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium    
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
XOrg log
none
dmesg w/ IOMMU enabled output
none
dmesg w/ no IOMMU enabled
none
perf top -g none

Description Shawn Starr 2015-10-05 21:46:31 UTC
Kernel: 4.3.0-0.rc3.git3.2.fc24.x86_64
Mesa: git master (mesa-libGL-11.0.0-0.devel.70.20150926.fc22.x86_64)
libdrm: (Sept 16th build)

kernel command line: 
BOOT_IMAGE=/boot/vmlinuz-4.3.0-0.rc3.git3.2.fc24.x86_64 root=UUID=f834b05c-55f3-407b-9a63-fc6b04d4c845 ro rhgb slub_debug=- cgroup_disable=memory console=tty0 console=ttyS0,115200n8 nmi_watchdog=0 i915.powersave=1 intel_iommu=igfx_off vfio_iommu_type1.allow_unsafe_interrupts=1 zswap.zpool=zsmalloc zswap.enabled=1 video=LVDS-1:d video=VGA-0:e pcie_aspm=off i915.enable_rc6=1 i915.enable_fbc=1 intel_iommu=on audit=0 rd.driver.blacklist=amdgpu radeon.gartsize=8192 intel_iommu=off

When trying to play ARK with high level graphics options, GPU fails to recover on reset, setting GART to 2048 or 8192 results in same fault. If I keep graphics - textures - to high vs ultimate, the game works.

I've attached various logs from the fault.
Comment 1 Shawn Starr 2015-10-05 21:46:52 UTC
Created attachment 118685 [details]
XOrg log
Comment 2 Shawn Starr 2015-10-05 21:47:12 UTC
Created attachment 118686 [details]
dmesg w/ IOMMU enabled output
Comment 3 Shawn Starr 2015-10-05 21:47:31 UTC
Created attachment 118687 [details]
dmesg w/ no IOMMU enabled
Comment 4 Shawn Starr 2015-10-05 21:48:14 UTC
Video result: https://www.youtube.com/watch?v=K-y-fsLlAAw
Comment 5 Shawn Starr 2015-10-22 22:59:43 UTC
Further info:

Top show this:

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                         
10090 spstarr   20   0 7763256 5.236g 110252 S 108.6 16.7 160:54.37 ShooterGame                                                                                                     
 1315 spstarr   20   0  352204  82332  38544 R 100.3  0.2  15:38.57 Xorg                                                                                                            
16140 root      20   0       0      0      0 R 100.0  0.0   0:55.90 kworker/1:1                                                                                                     
 1572 spstarr    9 -11  784400  33620  27204 S   2.0  0.1   8:39.58 pulseaudio
Comment 6 Shawn Starr 2015-10-22 23:00:13 UTC
Created attachment 119119 [details]
perf top -g
Comment 7 Shawn Starr 2015-10-23 00:10:34 UTC
Disabled some kernel options, close this and reopen specific for AMD only.

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.