Black screen while boot

Are you still using optimus? Maybe backup all files and let mhwd recreate the configs…

Backup:

mkdir ~/xorg-backup/
find /etc/X11/xorg.conf.d/ -name "*.conf" -exec cp {} ~/xorg-backup/  \;

Delete:

sudo rm -f /etc/X11/xorg.conf.d/10*

Then remove and install the mhwd config.

Check which configs has been created:

for x in /etc/X11/xorg.conf.d/* ; do echo -e "---$x---\n\n $(cat $x)\n\n"; done 

@megavolt

Then remove and install the mhwd config

Do you mean the next?

mhwd -r pci video-hybrid-amd-nvidia-prime
mhwd -a pci nonfree 0300

Yes…

Since you know which driver you need, use:

mhwd -i pci video-hybrid-amd-nvidia-prime

mhwd -a pci nonfree 0300 has just additional gpu detection thats all.

@megavolt
mhwd has generated an empty file but it worked!

I am also using optimus-manager to switch cards to be able to use several monitors with nvidia and it also works!

I am greatly appreciate your immeasurable help on making this work!
Not only for the usual headache minimizations of video drivers on linux but for also some new things I’ve picked up related to logs/sharing tools you mentioned.

If you somewhile pass through Kyiv, Ukraine, I will be glad to promote you with few beers :slight_smile:

Solution for those who is facing similar issues, hope this will help:

  1. Retrieve Xorg and system logs
  2. Define what is going wrong
  3. If your problem is in wrong Xorg configuration, then
  • backup configs from /etc/X11/xorg.conf.d/
  • remove mhwd configs
  • remove nvidia video drivers (check using mhwd --listinstalled which one are you using)
  • reinstall nvidia video drivers using mhwd

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