Created attachment 126930 [details]
- Linux 4.7.5
- mesa 12.0.2 / llvm 3.8.1
- mesa 1d466b9 / llvm 282838
See the screenshot attached. All the golden reflective surface should be dark as shown here: https://youtu.be/A0K5EXfgJnk?t=1h19m52s
You can find an apitrace here. http://ge.tt/6mikBDf2
Thank you for the report. I can reproduce this and will investigate.
Nice. I also noticed that the heroe's hands a completely black during the final boss scene. Should I open a separate issue?
(In reply to Clément Guérin from comment #2)
> Nice. I also noticed that the heroe's hands a completely black during the
> final boss scene. Should I open a separate issue?
Sounds like bug 96512.
Those black objects could well be bug 96512. We may have to revisit it somehow.
Meanwhile, the first incorrect rendering of the issue here happens @514365 with program 3332, vertex shader source @79150, fragment shader @79234. There's no shadow sampling involved, so it must be a different bug.
I still don't know what causes the surfaces to be too bright. However, the excessive brightness also appears with llvmpipe, so this bug doesn't seem specific to radeonsi. Reassigning to Mesa core.
Created attachment 127756 [details]
I can reproduce this issue with both Intel Sandybridge (Mesa master HEAD f009c98) and a dedicated NVIDIA NVS 4200M/PCIe/SSE2 gpu with the proprietary driver (4.4.0 NVIDIA 375.10). See attached pictures.
Created attachment 127757 [details]
This is the SNB's screenshot. I wonder if the problem is actually in Mesa, in both Mesa and NVIDIA or in the game itself. Can someone test in under AMD driver?
(In reply to Samuel Iglesias from comment #7)
> Created attachment 127757 [details]
> SNB screenshot
> This is the SNB's screenshot. I wonder if the problem is actually in Mesa,
> in both Mesa and NVIDIA or in the game itself. Can someone test in under AMD
I meant AMD proprietary driver.
I might be able to test this on the proprietary AMD driver, but I can't download the trace. I click on download, and nothing happens.
almos, disabling your ad blocker should do the trick. Sorry about that.
(In reply to Clément Guérin from comment #10)
> almos, disabling your ad blocker should do the trick. Sorry about that.
I tried that, but apart from the very NSFW advertisements nothing happens.
For some reason it doesn't work either with Firefox here, but it's fine with Epiphany (GNOME Web).
Ok, I managed to download the trace with Konqueror. I haven't tried it with fglrx yet, but I compared the attached screenshot with the YouTube video, and here are my thoughts.
Actually, the mud is rendered correctly, the problem is with the rocky walls of the cavern. It looks like the lighting is fullbright, and the fog is missing. I also read the shader in qapitrace, and I have no idea how it was supposed to add fog (I'm not an expert on GLSL though).
If you look at the middle of the attached screenshot, you can see some little black objects in the background. Those are also missing fog.
It seems this bug has been reported to Valve as https://github.com/ValveSoftware/steam-for-linux/issues/4414 , and it's not specific to Mesa.
Looks like a game bug.
Today's Portal 2 update fixed the bug.