The desktop/MATE screen resolution is sometimes automatically changed to 1024x768 from the original 1920x1080 upon waking up the monitor and screensaver!
I noticed that files in /etc/X11/xorg.conf.d/
no longer seem to take effect. For example, I have
/etc/X11/xorg.conf.d/10-nvidia.conf
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
Option "SLI" "Auto"
Option "BaseMosaic" "on"
EndSection
and to avoid screen tearing:
/etc/X11/xorg.conf.d/20-nvidia-noscreentearing.conf
Section "Screen"
Identifier "Screen0"
Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On}"
EndSection
To compensate, I generated and saved an old-stile xorg.conf config file with nvidia-settings, but I don’t know if it’s always working correctly.
/etc/X11/xorg.conf
# nvidia-settings: version 465.27
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
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 "SONY TV"
HorizSync 14.0 - 70.0
VertRefresh 48.0 - 62.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce GT 1030"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, AllowGSYNC=Off}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Something really isn’t right!
This is a new issue as of a few weeks. I don’t know if it has to do with Fedora 34, or nvidia drivers, or something else. Perhaps this issue is also related to grub and tty resolutions being low 1024x768 instead of native FHD: Low resolution grub2 and tty
To restore MATE’s desktop screen resolution, I have to open nvidia-settings
and change the resolution in there when this issue happens. I have not understood how to consistently reproduce it though. What is going on?