You are not logged in.

#1 2025-02-15 07:41:42

uchouT
Member
Registered: 2025-02-04
Posts: 20

HDR can't be enabled while my device support HDR

I'm running my desktop on KDE/wayland, and I couldn't find HDR toggle in the System Settings. When I run `kscreen-docor -o` , it shows HDR incapable:

Output: 1 eDP-1
        enabled
        connected
        priority 1
        Panel
        Modes:  1:2880x1800@120*!  2:2880x1800@120  3:2880x1800@48  4:1920x1200@120  5:1920x1080@120  6:1600x1200@120  7:1680x1050@120  8:1280x1024@120  9:1440x900@120  10:1280x800@120  11:1280x720@120  12:1024x768@120  13:800x600@120  14:640x480@120  15:1600x1200@60  16:1280x1024@60  17:1024x768@60  18:2560x1600@60  19:1920x1200@60  20:1280x800@60  21:2880x1620@60  22:2560x1440@60  23:1920x1080@60  24:1600x900@60  25:1368x768@60  26:1280x720@60 
        Geometry: 0,0 1440x900
        Scale: 2
        Rotation: 1
        Overscan: 0
        Vrr: Automatic
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: sRGB
        Color power preference: prefer efficiency and performance
        Brightness control: supported, set to 15% and dimming to 100%

But my device support HDR indeed:

cat /sys/class/drm/card1-eDP-1/edid | edid-decode 
edid-decode (hex):

00 ff ff ff ff ff ff 00 4c 83 97 41 00 00 00 00
00 20 01 04 b5 1e 13 78 03 0b d1 af 51 3d b6 23
0b 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 cb fe 40 64 b0 08 18 70 20 08
88 00 2e bd 10 00 00 1b cb fe 40 64 b0 08 c8 7a
20 08 88 00 2e bd 10 00 00 1b 00 00 00 fd 00 30
78 da da 42 01 00 00 00 00 00 00 00 00 00 00 02
00 01 00 00 19 96 c8 3a 15 46 c8 00 00 00 01 14

70 20 79 02 00 20 00 0c ba 41 59 97 41 00 00 00
00 00 16 00 21 00 1d b8 0b 6c 07 40 0b 08 07 00
f2 ea 50 d7 d3 b6 3d 42 0b 01 45 54 40 5e d0 60
18 10 23 78 26 00 09 07 06 03 00 00 00 50 00 00
22 00 14 e6 f3 09 84 3f 0b 63 00 1f 00 07 00 07
07 17 00 07 00 07 00 81 00 1f 73 1a 00 00 03 03
30 78 00 a0 74 02 60 02 78 00 00 00 00 8d e3 05
80 00 e6 06 05 01 74 60 02 00 00 00 00 00 2f 90

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.4
  Vendor & Product Identification:
    Manufacturer: SDC
    Model: 16791
    Made in: 2022
  Basic Display Parameters & Features:
    Digital display
    Bits per primary color channel: 10
    DisplayPort interface
    Maximum image size: 30 cm x 19 cm
    Gamma: 2.20
    Supported color formats: RGB 4:4:4
    First detailed timing includes the native pixel format and preferred refresh rate
    Display supports continuous frequencies
  Color Characteristics:
    Red  : 0.6835, 0.3164
    Green: 0.2402, 0.7138
    Blue : 0.1396, 0.0439
    White: 0.3125, 0.3291
  Established Timings I & II: none
  Standard Timings: none
  Detailed Timing Descriptors:
    DTD 1:  2880x1800  120.001398 Hz  16:10   218.883 kHz    652.270000 MHz (302 mm x 189 mm)
                 Hfront   32 Hsync   8 Hback   60 Hpol P
                 Vfront    8 Vsync   8 Vback    8 Vpol N
    DTD 2:  2880x1800   48.000559 Hz  16:10   218.883 kHz    652.270000 MHz (302 mm x 189 mm)
                 Hfront   32 Hsync   8 Hback   60 Hpol P
                 Vfront    8 Vsync   8 Vback 2744 Vpol N
    Display Range Limits:
      Monitor ranges (Range Limits Only): 48-120 Hz V, 218-218 kHz H, max dotclock 660 MHz
    Manufacturer-Specified Display Descriptor (0x02): 00 02 00 01 00 00 19 96 c8 3a 15 46 c8 00 00 00 '.........:.F....'
  Extension blocks: 1
Checksum: 0x14

----------------

Block 1, DisplayID Extension Block:
  Version: 2.0
  Extension Count: 0
  Display Product Primary Use Case: None of the listed primary use cases; generic display
  Product Identification Data Block (0x20), OUI BA-41-59:
    Product Code: 16791
    Year of Manufacture: 2022
  Display Parameters Data Block (0x21):
    Image size: 300.0 mm x 190.0 mm
    Display native pixel format: 2880x1800
    Scan Orientation: Left to Right, Top to Bottom
    Luminance Information: Minimum guaranteed value
    Color Information: CIE 1931
    Audio Speaker Information: integrated
    Native Color Chromaticity:
      Primary #1:  (0.684082, 0.315918)
      Primary #2:  (0.239990, 0.714111)
      Primary #3:  (0.139893, 0.043945)
      White Point: (0.312744, 0.329102)
    Native Maximum Luminance (Full Coverage): 400.000000 cd/m^2
    Native Maximum Luminance (10% Rectangular Coverage): 616.000000 cd/m^2
    Native Minimum Luminance: 0.000500 cd/m^2
    Native Color Depth: 12 bpc
    Display Device Technology: Organic LED
    Native Gamma EOTF: 2.20
  Display Interface Features Data Block:
    Supported bpc for RGB encoding: 6, 8, 10
    Supported bpc for YCbCr 4:4:4 encoding: 8, 10
    Supported bpc for YCbCr 4:2:2 encoding: 8, 10
    Supported color space and EOTF standard combination 1: DCI-P3, BT.2020/SMPTE ST 2084
  Video Timing Modes Type 7 - Detailed Timings Data Block:
    DTD:  2880x1800  120.000110 Hz  16:9    218.880 kHz    652.263000 MHz (aspect 16:9, no 3D stereo, preferred)
               Hfront   32 Hsync   8 Hback   60 Hpol N
               Vfront    8 Vsync   8 Vback    8 Vpol N
  CTA-861 DisplayID Data Block:
  Vendor-Specific Data Block (AMD), OUI 00-00-1A:
    Version: 3
    Feature Caps: 0x03
    Minimum Refresh Rate: 48 Hz
    Maximum Refresh Rate: 120 Hz
    Flags 1.x: 0x00
    Flags 2.x: 0xa0
    Maximum luminance: 116 (616.884 cd/m^2)
    Minimum luminance: 2 (0.000 cd/m^2)
    Unknown: 0x60 0x02
  Colorimetry Data Block:
    BT2020RGB
  HDR Static Metadata Data Block:
    Electro optical transfer functions:
      Traditional gamma - SDR luminance range
      SMPTE ST2084
    Supported static metadata descriptors:
      Static metadata type 1
    Desired content max luminance: 116 (616.884 cd/m^2)
    Desired content max frame-average luminance: 96 (400.000 cd/m^2)
    Desired content min luminance: 2 (0.000 cd/m^2)
  Checksum: 0x2f
Checksum: 0x90

I've search the Internet but all the similar issues revolve around Nvidia, but I use amd.

                  -`                     i@uchouT-laptop
                 .o+`                    ---------------
                `ooo/                    OS: Arch Linux x86_64
               `+oooo:                   Host: HP Envy x360 2-in-1 Laptop 14-fa0xxx
              `+oooooo:                  Kernel: Linux 6.13.2-zen1-1-zen
              -+oooooo+:                 Uptime: 1 hour, 53 mins
            `/:-:++oooo+:                Packages: 1015 (pacman), 8 (flatpak-user)
           `/++++/+++++++:               Shell: bash 5.2.37
          `/++++++++++++++:              Display (SDC4197): 2880x1800 @ 120 Hz (as 1440x900) i]
         `/+++ooooooooooooo/`            DE: KDE Plasma 6.3.0
        ./ooosssso++osssssso+`           WM: KWin (Wayland)
       .oossssso-````/ossssss+`          WM Theme: Layan
      -osssssso.      :ssssssso.         Theme: Layan (OrchisDark) [Qt], Breeze-Dark [GTK2], B]
     :osssssss/        osssso+++.        Icons: Tela-circle [Qt], Tela-circle [GTK2/3/4]
    /ossssssss/        +ssssooo/-        Font: LXGW WenKai (10pt) [Qt], LXGW WenKai (10pt) [GT]
  `/ossssso+/:-        -:/+osssso+-      Cursor: Vimix-dark (24px)
 `+sso+:-`                 `.-/+oso:     Terminal: tabby --no-sandbox
`++:.                           `-/+/    Terminal Font: monospace (14pt)
.`                                 `/    CPU: AMD Ryzen 7 8840HS (16) @ 5.13 GHz
                                         GPU: AMD Phoenix3 [Integrated]
                                         Memory: 6.44 GiB / 30.64 GiB (21%)
                                         Swap: 0 B / 32.00 GiB (0%)

I don't know if the problem with regards to this issue.
I meet the same issue that I run `eglinfo -B` shows

GBM platform:
_amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-13)
amdgpu: amdgpu_device_initialize failed.
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 19.1.7, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 24.3.4-arch1.1
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 19.1.7, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 24.3.4-arch1.1
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 19.1.7, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.3.4-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

While `sudo eglinfo -B` is normal.

Any help is appreciated.

Offline

#2 2025-02-15 15:35:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,117

Re: HDR can't be enabled while my device support HDR

your opengl is broken, get rid of amdgpu-pro if installed and maybe throw in

printenv
LIBGL_DEBUG=verbose glxinfo -B
ls -l /usr/lib/libGL*

Online

#3 2025-02-20 14:30:58

uchouT
Member
Registered: 2025-02-04
Posts: 20

Re: HDR can't be enabled while my device support HDR

Thanks for your remind, but I've never tried amdgpu-pro
printenv

SHELL=/bin/bash
SESSION_MANAGER=local/uchouT-laptop:@/tmp/.ICE-unix/1129,unix/uchouT-laptop:/tmp/.ICE-unix/1129
COLORTERM=truecolor
XDG_CONFIG_DIRS=/home/i/.config/kdedefaults:/etc/xdg
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_MENU_PREFIX=plasma-
GTK_IM_MODULE=fcitx
ICEAUTHORITY=/run/user/1000/iceauth_ruJpse
LC_ADDRESS=zh_CN.UTF-8
GRADLE_HOME=/usr/share/java/gradle
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
TABBY_PLUGINS=
XMODIFIERS=@im=fcitx
DESKTOP_SESSION=plasma
LC_MONETARY=zh_CN.UTF-8
GTK_RC_FILES=/etc/gtk/gtkrc:/home/i/.gtkrc:/home/i/.config/gtkrc
NO_AT_BRIDGE=1
EDITOR=vim
XDG_SEAT=seat0
PWD=/home/i
XDG_SESSION_DESKTOP=KDE
LOGNAME=i
XDG_SESSION_TYPE=wayland
SYSTEMD_EXEC_PID=1231
XAUTHORITY=/run/user/1000/xauth_fOlets
MOTD_SHOWN=pam
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/i/.gtkrc-2.0:/home/i/.config/gtkrc-2.0
HOME=/home/i
LC_PAPER=zh_CN.UTF-8
LANG=en_US.UTF-8
XDG_CURRENT_DESKTOP=KDE
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service/memory.pressure
WAYLAND_DISPLAY=wayland-0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
INVOCATION_ID=afa2162d3cb94f0e9b31d75229a270bd
MANAGERPID=876
CHROME_DESKTOP=tabby.desktop
KDE_SESSION_UID=1000
SDL_IM_MODULE=fcitx
XDG_SESSION_CLASS=user
TERM=xterm-256color
USER=i
QT_WAYLAND_RECONNECT=1
KDE_SESSION_VERSION=6
PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket
DISPLAY=:1
SHLVL=1
LC_TELEPHONE=zh_CN.UTF-8
QT_IM_MODULE=fcitx
LC_MEASUREMENT=zh_CN.UTF-8
XDG_VTNR=1
XDG_SESSION_ID=2
TABBY_CONFIG_DIRECTORY=/home/i/.config/tabby
CRASHDIR=/home/i/.local/share/ShellCrash
XDG_RUNTIME_DIR=/run/user/1000
NODE_PATH=undefined:/opt/Tabby/resources/builtin-plugins:/opt/Tabby/resources/app.asar/node_modules:/home/i/.config/tabby/plugins/node_modules
DEBUGINFOD_URLS=https://debuginfod.archlinux.org 
QT_AUTO_SCREEN_SCALE_FACTOR=0
JOURNAL_STREAM=9:3070
XDG_DATA_DIRS=/home/i/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
GDK_BACKEND=x11
KDE_FULL_SESSION=true
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/home/i/.local/share/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
ORIGINAL_XDG_CURRENT_DESKTOP=KDE
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
KDE_APPLICATIONS_AS_SCOPE=1
MAIL=/var/spool/mail/i
LC_NUMERIC=zh_CN.UTF-8
TERM_PROGRAM=Tabby
_=/usr/bin/printenv
OLDPWD=/home/i/Documents/git

Offline

#4 2025-02-20 18:18:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,117

Re: HDR can't be enabled while my device support HDR

And the other outputs?

Online

#5 2025-02-21 06:15:59

uchouT
Member
Registered: 2025-02-04
Posts: 20

Re: HDR can't be enabled while my device support HDR

LIBGL_DEBUG=verbose glxinfo -B

name of display: :1
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/i/.drirc: No such file or directory.
using driver amdgpu for 4
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/i/.drirc: No such file or directory.
pci id for fd 4: 1002:1900, driver radeonsi
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/i/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/i/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/i/.drirc: No such file or directory.
/usr/share/libdrm/amdgpu.ids version: 1.0.0
Using DRI3 for screen 0
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon Graphics (radeonsi, gfx1103_r1, LLVM 19.1.7, DRM 3.59, 6.13.2-zen1-1-zen) (0x1900)
    Version: 24.3.4
    Accelerated: yes
    Video memory: 512MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 70 MB, largest block: 70 MB
    VBO free aux. memory - total: 13862 MB, largest block: 13862 MB
    Texture free memory - total: 70 MB, largest block: 70 MB
    Texture free aux. memory - total: 13862 MB, largest block: 13862 MB
    Renderbuffer free memory - total: 70 MB, largest block: 70 MB
    Renderbuffer free aux. memory - total: 13862 MB, largest block: 13862 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 512 MB
    Total available memory: 16201 MB
    Currently available dedicated video memory: 70 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon Graphics (radeonsi, gfx1103_r1, LLVM 19.1.7, DRM 3.59, 6.13.2-zen1-1-zen)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.3.4-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.3.4-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.3.4-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

ls -l /usr/lib/libGL*

lrwxrwxrwx 1 root root     18 Oct  8  2023 /usr/lib/libGLdispatch.so -> libGLdispatch.so.0
lrwxrwxrwx 1 root root     22 Oct  8  2023 /usr/lib/libGLdispatch.so.0 -> libGLdispatch.so.0.0.0
-rwxr-xr-x 1 root root 718872 Oct  8  2023 /usr/lib/libGLdispatch.so.0.0.0
lrwxrwxrwx 1 root root     14 Oct  8  2023 /usr/lib/libGLESv2.so -> libGLESv2.so.2
lrwxrwxrwx 1 root root     18 Oct  8  2023 /usr/lib/libGLESv2.so.2 -> libGLESv2.so.2.1.0
-rwxr-xr-x 1 root root  71624 Oct  8  2023 /usr/lib/libGLESv2.so.2.1.0
lrwxrwxrwx 1 root root     10 Oct  8  2023 /usr/lib/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root     14 Oct  8  2023 /usr/lib/libGL.so.1 -> libGL.so.1.7.0
-rwxr-xr-x 1 root root 538568 Oct  8  2023 /usr/lib/libGL.so.1.7.0
lrwxrwxrwx 1 root root     11 Jul  3  2024 /usr/lib/libGLU.so -> libGLU.so.1
lrwxrwxrwx 1 root root     15 Jul  3  2024 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.1
-rwxr-xr-x 1 root root 354344 Jul  3  2024 /usr/lib/libGLU.so.1.3.1
lrwxrwxrwx 1 root root     20 Jan 23 08:24 /usr/lib/libGLX_indirect.so.0 -> libGLX_mesa.so.0.0.0
lrwxrwxrwx 1 root root     16 Jan 23 08:24 /usr/lib/libGLX_mesa.so -> libGLX_mesa.so.0
lrwxrwxrwx 1 root root     20 Jan 23 08:24 /usr/lib/libGLX_mesa.so.0 -> libGLX_mesa.so.0.0.0
-rwxr-xr-x 1 root root 416432 Jan 23 08:24 /usr/lib/libGLX_mesa.so.0.0.0
lrwxrwxrwx 1 root root     11 Oct  8  2023 /usr/lib/libGLX.so -> libGLX.so.0
lrwxrwxrwx 1 root root     15 Oct  8  2023 /usr/lib/libGLX.so.0 -> libGLX.so.0.0.0
-rwxr-xr-x 1 root root 137088 Oct  8  2023 /usr/lib/libGLX.so.0.0.0

Offline

Board footer

Powered by FluxBB