X crashes when enabling third monitor

When I try to enable my third monitor (setting the resolution to 1920x1080) via the nvidia-settings app

it seems that my DE crashes and resets display settings, disabling both KG271’s, so only my XB271HU is enabled.

I did do an update yesterday which updated a vast number of packages including (cat /var/log/pacman.log):

  • linux60-nvidia (520.56.06-4 → 520.56.06-9)

What I tried

  • uninstalling nvidia drivers via mhwd (mhwd -r pci video-nvidia)
    – which at first refused because of some package dependencies (cuda python-py3nvml gwe opencl-nvidia), which I removed

  • installing nvidia drivers via mhwd (mhwd -i pci video-nvidia)
    – which failed because some libraries still existed from the packages I removed. So I removed them manually (no packages were owned by them pacman -Qo /usr/lib32/<packages_listed_below>)
    Screenshot_20221103_121624

  • booting into my secondary OS (windows) where the both displays work just fine

  • at the login screen (SDDM) all monitors work fine

Does anyone have an idea where I can start debugging this?

I would greatly appreciate some tipps :slight_smile:

What GPU?
Some models have issues with the latest drivers when comes to Display Port or some like that

You could probably try to make use of the video-nvidia-470xx drivers instead.

Also, instead of enabling that monitor from Nvidia Settings, do it from the System Settings. As it seems you are on KDE Plasma … do that first, then try to open Nvidia Settings. Also, if you want to make a fixed layout, don’t forget: the correct file to alter is /etc/X11/mhwd.d/nvidia.conf

1 Like

I’m on a 1080 Ti from Evga.

I just tried 470xx but it’s the same effect.

Screenshot_20221104_085503

I had to use nvidia-settings because enabling them only in KDE Display settings had/has no effect at all.
I used nvidia-settings to save the config file after editing following this guide to /etc/X11/mhwd.d/nvidia.conf from the manjaro wiki.

I got it working now by using the nouveau drivers but now I run into another very strange issue. As soon as I bump the refresh rate of the third monitor to more than 60 Hz it starts flickering. On my windows I don’t have those problems so I don’t think it’s the cable nor the monitor… I’m very confused here

https://youtube.com/shorts/Mjg4aKUnZ3o?feature=share

Nvidia Linux drivers never had the same stability and performance as the Nvidia drivers on Windows OS. Nouveau drivers are even less performant, and rely on reverse engineered code, and while they might seem to work in some cases, fail in other …

I have a GTX 960 and never had any issues with the Nvidia drivers, dual display works fine, but both displays are 60Hz, and both are connected via DVI. With Display Port maybe other models are affected by the latest drivers, but if you have the same issue with 470xx driver, then you can look into enabling early KMS.

1 Like

Did exactly that.

Uninstalled Nouveau drivers via mhwd (mhwd -r pci video-linux), removed

MODULES=(nouveau)

installed nvidia propriertary drivers via mhwd (mhwd -i pci video-nvidia) and added

MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)

to /etc/mkinitcpio.conf. Restarted and it works again.

Thank you very very much for your help :slight_smile:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.