Difference between revisions of "Configure NVIDIA (non-free) settings and load them on Startup"

no edit summary
imported>Verityproductions
imported>Verityproductions
Line 42: Line 42:




==To configure X Screen settings (OpenGL Settings, Antialiasing, X Server XVideo):==
=Configure X Screen settings (OpenGL Settings, Antialiasing, X Server XVideo)=




1. Open terminal and run 'nvidia-settings'
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.
2. Change settings in X Server XVideo Settings, OpenGL and Antialiasing, in the 'X Screen' tab.
Line 51: Line 54:
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/user_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:
 
sudo gedit ~/.xinitrc
 
 
6. Once opened, add the following line into the configuration file:


5. Open terminal and type 'sudo gedit ~/.xinitrc' (or 'sudo gedit /home/user_name/.xinitrc') -> replace gedit with text editor of choice.
exec nvidia-settings --load-config-only


6. Once opened, add 'exec nvidia-settings --load-config-only' on a new line (do not add the ' ' ).


7. Save and exit.
7. Save and exit.


==Summary:==
 
=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.
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 after install and reboot
= 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 ;)


If you restart your computer after the nvidia driver installation, and shows you that the X Server failed to start and the log shows you " modprobe: ERROR: could not insert nvidia : No such a device
then deinstall the nvidia driver with "sudo mhwd -r pci video-nvidia"    then reboot your computer
back to your desktop open a terminal write in "sudo gedit /etc/mkinitcpio.conf delete the nouveau out of MODULES, MODULES=" nouveau" -> MODULES=""
after that write in the terminal for kernel 3.10 "sudo mkinitcpio -p linux310"  for Kernel 3.11 "sudo mkinitcpio -p linux311"
then install the nvidia driver "sudo mhwd -a pci nonfree 0300"  reboot and it should work ;)


==Feedback:==
=Feedback and Support=


If you have any problems, improvements or see any errors in this tutorial, please post in this Manjaro forum thread: [http://forum.manjaro.org/index.php?topic=4489.0]
If you have any problems, improvements or see any errors in this tutorial, please post in this Manjaro forum thread: [http://forum.manjaro.org/index.php?topic=4489.0]