Skip to content

Instantly share code, notes, and snippets.

@hachre
Last active April 10, 2020 06:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hachre/155492e6b87a3c5db6276822f8a44b70 to your computer and use it in GitHub Desktop.
Save hachre/155492e6b87a3c5db6276822f8a44b70 to your computer and use it in GitHub Desktop.
Reinstall all existing packages on Manjaro
touch /.forcefsck
reboot
pacman-key --init
pacman-key --populate
pacman-key --refresh
pacman -Syy
pacman -S --noconfirm --force $(pacman -Qq)
mhwd-kernel -i linux411
mhwd -a pci nonfree 0300
reboot
@areinisc
Copy link

areinisc commented Jul 3, 2017

[root@BEARpc ~]# pacman -S --noconfirm --force $(pacman -Qq)
error: target not found: <package-names-are-here>
error: target not found: <package-names-are-here>
.
.
. etc.
error: target not found: zziplib

@hachre
Copy link
Author

hachre commented Jul 3, 2017

@areinisc I've added pacman -Syy to my command list to take care of this

@hachre
Copy link
Author

hachre commented Jul 3, 2017

@areinisc added another thing at the start of my commands, worth giving a shot

@areinisc
Copy link

areinisc commented Jul 4, 2017

Hi hachre, figured you might like some closure and I wanted to thank you again
for your help. I re-installed the whole os from live media a couple more
times, playing with different things. Eventually I decided/figured out
something similar to the following:

  • manjaro tries to pull in the appropriate drivers for your system with mhwd
  • my system is a tower with an asus mobo, intel i7 cpu, and gtx 1080 gpu
  • mhwd decided that I wanted the "video-hybrid-intel-nvidia-bumblebee" driver
  • adventured down the bumblebee/optimus/prime rabbit hole
  • most people explain that bumblebee is for laptops only
  • ArchWiki says that bumblebee can work on desktops too
  • maybe I should just chuck bumblebee out the window
  • mhwd -i pci video-nvidia after uninstalling that bumblebee driver
  • rebooted
  • and it failed
  • on a whim at 2am I thought, "Maybe I should plug my HDMI cord into the gpu hdmi port instead of the one from the mobo." I did that and rebooted and it worked.

So, I am very interested in learning more about hybrid graphics solutions for desktop pcs
and more in general about what I was doing wrong and what I should have been doing instead, and whether I ended up with a "correct" solution or just one that "happens to work"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment