Getting 60Hz on 120Hz laptop display when running on Nvidia GPU

I have installed Garuda on a AMD+Nvidia Optimus laptop - Asus Zephyrus G14. Everything worked out fine out-of-the-box, Garuda installed all proper drivers suitable for my machine with optimus-manager. On Hybrid mode, everything feels snappy on my laptop's 120Hz display.

I am able to switch between hybrid and nvidia mode without issues, however on nvidia the refresh rate feels visibly slow - everything from cursor movement, scrolling and window wobble effect. I feel it's 60 Hz (not really sure how to confirm it). The display configuration however shows 120Hz despite this.

inxi -Faz
System:    Kernel: 5.14.7-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0  
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=2eeb1928-e215-484e-9847-54e2ce849c93  
rw rootflags=subvol=@ quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 resume=UUID=2978cdd3-cd08-43ba-b001-a7053ea59b54 loglevel=3
Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM  
Distro: Garuda Linux base: Arch Linux  
Machine:   Type: Laptop System: ASUSTeK product: ROG Zephyrus G14 GA401II_GA401II v: 1.0 serial: <filter>  
Mobo: ASUSTeK model: GA401II v: 1.0 serial: <filter> UEFI: American Megatrends v: GA401II.219  
date: 12/30/2020  
Battery:   ID-1: BAT0 charge: 57.4 Wh (79.4%) condition: 72.3/76.0 Wh (95.2%) volts: 15.8 min: 15.8  
model: ASUSTeK ASUS Battery type: Li-ion serial: N/A status: Not charging  
Device-1: hid-dc:2c:26:05:66:0e-battery model: Keychron K2 serial: N/A charge: N/A  
status: Discharging  
Device-2: hidpp_battery_0 model: Logitech G304 Lightspeed Wireless Gaming Mouse  
serial: <filter> charge: 50% (should be ignored) rechargeable: yes status: Discharging  
CPU:       Info: 6-Core model: AMD Ryzen 5 4600HS with Radeon Graphics bits: 64 type: MT MCP arch: Zen 2  
family: 17 (23) model-id: 60 (96) stepping: 1 microcode: 8600104 cache: L2: 3 MiB  
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 71862  
Speed: 3992 MHz min/max: 1400/3000 MHz boost: enabled Core speeds (MHz): 1: 3992 2: 2205  
3: 3137 4: 1394 5: 1397 6: 1398 7: 1544 8: 1396 9: 1397 10: 1395 11: 2154 12: 2243  
Vulnerabilities: Type: itlb_multihit status: Not affected  
Type: l1tf status: Not affected  
Type: mds status: Not affected  
Type: meltdown status: Not affected  
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp  
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization  
Type: spectre_v2  
mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling  
Type: srbds status: Not affected  
Type: tsx_async_abort status: Not affected  
Graphics:  Device-1: NVIDIA TU116M [GeForce GTX 1650 Ti Mobile] vendor: ASUSTeK driver: nvidia v: 470.74  
alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:2192 class-ID: 0300  
Device-2: AMD Renoir vendor: ASUSTeK driver: amdgpu v: kernel bus-ID: 04:00.0  
chip-ID: 1002:1636 class-ID: 0300  
Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: loaded: modesetting,nvidia  
display-ID: :0 screens: 1  
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9")  
Monitor-1: eDP-1-1 res: 1920x1080 hz: 120 dpi: 158 size: 309x174mm (12.2x6.9")  
diag: 355mm (14")  
OpenGL: renderer: NVIDIA GeForce GTX 1650 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 470.74  
direct render: Yes  
Audio:     Device-1: NVIDIA TU116 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel  
bus-ID: 01:00.1 chip-ID: 10de:1aeb class-ID: 0403  
Device-2: AMD driver: snd_hda_intel v: kernel bus-ID: 04:00.1 chip-ID: 1002:1637 class-ID: 0403  
Device-3: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: ASUSTeK driver: N/A  
alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus-ID: 04:00.5 chip-ID: 1022:15e2 class-ID: 0480  
Device-4: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403
Sound Server-1: ALSA v: k5.14.7-zen1-1-zen running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: no
Sound Server-4: PipeWire v: 0.3.37 running: yes
Network:   Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: f000 bus-ID: 02:00.0
chip-ID: 8086:2723 class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 bus-ID: 6-1.4:4
chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
IF: enp4s0f4u1u4 state: up speed: 100 Mbps duplex: full mac: <filter>
Bluetooth: Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 5-4:4 chip-ID: 8087:0029
class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:    Local Storage: total: 953.87 GiB used: 37.93 GiB (4.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: SSDPEKNW010T8 size: 953.87 GiB
block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 004C temp: 33.9 C scheme: GPT
Partition: ID-1: / raw-size: 937.05 GiB size: 937.05 GiB (100.00%) used: 37.93 GiB (4.0%) fs: btrfs
dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) used: 562 KiB (0.2%) fs: vfat
dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 937.05 GiB size: 937.05 GiB (100.00%) used: 37.93 GiB (4.0%) fs: btrfs
dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 937.05 GiB size: 937.05 GiB (100.00%) used: 37.93 GiB (4.0%) fs: btrfs
dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 937.05 GiB size: 937.05 GiB (100.00%) used: 37.93 GiB (4.0%) fs: btrfs
dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 16.56 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/nvme0n1p3 maj-min: 259:3
ID-2: swap-2 type: zram size: 15.05 GiB used: 25 MiB (0.2%) priority: 100 dev: /dev/zram0
Sensors:   System Temperatures: cpu: 61.0 C mobo: N/A
Fan Speeds (RPM): N/A
GPU: device: nvidia screen: :0.0 temp: 54 C device: amdgpu temp: 51.0 C
Info:      Processes: 327 Uptime: 1h 4m wakeups: 7 Memory: 15.05 GiB used: 5.12 GiB (34.0%) Init: systemd
v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1254 lib: 320
Shell: fish v: 3.3.1 default: Zsh v: 5.8 running-in: konsole inxi: 3.3.06

I searched around internet about this but most results were with respect to debian based systems like Ubuntu and PopOS and suggested something about nvidia prime sync and downgrading kernel to 5.4. On the Nvidia X server settings app, the Prime Synchronization is turned off.

How do I tackle this issue as a linux newbie?

https://www.displayhz.com/
This may help finding the hz.

2 Likes

Wow, nice resource @broisthisfake . Now I am confident that my display is working on the correct frequency

The site is stuck on calculating and says "Firefox is broken". Using FireDragon btw which comes as default on Garuda

this site may not work with firefox that's why it displays firefox is broken when opening from firefox, but it runs fine on my firefox browser
anyway you can try it out with another browser like brave.

just a side note If anything doesn't work about this site, this is not the place to discuss because it is not garuda's service it is just a external resource.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.