Cannot set 4k@60Hz refresh rate after installation but can do so with the live USB

I have a X870E ASRock motherboard with a 7800X3D CPU, which has an iGPU, and the nVidia 3070. When booting from the live USB (with nVidia drivers), I can set the display to 4k@60Hz but, after installation, I only see the 30Hz refresh rate for 4k resolution (in the System Settings).

Some posts say the iGPU cannot drive the monitor at 4k@60Hz. I don’t know if that’s true but, if it is, can I force KDE to use the discrete GPU? This is a desktop so power saving is not my primary concern.

In the BIOS, I selected external graphics as priority. There is also another setting (CSM?) which is related to iGPU output. I disable that one too.

Also, I can dual boot into Windows 11 and I can set 4k@60Hz fine in there.

It’s my first time posting here so I don’t know how to create interactive attachments. I just pasted the output of inxi below:

❯ inxi -G
Graphics:
Device-1: NVIDIA GA104 [GeForce RTX 3070 Lite Hash Rate] driver: nvidia
v: 565.77
Device-2: Advanced Micro Devices [AMD/ATI] Raphael driver: amdgpu
v: kernel
Device-3: Realtek USB Camera driver: snd-usb-audio,uvcvideo type: USB
Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
compositor: kwin_wayland driver: N/A resolution: 3072x1728
API: EGL v: 1.5 drivers: nvidia
platforms: gbm,wayland,x11,surfaceless,device
API: OpenGL v: 4.6.0 vendor: nvidia v: 565.77 renderer: NVIDIA GeForce
RTX 3070/PCIe/SSE2
API: Vulkan v: 1.4.303 drivers: N/A surfaces: xcb,xlib,wayland

Can anyone help? Thank you.

Thank you for the suggestion. This is the output I get:
❯ glxinfo | grep “OpenGL renderer”
OpenGL renderer string: NVIDIA GeForce RTX 3070/PCIe/SSE2

~
❯ prime-run glxinfo | grep “OpenGL renderer”
OpenGL renderer string: NVIDIA GeForce RTX 3070/PCIe/SSE2

Here is the output:

❯ sudo cat /sys/module/nvidia_drm/parameters/modeset
[sudo] password for tltd:
Y

I’m trying to understand this post right now
https://www.reddit.com/r/linuxquestions/comments/wvh479/how_to_blacklist_drivers_for_specific_device_only/
Is that relevant?

Make sure your monitor is connected to the dGPU and not the motherboard. If you’re not going to use the iGPU, why don’t you just disable it?

Yes, the monitor is connected to the dGPU. The iGPU is disabled in the BIOS already (I tried all settings which sound related to it). In any case, the hardware setup is exactly the same when I run from the Live USB as when I boot from the installed CachyOS. Just that after installation, it won’t show the option for 60Hz.

check if you use the same display system on both

echo $XDG_SESSION_TYPE

What monitor is this? Can you please try the LTS and rc kernel and check if the option is present? You can install both kernels from the kernel manager.

By “both”, you mean with the Live USB and with the hard disk boot? With the latter,

❯ echo $XDG_SESSION_TYPE
wayland

With the Live USB, the output is x11. We may be on something here :slight_smile:

I tried the rc kernel and there is no option for 60Hz.

I can’t install the lts kernel because of the following error:
error: failed retrieving file ‘linux-cachyos-lts-6.6.66-1-x86_64_v4.pkg.tar.zst’ from cdn-1.cachyos.org : The requested URL returned error: 404

The monitor is my TV with HDMI connection. I have no problem with setting 4k@60Hz in Windows 11 (dual boot) or Manjaro.

You should probably either resync mirrors or try again, LTS went to .67 today.

Thanks. I’m not sure what “resync” is but one post with similar problem suggested to run
sudo pacman -Syu
After that, I could install LTS. Unfortunately, the problem is still there. No option for 60Hz.

I had an older nvidia gpu laptop, it had the same problem(like 4 years ago). X11 had more available refresh rates, I think it’s an nvidia driver thing. Did you try X11 on the installed system?

I didn’t know you could do that. Could you tell me how to switch to X11 on the installed CachyOS?

Never mind. Just googled it. Yes, that’s it! In X11, I can set to 60Hz now! Thank you. :smile:

looks like nothing changed in nvidia land the last few years… maybe wayland is better with gnome?

Okay, so how would you solve his issue then? Explain how is this gnome’s fault and not Nvidia’s?