https://bugs.freedesktop.org/show_bug.cgi?id=91342
Bug ID: 91342 Summary: Very dark textures on some objects in indoors environments in Postal 2 Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: acutiator@outlook.com QA Contact: dri-devel@lists.freedesktop.org Blocks: 77449
I'd like to take a screenshot, but Postal 2 likes to take over my desktop and I'm not certain how to rectify this. I can't alt-tab out of Postal 2 to take a screenshot and using Steam's screenshot utility, I only get garbled output.
but on radeonsi on Cape Verde hardware (git-8787141) some models (mostly NPCs and doors) have VERY dark lighting, almost black. For the doors it is always the entire door that is dark, but it then sometimes is properly lit when I walk close enough to the door. For NPCs, they are sometimes properly lit below the waist and very dark above.
I have an extra game in my Steam inventory and will be happy to send it to someone to help debug this.
https://bugs.freedesktop.org/show_bug.cgi?id=91342
--- Comment #1 from Michel Dänzer michel@daenzer.net --- (In reply to acutiator from comment #0)
I'd like to take a screenshot, but Postal 2 likes to take over my desktop and I'm not certain how to rectify this. I can't alt-tab out of Postal 2 to take a screenshot and using Steam's screenshot utility, I only get garbled output.
You could log in via ssh and get a screenshot using a command line utility, or you could take a picture of the screen.
Please attach the /var/log/Xorg.0.log file and the output of dmesg and glxinfo.
https://bugs.freedesktop.org/show_bug.cgi?id=91342
--- Comment #2 from acutiator@outlook.com --- Created attachment 117126 --> https://bugs.freedesktop.org/attachment.cgi?id=117126&action=edit Output of glxinfo
https://bugs.freedesktop.org/show_bug.cgi?id=91342
--- Comment #3 from acutiator@outlook.com --- Created attachment 117127 --> https://bugs.freedesktop.org/attachment.cgi?id=117127&action=edit Output of dmesg after game has been run and closed
https://bugs.freedesktop.org/show_bug.cgi?id=91342
--- Comment #4 from acutiator@outlook.com --- Created attachment 117128 --> https://bugs.freedesktop.org/attachment.cgi?id=117128&action=edit Photo of the game showing a properly-rendered door
https://bugs.freedesktop.org/show_bug.cgi?id=91342
--- Comment #5 from acutiator@outlook.com --- Created attachment 117129 --> https://bugs.freedesktop.org/attachment.cgi?id=117129&action=edit Photo of the game showing a badly-rendered door (closed)
https://bugs.freedesktop.org/show_bug.cgi?id=91342
--- Comment #6 from acutiator@outlook.com --- Created attachment 117130 --> https://bugs.freedesktop.org/attachment.cgi?id=117130&action=edit Photo of the game showing a badly-rendered door (open)
https://bugs.freedesktop.org/show_bug.cgi?id=91342
--- Comment #7 from acutiator@outlook.com --- I tried taking a screenshot of the game running in windowed mode using the command `DISPLAY=:0 xwd -root | convert - /tmp/FILENAME`, but it only showed the game windows as all black. Any idea why this would be?
Anyways, I just took pictures with my phone of the same door in the foyer to the police building. The one to the outside is very dark/black and the one to the inside (presumably the same texture and physical model) is properly textured/lit.
https://bugs.freedesktop.org/show_bug.cgi?id=91342
Ilia Mirkin imirkin@alum.mit.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #117128|text/plain |image/jpeg mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=91342
Ilia Mirkin imirkin@alum.mit.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #117129|text/plain |image/jpeg mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=91342
Ilia Mirkin imirkin@alum.mit.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #117130|text/plain |image/jpeg mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=91342
--- Comment #8 from Marek Olšák maraeo@gmail.com --- Would you please record a trace using apitrace and send it to us? Thanks.
https://github.com/apitrace/apitrace
https://bugs.freedesktop.org/show_bug.cgi?id=91342
--- Comment #9 from Daniel Scharrer daniel@constexpr.org --- I can reproduce the issue on my Radeon HD 7950 (TAHITI) - here is an apitrace:
http://constexpr.org/tmp/POSTAL2-radeonsi.trace.xz (75 MiB)
https://bugs.freedesktop.org/show_bug.cgi?id=91342
--- Comment #10 from Marek Olšák maraeo@gmail.com --- In addition to your Tahiti, Tonga is affected too.
https://bugs.freedesktop.org/show_bug.cgi?id=91342
--- Comment #11 from Daniel Scharrer daniel@constexpr.org --- *** Bug 91998 has been marked as a duplicate of this bug. ***
https://bugs.freedesktop.org/show_bug.cgi?id=91342
--- Comment #12 from Daniel Scharrer daniel@constexpr.org --- The apitrace is fixed for me with this commit: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3f9c5cc0fab6d770d220efd87b...
acutiator, can you check if the bug is fixed for you as well?
https://bugs.freedesktop.org/show_bug.cgi?id=91342
--- Comment #13 from acutiator@outlook.com --- I can't compile this right now as Mesa won't build for me on Fedora 22 using llvm from Rawhide. But I do have an extra Postal 2 game in my Steam inventory, so if anyone wants it so they can test this, I'm happy to provide it.
https://bugs.freedesktop.org/show_bug.cgi?id=91342
Daniel Scharrer daniel@constexpr.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #14 from Daniel Scharrer daniel@constexpr.org --- I do have POSTAL 2 myself and the it's fixed for me - just wanted to make sure we were seeing the same issue.
https://bugs.freedesktop.org/show_bug.cgi?id=91342
webexamples@exemail.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |---
--- Comment #15 from webexamples@exemail.com.au --- I have the exact same symptoms on Arch, RadeonSI, Mesa 12.0.1-7, on an R7 370, with the latest Steam version of POSTAL 2. I think there has been a regression.
https://bugs.freedesktop.org/show_bug.cgi?id=91342
--- Comment #16 from Dmytro Zverev dmitrij.zverev@gmail.com --- I confirm same issue with Portal. Some textures have very dark lighting. With latest stable 12.0.1 all fine. Git version have this regression. Wine games have broken textures too (test on No One Lives Forever, Mesa 12.0.1 == ok, git == fail).
https://bugs.freedesktop.org/show_bug.cgi?id=91342
--- Comment #17 from Kai kai@dev.carbon-project.org --- Can you check whether the resurfacing of this issue might be a duplicate of bug 97285? Just compile Mesa with attachment 125699 applied and verify that the issue persist if you use that version of Mesa. If it is fixed you should close this bug again and subscribe to the other because the original cause of this and the current problem would be different (even though the symptoms might be similar).
https://bugs.freedesktop.org/show_bug.cgi?id=91342
Dmytro Zverev dmitrij.zverev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED
--- Comment #18 from Dmytro Zverev dmitrij.zverev@gmail.com --- As Kai say, this bug duplicate of bug 97285. I check patch and apply it to fresh git and this fix it. So it can be mark as RESOVLED.
Original bug: https://bugs.freedesktop.org/show_bug.cgi?id=97285 Patch to fix: https://bugs.freedesktop.org/attachment.cgi?id=125699
https://bugs.freedesktop.org/show_bug.cgi?id=91342
Dmytro Zverev dmitrij.zverev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freedesktop.or | |g/show_bug.cgi?id=97285
https://bugs.freedesktop.org/show_bug.cgi?id=91342
Daniel Scharrer daniel@constexpr.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |REOPENED
--- Comment #19 from Daniel Scharrer daniel@constexpr.org --- Dmytro Zverev, you are talking about a completely different bug in a different game.
This has indeed regressed as the fix was effectively removed in commit fe2d2c7ad8793fbcc4761cf5b51270c296eb811c Author: Matt Turner mattst88@gmail.com Date: Sat Feb 27 14:04:30 2016 -0800
program: Remove NV_fragment_program Abs support.
Reviewed-by: Kenneth Graunke kenneth@whitecape.org Reviewed-by: Ian Romanick ian.d.romanick@intel.com Acked-by: Brian Paul brianp@vmware.com
I'll send a patch soon.
https://bugs.freedesktop.org/show_bug.cgi?id=91342
--- Comment #20 from Daniel Scharrer daniel@constexpr.org --- Fixed by https://patchwork.freedesktop.org/patch/105070/
https://bugs.freedesktop.org/show_bug.cgi?id=91342
Daniel Scharrer daniel@constexpr.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|REOPENED |RESOLVED
--- Comment #21 from Daniel Scharrer daniel@constexpr.org --- This has been fixed in Mesa git master:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=16ef7ab5c13d2c5638f5a4e1fe...
dri-devel@lists.freedesktop.org