I am using Linux Manjaro on my laptop and have been using dual screens. When I woke up this morning it is no longer detecting additional screens. I have googled on similar issues, but they have not solved the case for me.
Here is some information about my system (tell if I need to post more):
I run the command but now after reboot I can’t even get into the computer any more. I get this error: Failed to start Simple Desktop Display Manager.
I am reading this post a post regarding this issue and there is a solution there saying that I should remove video-vesa since it has priority 0. I also have it with priority 0 but when I run the command sudo mhwd -r pci video-vesa it says “config video-vesa is not installed!” even though I can see it with the command mhwd -l -d.
I got back in now and it works to start, thanks! Although it still does not seem to find any other screens even though connected. I run the commands above and it went successfully.
I am under display configuration on system settings and I can only see my laptop screen there even though I have an external screen connected. When I connect it, it asks me to choose how I want the screen setup, but then it does not apply after it.
It says it is already installed but I did it with --force. Still seems to be the same issue though (rebooted after the command above). My friend told me that there are problems with Nvidia graphic cards and Linux. If there is any other information or if you have any other idea it would be greatly appreciated. Thanks for all the help so faar and happy new year:-)
I looked at another forum thread and saw an answer telling me to edit the nvidia.conf file. I tested this solution but now I can only see my external screen instead of the laptop screen. Any idea on how to edit this file so that it works on both? This was the answer:
I think I have the same issue as OP. But I did notice some errors when upgrading earlier today. Here’s the log:
[2021-01-01T16:59:06-0300] [ALPM] upgraded manjaro-system (20210101-1 -> 20210101-3)
[2021-01-01T16:59:06-0300] [ALPM-SCRIPTLET] ==> Checking if graphic drivers need an update ...
[2021-01-01T16:59:06-0300] [ALPM-SCRIPTLET] ==> Maintaining video driver hybrid-intel-nvidia-455xx-prime
[2021-01-01T16:59:06-0300] [PACMAN] Running 'pacman -Rdd --noconfirm'
[2021-01-01T16:59:06-0300] [ALPM-SCRIPTLET] error: no targets specified (use -h for help)
[2021-01-01T16:59:06-0300] [ALPM-SCRIPTLET] ==> Installing Nvidia drivers for you ...
[2021-01-01T16:59:07-0300] [ALPM-SCRIPTLET] > Using config 'video-hybrid-intel-nvidia-prime' for device: 0000:01:00.0 (0300:10de:1f11) Display controller nVidia Corporation TU106M [GeForce RTX 2060 Mobile]
[2021-01-01T16:59:07-0300] [ALPM-SCRIPTLET] > Using config 'video-hybrid-intel-nvidia-prime' for device: 0000:00:02.0 (0300:8086:3e9b) Display controller Intel Corporation UHD Graphics 630 (Mobile)
[2021-01-01T16:59:07-0300] [ALPM-SCRIPTLET] > Installing video-hybrid-intel-nvidia-prime...
[2021-01-01T16:59:07-0300] [PACMAN] Running 'pacman --noconfirm --cachedir /var/cache/pacman/pkg --config /etc/pacman.conf --root / --needed -Sy nvidia-utils nvidia-prime lib32-nvidia-utils linux59-nvidia'
[2021-01-01T16:59:07-0300] [PACMAN] synchronizing package lists
[2021-01-01T16:59:07-0300] [ALPM-SCRIPTLET] Sourcing /etc/mhwd-x86_64.conf
[2021-01-01T16:59:07-0300] [ALPM-SCRIPTLET] Has lib32 support: true
[2021-01-01T16:59:07-0300] [ALPM-SCRIPTLET] Sourcing /var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-prime/MHWDCONFIG
[2021-01-01T16:59:07-0300] [ALPM-SCRIPTLET] Processing classid: 0300
[2021-01-01T16:59:07-0300] [ALPM-SCRIPTLET] Sourcing /var/lib/mhwd/scripts/include/0300
[2021-01-01T16:59:07-0300] [ALPM-SCRIPTLET] :: Synchronizing package databases...
[2021-01-01T16:59:07-0300] [ALPM-SCRIPTLET] error: failed to update core (unable to lock database)
[2021-01-01T16:59:07-0300] [ALPM-SCRIPTLET] error: failed to update extra (unable to lock database)
[2021-01-01T16:59:07-0300] [ALPM-SCRIPTLET] error: failed to update community (unable to lock database)
[2021-01-01T16:59:07-0300] [ALPM-SCRIPTLET] error: failed to update multilib (unable to lock database)
[2021-01-01T16:59:07-0300] [ALPM-SCRIPTLET] error: failed to synchronize all databases
[2021-01-01T16:59:07-0300] [ALPM-SCRIPTLET] Error: pacman failed!
[2021-01-01T16:59:07-0300] [ALPM-SCRIPTLET] Error: script failed!
[2021-01-01T16:59:08-0300] [ALPM-SCRIPTLET] Warning: No device of class 0302 found!
[2021-01-01T16:59:08-0300] [ALPM-SCRIPTLET] Warning: No device of class 0380 found!
[2021-01-01T16:59:08-0300] [ALPM] transaction completed
After this, pacman continued with the upgrade, which is why I did not notice the error before rebooting and finding that I can’t use my external monitor anymore. Any help is appreciated, thanks.