https://bugs.kde.org/show_bug.cgi?id=496346

            Bug ID: 496346
           Summary: Wrong color depth by default, unable to modify it.
    Classification: Plasma
           Product: kwin
           Version: 6.2.3
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: colour-management
          Assignee: kwin-bugs-n...@kde.org
          Reporter: lien...@yahoo.com
  Target Milestone: ---

SUMMARY
Hi,
By default on Plasma my screen is stuck with 8bit per channel (24 bit color
depth). From what i have searched on the internet, 10 bit per channel should be
the default
(https://invent.kde.org/plasma/kwin/-/commit/f2b29e3555955a3f3e72f3098454833b71cde06b)
but it isn't on my hardware (KTC M27T20S).
On Windows and Hyprland (linux DE) everything works fine, 10bit is supported.

STEPS TO REPRODUCE
1. Just launching a 10bit color video's, test video's  
2. Using "drm_info" command

OBSERVED RESULT
Clearly visible gradient patterns (bars) on this test videos
(https://www.avsforum.com/threads/10-bit-gradient-test-patterns.2269338/) and
on Movies with a lot of dark scenes.

drm_info indicates (on Plasma) : Format: XRGB8888 (0x34325258)

 ├───Plane 5
    │   ├───Object ID: 70
    │   ├───CRTCs: {0}
    │   ├───Legacy info
    │   │   ├───FB ID: 152
    │   │   │   ├───Object ID: 152
    │   │   │   ├───Size: 2560×1440
    │   │   │   ├───Format: XRGB8888 (0x34325258)
    │   │   │   ├───Modifier: AMD(TILE_VERSION = GFX10_RBPLUS, TILE =
GFX9_64K_R_X, PIPE_XOR_BITS = 4, PACKERS = 3) (0x0200000018801b03)
    │   │   │   └───Planes:
    │   │   │       └───Plane 0: offset = 0, pitch = 10240 bytes


EXPECTED RESULT
- no bars on the test videos.
- drm_info (from Hyprland): Format: XRGB2101010 (0x30335258)

    ├───Plane 5
    │   ├───Object ID: 70
    │   ├───CRTCs: {0}
    │   ├───Legacy info
    │   │   ├───FB ID: 152
    │   │   │   ├───Object ID: 152
    │   │   │   ├───Size: 2560×1440
    │   │   │   ├───Format: XRGB2101010 (0x30335258)
    │   │   │   ├───Modifier: AMD(TILE_VERSION = GFX10_RBPLUS, TILE =
GFX9_64K_R_X, DCC, DCC_RETILE, DCC_INDEPENDENT_128B, DCC_MAX_COMPRESSED_BLOCK =
128B, DCC_CONSTANT_ENCODE, PIPE_XOR_BITS = 4, PACKERS = 3) (0x0200000018967b03)
    │   │   │   └───Planes:
    │   │   │       ├───Plane 0: offset = 0, pitch = 10240 bytes
    │   │   │       ├───Plane 1: offset = 15728640, pitch = 2560 bytes
    │   │   │       └───Plane 2: offset = 15790080, pitch = 2560 bytes

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Fedora Linux 40
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
- "drm_info" indicate 10bit per channel on Hyprland not on Plasma.
- The env variable "KWIN_DRM_PREFER_COLOR_DEPTH=30" has no effect.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to