Manjaro graphics driver installation
I installed the graphics driver, do not really decent, did not in any mood, but recently found a few good or, at least, my computer after installation, a video card capable of driving. This is a better place.
- method one:
$sudo pacman -S bumblebee bbswitch
This is a program to install the driver bbswitch
$sudo gpasswd -a $USER bumblebee
After installation is complete, add your user name to the group bumblebee, so you can identify the group
$sudo systemctl enable bumblebeed.service
This service is to start bumblebeed
$sudo pacman -S bumblebee nvidia opencl-nvidia lib32-nvidia-utils lib32-opencl-nvidia mesa lib32-mesa-libgl xf86-video-intel
This is dependent on the source of the problem to solve
Then modify the file
$sudo vim /etc/bumblebee/bumblebee.conf
, modify the following:Driver=nvidia && [driver-nvidia] PMMethod=bbswitch
This is the original drive replaced bbswitch, specify power management.
Then reboot the system
$reboot
Restart the system, the input command
$sudo tee /proc/acpi/bbswitch <<< ON
, open nvidia graphics. Then you cannvidia-smi
see the nvidia driver case
- Method Two:
In the management system, the unloading
linux-video
drive, and then use the instructions$sudo video-hybrid-intel-nvidia-(版本号)-bumblebee
to install the driver.
Then use the instructions
$sudo pacman -S virtualgl lib32-virtualgl lib32-primus primus
to solve the problem dependent source
Usage instruction
$sudo mhwd -f -i pci video-hybrid-intel-nvidia-bumblebee
mounting two graphics program bumblebee.
Then allow nvidia service
$sudo systemctl enable bumblebeed
Finally, add users to groups bumblebee
$sudo gpasswd -a $USER bumblebee
Restart
reboot
The above is two solutions graphics method
After installation graphics driver, commands can be used: glxgears
the test set was the FPS, using the instruction: optirun glxgears
test alone significantly FPS. Can be found, the two are very different.
Here, your graphics card driver has been fitted. optirun this directive is to specify what programs run using a single display.