Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939429 - media-libs/mesa-24.2.2 makes red and blue channels to be swapped on qemu vm machines
Summary: media-libs/mesa-24.2.2 makes red and blue channels to be swapped on qemu vm m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-10 10:34 UTC by email200202
Modified: 2024-11-09 16:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
green = 255 (Screenshot_green.png,42.62 KB, image/png)
2024-09-10 11:36 UTC, email200202
Details
red = 255 (Screenshot_red.png,43.05 KB, image/png)
2024-09-10 11:36 UTC, email200202
Details
blue = 255 (Screenshot_blue.png,42.53 KB, image/png)
2024-09-10 11:37 UTC, email200202
Details

Note You need to log in before you can comment on or make changes to this bug.
Description email200202 2024-09-10 10:34:24 UTC
I have this problem on two qemu vm machines since the update to media-libs/mesa-24.2.2

All windows, web sites, and applications blue and red colors are swapped. 

In KolourPaint, red and blue selection are swapped, i.e.

red green blue  selected color
255 0     0     blue
0   0     255   red
0   255   0     green

Downgrading to media-libs/mesa-24.2.1 fixed the problem


Reproducible: Always

Steps to Reproduce:
1. update to media-libs/mesa-24.2.2

Actual Results:  
red and blue channels are swapped

Expected Results:  
not to have the problem
Comment 1 email200202 2024-09-10 11:36:23 UTC
Created attachment 902553 [details]
green = 255
Comment 2 email200202 2024-09-10 11:36:58 UTC
Created attachment 902554 [details]
red = 255
Comment 3 email200202 2024-09-10 11:37:48 UTC
Created attachment 902555 [details]
blue = 255
Comment 4 Matt Turner gentoo-dev 2024-09-10 14:15:53 UTC
Very possibly this is one of these upstream issues:

- https://gitlab.freedesktop.org/mesa/mesa/-/issues/11840
- https://gitlab.freedesktop.org/mesa/mesa/-/issues/11839

(there have been quite a few regressions of this sort in 24.2)
Comment 5 Matt Turner gentoo-dev 2024-11-06 17:18:16 UTC
Could you check if https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31950 fixes the problem?
Comment 6 Larry the Git Cow gentoo-dev 2024-11-09 16:48:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c713bb8a49787ff51043eb0956ed31ea5b11a665

commit c713bb8a49787ff51043eb0956ed31ea5b11a665
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2024-11-09 16:03:39 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-11-09 16:48:25 +0000

    media-libs/mesa: Add patch to fix swapped colors
    
    Closes: https://bugs.gentoo.org/939429
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 ...xup-order-of-pixel-formats-in-drilConfigs.patch | 85 ++++++++++++++++++++++
 ...mesa-24.2.6-r1.ebuild => mesa-24.2.6-r2.ebuild} |  4 +
 2 files changed, 89 insertions(+)