https://bugs.freedesktop.org/show_bug.cgi?id=71138
Priority: medium Bug ID: 71138 Assignee: dri-devel@lists.freedesktop.org Summary: flashlight bug in L4D2 Severity: normal Classification: Unclassified OS: Linux (All) Reporter: yashax@windowslive.com Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa
Created attachment 88506 --> https://bugs.freedesktop.org/attachment.cgi?id=88506&action=edit The black spots.
When I'm looking on my teammates with flashlight, there are black spots on them. The black spots are moving very fast. It doesn't happens with walls/zombies, only with teammates.
------------------- System information:
Radeon HD 4850 Ubuntu 12.04.3 Linux 3.12-rc7 X.Org server version: 1.11.3 libdrm2 version: 2.4.47+git1310301030.45810d~gd~p xserver-xorg-video-radeon version: 7.2.0+git1310021050.f1dc67~gd~p OpenGL renderer string: Gallium 0.4 on AMD RV770 OpenGL version string: 3.0 Mesa 10.0.0-devel (git-b16b3c8 precise-oibaf-ppa) OpenGL shading language version string: 1.30
https://bugs.freedesktop.org/show_bug.cgi?id=71138
--- Comment #1 from yashax@windowslive.com --- Created attachment 88507 --> https://bugs.freedesktop.org/attachment.cgi?id=88507&action=edit Re-uploading the first screenshot.
https://bugs.freedesktop.org/show_bug.cgi?id=71138
--- Comment #2 from yashax@windowslive.com --- Created attachment 88508 --> https://bugs.freedesktop.org/attachment.cgi?id=88508&action=edit Another screenshot showing the black spots.
https://bugs.freedesktop.org/show_bug.cgi?id=71138
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #88506|text/plain |image/png mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=71138
--- Comment #3 from Vadim Girlin ptpzz@yandex.ru --- This looks like z-fighting issues. You might want to try disabling compiler backends via R600_DEBUG environment variable:
R600_DEBUG=nollvm R600_DEBUG=nosb R600_DEBUG=nollvm,nosb
https://bugs.freedesktop.org/show_bug.cgi?id=71138
--- Comment #4 from yashax@windowslive.com --- (In reply to comment #3)
This looks like z-fighting issues. You might want to try disabling compiler backends via R600_DEBUG environment variable:
R600_DEBUG=nollvm R600_DEBUG=nosb R600_DEBUG=nollvm,nosb
The bug still exists with these environment variables. The bug report and my last tests were done with shader detail setting on low. I found that the bug happens with shader detail on low and medium, but on high and very high the bug disappears.
https://bugs.freedesktop.org/show_bug.cgi?id=71138
--- Comment #5 from Benjamin Bellec b.bellec@gmail.com --- I'm experiencing the same issue, with the same hardware. I tried different graphics settings. The corruption exists only when the "shader detail" ("Détails de l'image" in french) is set to "low" or "mid". When set on "high" or "very high", there is no problem. All other settings doesn't change anything.
Note that when the character is in the sunlight, then the flashlight have less incidence (less blinking textures).
Here is a video showing the bug (199.6 MiB): http://ubuntuone.com/12CfgEkAOwaBvgXKQILIxR
I have also a Radeon HD 5870 (AMD CYPRESS), and there is no such problem with this card (same software config).
------------------- System information:
Radeon HD 4850 (RV770) Fedora 19 x86-64 Linux 3.11.9-200.fc19.x86_64 libdrm 2.4.49-1.i686 OpenGL renderer string: Gallium 0.4 on AMD RV770 OpenGL core profile version string: 3.1 (Core Profile) Mesa 10.1.0-devel (git-5455c81) OpenGL core profile shading language version string: 1.40
https://bugs.freedesktop.org/show_bug.cgi?id=71138
--- Comment #6 from Benjamin Bellec b.bellec@gmail.com --- It seems that nv50 (GT218) has the same issue.
https://bugs.freedesktop.org/show_bug.cgi?id=71138
--- Comment #7 from Benjamin Bellec b.bellec@gmail.com --- Disabling Hyper-Z with R600_DEBUG=nohyperz doesn't fix the bug (tested on RV770 and current master).
https://bugs.freedesktop.org/show_bug.cgi?id=71138
--- Comment #8 from Benjamin Bellec b.bellec@gmail.com --- I tested with an old Mesa release (9.0 from the spot.fedorapeople.org/steam repo) on Fedora 17, and the problem is already here.
It would be nice if somebody can test with the proprietary driver and with intel driver.
https://bugs.freedesktop.org/show_bug.cgi?id=71138
--- Comment #9 from yashax@windowslive.com --- It looks like this bug is fixed with current mesa master. Can you please verify that on your hardware?
------------------- System information: Radeon HD 4850 Ubuntu 13.10 x86_64 Linux 3.14 libdrm 2.4.53+git1404110630.504d60 xserver-xorg-video-radeon 7.3.99+git1404022026.ed0cfb OpenGL renderer string: Gallium 0.4 on AMD RV770 OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.2.0-devel (git-55f9bbd saucy-oibaf-ppa) OpenGL core profile shading language version string: 3.30
https://bugs.freedesktop.org/show_bug.cgi?id=71138
Benjamin Bellec b.bellec@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #10 from Benjamin Bellec b.bellec@gmail.com --- Yes I confirm this is now fixed. I can even add the fix was:
commit: e9822f77a9cc024f528d30382fd5ad21c73a173b title: glsl: Skip making a temporary for assignments when we don't need one. author: Eric Anholt eric@anholt.net date: 2014-04-08 07:59:47 (GMT)
dri-devel@lists.freedesktop.org