You are not logged in.
Hi! I have a "Asus TUF VG249QL3A" monitor, and a "AMD Radeon RX 6700 XT". I want to use it at 165 Hz by default. This works with the "xrandr -s 1920x1080 -r 165" command. However with the following Xorg configuration:
Section "Monitor"
Identifier "Monitor0"
ModelName "Asus TUF VG249QL3A"
Modeline "1920x1080_165.00" 525.00 1920 2088 2296 2672 1080 1083 1088 1192 -hsync +vsync
Option "PreferredMode" "1920x1080_165.00"
Option "DPMS" "false"
EndSection
Section "Screen"
Identifier "Screen0"
Device "AMDGraphics"
Monitor "Monitor0"
SubSection "Display"
Modes "1920x1080_165.00"
EndSubSection
EndSection
Section "Device"
Identifier "AMDGraphics"
Driver "amdgpu"
Option "TearFree" "true"
Option "VariableRefresh" "true"
Option "UseDisplayDevice" "DisplayPort-0"
EndSection
Startup hangs at "Reached target Graphical Interface". "Modeline" generated using "cvt 1920 1080 165". "gtf" gives slightly different numbers, doesn't work with that either. On a different TTY htop shows Xorg and i3 running.
Xorg log from that boot: https://bpa.st/F33Q
I would like to ask some help regarding this, I'm not good with Xorg configuration, not sure what I missed even after consulting with google search and chatgpt. Please let me know if any additional information or log is required. Thanks in advance!
Last edited by pure_bliss (2025-01-16 11:31:35)
Offline
I'd suggest to simplify the config and rely more on autoconfiguration, this should suffice
Section "Monitor"
Identifier "DisplayPort-0"
Option "PreferredMode" "1920x1080_165.00"
Option "DPMS" "false"
EndSection
Section "OutputClass"
Identifier "AMDGraphics"
MatchDriver "amdgpu"
Driver "amdgpu"
Option "TearFree" "true"
Option "VariableRefresh" "true"
EndSection
you might have to adjust the identifier in the Monitor section to the actual identifier as is given by a xrandr -q, it might also be DP-0 instead of written out. Since you're hanging in "graphical target" which graphical target are you trying to reach? A display manager? Which? Or autoboot into i3?
Last edited by V1del (2025-01-10 13:51:54)
Offline
I have SDDM installed, if I understand thing correctly that should be the graphical target
The configuration you suggested gets me to the i3 desktop environment, but with a few errors: https://bpa.st/A4EQ
And with 60 Hz refresh rate:
~ $ xrandr -q pc
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DisplayPort-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
1920x1080 60.00*+ 165.00 120.02 96.04 72.02 60.01 50.00 48.01 143.85 120.00 100.00 119.88 50.00 59.94
1680x1050 59.95
1280x1024 75.02 60.02
1440x900 59.89
1280x960 60.00
1280x800 60.00
1152x864 75.00
1280x720 60.00 50.00 59.94
1440x576 50.00
1024x768 75.03 70.07 60.00
1440x480 60.00 59.94
800x600 72.19 75.00 60.32 56.25
720x576 50.00
720x480 60.00 59.94
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
Offline
OK, after a lot of trying stuff out, this works (boots, preferred mode respected, variable refresh works):
/e/X/xorg.conf.d $ cat 20-amdgpu.conf
Section "Monitor"
Identifier "Monitor0"
ModelName "Asus TUF VG249QL3A"
Modeline "1920x1080_165" 380.96 1920 1968 2032 2080 1080 1083 1088 1110 +hsync -vsync
Option "PreferredMode" "1920x1080_165"
Option "DPMS" "false"
EndSection
Section "Screen"
Identifier "Screen0"
Device "AMDGraphics"
Monitor "Monitor0"
SubSection "Display"
Modes "1920x1080_165"
EndSubSection
EndSection
Section "Device"
Identifier "AMDGraphics"
Driver "modesetting"
Option "TearFree" "true"
Option "VariableRefresh" "true"
Option "AsyncFlipSecondaries" "false"
Option "UseDisplayDevice" "DisplayPort-0"
EndSection
/ $ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
1920x1080_165 165.00*+
1920x1080 60.00 + 165.00 120.02 96.04 72.02 60.01 50.00 48.01 143.85 120.00 100.00 119.88 59.97 59.96 50.00 59.94 59.93
...
I got the modeline from the Xorg log, after the "Printing probed modes for output DP-1" line. cvt and gtf modelines got me to blank screen. I removed "xf86-video-amdgpu". I replaced "Device" section "Driver" option with "modesetting".
There are some additional settings I'm experimenting with, because when I switch between input sources on my monitor (laptop HDMI, desktop DP) sometimes my desktop decides that it won't give any output. But that's another story, might create a separate post if I can't fix it.
Offline