RTX 2080ti 120Hz Linux

Hi,
On Windows, I can set up 120Hz 4K for RTX 2080ti and play CSGO in 120Hz
On Linux I cant - only 60 Hz

Drivers: 495.44
Kernel: 5.14.15
HDMI 2.1 with certificate
LG OLED CX 65"

xrendr -q

Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 32767 x 32767
HDMI-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   3840x2160     60.00*+  59.94    50.00    29.97    25.00    23.98  
   4096x2160     59.94    50.00    29.97    25.00    24.00    23.98  
   2560x1440    120.00  
   1920x1080    119.88   100.00    60.00    59.94    50.00    29.97    25.00    23.98  
   1280x1024     60.02  
   1280x720      59.94    50.00  
   1152x864      60.00  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       59.95    59.94    59.93  
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
USB-C-0 disconnected (normal left inverted right x axis y axis)

What do I have to do to set up 120Hz ?
Thnak you

??? no one? No one is having this issue?
Can someone confirm more than 60Hz is working on Linux with RTX 2000 series?
What about 3000? Do I have to buy an RTX 3000 to be able to have 120Hz?

Might be related to this
https://forums.developer.nvidia.com/t/8k60-output-with-rtx-3070-and-samsung-q900ts-over-hdmi-2-1/167227/23
Though 4k@120 should work. Could depend on your monitor’s firmware whether you’re running into that bug/missing feature or not. Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.

Thank you,

Here is the log:
nvidia-bug-report.log.gz (246.2 KB)

It is working in Windows, in Linux not :( I tried with 2 distros… Different drivers…

As I wrote - this is an OLED LG cx 65" TV. with the newest firmware (auto-updates) - still, Windows is working so this variable is irrelevant… I can’t even get info if 2080ti 4K@120Hz is supported on Linux, :(
Thank you again… I will read the link you posted.

I had to check what kind of hdmi the 2080ti supports, which is 2.0. This only supports 4k@120 with color subsampling (4:2:0). Please try setting color space in nvidia-settings.

Thank you.
Actually, I was looking for this option for months - on Windows, I could do this - and 120Hz @ 4K is working fine.

On Linux, I don’t have this option
only RGB and YCbCr444 :(
Driver 495.44

I added

   Option "ColorSpace" "YCbCr420"
    Option "ColorRange" "Limited"

to xorg.conf

Feared so. Problem is the edid of your display only explicitly announces rgb and 444 but has some extra blocks about 420 and 422 but without modes.
The linux driver sticks strictly to the edid but the windows driver allows all overrides. You might try the NoEdidHDMI2Check override, though I fear that won’t work.
https://download.nvidia.com/XFree86/Linux-x86_64/460.67/README/xconfigoptions.html
Another option might be crafting a manipulated edid which adds 420 and 4k@120.

I added

   Option "ColorSpace" "YCbCr420"
    Option "ColorRange" "Limited"

Well, it didn’t help…
I will try your suggestion tomorrow.
Thank you very much.

For reference, the decoded edid:

Manufacturer: GSM Model c0c8 Serial Number 16843009
Made week 1 of 2020
EDID version: 1.3
Digital display
Maximum image size: 160 cm x 90 cm
Gamma: 2.20
Supported color formats: RGB 4:4:4, YCrCb 4:4:4
First detailed timing is preferred timing
Established timings supported:
  720x400@70Hz
  640x480@60Hz
  800x600@60Hz
  1024x768@60Hz
Standard timings supported:
  640x480@60Hz
  800x600@60Hz
  1024x768@60Hz
  1152x864@60Hz
  1280x1024@60Hz
  1920x1080@60Hz
Detailed mode: Clock 594.000 MHz, 1600 mm x 900 mm
               3840 4016 4104 4400 hborder 0
               2160 2168 2178 2250 vborder 0
               +hsync +vsync 
Detailed mode: Clock 497.750 MHz, 1600 mm x 900 mm
               2560 2608 2640 2720 hborder 0
               1440 1443 1448 1525 vborder 0
               +hsync +vsync 
Monitor ranges (GTF): 24-120Hz V, 30-255kHz H, max dotclock 1190MHz
Monitor name: LG TV SSCR2
Has 1 extension blocks
Checksum: 0x66 (valid)

CEA extension block
Extension version: 3
96 bytes of CEA data
  Video data block
    VIC  97 3840x2160@60Hz 
    VIC  96 3840x2160@50Hz 
    VIC 118 Unknown mode 
    VIC 117 Unknown mode 
    VIC 102 4096x2160@60Hz 
    VIC 101 4096x2160@50Hz 
    VIC 219 Unknown mode 
    VIC 218 Unknown mode 
    VIC  16 1920x1080@60Hz 
    VIC  31 1920x1080@50Hz 
    VIC   4 1280x720@60Hz 
    VIC  19 1280x720@50Hz 
    VIC   5 1920x1080i@60Hz 
    VIC  20 1920x1080i@50Hz 
    VIC   3 720x480@60Hz 
    VIC   2 720x480@60Hz 
    VIC  18 720x576@50Hz 
    VIC  32 1920x1080@24Hz 
    VIC  33 1920x1080@25Hz 
    VIC  34 1920x1080@30Hz 
    VIC  21 1440x576i@50Hz 
    VIC   1 640x480@60Hz 
    VIC  93 3840x2160@24Hz 
    VIC  94 3840x2160@25Hz 
    VIC  95 3840x2160@30Hz 
    VIC  98 4096x2160@24Hz 
    VIC  99 4096x2160@25Hz 
    VIC 100 4096x2160@30Hz 
    VIC  63 1920x1080@120Hz 
    VIC  64 1920x1080@100Hz 
  Audio data block
    Linear PCM, max channels 2
    Supported sample rates (kHz): 192 96 48 44.1 32
    Supported sample sizes (bits): 24 20 16
    AC-3, max channels 6
    Supported sample rates (kHz): 48 44.1 32
    Maximum bit rate: 640 kHz
    Dolby Digital+, max channels 8
    Supported sample rates (kHz): 48 44.1 32
    MAT (MLP), max channels 8
    Supported sample rates (kHz): 48
  Vendor-specific data block, OUI 000c03 (HDMI)
    Source physical address 1.0.0.0
    Supports_AI
    DC_36bit
    DC_30bit
    DC_Y444
    Maximum TMDS clock: 300MHz
    Extended HDMI video details:
      HDMI VIC 0 3840x2160@30Hz
      HDMI VIC 1 3840x2160@25Hz
      HDMI VIC 2 3840x2160@24Hz
      HDMI VIC 3 4096x2160@24Hz
  Vendor-specific data block, OUI c45dd8
  Extended tag: video capability data block
    YCbCr quantization: Selectable (via AVI YQ) (1)
    RGB quantization: Selectable (via AVI Q) (1)
    PT scan behaviour: No Data (0)
    IT scan behaviour: Support both over- and underscan (3)
    CE scan behaviour: Support both over- and underscan (3)
  Extended tag: Colorimetry data block
    xvYCC601
    xvYCC709
    sYCC601
    AdobeYCC601
    AdobeRGB
    BT2020cYCC
    BT2020YCC
    BT2020RGB
  Extended tag: HDR static metadata data block
    Electro optical transfer functions:
      Traditional gamma - SDR luminance range
      Traditional gamma - HDR luminance range
      SMPTE ST2084
      Unknown
    Supported static metadata descriptors:
      Static metadata type 1
  Extended tag: YCbCr 4:2:0 capability map data block
  Extended tag: vendor-specific video data block
Underscans PC formats by default
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
1 native detailed modes
Checksum: 0x3e (valid)

Looks like I should update my edid-decode. I loaded it into an edid editor and according to this, the first 8 extended modes should support 420, which are

    VIC  97 3840x2160@60Hz 
    VIC  96 3840x2160@50Hz 
    VIC 118 3840x2160@120Hz
    VIC 117 3840x2160@100Hz
    VIC 102 4096x2160@60Hz 
    VIC 101 4096x2160@50Hz 
    VIC 219 4096x2160@120Hz
    VIC 218 4096x2160@100Hz

so this really looks like a edid parsing bug in the nvidia driver. I could add
Option “ModeDebug” “true”
to your xorg.conf and create a new nvidia-bug-report.log, maybe this sheds some light on this.

1 Like

OK, I apologise for the delay - busy week…

generix, What should I exactly do?

Please insert

Option "ModeDebug" "true"

into the device section of your xorg.conf, reboot and create a new nvidia-bug-report.log

OK thank you.
I am not using xorg.conf. I will create one and post the results here ASAP.

Could we get an update in this matter? I am in, more or less, the exact same situation. Sitting on a 2070 Super together with an LG CX OLED - a combination fully capable of 4:2:0 @ 4K @ 120Hz in Windows but cant find the means to make it work in Linux.

nvidia-bug-report.log.gz (330.8 KB)

Ok, I put the option, reboot and attach
the same GPU, LG GX, in Windows works with HDR and 4k@120hz
As I see in the log, been tested 3840x2160_120 and it’s failed. Strange, because the same config works in Windows. Look like a bug in the driver.

I am in the EXACT same situation. 2070S, LG CX (which outputs HDR, 4k and 120hz in Windows).

Could someone help us out?

According to the changelog, this simply(?) seems to be a missing feature in the Linux driver. YUV420 color subsampling fallback is only enabled when connected over DisplayPort, not HDMI. Questionable why HDMI was added in the Windows driver only.

2017-10-03 version 387.12
* Added support for YUV 4:2:0 compression for monitors connected via
DisplayPort in configurations where either the display or GPU is
incapable of driving the current mode in RGB 4:4:4. See the
description in the “Programming Modes” appendix for details.

1 Like

great work generix, we are starting to see the light of the tunnel. How should we contact nvidia to hope receive a patch?

Thank you.

You can still use 120 fps on 2.5K. Like on my LG C9. edid-decode being old shows you should have old kernel… There were all kind of bugs of edid parsing there.

I have a 2070S graphics card and an LG CX display. My setup allows for HDR, 4K resolution, and a 120Hz refresh rate in Windows.