Ask Your Question
1

What is the best driver for NVIDIA GEFORCE‌ GTX 960 M

asked 2017-08-15 17:14:34 -0500

Martin26 gravatar image

updated 2017-08-15 18:51:49 -0500

I‌ had a bad experience when I decided to install nvidia driver. I had lost my fedora and reinstalled it again. Now I want to install an appropriate driver on my fedora. From RPM Fusion, lsmod |grep nouveau command should not have output, but my ASUS N552VW returns the following output:

[martin@Device-BB9E28 ~]$ lsmod |grep nouveau 
nouveau              1605632  0 
ttm                    94208  1 nouveau 
mxm_wmi                16384  1 nouveau 
i2c_algo_bit           16384 2 nouveau,i915 
drm_kms_helper        151552  2 nouveau,i915 
drm             348160  33 nouveau,i915,ttm,drm_kms_helper 
wmi    20480  3 asus_wmi,mxm_wmi,nouveau 
video                  40960  4 asus_wmi,int3406_thermal,nouveau,i915

The out put for /sbin/lspci | grep -e VGA says there are 2 graphic card from NVIDIA (gpu) and Intel (integrated) as follows:

[martin@Device-BB9E28 ~]$ /sbin/lspci | grep -e VGA
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
[martin@Device-BB9E28 ~]$ /sbin/lspci | grep -e 3D
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
[martin@Device-BB9E28 ~]$

Moreover, when I want to reboot my system it seems some thing goes wrong and my system waits and my CPU goes hot (I‌ can turn it off and turn it on again). BTW, when I use nomodeset parameter my fedora reboot in basic graphic mode. I remember, when I installed nvidia driver I only had one 16:9 resolution and I decided to change the nvidia driver that fucked my system. This was the background story that might annoy other fedora users too.

Now I want to solve my driver problem and need experts to help me. One suggested solution is Optimus that is quiet easy. Is there any other suggestion? can some one help me to install it appropriately if there are some risks. I don't want to reinstall my fedora again. If some one can provide step by step installing command here would be appreciated.

If it's not necessary to install nvidia driver is there any way to fix nouveau driver?

edit retag flag offensive close merge delete

Comments

nouveau is open source, a port of the nvidia driver, but missing key features and good hardware acceleration. is the nvidia the only card in the laptop or do you also have integrated graphics from intel? if nvidia is the only one, I would recommend proprietary nvidia for best performance. Installed with dkms enabled, kernel updates are set to automatically build new driver modules. I run 384.59, the latest from nvidia, for linux 64 bit. I just updated to Kernel 4.12-5 today, with no problems.

SteveEbey73701 gravatar imageSteveEbey73701 ( 2017-08-15 17:44:43 -0500 )edit

I‌ have both NVIDIA‌ and Intel integrated graphic

Martin26 gravatar imageMartin26 ( 2017-08-15 17:51:56 -0500 )edit

how can I install 384.59 version? by default I installed 375 then I decided to install 384.59 and my fedora was fucked

Martin26 gravatar imageMartin26 ( 2017-08-15 18:01:29 -0500 )edit

I have added nouveau to black list in both grub and blacklist.conf and every thing goes smoothly. The output of /sbin/lspci | grep -e VGA (in the question) is added after this operation

Martin26 gravatar imageMartin26 ( 2017-08-16 03:27:22 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2017-08-16 08:17:23 -0500

SteveEbey73701 gravatar image

My system is a desktop, with just nvidia, so going in, as long as you understand that, these steps are exactly what I did to install proprietary, and ensure it automatically updates with kernel changes. Download the latest linux 64 vdieo driver, from this link.

Get to a console terminal, using Ctrl-Alt-F2 and login as root.

dnf update -y (this ensures you are running the most recent fedora)

dnf install dkms kernel-devel-$(uname -r) kernel-headers-$(uname -r) acpid gcc (files to build kernel modules, some things may be installed, and that is fine, this just makes sure you have all that is needed to do automatic kernel updates)

cd /home/username/Downloads (your username, of course)

chmod +x NVIDIA-Linux-x86_64-384.59.run (make the run file executable)

./NVIDIA-Linux-x86_64-384.59.run (start the installer)

When prompted, accept the license. When prompted, say Yes to dkms. If you plan to run any 32 bit programs, answer yes to installing 32 bit compatibility layrer(wine is a 32 bit for running windows programs, so answer yes if you plan to use it). Let it modify Xconfig, it does save a backup copy. At this point i would tell you to reboot, but you will need to look at optimus, to see what is involved to make sure nvidia loads on bootup instead of integrated. this simply makes sure that your nvidia is properly installed, and set for future kernel updates. You may get updates of library files for opengl that break the propriestary driver install, so save these steps to run again, when that happens. You can run sudo nvidia-installer --sanity from a terminal window in your gui, to test if any library files have been replaced. it will tell you if that is the case, and just run these steps again, to update. when you get to the 32bit question during install ifyou answer yes, it will complain about an incomplete install, so take the choice to install and overwrite, and you will be fine.

i hope this is of some benefit to you.

edit flag offensive delete link more

Comments

Thanks. I have already downloaded but when installer asked me to replace some libs I accepted and that became my bad experience. I need my fedora at least a week and I dont want to lose it again. I will check your answer within 2 weeks. because I have two graphic cards its a risk right now!

Martin26 gravatar imageMartin26 ( 2017-08-17 03:08:19 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-08-15 17:14:34 -0500

Seen: 1,629 times

Last updated: Aug 16 '17