Hi everyone, as the title says, my laptop's internal display is stuck at 60Hz. I have two monitors, both with a 165Hz refresh rate, but here's the situation:
Fedora 42 KDE: I could change the refresh rate of the internal display, but not the resolution.
Fedora 43 KDE: I can change the resolution, but not the refresh rate!
My specs are:
KDE plasma 6.4.5 (wayland)
Kernel: 6.17.5
RAM: 32 gb
CPU: Ryzen 7 5800H
iGPU: AMD Radeon Vega (mesa drivers)
dGPU: NVIDIA Geforce RTX 3070 mobile (propietary drivers)
Disk 1: ssd 1 tb
Drive 2: 512 ssd gb
Well, if anyone has any ideas, I would greatly appreciate the suggestion. Thank you in advance.
Please post the output of inxi -Fzxx & dnf list --installed \*nvidia\* so we can see exactly what is installed and what nvidia drivers are in use.
Thank you very much for your response, well the output of the command "inxi -Fzxx" is:
System:
Kernel: 6.17.5-300.fc43.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
Desktop: KDE Plasma v: 6.4.5 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
Distro: Fedora Linux 43 (KDE Plasma Desktop Edition)
Machine:
Type: Laptop System: LENOVO product: 82N6 v: Legion 7 16ACHg6
serial: <superuser required> Chassis: type: 10 v: Legion 7 16ACHg6
serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: SDK0R33126 WIN
serial: <superuser required> part-nu: LENOVO_MT_82N6_BU_idea_FM_Legion 7
16ACHg6 UEFI: LENOVO v: GKCN65WW date: 01/16/2024
Battery:
ID-1: BAT0 charge: 43.4 Wh (59%) condition: 73.5/80 Wh (91.9%) volts: 15.2
min: 15.36 model: Celxpert L20C4PC1 serial: <filter> charging:
status: not charging cycles: 57
ID-2: hidpp_battery_0 charge: 84% condition: N/A volts: 4.02 min: N/A
model: Logitech G502 LIGHTSPEED Wireless Gaming Mouse serial: <filter>
charging: status: discharging cycles: N/A
CPU:
Info: 8-core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64
type: MT MCP arch: Zen 3 rev: 0 cache: L1: 512 KiB L2: 4 MiB L3: 16 MiB
Speed (MHz): avg: 1103 min/max: 403/4465 boost: enabled cores: 1: 1103
2: 1103 3: 1103 4: 1103 5: 1103 6: 1103 7: 1103 8: 1103 9: 1103 10: 1103
11: 1103 12: 1103 13: 1103 14: 1103 15: 1103 16: 1103 bogomips: 102199
Flags-basic: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a
ssse3 svm
Graphics:
Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q] vendor: Lenovo
driver: nvidia v: 580.95.05 arch: Ampere pcie: speed: 8 GT/s lanes: 8 ports:
active: DP-1 empty: DP-2,HDMI-A-1,eDP-2 bus-ID: 01:00.0 chip-ID: 10de:24dd
Device-2: Advanced Micro Devices [AMD/ATI] Cezanne [Radeon Vega Series /
Radeon Mobile Series] vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5
pcie: speed: 8 GT/s lanes: 16 ports: active: eDP-1 empty: none
bus-ID: 06:00.0 chip-ID: 1002:1638 temp: 43.0 C
Display: wayland server: Xwayland v: 24.1.8 compositor: kwin_wayland
driver: gpu: amdgpu,nv_platform,nvidia,nvidia-nvswitch d-rect: 4480x2680
display-ID: 0
Monitor-1: DP-1 pos: bottom-l model: Gigabyte G24F res: 1920x1080 hz: 165
dpi: 94 diag: 595mm (23.4")
Monitor-2: eDP-1 pos: top-right model: California Institute of
eDP-1-0x1600 res: 2560x1600 hz: 60 dpi: 188 diag: 407mm (16")
API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 2 drv: radeonsi
device: 3 drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia wayland:
drv: nvidia x11: drv: nvidia inactive: device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 580.95.05
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3070 Laptop
GPU/PCIe/SSE2 display-ID: :0.0
API: Vulkan v: 1.4.321 surfaces: N/A device: 0 type: discrete-gpu
driver: nvidia device-ID: 10de:24dd device: 1 type: integrated-gpu
driver: mesa radv device-ID: 1002:1638 device: 2 type: cpu
driver: mesa llvmpipe device-ID: 10005:0000
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
wl: wayland-info x11: xdriinfo, xdpyinfo, xprop, xrandr
Audio:
Device-1: NVIDIA GA104 High Definition Audio driver: snd_hda_intel v: kernel
pcie: speed: 8 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:228b
Device-2: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
vendor: Lenovo driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
bus-ID: 06:00.6 chip-ID: 1022:15e3
API: ALSA v: k6.17.5-300.fc43.x86_64 status: kernel-api
Server-1: PipeWire v: 1.4.9 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
port: 2000 bus-ID: 03:00.0 chip-ID: 10ec:8168
IF: eno1 state: down mac: <filter>
Device-2: Intel Wi-Fi 6 AX200 vendor: Rivet Networks Killer
driver: iwlwifi v: kernel pcie: speed: 5 GT/s lanes: 1 bus-ID: 04:00.0
chip-ID: 8086:2723
IF: wlp4s0 state: up mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 bus-ID: 3-4:2 chip-ID: 8087:0029
Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.2
lmp-v: 11
Drives:
Local Storage: total: 1.39 TiB used: 160.27 GiB (11.3%)
ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS001TDE9X084N
size: 953.87 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 42.9 C
ID-2: /dev/nvme1n1 vendor: Western Digital model: WD BLACK SN750 SE 500GB
size: 465.76 GiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 31.9 C
Partition:
ID-1: / size: 951.28 GiB used: 54.91 GiB (5.8%) fs: btrfs
dev: /dev/nvme0n1p3
ID-2: /boot size: 1.9 GiB used: 688.4 MiB (35.4%) fs: ext4
dev: /dev/nvme0n1p2
ID-3: /boot/efi size: 598.8 MiB used: 19.3 MiB (3.2%) fs: vfat
dev: /dev/nvme0n1p1
ID-4: /home size: 951.28 GiB used: 54.91 GiB (5.8%) fs: btrfs
dev: /dev/nvme0n1p3
Swap:
ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 55.0 C mobo: N/A gpu: amdgpu temp: 44.0 C
Fan Speeds (rpm): N/A
Info:
Memory: total: 28 GiB available: 27.25 GiB used: 4.51 GiB (16.5%)
Processes: 490 Power: uptime: 1h 5m wakeups: 0 Init: systemd v: 258
default: graphical
Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 14
Compilers: gcc: 15.2.1 Shell: Zsh v: 5.9 running-in: konsole inxi: 3.3.39
And the output of the command "dnf list --installed \*nvidia\*":
akmod-nvidia.x86_64 3:580.95.05-1.fc43 rpmfusion-nonfree
kmod-nvidia-6.17.4-300.fc43.x86_64.x86_64 3:580.95.05-1.fc43 @commandline
kmod-nvidia-6.17.5-300.fc43.x86_64.x86_64 3:580.95.05-1.fc43 @commandline
libva-nvidia-driver.i686 0.0.14-3.fc43 fedora
libva-nvidia-driver.x86_64 0.0.14-3.fc43 fedora
nvidia-gpu-firmware.noarch 20251021-1.fc43 d15e557246b143e68b4d7cf7c8078e9c
nvidia-modprobe.x86_64 3:580.95.05-1.fc43 rpmfusion-nonfree
nvidia-persistenced.x86_64 3:580.95.05-1.fc43 rpmfusion-nonfree
nvidia-settings.x86_64 3:580.95.05-1.fc43 rpmfusion-nonfree
xorg-x11-drv-nvidia.x86_64 3:580.95.05-1.fc43 rpmfusion-nonfree
xorg-x11-drv-nvidia-cuda.x86_64 3:580.95.05-1.fc43 rpmfusion-nonfree
xorg-x11-drv-nvidia-cuda-libs.i686 3:580.95.05-1.fc43 rpmfusion-nonfree
xorg-x11-drv-nvidia-cuda-libs.x86_64 3:580.95.05-1.fc43 rpmfusion-nonfree
xorg-x11-drv-nvidia-kmodsrc.x86_64 3:580.95.05-1.fc43 rpmfusion-nonfree
xorg-x11-drv-nvidia-libs.i686 3:580.95.05-1.fc43 rpmfusion-nonfree
xorg-x11-drv-nvidia-libs.x86_64 3:580.95.05-1.fc43 rpmfusion-nonfree
xorg-x11-drv-nvidia-power.x86_64 3:580.95.05-1.fc43 rpmfusion-nonfree
Any ideas would be greatly appreciated.
What is the design refresh rate on the laptop screen?
The external screen on the nvidia gpu is at 165, but the internal screen is only at 60?
The only thought I have is something with the driver for that gpu or the kernel itself.
Was it different with the 6.17.4 kernel?
Please show us the output of lspci -nnk | grep -iA4 vga
The laptop's screen refresh rate is 165 Hz.
No, the same thing happened with the previous kernel.
The command output is:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] [10de:24dd] (rev a1)
Subsystem: Lenovo Device [17aa:3a54]
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device [0403]: NVIDIA Corporation GA104 High Definition Audio Controller [10de:228b] (rev a1)
--
06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c5)
Subsystem: Lenovo Device [17aa:3a54]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
06:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir/Cezanne Platform Security Processor [1022:15df]
One curious thing: when I disable the integrated GPU and only leave the dedicated one (Nvidia only), I can set both screens to 165Hz, which worked fine on Fedora 42 KDE. Could this be due to some kernel parameter I've set for Nvidia, like modeset=1 or fbdev=1, or NVreg_EnableGpuFirmware=0?
Maybe.
What is the output of cat /proc/cmdline?
Shows:
BOOT_IMAGE=(hd1,gpt2)/vmlinuz-6.17.5-300.fc43.x86_64 root=UUID=f87d47f3-74a2-4330-9675-f914e8bd3c52 ro rootflags=subvol=root rhgb quiet rd.driver.blacklist=nouveau,nova_core modprobe.blacklist=nouveau,nova_core nvidia-drm.modeset=1 nvidia-drm.fbdev=1 nvidia.NVreg_EnableGpuFirmware=0
Those cmdline options are probably not required.
You can test that by opening the grub menu and press e on the kernel being booted.
Then on the line that begins with linux= find and remove those options. Continue booting with âctrl-Xâ or âF10â as prompted.
If the display then works properly the options can be removed permanently with
sudo grubby --update-kernel=ALL --remove-args='nvidia-drm.modeset=1 nvidia-drm.fbdev=1 nvidia.NVreg_EnableGpuFirmware=0' followed by a reboot.
Okay, I removed the kernel parameters as you suggested. Nothing changed regarding the internal display; it's still at 60Hz. But... the performance in games with UE5 improved. I tested two titles for over 10 minutes each, and the difference was noticeable. Of course, I have my notes on installing the NVIDIA drivers, but they're from version 550, and many things have been fixed since then. I'll have to update those notes. Thanks for the input!
I have had this problem as well and somebody here in the forum gave me this command:
sudo rpm-ostree kargs --append="amdgpu.dcdebugmask=0x8000"
Now I know this is for an atomic version of Fedora but maybe somebody here can change the command into one suitable for a non atomic Fedora version.
It does work, at least here in my Lenovo Legion. One thing, after performing this command you have to do a reboot.
Success.
@pablore79 this might sound crazy and unrelated, but you could try removing amdgpu modules from the initramfs. I also have a laptop with a AMD iGPU and a Nvidia dGPU, and I realized that under some specific circumstances, amdgpu modules were not loaded properly and the internal display would either remain black or would be initialized at a fixed 60Hz refresh rate. It seems to be triggered by a kernel race condition during boot (amdgpu modules are big), removing the modules seem to fix this.
To try this, you just need to create a /etc/dracut.conf.d/omit-amd-drivers.conf file with:
omit_drivers+=" amdgpu "
and run sudo dracut -f to regenerate your current initrd. Reboot afterwards.
I hope this helps!
(BTW you should consider not writing every message as a code block, that would make them easier to read
)
Hi, yes I tried it, even with the parameter âamdgpu.dcdebugmask=0x410â and none of them worked, thank you very much for the suggestion!
Hi! Iâll try it when I get home. Thank you so much for your idea; I have something new to try.
Regarding the text formatting⊠sorry! As you can see, Iâve already fixed it.
I just found the original thread from which I got the command.
The solution is in post 3:
sudo grubby --update-kernel=ALL --args="amdgpu.dcdebugmask=0x8000"
Yes, I know how to use âgrubbyâ; in fact, thatâs how I add boot parameters to GRUB for NVIDIA drivers, and I also remove them that way. Anyway, I really appreciate you taking the time to help.
Hi again, did you solve your problem already? If so, how did you do it? Iâm curious if, aside from what I wrote, there is another way to solve this.
Hi, I tried the kernel parameter you sent me, but it didnât work.
I also tried the suggestion from user AndrĂ© Costa, who proposed creating a file /etc/dracut.conf.d/omit-amd-drivers.conf and adding omit_drivers+=âamdgpuâ. While this works because it only activates the Nvidia GPU, the problem Iâm having is with virtual machines. I lose 3D acceleration with virt-manager, and other VM managers have other very annoying problems, even though virt-manager is the best in terms of performance. Iâll keep investigating and will let you know when I find a complete solution. Thanks a lot for your help.
Moving drivers out of initramfs is not the same as blacklisting them. AMD drivers will be loaded once the real root filesystem is active. This article might give some more context about the pros and cons of removing GPU drivers from initramfs (itâs not directly related to your case, but a good read anyway).
Hi everyone, I wanted to let you know that I implemented the solution suggested by user AndrĂ© Costa. It didnât solve the 60Hz issue on the laptopâs internal screen. Itâs true, it doesnât disable the iGPU, but it started causing unexpected restarts of KWin. This happened with Dolphin, Spotify, and Firefox, so unfortunately I had to revert everything to its previous state. However, I really appreciate the suggestions you all offered to help me figure out what the problem might be. Iâll keep trying other solutions I find, and as soon as I find one, Iâll let you know.