Ask Your Question
4

My system with an Nvidia Graphics Card

asked 2017-05-24 11:07:28 -0500

steveebey73742 gravatar image

updated 2018-06-05 06:53:14 -0500

This is informational only.I hope to provide details for people, who are setting up Fedora with Nvidia Graphics Cards on Desktop Computers. This may help some with laptops as well, but the intended target is anyone having problems with Nvidia installation or kernel updates after installation. I will detail the steps I use, to stay current, and to automate the kernel updates, when Nvidia releases new drivers. As of this post, I am on kernel 4.10.16-200 with Nvidia Proprietary driver 381.22. I have Steam and Wine installed, and use Wine64 to run World of Warcraft on my computer. My system is an AMD FX-6300 6 core, clocked to 3.8Ghz with 16GB Ram, 320Gb hard drive, and Geforce GTX 970 running a single display. I will hit the highlighs of my setup and installation, and should more details be needed to help others, I will deal with that individually. Pick a fedora you want to install, I personally prefered the cinnamon, as the desktop is clean and small memory footprint. If you get the black screen during live dvd install, use the live dvd grub troubleshooting choice, which adds nomodeset to the linux command line. Once that is up, remove all reference to nouveau, there are various posts in this group that detail how to kill nouveau completely, so I will not be going into detail on that. Download the driver you want to run from https://download.nvidia.com/XFree86/L... and install the one you want. I am currently running 396.24 with no issues. Nice performance boost in WoW with Wine64 also. Prior to running the installer from nvidia, make sure the kernel-devel and kernel-headers are installed. When i run the driver installation, I answer yes to dkms and yes to 32 bit compatibility driver. if it find existng 32 bit files, for some reason, be sure to select overwrite and install, so it finishes correctly. When it finishes building the kermel module, it asks to update xconfig, and I let it. Since I want to monitor fan and power on the graphics card, I do run sudo nvidia-xconfig --cool-bits=12 to enable the nvidia-settings to show and allow adjustment for the fan and clock speeds. When dkms sees a upgrade to kernel-devel, usually during the kernel update install, it will pause the kernel update and you may think something is broken. It takes around 3 minutes, on my system, to build the driver module for the new kernel being installed, and the update continues, and completes successfully. Do not panic if the dnf update pauses just after upgrading kernel-devel as that is the dkms building the driver. Just for the sake of my own sanity, I periodically run sudo nvidia-installer --sanity to verify the driver, especially if any openGL libraries have been updated. If it finds a problem, I simply reinstall the driver, and redo the dkms and 32 bit, as detailed here. Also of course, if I find a newer driver ... (more)

edit retag flag offensive close merge delete

Comments

Have you had any issues with suspend/resume not working?

Rag gravatar imageRag ( 2017-05-26 11:00:46 -0500 )edit

Never tried it. I am on a desktop, run 24/7 365. 1750Watt APC Power Backup. Can not be down, for any reason. Only turned off for upgrades.

steveebey73742 gravatar imagesteveebey73742 ( 2017-05-26 19:23:47 -0500 )edit

4 Answers

Sort by ยป oldest newest most voted
2

answered 2017-05-25 23:12:17 -0500

you should write a blog about this or add this to fedora wiki for future reference.

edit flag offensive delete link more

Comments

Thanks for the kind words. I will see if I can add it to a wiki.

steveebey73742 gravatar imagesteveebey73742 ( 2017-05-26 07:34:25 -0500 )edit

if you need the dkms and kernel tools run the following command. This only needs to be done once, as future updates are automatic.

sudo dnf install dkms acpid gcc kernel-devel-$(uname -r) kernel-headers-$(uname -r)

steveebey73742 gravatar imagesteveebey73742 ( 2017-11-12 07:43:17 -0500 )edit
1

answered 2018-06-05 12:23:49 -0500

jo_117 gravatar image

Thanks Steveebey73742 , im also having similar issues with my system so will definitely check whatever you told and try to resolve it...thank you

All the best...!!

edit flag offensive delete link more
0

answered 2018-06-01 10:44:57 -0500

Orriginal gravatar image

This is a;l very nice but to someone like me that is not totally Techie on Fedora, it makes no sense and meanwhile My machine keep crashing....Could I bother you to just list the actions needed....for instance, your link to the driver downloads..where is that from ? there is no reference or name on th epage...just a load of numbers....makes no sense....... I am happy to use the command window etc and not to green about it all but which commandes ? Please ;-)

edit flag offensive delete link more

Comments

Updated the original post, to include the step by step for a clean install of fedora, to get the nvidia properly installed. the download link has Nvidia as part of the name. the numbers are the driver versions, and the most recent is at the bottom of the list. click on the numbers, and download the run file that is the largest file size, the filename should not have 32bit in it.

steveebey73742 gravatar imagesteveebey73742 ( 2018-06-02 11:58:40 -0500 )edit

So, what fun I had..Nothing worled....the driver was the wrong one so I had to revert to the 340.XXX . once that was downloaded and I had enabled it to run in a COMMAND window, it thenm decides to tell me that X us running and I need to stop it...si I try init 3 and DAMMM...nothing...so now I am spending More Time searching for how to stop X - Not having fun here and it is taking for ever to set up this install....not good

Orriginal gravatar imageOrriginal ( 2018-06-05 02:31:56 -0500 )edit

sudo init 3 from a terminal will kill X. if you run bash, you do NOT need to chmod +x the run file. The readme included in the driver stated that your model was supported, so you may have hardware issues, not just an improper install. I made assumptions about the technical skill you possess, and I was wrong. I have used those steps to install proprietary, and it works flawlessly on my system, even rebulding the kernel modules when kernels are updated. I HAVE MODIFIED THE ORIGINAL POST, FOLLOW THOSE EXACT STEPS, USING THE FILENAME YOU DOWNLOADED FOR THE RUN FILE.

steveebey73742 gravatar imagesteveebey73742 ( 2018-06-05 06:48:17 -0500 )edit
-1

answered 2017-11-13 13:24:18 -0500

I would rather run a high-end AMD card, which doesn't have these problems. Currently I can't do that because FreeBSD, which I also use, doesn't support AMDGPU for high-end cards, but if I lose interest in FreeBSD I'll probably use an AMD card.

edit flag offensive delete link more

Comments

1

I do not recall saying I had problems, this is simply the steps to install the driver that works best for my situation. Right now, what I understand about AMD GPU is the open source driver works better, than the proprietary. The opposite is true for Nvidia, as the Nouveau driver does not let me control fan, or clocks, and has bad 3D performance.

steveebey73742 gravatar imagesteveebey73742 ( 2017-11-13 21:51:36 -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

4 followers

Stats

Asked: 2017-05-24 11:07:28 -0500

Seen: 1,628 times

Last updated: Jun 05