Bug 101844 - Artifacts in form of wrong pixels appearing on some surfaces
Summary: Artifacts in form of wrong pixels appearing on some surfaces
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-19 17:18 UTC by Fabian Maurer
Modified: 2019-09-18 20:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Minecraft trage file showing the corruption (12.32 MB, application/x-7z-compressed)
2017-07-19 17:18 UTC, Fabian Maurer
Details
Screenshot with artifacts (mesa) (592.74 KB, image/png)
2017-07-19 17:18 UTC, Fabian Maurer
Details
Screenshot how it should look like (windows closed amd driver) (575.19 KB, image/png)
2017-07-19 17:19 UTC, Fabian Maurer
Details

Description Fabian Maurer 2017-07-19 17:18:20 UTC
Created attachment 132768 [details]
Minecraft trage file showing the corruption

Title says it all, will attach screenshots in the following comments.
Apitrace attached.

Images both taken from frame 600 of the trace file:
-One on linux
-One on win10 with latest closed source AMD drivers.

LIBGL_ALWAYS_SOFTWARE doesn't make a difference.

System the bug was tested on:
- Arch Linux 64bit
- Linux 4.12.2, AMDGPU driver
- Mesa 17.2.0-devel (git-80a0c9745c) / Mesa 17.1.4
- Radeon R9 285
Comment 1 Fabian Maurer 2017-07-19 17:18:58 UTC
Created attachment 132769 [details]
Screenshot with artifacts (mesa)
Comment 2 Fabian Maurer 2017-07-19 17:19:27 UTC
Created attachment 132770 [details]
Screenshot how it should look like (windows closed amd driver)
Comment 3 Timothy Arceri 2017-07-20 00:27:55 UTC
A quick look at the trace shows a bunch of errors messages due to the game expecting the GL_NV_fog_distance extensions functionality to be available.
Comment 4 Fabian Maurer 2017-07-20 00:31:40 UTC
Yes, the fog is buggy too. But is this relevant to the pixel errors? It used to work, after all.
Comment 5 Timothy Arceri 2017-07-20 00:43:21 UTC
(In reply to Fabian Maurer from comment #4)
> Yes, the fog is buggy too. But is this relevant to the pixel errors? It used
> to work, after all.

Ok I see what you are talking about now. If it used to work it would be very helpful if you could do a git bisect of a working commit vs master.
Comment 6 Timothy Arceri 2017-07-20 01:30:26 UTC
(In reply to Timothy Arceri from comment #3)
> A quick look at the trace shows a bunch of errors messages due to the game
> expecting the GL_NV_fog_distance extensions functionality to be available.

Sorry this error message was happening on i965 which doesn't have the extension enable for some reason, these errors are not reported on gallium drivers.

Also there are no artifacts when running on i965 so it would seem this is a gallium issue rather than a core mesa problem.
Comment 7 Fabian Maurer 2017-07-20 18:20:50 UTC
Sorry, look like I was wrong. There seem to always have been artifacts, but since a newer Minecraft version they're colorful instead of black, making them way more noticeable.

"LIBGL_ALWAYS_SOFTWARE=1" reduces the artifacts massively, and "GALLIUM_DRIVER=swr LIBGL_ALWAYS_SOFTWARE=1" removes them.

Now, since I can't do a regression test, is there another way I could help?
Comment 8 GitLab Migration User 2019-09-18 20:26:23 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/1013.


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.