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

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

From Manjaro
imported>Handy
imported>Verityproductions
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
==Take Note that this tutorial is meant for users who are using the NVIDIA Proprietary (non-free) drivers.==
= Introduction=
You can check what drivers you have installed with:
 
{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
  inxi -G
If you have the Nouveau driver you can install the proprietary NVIDIA driver.
 
To install the non-free drivers; go to a terminal and write:
 
= Install NVIDIA Drivers =
 
If you have the Nouveau driver you can install the proprietary NVIDIA driver by using the [[Configure_Graphics_Cards| Manjaro Hardware Detection (MHWD)]] utility. To do so, enter the following command into your terminal:


  sudo mhwd -a pci nonfree 0300
  sudo mhwd -a pci nonfree 0300


Then reboot and your driver should be installed.


==To configure Resolution/Refresh Rate:==
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=
 
{{warning|The method provided does not currently work for the Cinnamon Edition. As soon as a solution is found, then this article will be updated.}}
 
 
1.  Open your terminal and enter the following command:
 
sudo nvidia-settings'


1.  Open terminal run '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:
 
sudo mhwd-gpu --setgl nvidia --setxorg /etc/X11/mhwd.d/nvidia.conf


4.  Open terminal and run 'sudo mhwd-gpu --setgl nvidia --setxorg /etc/X11/mhwd.d/nvidia.conf'


'''Note:''' The above method, currently, does not work in the
Cinnamon Edition. When a solution is derived, it will be
updated here.


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


1. Open terminal and run 'nvidia-settings'
1. Open terminal and run 'nvidia-settings'
Line 43: Line 63:
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
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:==


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]
[[Category:Contents Page]]

Revision as of 20:43, 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

Warning
The method provided does not currently work for the Cinnamon Edition. As soon as a solution is found, then this article will be updated.


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


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

1. Open terminal and run '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/user_name )

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

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

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 after install and reboot

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:

If you have any problems, improvements or see any errors in this tutorial, please post in this Manjaro forum thread: [1]

Cookies help us deliver our services. By using our services, you agree to our use of cookies.