Bug 102796

Summary: steam not rendering correctly on VEGA 56
Product: DRI Reporter: Tom Englund <tomenglund26>
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: XOrg git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Tom Englund 2017-09-15 16:28:50 UTC
im using amd-staging-4.12 branch from https://cgit.freedesktop.org/~agd5f/linux/

gist of dmesg https://gist.github.com/gulafaran/af0edfff6dabafe12f451a2caaa5bd58

tried on mesa 17.2 release and 
17.3.0_devel.95819.9aba643e3c-1

and tried both llvm 5.0.0 and
6.0.0svn_r313351-1

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega [Radeon RX Vega] (rev c3)

steam doesnt render quite correctly as can be seen here https://i.imgur.com/gRxuOz8.png , no particular error is printed to stdout or stderr nor dmesg. ive tried various games and benchmarks which all works just fine. its only steams GUI thats misbehaving so far.

no change running it with STEAM_RUNTIME=0 or 1, same goes with STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 or 1 .

and this happend when i switched from nvidia card to the vega 56. so the steam install should be fine as it has been working on nvidia blob and nouveau, even tried removing and recreating the ~/ steam files.
Comment 1 Tom Englund 2017-09-15 22:36:51 UTC
apitrace of steam , apitrace32 --api gl steam-native

https://gist.github.com/gulafaran/bb1499808c777b33032297d18d28e3fc

tried with dri2 and xorg modesetting. same rendering issue.
Comment 2 Tom Englund 2017-09-16 10:24:01 UTC
using LIBGL_ALWAYS_SOFTWARE=true steam , makes it render just like it should, so i would assume the issue is somewhere in mesa with vega.
Comment 3 Tom Englund 2017-09-19 17:02:42 UTC
its fixed with one of the components today.

OpenGL renderer string: AMD VEGA10 (DRM 3.20.0 / 4.12.0-1-amdgpu-zen-4.12, LLVM 6.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.3.0-devel (git-7343d27136)

its rendering correctly now.
Comment 4 Michel Dänzer 2017-10-04 15:41:22 UTC
Thanks for the followup, glad it's working now.

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.