You are not logged in.

#1 2023-03-29 18:38:48

mariokostadinov
Member
Registered: 2023-03-29
Posts: 5

Setting refresh rate above 60hz black screens after reboot

Hi all,

Newbie here, hope all of you are doing well!

I am using a Samsung TV as a monitor and the TV supports refresh rates up to 144hz, although on Linux only up 120hz. I dual boot Windows for gaming and I have no problems there.

The problem is that after setting my refresh rate to anything higher than 60hz on reboot I get black screen. I make my settings using nvidia-settings. Something to note is that after I set my refresh rate to 120 and it works until reboot.

The problem arose after a system upgrade with pacman -Syyu which upgrade nvidia driver to version 530.41.03. On reboot my screen wasn't being detected and after many reinstalls of the entire system trying out different things I couldn't figure it out.

Prior to upgrade to the newest version I was able to use 120hz refresh rate.

After setting my refresh rate to 120hz I have to delete /etc/X11/xorg.conf to be able to get things working again.

Offline

#2 2023-03-29 19:56:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,349

Re: Setting refresh rate above 60hz black screens after reboot

I have to delete /etc/X11/xorg.conf

Under no circumstances use nvidia-settings to generate a static server layout and *especially* no in case this is a hybrid graphics system.

Post your xorg log and the output of "xrandr -q".
https://wiki.archlinux.org/title/Xorg#General

Offline

#3 2023-03-29 22:08:34

mariokostadinov
Member
Registered: 2023-03-29
Posts: 5

Re: Setting refresh rate above 60hz black screens after reboot

Logs from Xorg.0.log: https://pastebin.com/TX7xVD6A

xrandr -q result:

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) 950mm x 540mm
   3840x2160     60.00 + 119.88*  100.00    59.94    50.00    29.97    25.00    23.98
   4096x2160    119.88   100.00    59.94    50.00    29.97    24.00    23.98
   3840x1600    143.86    59.96
   3840x1080    144.00   119.97    59.97
   2560x1440    120.00
   2560x1080    143.86   120.00    60.00
   1920x1080    143.98   119.88   100.00    60.00    59.94    50.00    29.97    25.00    23.98
   1680x1050     59.95
   1600x900      60.00
   1440x900      59.89
   1280x1024     75.02    60.02
   1280x800      59.81
   1280x720      60.00    59.94    50.00
   1152x864      75.00
   1024x768      75.03    70.07    60.00
   800x600       75.00    72.19    60.32
   720x576       50.00
   720x480       59.94
   640x480       75.00    72.81    59.94

Offline

#4 2023-03-30 06:52:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,349

Re: Setting refresh rate above 60hz black screens after reboot

The output supports 144Hz on 3840x1080 and 3840x1600 but not on 3840x2160

The xorg log is w/

[    18.663] (==) Using config file: "/etc/X11/xorg.conf"
seth wrote:

Under no circumstances use nvidia-settings to generate a static server layout

but that configures

[    18.681] (**) NVIDIA(0): Option "MetaModes" "3840x2160_60 +0+0"

so doesn't reflect the troublesome condition.

Also enable modesetting to get access to the edid in /sys/class/drm/card*/edid, https://wiki.archlinux.org/title/NVIDIA … de_setting


Edit: Try /etc/X11/xorg.conf.d/20-nvidia.conf

Section "Device"
    Identifier "Default nvidia Device"
    Driver  "nvidia"
    Option "MetaModes" "3840x2160_120 +0+0"
EndSection

After acquiring the xorg log for the broken setup:

seth wrote:

Under no circumstances use nvidia-settings to generate a static server layout

Last edited by seth (2023-03-30 06:55:31)

Offline

#5 2023-03-30 07:01:34

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: Setting refresh rate above 60hz black screens after reboot

mariokostadinov wrote:

The problem is that after setting my refresh rate to anything higher than 60hz on reboot I get black screen

Is this problem related to Variable Refresh Rate enabled on your TV and/or GPU?


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#6 2023-03-30 19:05:19

mariokostadinov
Member
Registered: 2023-03-29
Posts: 5

Re: Setting refresh rate above 60hz black screens after reboot

I tried /etc/X11/xorg.conf.d/20-nvidia.conf with

Section "Device"
    Identifier "Default nvidia Device"
    Driver  "nvidia"
    Option "MetaModes" "3840x2160_120 +0+0"
EndSection

And It uses this config but I still black screen on boot. Here is the new log file of Xorg.0.log: https://pastebin.com/FDWbMPNk

There is this ACPI error. I tried using acpid https://wiki.archlinux.org/title/acpid but to no avail.
I am using sddm

[    95.276] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[    95.276] (II) NVIDIA:     access.
[    95.279] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    95.279] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    95.279] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    95.279] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    95.279] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    95.279] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    95.279] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    95.279] (II) NVIDIA(0):     Config Options in the README.
[    95.298] (II) NVIDIA(0): Setting mode "3840x2160_120+0+0"

Hi d.ALT

d.ALT wrote:

Is this problem related to Variable Refresh Rate enabled on your TV and/or GPU?

VRR is disabled on the TV so I don't think that is the issue.

Offline

#7 2023-03-30 19:15:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,349

Re: Setting refresh rate above 60hz black screens after reboot

The acpi "error" is normal and irrelevant.

Something to note is that after I set my refresh rate to 120 and it works until reboot.

There's also no obvious problem logged in the X11 server log, so the problem might be w/ your session

Elaborate on "black screen" - is there still a mouse cursor?
Does the Tv complain that there's no signal?
Are there crash reports for your session process(es) in the system journal or https://wiki.archlinux.org/title/Core_d … _core_dump
Do you use a compositor?

Offline

#8 2023-03-30 19:49:34

mariokostadinov
Member
Registered: 2023-03-29
Posts: 5

Re: Setting refresh rate above 60hz black screens after reboot

The "black screen" I mean is that it basically can't find an input from HDMI cable, as if there is not connection - HDMI Cable: No signal is says

Logs from dmesg

[  397.830261] nvidia-modeset: WARNING: GPU:0: Lost display notification (0:0x00000000); continuing.
[  413.847899] snd_hda_codec_hdmi hdaudioC0D0: HDMI: invalid ELD data byte 12

coredumbctl

TIME                         PID  UID  GID SIG     COREFILE EXE                                    SI>
Wed 2023-03-15 01:58:26 EET 6518 1000 1000 SIGABRT missing  /usr/bin/nitrogen                        >
Wed 2023-03-15 16:28:00 EET 3981 1000 1000 SIGSEGV missing  /usr/share/skypeforlinux/skypeforlinux  

Offline

#9 2023-03-30 20:14:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,349

Re: Setting refresh rate above 60hz black screens after reboot

Try to blacklist snd_hda_codec_hdmi, https://wiki.archlinux.org/title/Kernel … and_line_2
Also post the output of "xrandr -v" and the edid might be useful, too.
(See #4 and https://aur.archlinux.org/packages/edid-decode-git )

Offline

#10 2023-04-05 17:36:39

mariokostadinov
Member
Registered: 2023-03-29
Posts: 5

Re: Setting refresh rate above 60hz black screens after reboot

I tried blacklisting snd_hda_codec_hdmi but that didn't work as well.

Something that could be useful. The TV has a "Game mode" which on Windows allows to go up to 144hz and without game mode on it can only go up to 60hz. I did however tried both Game mode on and off on Linux but it didn't work.

xrandr -v

xrandr program version       1.5.2
Server reports RandR version 1.6

Here is my edid for the TV.

00 ff ff ff ff ff ff 00 4c 2d fb 71 00 0e 00 01
01 20 01 03 80 5f 36 78 0a b3 61 ab 4f 46 a8 27
0b 50 54 bd ef 80 71 4f 81 c0 81 00 81 80 95 00
a9 c0 b3 00 d1 c0 08 e8 00 30 f2 70 5a 80 b0 58
8a 00 50 1d 74 00 00 1e 6f c2 00 a0 a0 a0 55 50
30 20 35 00 50 1d 74 00 00 1a 00 00 00 fd 00 18
78 0f ff 8f 00 0a 20 20 20 20 20 20 00 00 00 fc
00 51 42 51 39 30 0a 20 20 20 20 20 20 20 01 48

02 03 75 f0 e2 78 03 5a 61 60 65 66 75 76 da db
10 1f 04 13 05 14 20 21 22 40 3f 5d 5e 5f 62 64
03 12 2f 0d 54 07 15 07 50 57 07 01 67 54 03 09
07 07 83 0f 00 00 e2 00 4f e3 05 c3 01 6e 03 0c
00 10 00 b8 3c 28 00 80 01 02 03 04 6d d8 5d c4
01 78 80 6b 02 30 90 c1 34 05 e3 06 0d 01 e2 0f
ff e5 01 8b 84 90 69 6d 1a 00 00 02 0b 30 90 00
04 96 07 7a 0f 00 00 00 00 00 00 00 00 00 00 cb

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.3
  Vendor & Product Identification:
    Manufacturer: SAM
    Model: 29179
    Serial Number: 16780800
    Made in: week 1 of 2022
  Basic Display Parameters & Features:
    Digital display
    Maximum image size: 95 cm x 54 cm
    Gamma: 2.20
    RGB color display
    First detailed timing is the preferred timing
  Color Characteristics:
    Red  : 0.6699, 0.3115
    Green: 0.2734, 0.6591
    Blue : 0.1533, 0.0449
    White: 0.3125, 0.3291
  Established Timings I & II:
    IBM     :   720x400    70.081663 Hz   9:5     31.467 kHz     28.320000 MHz
    DMT 0x04:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
    Apple   :   640x480    66.666667 Hz   4:3     35.000 kHz     30.240000 MHz
    DMT 0x05:   640x480    72.808802 Hz   4:3     37.861 kHz     31.500000 MHz
    DMT 0x06:   640x480    75.000000 Hz   4:3     37.500 kHz     31.500000 MHz
    DMT 0x09:   800x600    60.316541 Hz   4:3     37.879 kHz     40.000000 MHz
    DMT 0x0a:   800x600    72.187572 Hz   4:3     48.077 kHz     50.000000 MHz
    DMT 0x0b:   800x600    75.000000 Hz   4:3     46.875 kHz     49.500000 MHz
    Apple   :   832x624    74.551266 Hz   4:3     49.726 kHz     57.284000 MHz
    DMT 0x10:  1024x768    60.003840 Hz   4:3     48.363 kHz     65.000000 MHz
    DMT 0x11:  1024x768    70.069359 Hz   4:3     56.476 kHz     75.000000 MHz
    DMT 0x12:  1024x768    75.028582 Hz   4:3     60.023 kHz     78.750000 MHz
    DMT 0x24:  1280x1024   75.024675 Hz   5:4     79.976 kHz    135.000000 MHz
    Apple   :  1152x870    75.061550 Hz 192:145   68.681 kHz    100.000000 MHz
  Standard Timings:
    DMT 0x15:  1152x864    75.000000 Hz   4:3     67.500 kHz    108.000000 MHz
    DMT 0x55:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz
    DMT 0x1c:  1280x800    59.810326 Hz  16:10    49.702 kHz     83.500000 MHz
    DMT 0x23:  1280x1024   60.019740 Hz   5:4     63.981 kHz    108.000000 MHz
    DMT 0x2f:  1440x900    59.887445 Hz  16:10    55.935 kHz    106.500000 MHz
    DMT 0x53:  1600x900    60.000000 Hz  16:9     60.000 kHz    108.000000 MHz (RB)
    DMT 0x3a:  1680x1050   59.954250 Hz  16:10    65.290 kHz    146.250000 MHz
    DMT 0x52:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz
  Detailed Timing Descriptors:
    DTD 1:  3840x2160   60.000000 Hz  16:9    135.000 kHz    594.000000 MHz (1872 mm x 1053 mm)
                 Hfront  176 Hsync  88 Hback  296 Hpol P
                 Vfront    8 Vsync  10 Vback   72 Vpol P
    DTD 2:  2560x1440  119.997589 Hz  16:9    182.996 kHz    497.750000 MHz (1872 mm x 1053 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   77 Vpol N
    Display Range Limits:
      Monitor ranges (GTF): 24-120 Hz V, 15-255 kHz H, max dotclock 1430 MHz
    Display Product Name: 'QBQ90'
  Extension blocks: 1
Checksum: 0x48

----------------

Block 1, CTA-861 Extension Block:
  Revision: 3
  Underscans IT Video Formats by default
  Basic audio support
  Supports YCbCr 4:4:4
  Supports YCbCr 4:2:2
  Native detailed modes: 0
  HDMI Forum EDID Extension Override Data Block:
    EDID Extension Block Count: 3
  Video Data Block:
    VIC  97:  3840x2160   60.000000 Hz  16:9    135.000 kHz    594.000000 MHz
    VIC  96:  3840x2160   50.000000 Hz  16:9    112.500 kHz    594.000000 MHz
    VIC 101:  4096x2160   50.000000 Hz 256:135  112.500 kHz    594.000000 MHz
    VIC 102:  4096x2160   60.000000 Hz 256:135  135.000 kHz    594.000000 MHz
    VIC 117:  3840x2160  100.000000 Hz  16:9    225.000 kHz   1188.000000 MHz
    VIC 118:  3840x2160  120.000000 Hz  16:9    270.000 kHz   1188.000000 MHz
    VIC 218:  4096x2160  100.000000 Hz 256:135  225.000 kHz   1188.000000 MHz
    VIC 219:  4096x2160  120.000000 Hz 256:135  270.000 kHz   1188.000000 MHz
    VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz
    VIC  31:  1920x1080   50.000000 Hz  16:9     56.250 kHz    148.500000 MHz
    VIC   4:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz
    VIC  19:  1280x720    50.000000 Hz  16:9     37.500 kHz     74.250000 MHz
    VIC   5:  1920x1080i  60.000000 Hz  16:9     33.750 kHz     74.250000 MHz
    VIC  20:  1920x1080i  50.000000 Hz  16:9     28.125 kHz     74.250000 MHz
    VIC  32:  1920x1080   24.000000 Hz  16:9     27.000 kHz     74.250000 MHz
    VIC  33:  1920x1080   25.000000 Hz  16:9     28.125 kHz     74.250000 MHz
    VIC  34:  1920x1080   30.000000 Hz  16:9     33.750 kHz     74.250000 MHz
    VIC  64:  1920x1080  100.000000 Hz  16:9    112.500 kHz    297.000000 MHz
    VIC  63:  1920x1080  120.000000 Hz  16:9    135.000 kHz    297.000000 MHz
    VIC  93:  3840x2160   24.000000 Hz  16:9     54.000 kHz    297.000000 MHz
    VIC  94:  3840x2160   25.000000 Hz  16:9     56.250 kHz    297.000000 MHz
    VIC  95:  3840x2160   30.000000 Hz  16:9     67.500 kHz    297.000000 MHz
    VIC  98:  4096x2160   24.000000 Hz 256:135   54.000 kHz    297.000000 MHz
    VIC 100:  4096x2160   30.000000 Hz 256:135   67.500 kHz    297.000000 MHz
    VIC   3:   720x480    59.940060 Hz  16:9     31.469 kHz     27.000000 MHz
    VIC  18:   720x576    50.000000 Hz  16:9     31.250 kHz     27.000000 MHz
  Audio Data Block:
    Linear PCM:
      Max channels: 6
      Supported sample rates (kHz): 192 96 48
      Supported sample sizes (bits): 24 20 16
    AC-3:
      Max channels: 6
      Supported sample rates (kHz): 48 44.1 32
      Maximum bit rate: 640 kb/s
    Enhanced AC-3 (DD+):
      Max channels: 8
      Supported sample rates (kHz): 48 44.1 32
      Supports Joint Object Coding
    MAT (MLP):
      Max channels: 8
      Supported sample rates (kHz): 192 96 48
      Supports Dolby TrueHD, object audio PCM and channel-based PCM
      Hash calculation not required for object audio PCM or channel-based PCM
    Linear PCM:
      Max channels: 2
      Supported sample rates (kHz): 48 44.1 32
      Supported sample sizes (bits): 24 20 16
  Speaker Allocation Data Block:
    FL/FR - Front Left/Right
    LFE1 - Low Frequency Effects 1
    FC - Front Center
    BL/BR - Back Left/Right
  Video Capability Data Block:
    YCbCr quantization: No Data
    RGB quantization: Selectable (via AVI Q)
    PT scan behavior: No Data
    IT scan behavior: Supports both over- and underscan
    CE scan behavior: Supports both over- and underscan
  Colorimetry Data Block:
    xvYCC601
    xvYCC709
    BT2020YCC
    BT2020RGB
    Gamut Boundary Description Metadata Profile P0
  Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
    Source physical address: 1.0.0.0
    Supports_AI
    DC_36bit
    DC_30bit
    DC_Y444
    Maximum TMDS clock: 300 MHz
    Supported Content Types:
      Game
    Extended HDMI video details:
      HDMI VICs:
        HDMI VIC 1:  3840x2160   30.000000 Hz  16:9     67.500 kHz    297.000000 MHz
        HDMI VIC 2:  3840x2160   25.000000 Hz  16:9     56.250 kHz    297.000000 MHz
        HDMI VIC 3:  3840x2160   24.000000 Hz  16:9     54.000 kHz    297.000000 MHz
        HDMI VIC 4:  4096x2160   24.000000 Hz 256:135   54.000 kHz    297.000000 MHz
  Vendor-Specific Data Block (HDMI Forum), OUI C4-5D-D8:
    Version: 1
    Maximum TMDS Character Rate: 600 MHz
    SCDC Present
    Max Fixed Rate Link: 3 and 6 Gbps per lane on 3 lanes, 6, 8, 10 and 12 Gbps on 4 lanes
    Supports UHD VIC
    Supports 12-bits/component Deep Color 4:2:0 Pixel Encoding
    Supports 10-bits/component Deep Color 4:2:0 Pixel Encoding
    Supports Auto Low-Latency Mode
    VRRmin: 48 Hz
    VRRmax: 144 Hz
    Supports VESA DSC 1.2a compression
    Supports Compressed Video Transport for 4:2:0 Pixel Encoding
    Supports 10 bpc Compressed Video Transport
    DSC Max Slices: up to 8 slices and up to (340 MHz/Ksliceadjust) pixel clock per slice
    DSC Max Fixed Rate Link: 3 and 6 Gbps per lane on 3 lanes, 6 Gbps on 4 lanes
    Maximum number of bytes in a line of chunks: 6144
  HDR Static Metadata Data Block:
    Electro optical transfer functions:
      Traditional gamma - SDR luminance range
      SMPTE ST2084
      Hybrid Log-Gamma
    Supported static metadata descriptors:
      Static metadata type 1
  YCbCr 4:2:0 Capability Map Data Block:
    VIC  97:  3840x2160   60.000000 Hz  16:9    135.000 kHz    594.000000 MHz
    VIC  96:  3840x2160   50.000000 Hz  16:9    112.500 kHz    594.000000 MHz
    VIC 101:  4096x2160   50.000000 Hz 256:135  112.500 kHz    594.000000 MHz
    VIC 102:  4096x2160   60.000000 Hz 256:135  135.000 kHz    594.000000 MHz
    VIC 117:  3840x2160  100.000000 Hz  16:9    225.000 kHz   1188.000000 MHz
    VIC 118:  3840x2160  120.000000 Hz  16:9    270.000 kHz   1188.000000 MHz
    VIC 218:  4096x2160  100.000000 Hz 256:135  225.000 kHz   1188.000000 MHz
    VIC 219:  4096x2160  120.000000 Hz 256:135  270.000 kHz   1188.000000 MHz
  Vendor-Specific Video Data Block (HDR10+), OUI 90-84-8B:
    Application Version: 105
  Vendor-Specific Data Block (AMD), OUI 00-00-1A:
    Version: 2.11
    Minimum Refresh Rate: 48 Hz
    Maximum Refresh Rate: 144 Hz
    Flags 1.x: 0x00
    Flags 2.x: 0x04
    Maximum luminance: 150 (1288.392 cd/m^2)
    Minimum luminance: 7 (0.010 cd/m^2)
    Maximum luminance (without local dimming): 122 (702.501 cd/m^2)
    Minimum luminance (without local dimming): 15 (0.024 cd/m^2)
Checksum: 0xcb  Unused space in Extension Block: 10 bytes

Last edited by mariokostadinov (2023-04-05 17:42:43)

Offline

#11 2023-04-05 18:02:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,349

Re: Setting refresh rate above 60hz black screens after reboot

"xrandr --verbose", sorry.

The advertised modeline is the cvt1 reduced blanking one, try to add and use

% cvt12 2560 1440 120 -b
# 2560x1440 @ 120.000 Hz Reduced Blank (CVT) field rate 120.000 Hz; hsync: 183.000 kHz; pclk: 483.12 MHz
Modeline "2560x1440_120.00_rb2"  483.12  2560 2568 2600 2640  1440 1511 1519 1525 +hsync -vsync

https://wiki.archlinux.org/title/Xrandr … esolutions

Offline

Board footer

Powered by FluxBB