Bug 504347 - On NVidia, Kscreen HDR Callibration Process does not show Logo
Summary: On NVidia, Kscreen HDR Callibration Process does not show Logo
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: colour-management (other bugs)
Version First Reported In: 6.3.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 504383 504387 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-05-16 17:16 UTC by Peter Jung
Modified: 2025-05-28 07:03 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.4.0
Sentry Crash Report:


Attachments
hdrcallibatior-debug-log (684.55 KB, text/x-log)
2025-05-19 13:59 UTC, Peter Jung
Details
Jonathan's hdrcalabration log (222.44 KB, text/plain)
2025-05-19 14:01 UTC, Jonathan Isom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Jung 2025-05-16 17:16:37 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. Enable HDR
2. Go into HDR Callibration
3. Move the slider

OBSERVED RESULT

The KDE Logo is not visible nor changes anything when moving the slider.

EXPECTED RESULT

The Logo is properly visible, when lowering the value and also updates the screen properly.

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux
KDE Plasma Version: 6.3.90
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.6-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 9950X 16-Core Processor
Memory: 64 GiB of RAM (62.4 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 5080

ADDITIONAL INFORMATION

Monitor: https://de.msi.com/Monitor/MPG-272URX-QD-OLED
DisplayPort 2.1 uhrb20 used without DSC
Video of it (Link expires in two days, but here the upload is limited to 4mb): https://streamable.com/skh3td
Comment 1 Zamundaaa 2025-05-17 12:31:16 UTC
Please open the calibration window, and then (without closing it) run
> kscreen-doctor -o
and attach the output of that here.
Comment 2 Peter Jung 2025-05-17 12:51:17 UTC
Hi Xaver,

Here the output:

```
Output: 1 DP-2 4c6eccc3-f8fa-48f5-9bb8-442a9ee41583
        enabled
        connected
        priority 2
        DisplayPort
        replication source:0
        Modes:  1:1920x1080@60!  2:1920x1080@240*  3:1920x1080@144  4:1920x1080@120  5:1920x1080@120  6:1920x1080@60  7:1920x1080@50  8:1280x1024@75  9:1280x1024@60  10:1280x720@60  11:1280x720@50  12:1024x768@120  13:1024x768@100  14:1024x768@75  15:1024x768@70  16:1024x768@60  17:800x600@120  18:800x600@100  19:800x600@75  20:800x600@72  21:800x600@60  22:800x600@56  23:720x576@50  24:720x480@60  25:640x480@120  26:640x480@100  27:640x480@75  28:640x480@73  29:640x480@60  30:640x480@60
        Geometry: 2560,0 1920x1080
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: Automatic
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: /home/ptr1337/Desktop/msi/MS-3CD7(MPG 272URX QD-OLED)_INF/MSI MPG 272URX QD-OLED.icm
        Color profile source: EDID
        Color power preference: prefer efficiency and performance
        Brightness control: supported, set to 87% and dimming to 100%
        DDC/CI: allowed
        Color resolution: unknown
        Allow EDR: unsupported
Output: 2 DP-3 71b03111-627f-48a9-82f7-fccba1b2f962
        enabled
        connected
        priority 1
        DisplayPort
        replication source:0
        Modes:  31:3840x2160@60!  32:3840x2160@240*  33:3840x2160@180  34:3840x2160@120  35:2560x1440@240  36:2560x1440@120  37:2560x1440@60  38:1920x1080@240  39:1920x1080@120  40:1920x1080@120  41:1920x1080@60  42:1920x1080@60  43:1680x1050@60  44:1280x1024@75  45:1280x1024@60  46:1440x900@60  47:1280x720@120  48:1280x720@60  49:1024x768@75  50:1024x768@70  51:1024x768@60  52:800x600@75  53:800x600@72  54:800x600@60  55:800x600@56  56:720x576@60  57:720x576@50  58:720x480@60  59:640x480@75  60:640x480@73  61:640x480@60
        Geometry: 0,0 2560x1440
        Scale: 1.5
        Rotation: 1
        Overscan: 0
        Vrr: Automatic
        RgbRange: unknown
        HDR: enabled
                SDR brightness: 160 nits
                SDR gamut wideness: 0%
                Peak brightness: 2000 nits, overridden with: 2000 nits
                Max average brightness: 265 nits
                Min brightness: 0.0006 nits
        Wide Color Gamut: enabled
        ICC profile: /home/ptr1337/Desktop/msi/MS-3CD7(MPG 272URX QD-OLED)_INF/MSI MPG 272URX QD-OLED.icm
        Color profile source: ICC
        Color power preference: prefer efficiency and performance
        Brightness control: supported, set to 100% and dimming to 100%
        DDC/CI: allowed
        Color resolution: unknown
        Allow EDR: unsupported
```
Comment 3 zxvb12z 2025-05-19 12:04:59 UTC
*** Bug 504387 has been marked as a duplicate of this bug. ***
Comment 4 Zamundaaa 2025-05-19 13:47:52 UTC
That looks correct. Let's see if the app shows the surfaces correctly. Please start it with
> WAYLAND_DEBUG=1 hdrcalibrator DP-3
move the slider a bit, and then just close it again.
If you attach the output of that here, we should hopefully see the problem.

Also, what icon theme are you using?
Comment 5 Peter Jung 2025-05-19 13:59:25 UTC
Created attachment 181510 [details]
hdrcallibatior-debug-log
Comment 6 Peter Jung 2025-05-19 13:59:38 UTC
Hi,

ive attached you the log.
Comment 7 Jonathan Isom 2025-05-19 14:01:57 UTC
Created attachment 181513 [details]
Jonathan's hdrcalabration log

This tested on a RTX 4080. I am using a different icon theme and its icon stands out more than the breeze one on my system. Slider doesn't do anything.
Comment 8 Zamundaaa 2025-05-19 14:39:24 UTC
*** Bug 504383 has been marked as a duplicate of this bug. ***
Comment 9 Zamundaaa 2025-05-19 16:26:28 UTC
The wayland debug log also looks correct. To be honest, I'm out of ideas here :/
Comment 10 Nicolas 2025-05-19 16:40:59 UTC
When I start the calibration I see a short flicker of the logo, which is then replaced by the white box, only.
Comment 11 Zamundaaa 2025-05-20 15:23:58 UTC
As an update, this only seems to happen on NVidia. Somehow, QWindow::requestUpdate never actually triggers a commit on NVidia, so the brightness of the icon never gets updated.
Comment 12 Bug Janitor Service 2025-05-21 13:45:20 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kscreen/-/merge_requests/380
Comment 13 Peter Jung 2025-05-21 14:41:09 UTC
Hi,

I have rebuild kscreen from latest -git commit and patched the 390 MR over.
The Logo/Brightness does now adjust properly, but in the second Callibration step the house image was not present and just black
Comment 14 Zamundaaa 2025-05-21 15:05:21 UTC
(In reply to Peter Jung from comment #13)
> Hi,
> 
> I have rebuild kscreen from latest -git commit and patched the 390 MR over.
> The Logo/Brightness does now adjust properly, but in the second Callibration
> step the house image was not present and just black
Do you have kimageformats installed? If not, the image won't show (in 6.4 branch it still uses a png to avoid that)
Comment 15 Peter Jung 2025-05-21 15:58:22 UTC
Thank you Xaver - installing kimageformats have fixed this issue! Thanks for your fast fix!
Comment 16 Bug Janitor Service 2025-05-21 16:05:21 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kscreen/-/merge_requests/383