You are not logged in.
I've been trying to fix my screen resolution for a while with KDE and the Nvidia driver, but I'm not succeeding.
My current screen is 4K, I want to reduce the resolution to 2K (2560 x 1440). However, even editing Xorg, creating Xorg configurations (20-nvidia.conf). With nvidia-setting I can reduce it, but whenever I reboot, the resolution returns to 4K.
my 20-nvidia.conf (Same for Xorg.conf)
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 545.29.06
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung LU28R55"
HorizSync 30.0 - 135.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce RTX 2060"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-4"
Option "metamodes" "nvidia-auto-select +0+0; 2560x1440_60 +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Last edited by willianholtz (2023-12-06 14:20:14)
Offline
Remove that config file and if you use KDE configure your desired screen resolution in KDE's tool/kscreen/systemsettings. That should stick and that's generally the thing that will set this.
Offline
I even thought about it, but in the KDE settings there is nothing related to screen resolutions. Are there any apps that do this in KDe that I may not have installed on my system?extra/kscreen
I found! Kscreen was not installed! Thanks!
Last edited by willianholtz (2023-12-06 14:20:00)
Offline
should be part of the kscreen package. It's not strictly necessary, but if it's present and enabled it will override your screen resolution settings with what it knows about in it's config. You should be able to reach it with
kcmshell5 kcm_kscreen
if it's setup.
If it is not installed you can also force resolutions with xorg configs but then you'd use an appropriate snippet e.g.:
Section "Monitor"
Identifier "DFP-4"
Option "PreferredMode" " 2560x1440"
EndSection
the Identifier should be the same name so see in e.g. xrandr.
Edit: Ah you found it.
Last edited by V1del (2023-12-06 14:23:40)
Offline