Public bug reported:
Package: evdi-dkms (source: evdi)
evdi-dkms fails to build its kernel module against the official Ubuntu
HWE kernel 7.0.0-28-generic. It builds fine on 6.17.0-series kernels.
The source uses several DRM subsystem APIs that were removed in 7.0.0.
1) Release of Ubuntu
$ lsb_release -rd
Description: Ubuntu 24.04.4 LTS
Release: 24.04
2) Package version
$ apt-cache policy evdi-dkms
evdi-dkms:
Installed: 1.14.2+dfsg-1ubuntu1.4
Candidate: 1.14.2+dfsg-1ubuntu1.4
Kernel it fails to build against: linux-image-7.0.0-28-generic
7.0.0-28.28~24.04.1 (HWE, from noble-updates/main + noble-security/main).
Compiler gcc-13 13.3.0 (matches the kernel's build compiler); headers present
at /usr/src/linux-headers-7.0.0-28-generic. Builds OK on 6.17.0-35-generic and
6.17.0-40-generic.
3) What I expected to happen
DKMS builds and installs the evdi module for kernel 7.0.0-28-generic, as it
does for 6.17.0-series kernels.
4) What happened instead
The DKMS autobuild fails. The module references DRM APIs removed in the 7.0.0
kernel:
- drm_device.struct_mutex removed — evdi_gem.c:398,419; evdi_modeset.c:346,372
('struct drm_device' has no member named 'struct_mutex')
- Legacy DRM log macros removed (DRM_DEBUG_PRIME, DRM_ERROR, DRM_DEBUG_KMS) —
evdi_gem.c:439; evdi_fb.c:401,460 (fatal under
-Werror=implicit-function-declaration)
- fbdev debug hooks removed (fb_ops.fb_debug_enter/leave,
drm_fb_helper_debug_enter/leave) — evdi_fb.c:215,216
make.log excerpt:
evdi_gem.c:398:24: error: 'struct drm_device' has no member named 'struct_mutex'
evdi_gem.c:439:9: error: implicit declaration of function 'DRM_DEBUG_PRIME';
did you mean 'DRM_CAP_PRIME'? [-Werror=implicit-function-declaration]
evdi_fb.c:215:10: error: 'const struct fb_ops' has no member named
'fb_debug_enter'
evdi_fb.c:216:10: error: 'const struct fb_ops' has no member named
'fb_debug_leave'
evdi_fb.c:401:17: error: implicit declaration of function 'DRM_ERROR'; did you
mean 'pmd_ERROR'? [-Werror=implicit-function-declaration]
evdi_fb.c:460:9: error: implicit declaration of function 'DRM_DEBUG_KMS'
[-Werror=implicit-function-declaration]
evdi_modeset.c:346:39: error: 'struct drm_device' has no member named
'struct_mutex'
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-headers-7.0.0-28-generic/Makefile:2115: .] Error 2
Impact: evdi is unavailable when booted into 7.0.0-28-generic
(DisplayLink / virtual displays won't work). Full build log attached.
ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: evdi-dkms 1.14.2+dfsg-1ubuntu1.4
ProcVersionSignature: Ubuntu 6.17.0-35.35~24.04.1-generic 6.17.13
Uname: Linux 6.17.0-35-generic x86_64
ApportVersion: 2.28.2-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
DKMSKernelVersion: 7.0.0-28-generic
Date: Sat Jul 18 06:07:11 2026
DuplicateSignature:
dkms:evdi-dkms:1.14.2+dfsg-1ubuntu1.4:evdi_modeset.c:346:39: error: ‘struct
drm_device’ has no member named ‘struct_mutex’
InstallationDate: Installed on 2026-04-08 (101 days ago)
InstallationMedia: Ubuntu 24.04.4 LTS "Noble Numbat" - Release amd64 (20260210)
PackageArchitecture: all
PackageVersion: 1.14.2+dfsg-1ubuntu1.4
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal,
3.12.3-0ubuntu2.1
PythonDetails: /usr/bin/python3.12, Python 3.12.3, python-is-python3, 3.11.4-1
RelatedPackageVersions:
dpkg 1.22.6ubuntu6.6
apt 2.8.3
SourcePackage: evdi
Title: evdi-dkms 1.14.2+dfsg-1ubuntu1.4: evdi kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: evdi (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-package hwe need-duplicate-check noble
** Attachment added: "evdi-dkms_7.0.0-28-generic_make.log"
https://bugs.launchpad.net/bugs/2161194/+attachment/5983602/+files/evdi-dkms_7.0.0-28-generic_make.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161194
Title:
evdi-dkms 1.14.2+dfsg-1ubuntu1.4: evdi kernel module failed to build
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evdi/+bug/2161194/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs