Skip to contentSkip to conversation

New: ETQW and TF2 creenshots have alpha=0

Bug 78009 [email protected] 1 participant 8 messages Apr 27, 2014 – Sep 18, 2019

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 78009
Assignee: [email protected]
Summary: ETQW and TF2 creenshots have alpha=0
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa

Enemy Territory Quake Wars saves 32 bit TGA screenshots, and the alpha value of the pixels is set to 0x00 instead of 0xFF. Team Fortress 2 saves 24 bit TGA screenshots (before converting to jpeg), and the whole thing is black.

I also tried Doom3, Prey, Quakespasm, Nexuiz, UT2004, Half-Life 1, and Garry's Mod but those are not affected.

This is a regression, but I couldn't find an old version of mesa that worked. I went back as far as to 5ffa28df4e4cc224 (the first one that compiles with bison 3), and libdrm 2.4.44, but couldn't find a version that was good. When screenshots were good, I had mesa 9.2.2 installed, and I used 10.0-dev for running games. Now I have 10.1 installed. Maybe I need to roll back the installed libs?

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

[Bug 78009] ETQW and TF2 creenshots have alpha=0

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

--- Comment #1 from almos <[email protected]> ---
Created attachment 98088
--> https://bugs.freedesktop.org/attachment.cgi?id=98088&action=edit
etqw.tga.bz2

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

[Bug 78009] ETQW and TF2 creenshots have alpha=0

In reply to [email protected]

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

--- Comment #2 from Alex Deucher <[email protected]> --- Possibly a duplicate of bug 77553. See also:
http://lists.freedesktop.org/archives/mesa-dev/2014-April/058594.html

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

[Bug 78009] ETQW and TF2 creenshots have alpha=0

In reply to [email protected]

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

--- Comment #3 from almos <[email protected]> ---
Bug 77553 mentions commit 234db609544ee521458ce8b648e70cffe2fda6f9 as the culprit, but my git checkout is definitely earlier than that, and mesa 10.1.0-5 in Debian Sid shouldn't contain it, either.

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

[Bug 78009] ETQW and TF2 creenshots have alpha=0

In reply to [email protected]

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

--- Comment #4 from almos <[email protected]> ---
Now TF2 screenshots are good. I didn't change anything on my system, maybe it was a TF2 issue, and it was fixed by Valve. ETQW is still wrong.

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

[Bug 78009] ETQW and TF2 creenshots have alpha=0

In reply to [email protected]

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

--- Comment #5 from Benjamin Bellec <[email protected]> ---
I don't think this is a Mesa bug.
I already noted this problem with ETQW back to July 2012 (maybe even earlier) and found a workaround. You can convert the picture to PNG thanks to ImageMagick, just run :

$ convert -alpha off shot00016.tga shot00016.png

With my RV770, I just tested mesa-10.3-rc2, mesa-9.2.5 and mesa-9.1.7. All of them gives bad TGA screenshots.

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

[Bug 78009] ETQW and TF2 creenshots have alpha=0

In reply to [email protected]

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

--- Comment #6 from almos <[email protected]> ---
Some update on this: in TF2 only the first screenshot is black, but subsequent ones are good.

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

[Bug 78009] ETQW and TF2 creenshots have alpha=0

In reply to [email protected]

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

GitLab Migration User <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #7 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/507.

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