Manjaro graphics driver installation

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 bumblebeeAfter installation is complete, add your user name to the group bumblebee, so you can identify the group

$sudo systemctl enable bumblebeed.serviceThis service is to start bumblebeed

$sudo pacman -S bumblebee nvidia opencl-nvidia lib32-nvidia-utils lib32-opencl-nvidia mesa lib32-mesa-libgl xf86-video-intelThis 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=bbswitchThis 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 can nvidia-smisee the nvidia driver case

  • Method Two:

In the management system, the unloading linux-videodrive, and then use the instructions $sudo video-hybrid-intel-nvidia-(版本号)-bumblebeeto install the driver.

Then use the instructions $sudo pacman -S virtualgl lib32-virtualgl lib32-primus primusto solve the problem dependent source

Usage instruction $sudo mhwd -f -i pci video-hybrid-intel-nvidia-bumblebeemounting two graphics program bumblebee.

Then allow nvidia service $sudo systemctl enable bumblebeed

Finally, add users to groups bumblebee$sudo gpasswd -a $USER bumblebee

Restartreboot

The above is two solutions graphics method

After installation graphics driver, commands can be used: glxgearsthe test set was the FPS, using the instruction: optirun glxgearstest 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.


Guess you like

Origin www.cnblogs.com/Yunrui-blogs/p/11780303.html