All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality
@ 2016-06-13 19:13 bugzilla-daemon
  2016-06-14 14:44 ` bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-06-13 19:13 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2385 bytes --]

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

            Bug ID: 96512
           Summary: Portal Stories Mel: Player's hands appear black at
                    high shader quality
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: robin@paxnos.de
        QA Contact: dri-devel@lists.freedesktop.org

Created attachment 124512
  --> https://bugs.freedesktop.org/attachment.cgi?id=124512&action=edit
Example from Portal Stories: Mel. Upper picture: Shader quality "Very high" (or
high), Lower picture:  Shader quality "medium" (or lower)

Hello,

this is my first bug report, so I hope the information provided is sufficient.

In Portal Stories: Mel and Portal 2 (reportedly), the player's arms and hands
(and a few other objects, as demonstrated in the attached picture) appear black
when the shader quality setting is set to "High" or "Very High", but appears
normal if it is medium or lower.

This seems to only happen to a few objects, like the arms. In Portal 2 this is
not visible as often, as the player's arms are usually not visible like that.
Not sure if this is a Mesa bug, but it has been pointed out that the reports
have so far only been on different versions of Mesa, so.. just thought I'd
report it here in case.
I actually wanted to provide apitrace files, but I could not get it to work,
sadly.

I sorted this under radeonsi because this is the driver I use, but among the
other reports have been Intel systems. Please correct the bug report
classification if not accurate.

The bug on Valve's git: https://github.com/ValveSoftware/portal2/issues/255

My system: 
Kubuntu 16.04
Intel i5-2400
8 GB DDR3 RAM
Radeon HD 7950 Boost
(Steam Overlay deactivated)

OpenGL renderer string: Gallium 0.4 on AMD TAHITI (DRM 2.43.0 /
4.4.0-24-generic, LLVM 3.9.0)
OpenGL core profile version string: 4.2 (Core Profile) Mesa 12.1.0-devel -
padoka PPA (git-42624ea)
OpenGL core profile shading language version string: 4.20

Please let me know if there's something else you need

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 4271 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality
  2016-06-13 19:13 [Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality bugzilla-daemon
@ 2016-06-14 14:44 ` bugzilla-daemon
  2016-06-15  4:32 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-06-14 14:44 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 284 bytes --]

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

--- Comment #1 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Hi Robin, thanks for the report. Could you provide an apitrace where the issue
appears?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1109 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality
  2016-06-13 19:13 [Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality bugzilla-daemon
  2016-06-14 14:44 ` bugzilla-daemon
@ 2016-06-15  4:32 ` bugzilla-daemon
  2016-06-15  6:41 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-06-15  4:32 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 503 bytes --]

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

--- Comment #2 from Torbjörn Andersson <eriknospam@telia.com> ---
Since I filed the original bug on Valve's git...

Any tips on how to get an apitrace out out Portal 2? I saw some suggestions
about setting the GAME_DEBUGGER environment variable, but I wasn't able to get
it to work. Maybe I didn't install all the necessary packages? (I'm using
Debian unstable.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1334 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality
  2016-06-13 19:13 [Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality bugzilla-daemon
  2016-06-14 14:44 ` bugzilla-daemon
  2016-06-15  4:32 ` bugzilla-daemon
@ 2016-06-15  6:41 ` bugzilla-daemon
  2016-06-15 14:42 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-06-15  6:41 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 600 bytes --]

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

--- Comment #3 from Nicolai Hähnle <nhaehnle@gmail.com> ---
For me, the most reliable way to get an apitrace out of Steam games tends to be
the (actually somewhat discouraged) LD_PRELOAD method: start Steam itself from
a terminal with LD_PRELOAD=...apitrace-build-dir/wrappers/glxtrace.so steam

Of course, apitrace must have been built with the correct bitness (32 or 64
bits) depending on the game.

Watch the log for messages about apitrace being loaded.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1425 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality
  2016-06-13 19:13 [Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-06-15  6:41 ` bugzilla-daemon
@ 2016-06-15 14:42 ` bugzilla-daemon
  2016-06-15 16:55 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-06-15 14:42 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 652 bytes --]

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

--- Comment #4 from robin@paxnos.de ---
Hi Nicolai, it seems to have worked with self-built 32-bit apitrace; the
portal2_linux.trace popped up in the game's folder. 

I tested the trace by replaying it, and it shows the same visual issues like
when I run the game itself.
I hope you don't mind it containing the loading screen etc. until the scene
actually loads.As it has become rather big (700MB), I had to upload it
externally on Google Drive. 
https://drive.google.com/open?id=0B1pv42ci1XWxOXpDRmN5UjR2Qkk

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1523 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality
  2016-06-13 19:13 [Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-06-15 14:42 ` bugzilla-daemon
@ 2016-06-15 16:55 ` bugzilla-daemon
  2016-06-16  3:49 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-06-15 16:55 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 270 bytes --]

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

--- Comment #5 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Thank you. I can reproduce the issue with the trace, this is very helpful.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1095 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality
  2016-06-13 19:13 [Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality bugzilla-daemon
                   ` (4 preceding siblings ...)
  2016-06-15 16:55 ` bugzilla-daemon
@ 2016-06-16  3:49 ` bugzilla-daemon
  2016-06-22 18:33 ` bugzilla-daemon
  2016-07-26 19:56 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-06-16  3:49 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 389 bytes --]

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

--- Comment #6 from Torbjörn Andersson <eriknospam@telia.com> ---
Ah, good, you won't be needing my trace then? (It turned out that I did get one
after all, I just didn't see it at first.) I was wondering what on earth to do
with that 1 GB file... :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1220 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality
  2016-06-13 19:13 [Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality bugzilla-daemon
                   ` (5 preceding siblings ...)
  2016-06-16  3:49 ` bugzilla-daemon
@ 2016-06-22 18:33 ` bugzilla-daemon
  2016-07-26 19:56 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-06-22 18:33 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 458 bytes --]

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

--- Comment #7 from Torbjörn Andersson <eriknospam@telia.com> ---
Just in case the traces I made are useful in some way after all, I've gzipped
them and uploaded to
https://drive.google.com/open?id=0B364GtFAb7hUc21ONi15ODdmMTg

There are two files there, but they're just two different playthroughs of the
same scene.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1365 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality
  2016-06-13 19:13 [Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality bugzilla-daemon
                   ` (6 preceding siblings ...)
  2016-06-22 18:33 ` bugzilla-daemon
@ 2016-07-26 19:56 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-07-26 19:56 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1090 bytes --]

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

Nicolai Hähnle <nhaehnle@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTOURBUG
             Status|NEW                         |RESOLVED

--- Comment #8 from Nicolai Hähnle <nhaehnle@gmail.com> ---
I believe that this is a game bug.

Some of the black objects are rendered in draw calls between 526669 and 526714
of the provided trace. They're using program 2823, which contains fragment
shader 2811, which uses a shadow sampling instruction on sampler 15, but the
texture bound to texture 15 is a 1x1 GL_SRGB texture.

The GLSL 4.50 spec in the section on Texture Functions says: "If a shadow
texture call is made to a sampler that does not represent a depth texture, then
results are undefined." -- that is, the game is invoking undefined behaviour,
hence this is not our bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2675 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-07-26 19:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-13 19:13 [Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality bugzilla-daemon
2016-06-14 14:44 ` bugzilla-daemon
2016-06-15  4:32 ` bugzilla-daemon
2016-06-15  6:41 ` bugzilla-daemon
2016-06-15 14:42 ` bugzilla-daemon
2016-06-15 16:55 ` bugzilla-daemon
2016-06-16  3:49 ` bugzilla-daemon
2016-06-22 18:33 ` bugzilla-daemon
2016-07-26 19:56 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.