The secondary monitors (which are usually a pain to get working because the video outputs are linked to the quadro card, and require configuring the intel card to output virtually) just work when fresh installing the system.
After I tried to run a game on steam, xrandr stopped detecting the secondary monitors. Also, no matter what I try, I cannot get any version of the nvidia drivers to work.
To sum up, my secondary monitors no longer are detected, I cannot seem to get them detected and working again, and i cannot get the nvidia driver running either. I have tried several versions of the nvidia driver, incluidng nvidia-470xx-dkms and nvidia-dkms. Bumblebee and optimus-manager simply dont work for me and the system wont detect the driver no matter what I do. I have given up on the game i wanted to open, and I just want my monitors back from work. Ideally without having to reinstall the OS to get whatever had the monitors working originally up again.
Screen 0: minimum 8 x 8, current 1600 x 900, maximum 32767 x 32767
LVDS1 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 350mm x 190mm
1600x900 59.99*+ 59.82 50.00
1400x900 59.96 59.88
1368x768 60.00 59.88 59.85
1280x800 59.81 59.91
1280x720 59.86 60.00 59.74
1024x768 60.00
1024x576 60.00 59.90 59.82
960x540 60.00 59.63 59.82
800x600 60.32 56.25
864x486 60.00 59.92 59.57
800x450 60.00
640x480 59.94
720x405 59.51 60.00 58.99
640x360 59.84 59.32 60.00
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
VIRTUAL2 disconnected (normal left inverted right x axis y axis)
The VIRTUAL1 and VIRTUAL2 outputs are what used to detect my external monitors.
according to the archlinux wiki this is the right way, and endeavour did it by default on a fresh install. Now with nvidia drivers installed and bumblebee, intel-virtual-output does nothing and optirun true gives the following error:
[ 734.204487] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].
[ 734.204528] [ERROR]Aborting because fallback start is disabled.
The Nvidia card is so old that the driver newer than 390 series are not supported.
So nvidia-390xx-dkms might work, although I’m not sure if other software components (e.g. xorg-server) are still compatible.
And as far as I know, open source nouveau should be supported too.
Tip: I’d suggest running command
nvidia-inst -t --series 390
to see a suggestion of the commands you may need to run.
Note that the commands might not create a working solution for your hardware.
Also, can you show the output of
pacman -Qs xf86-video
pacman -Qs nvidia
It is possible that the Intel driver is causing some problems.
I have the nvidia-390xx-dkms installed, however for some reason the computer is not detecting it.
As for nvidia-inst, endeavouros page for this function indicates that it does not support legacy drivers yet, and to install the proprietary driver (which should be the 390 driver, which I have installed) or to use noveau. When i tried to run the above code, the result was:
The thing is, regardless, i did not have the nvidia drivers installed originally. When i installed steam, I believe it attempted to use the graphics card without a driver, the game did not launch, but something in that process changed the configuration of my virtual displays out of the intel graphics card. The fact is that the virutal displays and extra screens simply worked out of the box when first installing endeavourOS with no setup at all. After steam, it simply did not.
¿Is there any way of running the setup and detection that Calamares runs when installing the OS so I can go back to that out-of-the-box config?
I used Optimus Switch to start in prime mode and still no extra screens detected.
Before, the screens would even activate (though with no output) when I was still unlocking my encrypted drive using luks before the OS finished loading.
I am going to trying using Optimus Manager instead, as maybe Optimus Switch is not correctly switching my video output.
But i cannot seem to get the computer to use it.
Also, you mentioned that I might have had nouveau installed before, but when i installed steam and the proprietary nvidia drivers, i never had to uninstall nouveau, I have had xf86-video-nouveau installed this whole time. Is it just a question of my computer failing to use it?
Ok, so basically the 390 driver does not work. If i try to boot with it linux just doesnt load. I tried reinstalling nouveau and rerunning dracut and its still not working and not detecting external screens.
I am pretty sure now that what happened is that the nvidia dependencies for steam replaced the kernel version of nouveau and my quadro card simply stopped working.
i have xf86-video-intel and xf86-video-nouveau installed, but inxi -Gza still gives me this:
Thank you, i did already try uninstalling the xf86-video-* packages one by one. Removing the intel one leads to the system simply not loading the graphical interface. Removing the nouveau one results in the same situation as above. Nouveau doesnt seem to be loading regardless of whether it is installed as a separate package.
I also tried following the instructions on this page but it is based in mkinitcpio. My system is using dracut. I do not know what files i would have to modify and what scripts I would have to run to get the system to run the default nouveau module that comes with the kernel.
do you know how to check and see if nouveau is still on the blacklist? is there a way to manually remove it? (EDIT I restarted my system and it did not say it was blacklisting nouveau while booting)
I am doing whatever I can to not have to reinstall my system. Because of the work I do it does take a lot of setup.
To see blacklists, look at files in folders /etc/modprobe.d and /lib/modprobe.d (hopefully I have the paths right).
Also, they could be on the kernel parameters.
You could try blacklisting the intel driver i915 in kernel parameters.
For details, see the Arch wiki.
After uninstalling the nvidia drivers, for some reason /etc/modprobe.d/99-nvidia.conf was not erased and it was blacklisting nouveau. Removing it got me my driver back.