4k Monitor stuck at 4k 30 when GPU can support 4k 60

Hello Open Suse community,

I have an HP ProBook G7 445 with a Ryzen 5 4500U and 16 GB of RAM. The GPU on here is a Vega 6. I’m running OpenSuse Tumbleweed and it’s fully updated.

I was so excited to use this as an semi HTPC for Smooth Video Player when I found out that the refresh rate was capped at 30Hz.

Now according to the AMD spec, this 4500U can support 4k 60Hz. I could drive two monitors with 4k 60Hz via HDMI port and the USB-C 3.2 port.

I was able to get 4k 60Hz in Windows 10 through both the HDMI port and the USB-C port. But not OpenSuse Tumbleweed.

The cable I’m using is a HDMI 2.1B cable that supports up to 8k 120Hz. So it’s not the fault of the cable.

So I want to ask you guys, what do you suggest me to do?

Thanks,
The Coach Chen.

If you are using X11 - it is simple - If you are using wayland - you are out of luck.
use cvt and xrandr to set the video to the resolution you want.

> cvt 3840 2160
# 3840x2160 59.98 Hz (CVT 8.29M9) hsync: 134.18 kHz; pclk: 712.75 MHz
Modeline "3840x2160_60.00"  712.75  3840 4160 4576 5312  2160 2163 2168 2237 -hsync +vsync

then a script like this to set it

cat fixvideo.sh
#/usr/bin/bash
D=`xrandr --verbose | head -2 | tail -1 | awk '{print $1}'`
/usr/bin/xrandr --newmode "3840x2160_60.00"  712.75  3840 4160 4576 5312  2160 2163 2168 2237 -hsync +vsync
/usr/bin/xrandr --addmode $D 3840x2160_60.00
/usr/bin/xrandr -s 3840x2160

I have to also to add… I’m realtively new to Linux.

Just want to ask you, do I put this code into the terminal?

How do I find out that I’m using X11 or wayland?

Open a terminal and type this exactly - for me it is X11

> echo $XDG_SESSION_TYPE
x11

yes - they are done in a terminal.

you need to edit a script. there is not just one way to edit a file. It depends on what you have learned.

If notepad in windows is what you are comfortable with - leafpad, pluma are like notepad.

other editors are sed, vi, nano, and too many others to name.

There are a correct answer for each desktop.

The desktops are a choice when you install linux.

OpenSUSE supports KDE, gnome, Mate, Cinnamon, xfce, there may be others I cannot recall them all. Each has their own “notepad like” editor.

The internet is you friend and enemy - duckduck your question and there will be good answers and bad answers.

duckduckgo is like google but does not track what you query.

Yes so I entered what you told me to do in Terminal and I got X11.

So I can use the script as intended.

Another thing I have to add is that I’m using the KDE Desktop Environment.

I spent a couple hours using DuckDuckGo on this question and I wasn’t able to find out the information I needed.

Hence I posted on here. Thank you for your responses.

So I think I figured out my problem.

First I installed CVT from the YAST software manager.

Then I followed your command and got this output:
cvt 3840 2160

3840x2160 59.98 Hz (CVT 8.29M9) hsync: 134.18 kHz; pclk: 712.75 MHz

Modeline “3840x2160_60.00” 712.75 3840 4160 4576 5312 2160 2163 2168 2237 -hsync +vsync

Then I followed what you did with a script by putting it into KATE and executing it. Problem was that it wasn’t executing.

So then I put it in line by line and then I got the “Bad Name, Color Font doesn’t exist” error in Xrandr.

I followed this guide on stack overflow in order to fix it. https://stackoverflow.com/questions/851704/xrandr-errors-badname-named-color-or-font-does-not-exist I used the answer with the 75 upvotes.

So here’s my modified code:

#/usr/bin/bash
/usr/bin/xrandr --newmode “4k60” 712.75 3840 4160 4576 5312 2160 2163 2168 2237 -hsync +vsync
/usr/bin/xrandr --addmode HDMI-1 4k60
/usr/bin/xrandr -s 4k60

I used the terminal to put in the code line by line.

I used HDMI 1 because I was connecting to the TV through HDMI. I used BlurBuster’s UFO test in order to test if I was getting 60 fps in 4k. I was.

Thank you to Larry for your help.

I use two 4K monitors. If the secondary gets disconnected - usually when the cat dislodges a cable - it sometimes comes back at 30Hz, depending on if the system was rebooted, put to sleep or switched off/locked the screens.

I then use System Settings > Display > Screen Config to set the correct frequency (60 Hz).

It happens too rarely for me to bother working out a config file for X11.

P.S.: I’m using Leap 15.4 / KDE Plasma.