Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Does anyone know how to get RDNA2 to output 4K YCrCb 420?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2062
Location: San Jose, CA

PostPosted: Sat Dec 03, 2022 1:17 am    Post subject: Does anyone know how to get RDNA2 to output 4K YCrCb 420? Reply with quote

I installed a new (first new GPU in six years!) RX 6650 in my linux media server.

It worked once I got amdgpu radeonsi and radeon into my VIDEO_CARDS string.

But, alas, my TV is HDCP 2.2 and the GPU is only HDCP 2.1, so the only way to use HDMI is to set the color format to YCrCb 420. I did that with the GTX 1050ti I had previously.

I read the EDID for the monitor and it doesn't list 3840X2160 at 60 Hz. Only at 30 Hz. I think that's why the AMDGPU driver is doing 30 Hz.

I think i can buy an DisplayPort to HDMI 2.2 converter and that might work, but I was hoping to avoid buying one.

Any advice would be appreciated.

I found out how to set it by hand with xrandr:

Code:
xrandr --newmode "3840x2160_60" 594.00 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync
xrandr --addmode HDMI-A-0 3840x2160_60
xrandr --output HDMI-A-0 --mode 3840x2160_60


However, I need to figure out how to save this since kde plasma has no idea about this mode. It's not listed in the monitor's EDID.
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
psycho
Guru
Guru


Joined: 22 Jun 2007
Posts: 534
Location: New Zealand

PostPosted: Sat Dec 03, 2022 10:16 am    Post subject: Reply with quote

Hi Ray.

In the old days of manual xorg.conf configuration we used to add permanent modelines like this:
Code:

Section "Monitor"
        Identifier "HDMI-A-0"
        Modeline "3840x2160_60" 594.00 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync
        Option "PreferredMode" "3840x2160_60"
EndSection

Otherwise maybe you could just script your xrandr commands in .xinitrc (or later in .config/autostart) or whatever...?
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2062
Location: San Jose, CA

PostPosted: Sat Dec 03, 2022 10:05 pm    Post subject: Reply with quote

Thanks Psycho.

I created a conf file in /usr/share/X11/xorg.conf.d/

Next time I reboot I'll see if it works.
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum