Ask Your Question

Patch for proprietary NVIDIA 375.39 drivers with kernel 4.10

asked 2017-03-29 14:39:05 -0500

daved314 gravatar image

updated 2017-03-29 14:58:07 -0500

With the latest update to kernel 4.10 in fedora 25, the latest version of the NVIDIA proprietary drivers for the GTX 900 series no longer compiles. The error happens when the installer attempts to compile the kernel modules and fails with a missing fence.h file (and other errors). This prevents the driver from being installed at all.

edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted

answered 2017-03-29 14:57:31 -0500

daved314 gravatar image

Thanks to @sideburns and @steveebey73742 I was able to put together a patch for the NVIDIA 375.39 driver (This is the latest driver for the GTX 950... which I use). Below is the patch file (I can't upload files with this account). To utilize this you need to:

Boot into multi-user mode using the new 4.10 kernel (command line only)

  1. Extract the driver source by running the command with -x option.

    • ./ -x
  2. Use the patch command for the file you created:

    • patch -p1 < nameofpatchfile.patch
  3. Change into the extracted driver folder and run the NVIDIA installer

    • ./nvidia-installer
  4. Then utilize the same options you normally would for the driver

  5. Lastly, reboot into graphical user mode

Before this patch the NVIDIA install was failing with missing fence.h and other dkms kernel module failures. After the patch everything went as smoothly as before the kernel update.

edit flag offensive delete link more


I do have a GTX970, and I have posted in another post, a link to download 378.13 if you want to use it. The post link is

SteveEbey73701 gravatar imageSteveEbey73701 ( 2017-03-29 23:49:37 -0500 )edit

Yeah as I was investigating more, I realized that the 375.39 is the "long support" version and the 378.13 is also valid for my card type too. I should probably be running that one. The only reason I had the 375.39 is that when I did the "search for driver" on the NVIDIA website, this is the first one suggested for my card and linux.

I'll make trying the higher version'd one a weekend project :)


daved314 gravatar imagedaved314 ( 2017-03-30 08:24:45 -0500 )edit

not sure why it has never been officially posted, found it when I was poking around the ftp site. The only issue i still deal with, is plymouth startup splash is text only. tried suggestions from all over the net, and think it might be specific to the 900 family as to not wanting frame buffer. funny thing, when shutdown or restart, i do get that splash from plymouth.

SteveEbey73701 gravatar imageSteveEbey73701 ( 2017-03-30 08:56:21 -0500 )edit

answered 2017-04-05 02:55:32 -0500

nshetty gravatar image


I have a GeForce GTX 770 (with driver version 375.39). After the recent update to kernel 4.9.~/4.10.~, building NVIDIA kernel modules failed. The patch worked fine, saved my day.

Thanks a ton!

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-03-29 14:39:05 -0500

Seen: 2,525 times

Last updated: Mar 29 '17