Xorg "no screens found"
Hi, I'm desperately trying to install Arch linux, but after all the installation process, I ended up with video drivers black hole.
My laptop is an Asus k550vx, with nvidia GTX 950M.
I have installed GRUB, i3vm, slim DM, and all nvidia packages. But after startx I got black screen.
So I have added the nvidia modules into /etc/mkinitcpio.conf, and created the nvidia.hook file, (as the arch wiki says).
At this point instead of black screen, there was the dash character stuck in the top-left corner
After some hours of pain, I've found this post to activate the PCIe, so I followed it, and now instead of black/stuck screen, startx gives me "no displays found".
Files and logs:
- This is the startx output.
- This is the Xorg.0.log file
- This is the xinitrc file
- This is the xorg.conf file generated with nvidia-xconfig
The xorg wiki says that there must be an error in the xorg.conf file, but I really can't find it.
I really hope that someone could help me.. I don't want to install ubuntu again due to driver problems.
Thanks
About this post
- Posted
- Archived
- Score
- 4 · 100% up
- Kind
- Text
- ID
- d3exe4
24 comments
Your laptop has switchable/hybrid graphics. There is the Nvidia gpu, but also another gpu built into the cpu. The Nvidia isn’t active all the time. You see this quite often on laptops and the main reason is power saving. The desktop environment is probably trying to start on the wrong one as has gotten confused because of the Nvidia drivers. Have you tried the “nomodeset” at boot to avoid black screen?
https://wiki.archlinux.org/index.php/NVIDIA/Troubleshooting#X_fails_with_%22no_screens_found%22_when_using_Multiple_GPUs
Yes, I've done each of these steps, but xorg still gives No screens found.
There is also a weird error after xorg fails: "dell_smbios: unable to run on non-Dell systems" "hdaudio hdaudioC0D2: unable to bind the codec"
Don't do this, on a laptop you will break everything by blacklisting your intel drivers.
Remove all adjustments including the autogenerated nvidia xconfig and the module blacklist. Then read and choose one of the approaches from https://wiki.archlinux.org/index.php/NVIDIA_Optimus
I kind of ran into similar problems and ended up using swaywm. I was just impressed with how easy it is to set up and everything is just done with typing 'sway', no more configuration needed. Offers the same customisation option i3 does and should be more secure, not using X. Consider giving it a try ^^
Seems cool, so just replacing X and i3 packages with swaywm it should work?
https://wiki.archlinux.org/index.php/Sway It did for me. Tell me if it worked
Sway won't work with the proprietary Nvidia driver. In fact it refuses to start if the driver is loaded on the system for any reason, even if the Nvidia card isn't connected to any display.
I have a Asus FX553VD. Its also has the nvidia/intel hybrid graphics setup with KDE. I had so many issues trying to get things to work properly. My laptop fan started spinning at full speed and would stay that way. I eventually decided to use only the nvidia card using the nvidia drivers and disable the intel gpu. It uses a bit more battery but at least its usable
How did you do it?
I don't know if it's something related, but during boot, there is a strange FAIL, with this module:
● systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2019-09-13 11:10:27 CEST; 1min 5s ago Docs: man:systemd-modules-load.service(8) man:modules-load.d(5) Process: 616 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE) Main PID: 616 (code=exited, status=1/FAILURE)
Sep 13 11:10:20 davide-k550vx systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE Sep 13 11:10:20 davide-k550vx systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'. Sep 13 11:10:20 davide-k550vx systemd[1]: Failed to start Load Kernel Modules. Sep 13 11:10:27 davide-k550vx systemd[1]: Starting Load Kernel Modules... Sep 13 11:10:27 davide-k550vx systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE Sep 13 11:10:27 davide-k550vx systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'. Sep 13 11:10:27 davide-k550vx systemd[1]: Failed to start Load Kernel Modules.
It could very well be a graphics driver issue based on this systemd messages. Try open another terminal when you get to the point where its fails (Generally ctrl+alt_F1 or F2 or F3 etc) and follow the this guide to isolate the exact cause of the systemd-modules-load.service issue
As for switching over to using only the nvidia gpu, check this out.
Generally it involves a custom xorg.conf file that specifies using the nvidia driver.
You will also need to setup a script that calls xrandr to activate displays attached to the non-nvidia card.
For more info see this .
This script is usually called by your login manager. I have sddm so its different to I3.
Shameless plug : https://github.com/Askannz/optimus-manager
What should I do with this tool? Switch to intel card and then run startx?
Can you dump the output of
lspci -k?https://pastebin.com/cpVGg8kA
This is the output
I was creating a lot of Arch instances in Vbox with students yesterday, we were running into these issues. I have your exact answer. If you can get back to your original errors, the issue is here:
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
for whatever reason, ACPID is not initializing as a service.You need to:
I think this may not be the root of the problem, but it is a hot fix I came across after 4 hours. You may have to manually restart acpid.service each time for now, there appears to be an error with it running on startup despite enabling it with systemctl.
I hope this was helpful, my understanding of the problem is not exact but I have had your exact error log for the most part and this was a solution.
EDIT: After reading the rest of these responses, I think this could be an issue related to systemd considering I've encountered it on multiple different host computers with different graphics cards/drivers.