nvidia-340 340.108-0ubuntu7: nvidia-340 kernel module failed to build on hirsute 21.04

Bug #1918327 reported by Norbert
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-340 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Steps to reproduce:
1. Have Ubuntu MATE 21.04 installed
2a. Launch Software & Updates, go to Additional Drivers tab, select nvidia-340 to install
2b. Open terminal and execute `sudo apt-get install nvidia-340`

Expected results:
* nvidia-340 driver is installed

Actual results:
* nvidia-340 driver is not installed:

$ dpkg -l | grep -i nvidia
ii libcuda1-340 340.108-0ubuntu7 amd64 NVIDIA CUDA runtime library
ii mate-optimus 20.10.0-1ubuntu2 all MATE Desktop applet for controlling NVIDIA Optimus graphics cards
iF nvidia-340 340.108-0ubuntu7 amd64 NVIDIA binary driver - version 340.108
ii nvidia-opencl-icd-340 340.108-0ubuntu7 amd64 NVIDIA OpenCL ICD
ii nvidia-prime 0.8.16 all Tools to enable NVIDIA's Prime
ii nvidia-settings 460.39-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver
ii screen-resolution-extra 0.18build2 all Extension for the nvidia-settings control panel

^^^ note "iF nvidia-340" above.

ProblemType: Package
DistroRelease: Ubuntu 21.04
Package: nvidia-340 340.108-0ubuntu7
ProcVersionSignature: Ubuntu 5.10.0-14.15-generic 5.10.11
Uname: Linux 5.10.0-14-generic x86_64
ApportVersion: 2.20.11-0ubuntu59
Architecture: amd64
CasperMD5CheckResult: unknown
DKMSKernelVersion: 5.10.0-14-generic
Date: Tue Mar 9 23:43:06 2021
DuplicateSignature: dkms:nvidia-340:340.108-0ubuntu7:/var/lib/dkms/nvidia-340/340.108/build/nv-drm.c:368:40: error: passing argument 1 of ‘drm_prime_pages_to_sg’ from incompatible pointer type [-Werror=incompatible-pointer-types]
InstallationDate: Installed on 2021-03-09 (0 days ago)
InstallationMedia: Ubuntu-MATE 21.04 "Hirsute Hippo" - Alpha amd64 (20210309)
PackageVersion: 340.108-0ubuntu7
Python3Details: /usr/bin/python3.9, Python 3.9.2, python3-minimal, 3.9.1-1
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.20.7.1ubuntu3
 apt 2.2.1
SourcePackage: nvidia-graphics-drivers-340
Title: nvidia-340 340.108-0ubuntu7: nvidia-340 kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Norbert (nrbrtx) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Norbert (nrbrtx) wrote :
Revision history for this message
Butterfly (kelebek333) wrote :
Norbert (nrbrtx)
no longer affects: ubuntu-mate
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in nvidia-graphics-drivers-340 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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