diff --git a/README.md b/README.md index a09236d..7791a4c 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,25 @@ Trying to fix some what high power draw of RX 7900XT(to make its memory run cool ## XOrg -Put below config in `/etc/X11/xorg.conf.d/XXX`(also attached as file in /X11/XXX). +Put below config in `/etc/X11/xorg.conf.d/09-displays.conf`(also attached as file in /X11/09-displays.conf). ``` -XXX +Section "Monitor" + Identifier "DisplayPort-0" + Modeline "1200p_61" 196.53 1920 2048 2256 2592 1200 1201 1204 1243 -HSync +Vsync + Option "PreferredMode" "1200p_61" +EndSection + +Section "Monitor" + Identifier "DisplayPort-1" + Modeline "1440p_61" 317.24 2560 2744 3024 3488 1440 1441 1444 1491 -HSync +Vsync + Option "PreferredMode" "1440p_61" +EndSection + +Section "Monitor" + Identifier "DisplayPort-2" + Modeline "1200p_61" 196.53 1920 2048 2256 2592 1200 1201 1204 1243 -HSync +Vsync + Option "PreferredMode" "1200p_61" +EndSection ``` Then restart X session and from system settings set new resolution. @@ -28,4 +44,4 @@ https://wiki.archlinux.org/title/Kernel_mode_setting#Forcing_modes_and_EDID ## Links -https://davejansen.com/add-custom-resolution-and-refresh-rate-when-using-wayland-gnome/ \ No newline at end of file +https://davejansen.com/add-custom-resolution-and-refresh-rate-when-using-wayland-gnome/ diff --git a/X11/09-displays.conf b/X11/09-displays.conf new file mode 100644 index 0000000..a3c675e --- /dev/null +++ b/X11/09-displays.conf @@ -0,0 +1,17 @@ +Section "Monitor" + Identifier "DisplayPort-0" + Modeline "1200p_61" 196.53 1920 2048 2256 2592 1200 1201 1204 1243 -HSync +Vsync + Option "PreferredMode" "1200p_61" +EndSection + +Section "Monitor" + Identifier "DisplayPort-1" + Modeline "1440p_61" 317.24 2560 2744 3024 3488 1440 1441 1444 1491 -HSync +Vsync + Option "PreferredMode" "1440p_61" +EndSection + +Section "Monitor" + Identifier "DisplayPort-2" + Modeline "1200p_61" 196.53 1920 2048 2256 2592 1200 1201 1204 1243 -HSync +Vsync + Option "PreferredMode" "1200p_61" +EndSection