My goal: run video games on the laptop using NVidia's GPU. Intel GPU doesn't matter, can be disabled/left unused if possible.
This is where I'm currently at: glxinfo
and optirun glxinfo
return "Error: couldn't find RGB GLX visual or fbconfig", while glxgears
and optirun glxgears
return "Error: couldn't get an RGB, Double-buffered visual". Also, when trying to launch an OpenGL game (eg. Minecraft), I'm getting the "Could not init GLX" error, regardless of whether I'm using optirun or not. Similar errors in Xorg.0.log
What have I done?:
- installed kernel 4.16
- ran
sudo mhwd -a pci nonfree 0300
in order to install proprietary drivers - followed the "Using nvidia" steps on Arch Wiki: https://wiki.archlinux.org/index.php/NVIDIA_Optimus#Using_nvidia (placing these "Section" lines in /etc/X11/xorg.conf.d/90-mhwd.conf didn't help)
- attempted to reinstall libgl with
sudo pacman -S libgl
but no dice.
Xorg.0.log: https://pastebin.com/pjP4S14q
What have I done wrong?
Oh, I forgot to mention, it's a GTX 960M.