Bug 95072

Summary: [wine] Rendering bug in GTA IV
Product: Mesa Reporter: Sven Arvidsson <sa>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: screenshot

Description Sven Arvidsson 2016-04-22 16:45:47 UTC
Created attachment 123156 [details]
screenshot

I'm getting a peculiar rendering bug in the game GTA IV (using Wine). The bug could best be described as "christmas lights" (screenshot attached).

Apitrace (439 MB)
https://www.dropbox.com/s/7xto4gmvwkk5ksm/gtaiv.trace?dl=0

The bug happens both with 11.1.2 and recent git 1883613

The trace renders fine with i965 and with software rendering but with a lot of warnings. 

Replaying the trace with radeonsi gives this warning:
16375: message: shader compiler issue 1: Shader Stats: SGPRS: 80 VGPRS: 12 Code Size: 72 LDS: 0 Scratch: 0 Max Waves: 10


System environment:
-- system architecture: 64-bit
-- Linux distribution: Debian unstable
-- GPU: TONGA
-- Model: Asus Strix R9 285 2GB
-- Display connector: DVI
-- xf86-video-amdgpu: 1.1.0
-- xserver: 1.18.3
-- mesa: 
-- drm: 2.4.67
-- kernel: 4.5.0
Comment 1 Nicolai Hähnle 2016-04-25 18:02:24 UTC
Hi Sven, thanks for the bug report. I can indeed reproduce the problem with the apitrace.
Comment 2 Marek Olšák 2016-05-25 18:43:49 UTC
Hi Sven,
I can no longer reproduce this with Mesa git & LLVM git. Can you re-test?
Comment 3 Sven Arvidsson 2016-05-28 18:35:25 UTC
Seems to be working fine with current git master and llvm 3.8. Thanks!

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.