I've found a hack that will enable nvidia module to insert into kernel:

Uncomment this line:
#PATCH[1]="buildfix_kernel_4.3.patch"

in file /usr/src/nvidia-304-304.132/dkms.conf
then sudo dpkg-reconfigure nvidia-304

In Ubuntu 16.04 it was uncommented, because there were some mtrr changes
in 4.3.0 kernel. This patch works for 4.8.0 kernel also.

Module works, but something is wrong with acceleration, because Unity is
not working. This should throw some light on it:

$ glxgears
X Error of failed request:  BadValue (integer parameter out of range for 
operation)
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  30
  Current serial number in output stream:  31

but running as sudo works

$ sudo glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
303 frames in 5.0 seconds = 60.420 FPS
300 frames in 5.0 seconds = 59.928 FPS

I'm currently using gnome-session-flashback with metacity.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-304 in Ubuntu.
https://bugs.launchpad.net/bugs/1634802

Title:
  Could not insert module

Status in nvidia-graphics-drivers-304 package in Ubuntu:
  In Progress
Status in nvidia-graphics-drivers-304 source package in Yakkety:
  Triaged

Bug description:
  Ubuntu release: 16.10 Yakkety Yak
  Kernel version: 4.8.0-22-generic x86_64
  Package version: 304.132-0ubuntu1

  The nvidia module cannot be loaded. The following errors are reported:
  Could not insert module Unknown symbol in module

  and:

  nvidia: Unknown symbol mtrr_del (err 0)
  nvidia: Unknown symbol mtrr_add (err 0)

  It looks like the buildfix_kernel_4.3.patch, which is supposed to be
  dealing with those calls, is not applied in this release of the
  package.

  The package was working fine with the previous fully updated Ubuntu
  version 16.04 prior to the upgrade to 16.10.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304/+bug/1634802/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to