Настройка параметров NVIDIA (несвободные) и загрузка их при запуске
Views
Actions
Namespaces
Variants
Tools
Введение
Вы можете проверить, какие драйверы у вас установлены введя в терминал следующую команду:
inxi -G
Установка драйверов NVIDIA
Если у вас установлен драйвер Nouveau - Вы можете установить проприетарный драйвер NVIDIA с помощью утилиты Manjaro Hardware Detection (MHWD). Для этого введите следующую команду в терминале:
sudo mhwd -a pci nonfree 0300
После завершения перезагрузите систему для завершения процесса. Затем можете проверить, что драйвер был установлен и работает, введя следующую команду в терминале:
mhwd -li
Настройка разрешения/частоты обновления
1. Open your terminal and enter the following command:
sudo nvidia-settings
2. Change resolution and refresh rate in 'X Server Display Configuration' tab.
3. Hit the 'Save to X Configuration File' button and save to /etc/X11/mhwd.d/nvidia.conf
4. Now enter the following command into the terminal to complete the process:
sudo mhwd-gpu --setmod nvidia --setxorg /etc/X11/mhwd.d/nvidia.conf
Configure X Screen settings (OpenGL Settings, Antialiasing, X Server XVideo)
1. Open your terminal and enter the following command:
nvidia-settings
2. Change settings in X Server XVideo Settings, OpenGL and Antialiasing, in the 'X Screen' tab.
3. Click on 'nvidia-settings configuration' tab and click on the 'Save Current Configuration' button.
4. Save the .nvidia-settings-rc to the default location specified (/home/[your account name])
5. Edit the .xinitrc file with your preferred text editor. For example, run this in your terminal:
gedit ~/.xinitrc
6. Once opened, add the following line into the configuration file, before the last line that starts with 'exec' :
nvidia-settings --load-config-only exec $(get_session)
7. Сохраните и выйдите.
Troubleshooting: X-Server Failed to Start and Install
Where there has been an error during the installation process, upon rebooting you may see the following error message: modprobe: ERROR: could not insert nvidia : No such a device
If this happens:
1. Remove the NVIDIA driver by entering the following command into your terminal:
sudo mhwd -r pci video-nvidia
2. Перезагрузите компьютер
3. Enter the following into your terminal:
sudo gedit /etc/mkinitcpio.conf
4. delete the word nouveau from the following line:
MODULES=" nouveau"
It should now look like this (i.e. keep the speech marks ("")):
MODULES=""
5. Сохраните изменения и закройте файл.
6. It is now necessary to reconfigure your existing kernel to take into account this change. The syntax of the necessary command to enter into your terminal is:
sudo mkinitcpio -p [linux kernel version]
For example, if you are currently using Kernel 3.10, you would enter the following:
sudo mkinitcpio -p linux310
For kernel 3.11, you would enter the following:
sudo mkinitcpio -p linux311
And so on.
7. Now re-install the NVIDIA driver by entering the following command into your terminal:
sudo mhwd -a pci nonfree 0300
8. Reboot your system. Now it should work ;)
Bumblebee and Steam
Properly using and configuring Bumblebee with Steam is much easier than it seems at first.
1. Install bumblebee for nonfree nvidia. Please run in terminal command in proper order:
sudo pacman -S virtualgl lib32-virtualgl lib32-primus primus
sudo mhwd -f -i pci video-hybrid-intel-nvidia-bumblebee
sudo systemctl enable bumblebeed
2. Reboot system:
sudo reboot
3. Next run:
optirun -b none nvidia-settings -c :8
4. Verify it is working
primusrun glxspheres64
and
glxspheres64
so you can see the difference.
5a. To have all games with Steam run using the NVidia card. Run Steam with command:
primusrun steam
5b. Alternatively, you can run specific games by:
Select a game - that you want to run using your discrete Nvidia card - from the Library page of the Steam client, right-click, and select Properties. Click the SET LAUNCH OPTIONS... button and specify primusrun %command% for the command line. Save your changes.This method allows you to pick when the discrete NVidia GPU should be used on a per-game basis.
Обратная связь и поддержка
If you have any problems, improvements or see any errors in this tutorial, please post in this Manjaro forum thread: [1]