Desktop Video failes to install DKMS on Ubuntu 24.04

Do you have questions about Desktop Video, Converters, Routers and Monitoring?
  • Author
  • Message
Offline

Benjamin McGuire

  • Posts: 50
  • Joined: Sun Feb 24, 2013 4:37 am

Desktop Video failes to install DKMS on Ubuntu 24.04

PostThu Apr 25, 2024 1:56 am

I can Install the deb, but it fails to install the dkms driver...

Here is the install progress:
Code: Select all
udo apt install ~/Downloads/Blackmagic_Desktop_Video_Linux_12.9/deb/x86_64/desktopvideo*
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'desktopvideo' instead of '/home/benjamin/Downloads/Blackmagic_Desktop_Video_Linux_12.9/deb/x86_64/desktopvideo_12.9a3_amd64.deb'
Note, selecting 'desktopvideo-gui' instead of '/home/benjamin/Downloads/Blackmagic_Desktop_Video_Linux_12.9/deb/x86_64/desktopvideo-gui_12.9a3_amd64.deb'
The following NEW packages will be installed:
  desktopvideo desktopvideo-gui
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/182 MB of archives.
After this operation, 228 MB of additional disk space will be used.
Get:1 /home/benjamin/Downloads/Blackmagic_Desktop_Video_Linux_12.9/deb/x86_64/desktopvideo_12.9a3_amd64.deb desktopvideo amd64 12.9a3 [147 MB]
Get:2 /home/benjamin/Downloads/Blackmagic_Desktop_Video_Linux_12.9/deb/x86_64/desktopvideo-gui_12.9a3_amd64.deb desktopvideo-gui amd64 12.9a3 [35.1 MB]
Selecting previously unselected package desktopvideo.
(Reading database ... 230552 files and directories currently installed.)
Preparing to unpack .../desktopvideo_12.9a3_amd64.deb ...
Unpacking desktopvideo (12.9a3) ...
Selecting previously unselected package desktopvideo-gui.
Preparing to unpack .../desktopvideo-gui_12.9a3_amd64.deb ...
Unpacking desktopvideo-gui (12.9a3) ...
Setting up desktopvideo (12.9a3) ...
Preparing new blackmagic driver for 6.8.0-31-generic kernel...
  Adding to DKMS
  Building
  Installing
Preparing new blackmagic-io driver for 6.8.0-31-generic kernel...
  Adding to DKMS
  Building (failed)
Loading modules...
  blackmagic
Enabling systemd services...
  DesktopVideoHelper
Starting systemd services...
  DesktopVideoHelper

********************************************************************************
Failed to build driver(s)

Possible causes:
 1. Driver is incompatible with your kernel version
 2. Kernel headers/gcc/make/etc. is not installed
 3. Kernel header version does not match the running kernel (6.8.0-31-generic)

Error messages:
dkms build -m blackmagic-io -v 12.9a3
---
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=6.8.0-31-generic KERNELRELEASE=6.8.0-31-generic...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/desktopvideo.0.crash'
Error! Bad return status for module build on kernel: 6.8.0-31-generic (x86_64)
Consult /var/lib/dkms/blackmagic-io/12.9a3/build/make.log for more information.

********************************************************************************

Setting up desktopvideo-gui (12.9a3) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for libc-bin (2.39-0ubuntu8) ...


and here is the /var/lib/dkms/blackmagic-io/12.9a3/build/make.log
Code: Select all
DKMS make.log for blackmagic-io-12.9a3 for kernel 6.8.0-31-generic (x86_64)
Wed Apr 24 09:37:55 PM EDT 2024
touch .blackmagic.o.cmd
make -C /lib/modules/6.8.0-31-generic/build M=/var/lib/dkms/blackmagic-io/12.9a3/build
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-31-generic'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
  You are using:           gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
  CC [M]  /var/lib/dkms/blackmagic-io/12.9a3/build/bmio_client.o
  CC [M]  /var/lib/dkms/blackmagic-io/12.9a3/build/bmio_dev.o
  CC [M]  /var/lib/dkms/blackmagic-io/12.9a3/build/bmio_device.o
  CC [M]  /var/lib/dkms/blackmagic-io/12.9a3/build/bmio_driver.o
  CC [M]  /var/lib/dkms/blackmagic-io/12.9a3/build/bmio_serial.o
  CC [M]  /var/lib/dkms/blackmagic-io/12.9a3/build/bmio_export.o
  CC [M]  /var/lib/dkms/blackmagic-io/12.9a3/build/bmio_pci_ids.o
  CC [M]  /var/lib/dkms/blackmagic-io/12.9a3/build/bm_locks.o
/var/lib/dkms/blackmagic-io/12.9a3/build/bm_locks.c: In function ‘bm_mutex_alloc’:
/var/lib/dkms/blackmagic-io/12.9a3/build/bm_locks.c:178:9: error: implicit declaration of function ‘mutex_init’; did you mean ‘bm_util_init’? [-Werror=implicit-function-declaration]
  178 |         mutex_init(mutex);
      |         ^~~~~~~~~~
      |         bm_util_init
/var/lib/dkms/blackmagic-io/12.9a3/build/bm_locks.c: In function ‘bm_mutex_lock’:
/var/lib/dkms/blackmagic-io/12.9a3/build/bm_locks.c:189:9: error: implicit declaration of function ‘mutex_lock’; did you mean ‘bm_mutex_lock’? [-Werror=implicit-function-declaration]
  189 |         mutex_lock(mutex);
      |         ^~~~~~~~~~
      |         bm_mutex_lock
/var/lib/dkms/blackmagic-io/12.9a3/build/bm_locks.c: In function ‘bm_mutex_trylock’:
/var/lib/dkms/blackmagic-io/12.9a3/build/bm_locks.c:194:17: error: implicit declaration of function ‘mutex_trylock’; did you mean ‘bm_mutex_trylock’? [-Werror=implicit-function-declaration]
  194 |         return (mutex_trylock(mutex) != 0);
      |                 ^~~~~~~~~~~~~
      |                 bm_mutex_trylock
/var/lib/dkms/blackmagic-io/12.9a3/build/bm_locks.c: In function ‘bm_mutex_unlock’:
/var/lib/dkms/blackmagic-io/12.9a3/build/bm_locks.c:199:9: error: implicit declaration of function ‘mutex_unlock’; did you mean ‘bm_mutex_unlock’? [-Werror=implicit-function-declaration]
  199 |         mutex_unlock(mutex);
      |         ^~~~~~~~~~~~
      |         bm_mutex_unlock
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/blackmagic-io/12.9a3/build/bm_locks.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-6.8.0-31-generic/Makefile:1926: /var/lib/dkms/blackmagic-io/12.9a3/build] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-31-generic'
make: *** [Makefile:47: all] Error 2


I'm guessing that the Kernel is too new for it to install?
Resolve Studio 17.4.6 build 4
MacOS 12.3.1 (21E258)

i7-7800X. 32GB RAM
Asus X299-A MB
AMD Vega 64
DeckLink Mini Mon4K

(1) LG 31MU97C-B 4K (4096x2160)-Grading + (1) Sharp LC-55LBU591U-client/HDR Color (4kHDMI Split)
Offline

Benjamin McGuire

  • Posts: 50
  • Joined: Sun Feb 24, 2013 4:37 am

Re: Desktop Video failes to install DKMS on Ubuntu 24.04

PostSun Apr 28, 2024 4:28 pm

Now that Ubuntu 24.04 has been officially released, is the Linux driver going to be updated soon to work on it?
Resolve Studio 17.4.6 build 4
MacOS 12.3.1 (21E258)

i7-7800X. 32GB RAM
Asus X299-A MB
AMD Vega 64
DeckLink Mini Mon4K

(1) LG 31MU97C-B 4K (4096x2160)-Grading + (1) Sharp LC-55LBU591U-client/HDR Color (4kHDMI Split)
Offline

josejam

  • Posts: 1
  • Joined: Mon Apr 29, 2024 2:33 pm
  • Real Name: James Joseph

Re: Desktop Video failes to install DKMS on Ubuntu 24.04

PostMon Apr 29, 2024 2:37 pm

You are right, currently 6.8 is not supported on the latest software, if you want to use the driver software you will need to downgrade your kernel to 6.5 until the software is supported.

Ubuntu provide kernel packages you can use https://kernel.ubuntu.com/mainline/v6.5/amd64/

Download the headers, image and modules and then you should see dkms will build the driver successfully for your system after.

I have raised a feature request about 24.04 as our team also would like to use 24.04 too but this may take them a while to implement.

Tbf 6.8 only came out last month and 24.04 just came out last week so it's probably not going to be done quick but I'm sure they are on it :)

Return to Post Production

Who is online

Users browsing this forum: Majestic-12 [Bot] and 16 guests