Summary: | Mud rendering bug in Portal 2 | ||
---|---|---|---|
Product: | Mesa | Reporter: | Clément Guérin <libcg> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED NOTOURBUG | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | aaalmosss, lukebenes, siglesias |
Version: | 12.0 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Screenshot
NVIDIA screenshot SNB screenshot |
Description
Clément Guérin
2016-10-01 05:45:54 UTC
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]
NVIDIA screenshot
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]
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 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 > driver? 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. |
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.