About 3 years ago, @generix helped me setup a dual-external-monitor system on a hybrid-graphics (Ryzen 4800H+RTX2060) gaming laptop running Ubuntu, and it has been running well. I’ve upgraded the (X)Ubuntu OS from 18.04 → 20.04, and to 22.04 earlier this year, and also upgrade my external monitors from full HD to 2k.
My two external monitors are now both Samsung LS27R75 2K monitors capable of 144Hz refresh rate. I noticed that the monitor connected via the HDMI on the laptop is getting 144Hz refresh rate, but the one connected via USB-C → adapter → HDMI, labeled as DP-0 port, is only getting 60Hz refresh rate.
it has’t been bothering me much with 60Hz, but when displaying certain shades, I do see flickering. so I am hoping if I can make both to work at 144Hz.
From @generix’s previous posts, it seems the on-board HDMI port and DP-0 are connected to different GPU in this hybrid system and one of those is doing a video by-pass. I am wondering there is a way we can force the USB-C->HDMI adapter to provide 144Hz rate, I thought USB-C port has much higher bandwidth.
I am appreciated if anyone knows how to configure this monitor to use the higher refresh rate.
here is the nvidia-setting dialog showing the two monitor’s available modes - you can see for 2k resolution, it only lists 60Hz for the non-prime monitor.
Please also run nvidia-bug-report.sh as root and attach the resulting file here.
When running Xorg, this should shed some light which modes the driver sees.
My USB-C adapter is a generic brand bought from Amazon, looks exactly like this one, except that the brand name is FlePow instead of ThanBao. Even the specs look the same - both listed 4K HDMI Output - although it does no say it supports 144Hz.
if this is the issue, does anyone know a USB-C-to-HDMI adaptor that works for 144Hz?
Not very helpful without exact specifications / model.
I tend to think the adapter is the culprit. A little web search brought up i.e.:
As the log does not show the modes the nvidia gpu sees, I wonder if it is because you boot with kernel parameter nvidia-drm.modeset=0.
Just for testing, could you try to boot with nvidia-drm.modeset=1 and create a new bug report?
As said no difference.
I was hoping to see the modes for DP-0 being printed, but no… so you can change the kernel parameter back.
I have no idea how the USB-C connection is handled by the kernel/drivers/window manager, so…
My best bet is still the adapter simply not supporting the frequency.
a follow up on this - @Mart was absolutely right, the USB-C-to-HDMI adapter was the culprit. Replacing it by an adapter explicitly support 4k/2k@144Hz solved the problem. Now both xrandr and nvidia-settings shows 144Hz @ 2k for DP-0.