Bug 108916

Summary: polaris11 d3d9 rendering issue
Product: Mesa Reporter: Roman Elshin <roman.elshin>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium CC: hemu8713
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: corruption example

Description Roman Elshin 2018-12-01 08:44:10 UTC
Created attachment 142680 [details]
corruption example

System is ubuntu 16.04 with kernel 4.16.18 and oibaf ppa, wine-nine-staging-3.18 compiled from commendsarnex ppa.

~$ glxinfo |grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Radeon RX 560 Series (POLARIS11, DRM 3.23.0, 4.16.18, LLVM 7.0.1)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.0.0-devel (git-37f9788 2018-11-30 xenial-oibaf-ppa)

Using d3d9 nine course a visual problem, it looks like flickering noise.
d3d9 trace from windows:
https://drive.google.com/file/d/1CGd-CR5vQmwe4jy4Fsux-jDypJUHJP7-/view
Comment 1 Axel Davy 2019-01-23 20:23:52 UTC
Hi,

I just wanted to confirm the trace reproduces the issue, but it may not be a nine issue but a radeonsi llvm issue. The trace has no glitches on llvmpipe.
Comment 2 smoki 2019-01-24 12:34:16 UTC
 I can't reproduce this on CIK (Kabini) using provided trace.

 So, this sounds like hardware specific bug somewhere, probably llvm.
Comment 3 Roman Elshin 2019-01-26 06:50:34 UTC
I saw some reports with distortions which looks similar to this and it was fixed in llvm-8. Installing llvm-8 from http://apt.llvm.org/ and recompiling libdrm + mesa from git does't solve this issue.
$ glxinfo |grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Radeon RX 560 Series (POLARIS11, DRM 3.27.0, 4.19.9, LLVM 8.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.0.0-devel (git-8e9ad592c3)
Comment 4 Roman Elshin 2019-03-03 10:00:36 UTC
> I can't reproduce this on CIK (Kabini) using provided trace.
>
> So, this sounds like hardware specific bug somewhere, probably llvm.

There are similar distorsions with verde (hd7770 with amdgpu), but it less noticeable there.
Comment 5 Roman Elshin 2019-03-03 10:20:17 UTC
>hd7770 with amdgpu
it is the same with radeon.
Comment 6 GitLab Migration User 2019-09-25 18:31:20 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/1344.

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.