Solved Linux doesn't detects monitor resolution after update

Solved issue

karbono

Member
Joined
Jun 7, 2025
Messages
77
Reaction score
54
Credits
632
Hi there,

After I updated CachyOS (Arch) my 2nd monitor lost the resolution (2560x1440@75hz) and now it only show 1920x1080@60.

I didn't care about the 75hz but the resolution it's needed for sure.

I research about that and found that was probably about a NVIDIA driver update. After notices that, I taken advantage of that problem and reinstalled CachyOS with Plasma instead Hyprland. While the ISO was booted the monitor showed the higher res (2560...) so that I think that confirms my suspicious about the NVIDIA driver.

May I need just to downgrade the version? I tried with xrandr and similar to fix it but didn't works.

Thanks in advance!
 


Which driver package do you have installed and which one was the working version before you updated?
Code:
pacman -Qs nvidia

And can you share the output of the following?
Code:
grep  -i modules /etc/mkinitcpio.conf
 
Which driver package do you have installed and which one was the working version before you updated?
Didn't checked it.. I think it was 580.XXX....
Code:
pacman -Qs nvidia
Code:
local/egl-gbm 1.1.2.1-1.1
    The GBM EGL external platform library
local/egl-wayland 4:1.1.20-1.1
    EGLStream-based Wayland external platform
local/egl-x11 1.0.3-1.1
    NVIDIA XLib and XCB EGL Platform Library
local/ffnvcodec-headers 13.0.19.0-1
    FFmpeg version of headers required to interface with Nvidias codec APIs
local/lib32-libvdpau 1.5-3
    Nvidia VDPAU library
local/lib32-nvidia-utils 580.105.08-1.1
    NVIDIA drivers utilities (32-bit)
local/lib32-opencl-nvidia 580.105.08-1.1
    OpenCL implemention for NVIDIA (32-bit)
local/libva-nvidia-driver 0.0.14-1.1
    VA-API implementation that uses NVDEC as a backend
local/libvdpau 1.5-3.1
    Nvidia VDPAU library
local/libxnvctrl 580.105.08-1
    NVIDIA NV-CONTROL X extension
local/linux-cachyos-lts-nvidia-open 6.12.56-3
    nvidia open modules of 580.105.08 driver for the linux-cachyos-lts kernel
local/linux-cachyos-nvidia-open 6.17.7-3
    nvidia open modules of 580.105.08 driver for the linux-cachyos kernel
local/linux-firmware-nvidia 1:20251021-1
    Firmware files for Linux - Firmware for NVIDIA GPUs and SoCs
local/nvidia-prime 1.0-5
    NVIDIA Prime Render Offload configuration and utilities
local/nvidia-settings 580.105.08-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 580.105.08-1.1
    NVIDIA drivers utilities
local/opencl-nvidia 580.105.08-1.1
    OpenCL implemention for NVIDIA

Code:
grep  -i modules /etc/mkinitcpio.conf
Code:
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
#     MODULES=(usbhid xhci_hcd)
MODULES=(crc32c)
# modules and scripts added to the image, and what happens at boot time.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
##   This setup specifies all modules in the MODULES setting above.
##   This setup will autodetect all modules for your system and should
# MODULES_DECOMPRESS
# Decompress loadable kernel modules and their firmware during initramfs
#MODULES_DECOMPRESS="no"

Maybe should I add the last thing that you told me in mkinitcpio.conf file? I will see the other thread about Cachy that you helped me.
 
Didn't checked it.. I think it was 580.XXX....
I guess that would be since that's what I'm using.
Code:
local/nvidia-open-dkms 580.95.05-1
Since I know CachyOS is faster with updates than Arch Linux is.

Which kernel version are you using?
Code:
uname -a
 
I guess that would be since that's what I'm using.
Code:
local/nvidia-open-dkms 580.95.05-1
Since I know CachyOS is faster with updates than Arch Linux is.

Which kernel version are you using?
Code:
uname -a

Kernel version:
Linux pulse 6.17.7-3-cachyos #1 SMP PREEMPT_DYNAMIC Wed, 05 Nov 2025 02:29:51 +0000 x86_64 GNU/Linux

Do you mean that there's a newer version of the nvidia-open-dkms driver in Arch?
 
Do you mean that there's a newer version of the nvidia-open-dkms driver in Arch?
Yes which you are using, since I'm using a different version so Arch Linux is behind.
local/linux-cachyos-nvidia-open 6.17.7-3 nvidia open modules of 580.105.08 driver for the linux-cachyos kernel

I have an idea what you can try and something to improve. If I were you I would switch to the dkms version of the driver it works for all kernels and with each update it compiles a new kernel module for you. But first do this.

First install the dkms nvidia package, it will ask you to remove the ones conflicting.
Code:
sudo pacman -S nvidia-open-dkms

Then edit /etc/mkinitcpio.conf make that earlier line shared look like this.
Code:
MODULES=(crc32c nvidia nvidia_modeset nvidia_uvm nvidia_drm)

Then run:
Code:
sudo mkinitcpio -P

Try rebooting and see if it's an improvement?
 
Yes which you are using, since I'm using a different version so Arch Linux is behind.


I have an idea what you can try and something to improve. If I were you I would switch to the dkms version of the driver it works for all kernels and with each update it compiles a new kernel module for you. But first do this.

First install the dkms nvidia package, it will ask you to remove the ones conflicting.
Code:
sudo pacman -S nvidia-open-dkms

Then edit /etc/mkinitcpio.conf make that earlier line shared look like this.
Code:
MODULES=(crc32c nvidia nvidia_modeset nvidia_uvm nvidia_drm)

Then run:
Code:
sudo mkinitcpio -P

Try rebooting and see if it's an improvement?
Doesn't works, can't change the resolution.
Thanks!
 
Is the nvidia-open-dkms still installed now?
Yes:

Code:
local/egl-gbm 1.1.2.1-1.1
    The GBM EGL external platform library
local/egl-wayland 4:1.1.20-1.1
    EGLStream-based Wayland external platform
local/egl-x11 1.0.3-1.1
    NVIDIA XLib and XCB EGL Platform Library
local/ffnvcodec-headers 13.0.19.0-1
    FFmpeg version of headers required to interface with Nvidias codec APIs
local/lib32-libvdpau 1.5-3
    Nvidia VDPAU library
local/lib32-nvidia-utils 580.105.08-1.1
    NVIDIA drivers utilities (32-bit)
local/lib32-opencl-nvidia 580.105.08-1.1
    OpenCL implemention for NVIDIA (32-bit)
local/libva-nvidia-driver 0.0.14-1.1
    VA-API implementation that uses NVDEC as a backend
local/libvdpau 1.5-3.1
    Nvidia VDPAU library
local/libxnvctrl 580.105.08-1
    NVIDIA NV-CONTROL X extension
local/linux-firmware-nvidia 1:20251021-1
    Firmware files for Linux - Firmware for NVIDIA GPUs and SoCs
local/nvidia-open-dkms 580.105.08-1.1
    NVIDIA open kernel modules - module sources
local/nvidia-prime 1.0-5
    NVIDIA Prime Render Offload configuration and utilities
local/nvidia-settings 580.105.08-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 580.105.08-1.1
    NVIDIA drivers utilities
local/opencl-nvidia 580.105.08-1.1
    OpenCL implemention for NVIDIA

I needed to install linux-headers before it.
 
Try downgrading the nvidia packages to previous driver version 580.95.05-1
If that doesn't work download those packages version from https://packages.cachyos.org and then install them manually with, but be sure they matching from the same repo you have installed them from now since cachyos has several different optimized repos.
Code:
sudo pacman -U package1.pkg.tar.zst package2.pkg.tar.zst package3.pkg.tar.zst
 
Try downgrading the nvidia packages to previous driver version 580.95.05-1
sudo downgrade nvidia-open-dkms nvidia-utils lib32-nvidia-utils
You will probably need to downgrade the other packages with version 580.105 as well:
lib32-opencl-nvidia
opencl-nvidia
libxnvctrl
nvidia-settings
 
I actually forgot to mention something useful. You should still have the old package versions on your system under /var/cache/pacman/pkg. You can go to that directory and reinstall them like this with the old packages.
Code:
sudo pacman -U package1.pkg.tar.zst package2.pkg.tar.zst package3.pkg.tar.zst
Code:
ls /var/cache/pacman/pkg |  grep 580.95.05
Then reinstall those, make sure you select reinstall the nvidia-open-dkms version and not the other versions.
 
The downgrade worked perfectly! Thanks so much dude.
Good to know that it worked, will see what happens for me when I get the upgraded packages. Did you downgrade all the packages with the new version numbers?

You will probably need to downgrade the other packages with version 580.105 as well:
lib32-opencl-nvidia
opencl-nvidia
libxnvctrl
nvidia-settings
That's from looking at the output your gave earlier.

You should still have the old package versions on your system under /var/cache/pacman/pkg.
When you use the "downgrade" command it will also listed the packages that are still in your local cache: /var/cache/pacman/pkg

Thanks again, you're a boss!
Glad to have helped out!
 
Good to know that it worked, will see what happens for me when I get the upgraded packages. Did you downgrade all the packages with the new version numbers?
I've downgraded all the packages that the console asked me with to the version 580.95.05-1 as you mentioned.
That's from looking at the output your gave earlier.
Didn't notice that packages would be necesasry also, lol.

About the packages in cache I've seen a lot but this is a fresh install... I erased the entire disk this morning, could be possible?

Thanks again!!
 
About the packages in cache I've seen a lot but this is a fresh install... I erased the entire disk this morning, could be possible?
Yeah than you wouldn't have had them in your cache, but either way the "downgrade" command is the easiest way to downgrade packages, as it looks in your current cache as well.

Thanks again!!
Glad to have helped out and now you know how to downgrade something next time yourself.
 
Glad to have helped out and now you know how to downgrade something next time yourself.
The funny part was that I re-installed the system because that annoyed me and I have installed a lot of packages about wine, etc. doing tests with games but I was letting it go until today :D

I've used it one time at least, but when I figured that NVIDIA driver was the problem was late to stop the new installation :D
 
You could have just manually removed those with pacman and remove orphaned packages if there were any.
Yes I know... but I was lazy to look for it and prefered to start again and keep the system clean. Actually installed Plasma instead Hyprland and also looks amazing. Didn't tried it until today.

Now I'll care about what I'm installing ^^.
 


Follow Linux.org

Members online


Top