You are not logged in.

#1 2021-11-24 21:53:25

Psithurisma
Member
Registered: 2021-08-17
Posts: 10

[Solved] Set display to RGB 4:4:4 on wayland.

In both Wayland, and X11, my monitor defaults to YCB 4:4:4 which just has poor black levels. Using X11, adding

amdgpu.dc=0

to GRUB's kernel boot parameters fixes the poor black levels, but it only works in X11. How can I achieve the same thing under Wayland.
Desktop Environment: sway
GPU Driver: amdgpu
GPU: RX580

Last edited by Psithurisma (2021-11-25 01:53:09)

Offline

#2 2021-11-24 22:03:18

progandy
Member
Registered: 2012-05-17
Posts: 4,638

Re: [Solved] Set display to RGB 4:4:4 on wayland.

You should be able to replace the edid reported by your monitor. (you can edid an existing file with wxedid which is in the AUR)

https://wiki.archlinux.org/title/Kernel … s_and_EDID
The values to change: https://gist.github.com/RLovelett/171c3 … id-utility

Last edited by progandy (2021-11-24 22:06:27)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2021-11-24 22:43:20

Psithurisma
Member
Registered: 2021-08-17
Posts: 10

Re: [Solved] Set display to RGB 4:4:4 on wayland.

OK. Now the modified edid file won't be applied.

$ ls /boot/
amd-ucode.img  EFI   initramfs-linux-fallback.img  vmlinuz-linux
edid           grub  initramfs-linux.img
$ ls /boot/edid
edid1.bin

Kernel Boot Parameters

GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet amdgpu.dc=0 amdgpu.ppfeaturemask=0xffffffff drm.edid_firmware=edid/edid1.bin"

Offline

#4 2021-11-25 01:52:46

Psithurisma
Member
Registered: 2021-08-17
Posts: 10

Re: [Solved] Set display to RGB 4:4:4 on wayland.

I screwed up and misunderstood the wiki page's instructions on how to apply a different EDID. Moving

edid1.bin

to

/usr/lib/firmware/edid/edid1.bin

resolved the issue.

Offline

Board footer

Powered by FluxBB