Different colors in image since kernel 6.2.0

Bug #2023910 reported by as
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned
mesa (Ubuntu)
New
Undecided
Unassigned

Bug Description

Software in Ubuntu shows two different types of colors on the same image depending of the software you use. Let's call both types: pale and saturated, because of how they look like.

Since kernel 6.2.0 pale colors are displayed in RawTherapee, Darktable, Gimp, ImageMagic.
Saturated colors are displayed in Chromium, Chrome, gThumb, ImageViewr, Firefox.

When I switched to kernel 5.19.0 everything looked the same, in every software (pale version from 6.2.0).

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: linux-image-6.2.0-20-generic 6.2.0-20.20
ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
Uname: Linux 6.2.0-20-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: as 6048 F.... wireplumber
 /dev/snd/controlC1: as 6048 F.... wireplumber
 /dev/snd/controlC0: as 6048 F.... wireplumber
 /dev/snd/seq: as 6044 F.... pipewire
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Wed Jun 14 20:22:59 2023
InstallationDate: Installed on 2020-12-06 (920 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
MachineType: LENOVO 20T6000TPB
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-20-generic root=UUID=a5796f3d-37a8-428b-aa28-c160ea77bc9b ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-6.2.0-20-generic N/A
 linux-backports-modules-6.2.0-20-generic N/A
 linux-firmware 20230323.gitbcdcfbcf-0ubuntu1.1
SourcePackage: linux
UpgradeStatus: Upgraded to lunar on 2023-04-23 (51 days ago)
dmi.bios.date: 08/08/2022
dmi.bios.release: 1.20
dmi.bios.vendor: LENOVO
dmi.bios.version: R1AET44W (1.20 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20T6000TPB
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.20
dmi.modalias: dmi:bvnLENOVO:bvrR1AET44W(1.20):bd08/08/2022:br1.20:efr1.20:svnLENOVO:pn20T6000TPB:pvrThinkPadE14Gen2:rvnLENOVO:rn20T6000TPB:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20T6_BU_Think_FM_ThinkPadE14Gen2:
dmi.product.family: ThinkPad E14 Gen 2
dmi.product.name: 20T6000TPB
dmi.product.sku: LENOVO_MT_20T6_BU_Think_FM_ThinkPad E14 Gen 2
dmi.product.version: ThinkPad E14 Gen 2
dmi.sys.vendor: LENOVO

Revision history for this message
as (ip413as3) wrote :
Revision history for this message
as (ip413as3) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Harm van Bakel (hvbakel) wrote :

I'm seeing the same issue when using the 6.2 kernel from the proposed repository in 22.04 LTS. The underlying issue is that the kernel update seems to break colord color management. You can test this by going to settings, color, and then switch from the automatic profile loaded for your monitor to one of the test profiles that swaps the red and green channels. Normally this will result in an inverted color profile across the desktop and apps that perform color management. After upgrading to the 6.2 kernel the test icc patterns no longer apply and color management is broken.

Interestingly, for me the broken behavior only occurs when simultaneously updating mesa from the current version 22.2.5-0ubuntu0.1~22.04.3, to 23.0.4-0ubuntu1~22.04.1 in the proposed repository. The combination of kernel 6.2 with mesa 22.2.5 works, as does the combination of kernel 5.15.0 or 5.19.0 with mesa 23.0.4. The breakage (for me) seems to occur specifically when using kernel 6.2 in combination with mesa 23.0.4.

This is all using an Xorg session (color management on wayland is not working at all for me).

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

hvbakel: which GPU do you have?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

hvbakel: attach the output of 'lspci -vnn' to be sure

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

please test with a more recent mainline kernel such as v6.4.6 from:

https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.4.6/

install linux-image and -modules

(newer kernels had build issues)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.