What exactly is the problem? “It doesn’t work” isn’t going to help us to help you. Give us details about what’s going wrong.
I’m a newly returning Ubuntu user and am transitioning my two PC streaming setup from Windows. It’s going great, but I have been struggling to solve a refresh rate issue. My setup involves a Gaming PC and a Stream PC and the video chain is a bit complex. The video output from the Gaming PC goes to an HDMI switch, which goes to an input on the capture card in the Stream PC, then out from the pass-through on the capture card to my monitor.
The specific issue is that the refresh rate on my Gaming PC is being limited to 4K 30 Hz, whereas my monitor supports 4K 120 Hz, as does the pass-through on my capture card.
What hardware are you using?
Gaming PC: https://pcpartpicker.com/user/Coestar/saved/P4drcf
Stream PC: https://pcpartpicker.com/user/Coestar/saved/gZYmxr
HDMI Switch: https://www.amazon.com/gp/product/B0B6FCPG5Q
The directly related hardware:
- Monitor: Gigabyte M28U and supports 4K 144 Hz
- Gaming PC GPU: Nvidia RTX 4080 Super
- Stream PC Capture Card: AverMedia Live Gamer 4K 2.1 (GC575)
What have you already tried? What happened as a result?
I’ve tried changing the video chain around to see what happens:
- Gaming PC → Monitor - Works perfectly, 4K 144 Hz
- Gaming PC → HDMI Switch → Monitor - No signal
- Gaming PC → Capture Card → Monitor - Works, but limited to 4K 29.97 Hz
- Gaming PC → HDMI Switch → Capture Card → Monitor - Works, but limited to 4K 29.97 Hz (This is the setup that I was using successfully in Windows to capture 4K 60 Hz and pass-through 4K 120 Hz)
This seemed to eliminate the HDMI Switch as the issue, despite failing to get a signal. All of the above are HDMI connections, no DisplayPort.
I attempted to force the mode and rate using xrandr, e.g. $ xrandr --output HDMI-2 --mode 3840x2160 --rate 120.000
, but this had no effect.
I also attempted to force the mode by editing ~/config/monitors.xml
to change the rate
fields associated with the GC575 to 120.000
. This also did not work, though it did seem to have an effect one time where I was able to get 60 Hz instead of 29.97 Hz. After another reboot, however, it returned to 29.97 Hz and stayed that way.
Those are the main things I tried, nothing else of note. Spent a lot of time searching but can’t seem to find anything near to this specific issue involving a capture card.
Gaming PC Command Outputs
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.10
Release: 24.10
Codename: oracular
$ uname -a
Linux rex 6.11.0-13-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Sat Nov 30 23:51:51 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
$ nvidia-smi
Thu Jan 9 19:28:42 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03 Driver Version: 560.35.03 CUDA Version: 12.6 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 4080 ... Off | 00000000:08:00.0 On | N/A |
| 0% 30C P8 11W / 320W | 943MiB / 16376MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 3125 G /usr/bin/gnome-shell 299MiB |
| 0 N/A N/A 3583 G /usr/bin/Xwayland 513MiB |
| 0 N/A N/A 3717 G /usr/libexec/xdg-desktop-portal-gnome 10MiB |
| 0 N/A N/A 8822 G ...local/share/Steam/ubuntu12_32/steam 4MiB |
| 0 N/A N/A 9021 G ./steamwebhelper 48MiB |
| 0 N/A N/A 9050 C+G ....local/share/Steam/logs/cef_log.txt 9MiB |
+-----------------------------------------------------------------------------------------+
$ sudo lshw -C display
*-display
description: VGA compatible controller
product: AD103 [GeForce RTX 4080 SUPER]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:08:00.0
logical name: /dev/fb0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=nvidia latency=0 mode=1024x768 resolution=1024,768 visual=truecolor xres=1024 yres=768
resources: iomemory:780-77f iomemory:7c0-7bf irq:111 memory:fb000000-fbffffff memory:7800000000-7bffffffff memory:7c00000000-7c01ffffff ioport:e000(size=128) memory:fc000000-fc07ffff
$ xrandr
Screen 0: minimum 16 x 16, current 3840 x 2160, maximum 32767 x 32767
HDMI-2 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 630mm x 360mm
3840x2160 29.96*+
2048x1536 29.95
1920x1440 29.88
1600x1200 29.85
1440x1080 29.86
1400x1050 29.84
1280x1024 29.90
1280x960 29.82
1152x864 29.92
1024x768 29.89
800x600 29.55
640x480 29.85
320x240 27.50
2560x1600 29.94
1920x1200 29.87
1680x1050 29.95
1440x900 29.91
1280x800 29.83
1152x720 29.72
960x600 29.86
928x580 29.64
800x500 29.53
768x480 29.64
720x480 29.25
640x400 29.58
320x200 26.53
3200x1800 29.93
2880x1620 29.92
2560x1440 29.94
2048x1152 29.94
1920x1080 29.86
1600x900 29.92
1368x768 29.94
1280x720 29.72
1024x576 29.84
864x486 29.50
720x400 29.51
640x350 29.03
$ cat .config/monitors.xml
<monitors version="2">
<configuration>
<layoutmode>logical</layoutmode>
<logicalmonitor>
<x>0</x>
<y>0</y>
<scale>1</scale>
<primary>yes</primary>
<monitor>
<monitorspec>
<connector>HDMI-2</connector>
<vendor>GBT</vendor>
<product>M28U</product>
<serial>23060B001096</serial>
</monitorspec>
<mode>
<width>3840</width>
<height>2160</height>
<rate>144.000</rate>
</mode>
</monitor>
</logicalmonitor>
</configuration>
<configuration>
<layoutmode>logical</layoutmode>
<logicalmonitor>
<x>0</x>
<y>0</y>
<scale>1.25</scale>
<primary>yes</primary>
<monitor>
<monitorspec>
<connector>HDMI-2</connector>
<vendor>AVX</vendor>
<product>AVT GC575</product>
<serial>0x00000000</serial>
</monitorspec>
<mode>
<width>3840</width>
<height>2160</height>
<rate>120.000</rate>
</mode>
</monitor>
</logicalmonitor>
</configuration>
<configuration>
<layoutmode>physical</layoutmode>
<logicalmonitor>
<x>0</x>
<y>0</y>
<scale>1</scale>
<primary>yes</primary>
<monitor>
<monitorspec>
<connector>HDMI-2</connector>
<vendor>GBT</vendor>
<product>M28U</product>
<serial>23060B001096</serial>
</monitorspec>
<mode>
<width>3840</width>
<height>2160</height>
<rate>144.000</rate>
</mode>
</monitor>
</logicalmonitor>
</configuration>
<configuration>
<layoutmode>logical</layoutmode>
<logicalmonitor>
<x>0</x>
<y>0</y>
<scale>1.25</scale>
<primary>yes</primary>
<monitor>
<monitorspec>
<connector>HDMI-1</connector>
<vendor>AVX</vendor>
<product>AVT GC575</product>
<serial>0x00000000</serial>
</monitorspec>
<mode>
<width>3840</width>
<height>2160</height>
<rate>120.000</rate>
</mode>
</monitor>
</logicalmonitor>
</configuration>
<configuration>
<layoutmode>physical</layoutmode>
<logicalmonitor>
<x>0</x>
<y>0</y>
<scale>1</scale>
<primary>yes</primary>
<monitor>
<monitorspec>
<connector>HDMI-2</connector>
<vendor>AVX</vendor>
<product>AVT GC575</product>
<serial>0x00000000</serial>
</monitorspec>
<mode>
<width>3840</width>
<height>2160</height>
<rate>120.000</rate>
</mode>
</monitor>
</logicalmonitor>
</configuration>
</monitors>