Skip to contentSkip to conversation

Weird blocky green stuff rendered in High Fidelity

Bug 99191 [email protected] 1 participant 7 messages Dec 23, 2016 – Sep 22, 2017

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=99191

Bug ID: 99191
Summary: Weird blocky green stuff rendered in High Fidelity
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

RX 480, mesa git, llvm 4.0.0svn_r290385

They have an OpenGL 4.1 and an OpenGL 4.5 backend and it happens on both.

Here is a video with the 4.3 backend:
https://www.youtube.com/watch?v=VpNFhlzsLHg

Here is a (50 megabyte compressed) trace with the 4.5 backend:
https://haagch.frickel.club/files/interface.trace.xz

Possibly an application bug, but glretrace prints no real errors.

If you want to run it yourself, you will need this fix:
https://github.com/highfidelity/hifi/pull/9264#issuecomment-268943917

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=99191

--- Comment #1 from Samuel Pitoiset <[email protected]> --- This app looks like totally buggy.

Rendering is broken with NVIDIA blob and Nouveau on Maxwell, on SKL and radeonsi. :)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99191

smoki <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from smoki <[email protected]> ---

Yup, trace does not even run with AMD blob also... likely does not work
anywhere.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99191

Christoph Haag <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #4 from Christoph Haag <[email protected]> ---
I've reopened, but feel free to close again if it still doesn't work on other drivers.

Now that it doesn't hang my GPU anymore I've spent a couple of hours tweaking the source code, available here:
https://github.com/ChristophHaag/hifi/commits/master

The rendering is better now: The blocky stuff is not green anymore, but it did not disappear. New video showing the problem:
https://www.youtube.com/watch?v=pda7cNx3ATE

And here is a new trace that runs with an actual 4.5 core context with no mesa GL errors anymore:
https://haagch.frickel.club/files/interface-blockartifacts.trace.xz (512 mb uncompressed)

If you want to run this trace right now, you need the patch from bug 102308, currently on the list
https://lists.freedesktop.org/archives/mesa-dev/2017-August/166827.html

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99191

--- Comment #5 from Ilia Mirkin <[email protected]> --- Tried it on nouveau, but I get a ton of

Mesa: User error: GL_INVALID_VALUE in glBindBufferRange(offset misaligned 704/256)

This is due to the alignment requirements for constant (and texture) buffers being higher on NVIDIA hw than AMD hw.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99191

Christoph Haag <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Christoph Haag <[email protected]> --- It doesn't happen anymore on HiFi's RELEASE-7150 tag and radeonsi git, so either of them probably fixed it in the meantime.

I'm very happy to close this again.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel