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

no edit summary
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 ;)