Display profiles not loaded on startup - oryanos segfault

Hi! I am running Tumbleweed with the KDE desktop.

Operating System: openSUSE Tumbleweed 20201203
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
Kernel Version: 5.9.11-1-default
OS Type: 64-bit

amdgpu driver (Radeon RX5600XT)

Although colord-kde is installed, loading an .icc profile for my monitor ([FONT=arial]located in ~/.config/color/icc) seems to be a hit an miss. When starting up I briefly see the screen flickering, when the KDE cogwheel is loading and the brightness changes for a fraction of a second, as it should wenn applying this profile. This is not Tumbleweed specific because I had similar issues in 15.2. Sometimes the profiles are correctly loaded (the profile is associated to my monitor in the color corrections pane of KDE and darktable-cmstest is happy). But in most cases, I get something like that.

Output of darktable-cmstest
[/FONT]
[FONT=monospace]xx@xx:~/.config/color/icc> darktable-cmstest
darktable-cmstest version 3.2.1
this executable was built with colord support enabled
darktable itself was built with colord support enabled

primary CRTC is at CRTC 0
CRTC for screen 0 CRTC 1 has no mode or no output, skipping
CRTC for screen 0 CRTC 2 has no mode or no output, skipping
CRTC for screen 0 CRTC 3 has no mode or no output, skipping
CRTC for screen 0 CRTC 4 has no mode or no output, skipping
CRTC for screen 0 CRTC 5 has no mode or no output, skipping

HDMI-A-0 the X atom and colord returned different profiles
X atom: _ICC_PROFILE (1244 bytes)
description: VP2458
colord: “(none)”
description: (file not found)

Better check your system setup

  • some monitors reported different profiles
    You may experience inconsistent color rendition between color managed applications

[FONT=arial]Here is the log of colord:[/FONT][/FONT]

  • colord.service - Manage, Install and Generate Color Profiles Loaded: loaded (/usr/lib/systemd/system/colord.service; static) Active: active (running) since Sun 2020-12-06 09:10:25 CST; 1h 41min ago Main PID: 986 (colord) Tasks: 5 (limit: 4915) CGroup: /system.slice/colord.service `-986 /usr/libexec/colord
    Dez 06 09:10:25 localhost systemd[1]: Starting Manage, Install and Generate Color Profiles… Dez 06 09:10:25 localhost systemd[1]: Started Manage, Install and Generate Color Profiles. Dez 06 09:10:29 localhost colord[986]: failed to get session [pid 952]: No data available Dez 06 09:10:29 localhost colord[986]: failed to get session [pid 952]: No data available
    this is the output of /var/log/messages

xx@xx:~/.config/color/icc> sudo grep oyranos /var/log/messages
2020-12-06T09:23:40.448490+08:00 localhost plasma_session[1792]: org.kde.plasma.session: Starting autostart service “/etc/xdg/autostart/oyranos-monitor-setup.desktop” ("/usr/bin/oyranos-monitor-daemon")
2020-12-06T09:23:40.909529+08:00 localhost kernel: 801.287533] oyranos-compat-[2058]: segfault at 8 ip 00007f0c6b5b4bdd sp 00007ffd2b4162a0 error 4 in libcolordcompat.so[7f0c6b5b4000+1000]
2020-12-06T09:24:19.137774+08:00 localhost plasma_session[2670]: org.kde.plasma.session: Starting autostart service “/etc/xdg/autostart/oyranos-monitor-setup.desktop” ("/usr/bin/oyranos-monitor-daemon")
2020-12-06T09:24:19.577528+08:00 localhost kernel: 839.953896] oyranos-compat-[3031]: segfault at 8 ip 00007ff5a80f8bdd sp 00007ffe8d560aa0 error 4 in libcolordcompat.so[7ff5a80f8000+1000]

Any ideas?

[FONT=arial]Strangely enough, I’m able to load the profile manually

xx@xx:~/.config/color/icc/devices/display> oyranos-monitor -d 0 VP2458\ #1\ 2020-11-18\ 22-51\ D5000\ 2.2\ F-S\ XYZLUT+MTX.icc
[/FONT]
xx@xx:~/.config/color/icc/devices/display> darktable-cmstest
darktable-cmstest version 3.2.1
this executable was built with colord support enabled
darktable itself was built with colord support enabled

primary CRTC is at CRTC 0
CRTC for screen 0 CRTC 1 has no mode or no output, skipping
CRTC for screen 0 CRTC 2 has no mode or no output, skipping
CRTC for screen 0 CRTC 3 has no mode or no output, skipping
CRTC for screen 0 CRTC 4 has no mode or no output, skipping
CRTC for screen 0 CRTC 5 has no mode or no output, skipping

HDMI-A-0 the X atom and colord returned the same profile
X atom: _ICC_PROFILE (968988 bytes)
description: VP2458 #1 2020-11-18 22-51 D5000 2.2 F-S XYZLUT+MTX
colord: “/home/raphael/.local/share/icc/VP2458 #1 2020-11-18 22-51 D5000 2.2 F-S XYZLUT+MTX.icc”
description: VP2458 #1 2020-11-18 22-51 D5000 2.2 F-S XYZLUT+MTX

Your system seems to be correctly configured

[FONT=arial]Any ideas why it is not done on startup?

[/FONT]