nvidia-* kernel module failed to build (error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .unload = nv_drm_unload,)

Bug #1717246 reported by amon
44
This bug affects 10 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-304 (Ubuntu)
Confirmed
Undecided
Unassigned
nvidia-graphics-drivers-340 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Description: Ubuntu 16.04.3 LTS
Release: 16.04

nvidia-340:
  Installiert: 340.102-0ubuntu0.16.04.2
  Installationskandidat: 340.102-0ubuntu0.16.04.2
  Versionstabelle:
 *** 340.102-0ubuntu0.16.04.2 500
        500 http://de.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages
        100 /var/lib/dpkg/status
     340.102-0ubuntu0.16.04.1 500
        500 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages
     340.96-0ubuntu3 500
        500 http://de.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages

expected to be able to build kernel module with Kernel(-image & -headers) 4.11.0-14-generic.
just got an error.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: nvidia-340 340.102-0ubuntu0.16.04.2
ProcVersionSignature: Ubuntu 4.10.0-33.37~16.04.1-generic 4.10.17
Uname: Linux 4.10.0-33-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia
.proc.driver.nvidia.gpus.0000.04.00.0: Error: [Errno 21] Ist ein Verzeichnis: '/proc/driver/nvidia/gpus/0000:04:00.0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 340.102 Mon Jan 16 13:06:29 PST 2017
 GCC version: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
DKMSKernelVersion: 4.11.0-14-generic
Date: Thu Sep 14 14:04:50 2017
DistUpgraded: Fresh install
DistroCodename: xenial
DistroVariant: ubuntu
DkmsStatus:
 bbswitch, 0.8, 4.10.0-32-generic, x86_64: installed
 bbswitch, 0.8, 4.10.0-33-generic, x86_64: installed
 nvidia-340, 340.102: added
DuplicateSignature: dkms:nvidia-340:340.102-0ubuntu0.16.04.2:/var/lib/dkms/nvidia-340/340.102/build/nv-drm.c:124:15: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
GraphicsCard:
 NVIDIA Corporation C79 [GeForce 9400M G] [10de:0866] (rev b1) (prog-if 00 [VGA controller])
   Subsystem: Acer Incorporated [ALI] C79 [GeForce 9400M G] [1025:0160]
InstallationDate: Installed on 2017-08-16 (29 days ago)
InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
MachineType: Acer Aspire 5737Z
PackageVersion: 340.102-0ubuntu0.16.04.2
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-33-generic root=UUID=c62a2411-5d52-4b5b-ab0b-be0119fe97e1 ro priority=low quiet splash
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.24
SourcePackage: nvidia-graphics-drivers-340
Title: nvidia-340 340.102-0ubuntu0.16.04.2: nvidia-340 kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/13/2009
dmi.bios.vendor: Acer
dmi.bios.version: V1.05
dmi.board.name: KALA0
dmi.board.vendor: Acer
dmi.board.version: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAcer:bvrV1.05:bd02/13/2009:svnAcer:pnAspire5737Z:pvrV1.05:rvnAcer:rnKALA0:rvrN/A:cvnAcer:ct10:cvrN/A:
dmi.product.name: Aspire 5737Z
dmi.product.version: V1.05
dmi.sys.vendor: Acer
version.compiz: compiz N/A
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.76-1~ubuntu16.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 17.0.7-0ubuntu0.16.04.1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 17.0.7-0ubuntu0.16.04.1
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core N/A
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A
xserver.bootTime: Thu Sep 14 10:06:20 2017
xserver.configfile: default
xserver.errors: open /dev/fb0: No such file or directory
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:

xserver.version: 2:1.19.3-1ubuntu1~16.04.2

Revision history for this message
amon (amon-san) wrote :
tags: removed: need-duplicate-check
summary: nvidia-340 340.102-0ubuntu0.16.04.2: nvidia-340 kernel module failed to
- build
+ build [error: initialization from incompatible pointer type
+ [-Werror=incompatible-pointer-types] .unload = nv_drm_unload,]
summary: nvidia-340 340.102-0ubuntu0.16.04.2: nvidia-340 kernel module failed to
- build [error: initialization from incompatible pointer type
- [-Werror=incompatible-pointer-types] .unload = nv_drm_unload,]
+ build (error: initialization from incompatible pointer type
+ [-Werror=incompatible-pointer-types] .unload = nv_drm_unload,)
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: nvidia-340 340.102-0ubuntu0.16.04.2: nvidia-340 kernel module failed to build (error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .unload = nv_drm_unload,)

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-340 (Ubuntu):
status: New → Confirmed
Changed in nvidia-graphics-drivers-304 (Ubuntu):
status: New → Confirmed
summary: - nvidia-340 340.102-0ubuntu0.16.04.2: nvidia-340 kernel module failed to
- build (error: initialization from incompatible pointer type
- [-Werror=incompatible-pointer-types] .unload = nv_drm_unload,)
+ nvidia-* kernel module failed to build (error: initialization from
+ incompatible pointer type [-Werror=incompatible-pointer-types] .unload =
+ nv_drm_unload,)
Revision history for this message
Mark Lila (mark-lilas) wrote :

C61 [GeForce 7025 / nForce 630a] "Proprietary, tested" driver allows hardware acceleration in Chrome browser

With hardware acceleration enabled in Chrome browser the display eventually goes wonky and locks up the computer. Nouveau workaround is to disable hardware acceleration in Chrome browser.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.