Bugzilla – Bug 38602
[bisected] Wrong display after "prefer native texture formats when possible" commit
Last modified: 2011-06-23 15:08:22 UTC
After I updated my mesa and restarted X the KDE Plasma desktop and apps were displayed wrongly. Some parts were just black and what was visible was all reddish. I bisected the commits and the first one causing problems is:
st/mesa: prefer native texture formats when possible.
If I disabled KDE Kwin desktop effects the display was OK.
I'm using KDE software version 4.6.4, Linux kernel 3.0.0-rc1, libbdrm and xf86-video-ati are from git.
Created attachment 48330 [details]
Created attachment 48331 [details]
I forgot to mention: the graphics card used is ATI Mobility Radeon HD 5470
Created attachment 48332 [details]
Created attachment 48333 [details]
Created attachment 48334 [details] [review]
try to undo the damage
Can you try this patch? It disables choosing the Gallium formats that have no counterpart in Mesa.
BTW, I've added a new piglit test that catches the regression from the commit in question: texture-packed-formats
(In reply to comment #6)
> Created an attachment (id=48334) [details]
> try to undo the damage
> Can you try this patch? It disables choosing the Gallium formats that have no
> counterpart in Mesa.
I've found that this patch also fixes a crash during Steam login. :)
*** Bug 38610 has been marked as a duplicate of this bug. ***
FWIW, the same commit causes the game ETQW to segfault on start, and log these
EE eg_state_inlines.h:388 r600_translate_colorswap - unsupported colorswap
Mesa 7.11-devel implementation error: _mesa_texstore_null() is called
FATAL ERROR: Image '_quadratic' was generated with internal format 0x8051 but
GL returned 0x1
The patch fixes the segfault, but doesn't make the game render correctly.
fa5478c5fe88e9c07d30203984b712925de84d2e with the patch takes care of the problems with ETQW.
Fixed w/ commit 1f544cc58794cffe5d5cac5a83efde91154f1b7d
*** Bug 38611 has been marked as a duplicate of this bug. ***