I am trying to set the monitor resolution and refresh rate in the Xorg configuration files.
I want 2560 x 1440 @120Hz refresh rate.
With what I have already it is set at 2560 x 1440 resolution but I can't get the refresh rate right, although that is the resolution that FreeBSD always booted up in anyway, so maybe the config is not in fact setting the screen resolution.
Online I've seen something about setting a modeline (which seems a complex string of numbers including timing numbers?) and I don't know where you get this from.
Also, setting the preferred frequency didn't seem to work, it's stuck at 60Hz.
If anyone with a better understanding of this than me could see what's wrong I would be most grateful.
Currently in the configuration files at /usr/local/etc/X11/xorg.conf.d/ I have:
10-monitor.conf
20-amdgpu.conf
I want 2560 x 1440 @120Hz refresh rate.
With what I have already it is set at 2560 x 1440 resolution but I can't get the refresh rate right, although that is the resolution that FreeBSD always booted up in anyway, so maybe the config is not in fact setting the screen resolution.
Online I've seen something about setting a modeline (which seems a complex string of numbers including timing numbers?) and I don't know where you get this from.
Also, setting the preferred frequency didn't seem to work, it's stuck at 60Hz.
If anyone with a better understanding of this than me could see what's wrong I would be most grateful.
Currently in the configuration files at /usr/local/etc/X11/xorg.conf.d/ I have:
10-monitor.conf
Code:
root@freebsd:/usr/local/etc/X11/xorg.conf.d # cat 10-monitor.conf
Section "Screen"
Identifier "Screen0"
Device "Card0"
SubSection "Display"
Modes "2560x1440_120"
EndSubSection
Option "PreferredMode" "2560x1440_120"
EndSection
20-amdgpu.conf
Code:
root@freebsd:/usr/local/etc/X11/xorg.conf.d # cat 20-amdgpu.conf
Section "Device"
Identifier "AMD iGPU"
Driver "amdgpu"
BusID "pci:18:0:0"
Option "TearFree" "true"
Option "SWCursor" "true"
# SubSection "Display"
# Modes "2560x1440_120"
# EndSubSection
EndSection