This repository contains configuration files and scripts to enable a virtual 4K resolution (3840x2160) at a stable 120Hz on a native 2K (2560x1440) monitor under KDE Plasma (Wayland) with an AMD GPU.
It resolves issues with native resolution limitations by adding custom video modes via kscreen-doctor and automating their application on user login.
add-custom-resolution.sh: The main script that adds custom resolutions (60Hz, 120Hz, 144Hz, 165Hz) and applies3840x2160at120Hzwith a scale of1.5(150%).add-custom-resolution.desktop: Desktop autostart entry that runs the script on login.limine: Backup of/etc/default/liminecontaining kernel parameters.
-
Copy the script to your local bin directory:
cp add-custom-resolution.sh ~/.local/bin/ chmod +x ~/.local/bin/add-custom-resolution.sh
-
Copy the desktop entry to your autostart directory:
cp add-custom-resolution.desktop ~/.config/autostart/ -
(Optional) Bootloader Kernel parameters (Limine): Add the following parameter to your
/etc/default/limineconfiguration:video=DP-2:3840x2160@180And run:
limine-update