TigerLake H i915: Refresh rate locked to 60 Hz on 165 Hz capable display
- I have a 2021 Lenovo Legion 7i 16ITHg6
- The screen refresh is locked to 60 Hz 100% of the time
- If switch the BIOS to the discrete GPU (Nvidia), disabling optimus, then I can get 165 Hz.
- uname -m: x86_64
- uname -r: 5.13.11 (however, this occurs on the latest drm-tip (as of this morning) and 5.11.0-25-generic (Ubuntu)
- Kubuntu 21.04 (hirsute)
- Motherboard: Lenovo Legion 7i 16ITHg6 Handle 0x0002, DMI type 2, 15 bytes Base Board Information Manufacturer: LENOVO Product Name: LNVNB161216 Version: SDK0R32862 WI
- Display connector: eDP-1
- Setting drm.debug=4, here is the output I got when attempting to switch modes:
First I switch from "165 Hz" to 60: Aug 5 10:59:12 legion kernel: [ 247.263181] [drm:drm_mode_debug_printmodeline [drm]] Modeline "": 60 282670 2560 2608 2640 2720 1600 1603 1609 1732 0x0 0x9 Aug 5 10:59:12 legion kernel: [ 247.263307] [drm:drm_mode_debug_printmodeline [drm]] Modeline "2560x1600": 60 282670 2560 2608 2640 2720 1600 1603 1609 1732 0x48 0x9 Aug 5 10:59:12 legion kernel: [ 247.263521] [drm:drm_mode_debug_printmodeline [drm]] Modeline "2560x1600": 60 282670 2560 2608 2640 2720 1600 1603 1609 1732 0x40 0x9
Then I attempt to switch from 60 Hz to 165 Hz: Aug 5 10:59:22 legion kernel: [ 257.078950] [drm:drm_mode_debug_printmodeline [drm]] Modeline "": 165 777340 2560 2608 2640 2720 1600 1603 1609 1732 0x0 0xa Aug 5 10:59:22 legion kernel: [ 257.079075] [drm:drm_mode_debug_printmodeline [drm]] Modeline "2560x1600": 60 282670 2560 2608 2640 2720 1600 1603 1609 1732 0x48 0x9 Aug 5 10:59:22 legion kernel: [ 257.079266] [drm:drm_mode_debug_printmodeline [drm]] Modeline "2560x1600": 60 282670 2560 2608 2640 2720 1600 1603 1609 1732 0x40 0x9
The screen never flickers, it remains on 60 Hz no matter what I do.
- xrandr --verbose output (it thinks it's on 165 Hz. All vsync'ed apps show 60 fps and visually it's clearly 60 fps): xrandr.log
Looking at the EDID, it seems 2 modes are defined:
- One for 60 Hz (this is the first mode).
- One for 165 Hz (this is the second mode defined).
I've tried booted with the EDID acquired from nvidia-settings. There is no change.
My specs if they matter: Lenovo Legion 7i 16ITHg6: Tiger Lake H i9 11980HK i915 iGPU Nvidia RTX 3080 mobile dGPU 32GB memory
I will follow up with a full dmesg.