Skip to contentSkip to conversation

Very dark textures on some objects in indoors environments in Postal 2

Bug 91342 [email protected] 1 participant 26 messages Jul 14, 2015 – Aug 20, 2016

lore
Share & tools
lore
#0 lore raw

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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=91342

--- Comment #1 from Michel Dänzer <[email protected]> --- (In reply to acutiator from comment #0)

Quoted 4 lines

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

--- Comment #2 from [email protected] ---
Created attachment 117126
--> https://bugs.freedesktop.org/attachment.cgi?id=117126&action=edit
Output of glxinfo

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

--- Comment #3 from [email protected] ---
Created attachment 117127
--> https://bugs.freedesktop.org/attachment.cgi?id=117127&action=edit
Output of dmesg after game has been run and closed

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

--- Comment #4 from [email protected] ---
Created attachment 117128
--> https://bugs.freedesktop.org/attachment.cgi?id=117128&action=edit
Photo of the game showing a properly-rendered door

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

--- Comment #5 from [email protected] ---
Created attachment 117129
--> https://bugs.freedesktop.org/attachment.cgi?id=117129&action=edit
Photo of the game showing a badly-rendered door (closed)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

--- Comment #6 from [email protected] ---
Created attachment 117130
--> https://bugs.freedesktop.org/attachment.cgi?id=117130&action=edit
Photo of the game showing a badly-rendered door (open)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

--- Comment #7 from [email protected] ---
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

Ilia Mirkin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #117128|text/plain                  |image/jpeg
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

Ilia Mirkin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #117129|text/plain                  |image/jpeg
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

Ilia Mirkin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #117130|text/plain                  |image/jpeg
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

--- Comment #8 from Marek Olšák <[email protected]> ---
Would you please record a trace using apitrace and send it to us? Thanks.

https://github.com/apitrace/apitrace

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

--- Comment #9 from Daniel Scharrer <[email protected]> ---
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)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#15 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

--- Comment #12 from Daniel Scharrer <[email protected]> --- The apitrace is fixed for me with this commit:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3f9c5cc0fab6d770d220efd87ba3746c6673875

acutiator, can you check if the bug is fixed for you as well?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#16 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

--- Comment #13 from [email protected] ---
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#17 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

Daniel Scharrer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #14 from Daniel Scharrer <[email protected]> ---
I do have POSTAL 2 myself and the it's fixed for me - just wanted to make sure we were seeing the same issue.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#18 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #15 from [email protected] ---
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#19 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

--- Comment #16 from Dmytro Zverev <[email protected]> --- 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).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#20 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

--- Comment #17 from Kai <[email protected]> ---
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).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#21 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

Dmytro Zverev <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #18 from Dmytro Zverev <[email protected]> --- 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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#22 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

Dmytro Zverev <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=97285
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

author Reviewed-by Kenneth Graunke Reviewed-by Ian Romanick Acked-by Brian Paul
#23 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

Daniel Scharrer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #19 from Daniel Scharrer <[email protected]> --- 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 <[email protected]>
Date:   Sat Feb 27 14:04:30 2016 -0800

program: Remove NV_fragment_program Abs support.

I'll send a patch soon.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#25 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91342

Daniel Scharrer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #21 from Daniel Scharrer <[email protected]> --- This has been fixed in Mesa git master:

https://cgit.freedesktop.org/mesa/mesa/commit/?id=16ef7ab5c13d2c5638f5a4e1fe7f0303d26b4e96

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel