Difference between revisions of "Configure NVIDIA (non-free) settings and load them on Startup"
Views
Actions
Namespaces
Variants
Tools
imported>Verityproductions |
imported>Verityproductions |
||
Line 27: | Line 27: | ||
1. Open your terminal and enter the following command: | '''1.''' Open your terminal and enter the following command: | ||
sudo nvidia-settings | sudo nvidia-settings | ||
2. Change resolution and refresh rate in 'X Server Display Configuration' tab. | '''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''' | '''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: | '''4.''' Now enter the following command into the terminal to complete the process: | ||
sudo mhwd-gpu --setgl nvidia --setxorg /etc/X11/mhwd.d/nvidia.conf | sudo mhwd-gpu --setgl nvidia --setxorg /etc/X11/mhwd.d/nvidia.conf | ||
Line 45: | Line 45: | ||
1. Open your terminal and enter the following command: | '''1.''' Open your terminal and enter the following command: | ||
nvidia-settings | nvidia-settings | ||
2. Change settings in X Server XVideo Settings, OpenGL and Antialiasing, in the 'X Screen' tab. | '''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. | '''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]''') | '''4.''' Save the .nvidia-settings-rc to the default location specified ('''/home/[your account name]''') | ||
5. Edit the .xinitrc file. To do so, enter the following into your terminal: | '''5.''' Edit the .xinitrc file. To do so, enter the following into your terminal: | ||
sudo gedit ~/.xinitrc | sudo gedit ~/.xinitrc | ||
6. Once opened, add the following line into the configuration file: | '''6.''' Once opened, add the following line into the configuration file: | ||
exec nvidia-settings --load-config-only | exec nvidia-settings --load-config-only | ||
7. Save and exit. | '''7.''' Save and exit. | ||
Line 81: | Line 81: | ||
If this happens: | If this happens: | ||
1. Remove the NVIDIA driver by entering the following command into your terminal: | '''1.''' Remove the NVIDIA driver by entering the following command into your terminal: | ||
sudo mhwd -r pci video-nvidia | sudo mhwd -r pci video-nvidia | ||
2. Reboot your computer | '''2.''' Reboot your computer | ||
3. Enter the following into your terminal: | '''3.''' Enter the following into your terminal: | ||
sudo gedit /etc/mkinitcpio.conf | sudo gedit /etc/mkinitcpio.conf | ||
4. delete the word '''nouveau''' from the following line: | '''4.''' delete the word '''nouveau''' from the following line: | ||
MODULES=" nouveau" | MODULES=" nouveau" | ||
Line 104: | Line 104: | ||
5. Save and close the file. | '''5.''' Save and close the file. | ||
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: | '''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] | sudo mkinitcpio -p [linux kernel version] | ||
Line 124: | Line 124: | ||
And so on. | And so on. | ||
7. Now re-install the NVIDIA driver by entering the following command into your terminal: | '''7.''' Now re-install the NVIDIA driver by entering the following command into your terminal: | ||
sudo mhwd -a pci nonfree 0300 | sudo mhwd -a pci nonfree 0300 | ||
8. Reboot your system. Now it should work ;) | '''8.''' Reboot your system. Now it should work ;) | ||
Revision as of 22:24, 6 November 2013
Introduction
{note| This tutorial is meant for users who are using the NVIDIA Proprietary (non-free) drivers.}}
You can check what drivers you have installed by entering the following command into your terminal:
inxi -G
Install NVIDIA Drivers
If you have the Nouveau driver you can install the proprietary NVIDIA driver by using the Manjaro Hardware Detection (MHWD) utility. To do so, enter the following command into your terminal:
sudo mhwd -a pci nonfree 0300
Once Complete, reboot your system to complete the process. You can then confirm that the driver has been installed and is working by entering the following command into your terminal:
mhwd -li
Configure The Resolution/Refresh Rate
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 --setgl 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. To do so, enter the following into your terminal:
sudo gedit ~/.xinitrc
6. Once opened, add the following line into the configuration file:
exec nvidia-settings --load-config-only
7. Save and exit.
Summary
There you go. This should (hopefully) solve those having issues with the NVIDIA non-free drivers for loading specific resolutions/refresh rates and X Screen settings on startup.
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. Reboot your computer
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. Save and close the file.
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 ;)
Feedback and Support
If you have any problems, improvements or see any errors in this tutorial, please post in this Manjaro forum thread: [1]