Linux kernel support

Getting started with a Blackmagic product? Ask questions here about setup and installation.
  • Author
  • Message
Offline

BeerAndMala

  • Posts: 2
  • Joined: Tue Jun 24, 2025 5:52 am
  • Real Name: Benjamin Podszun

Linux kernel support

PostTue Jun 24, 2025 5:57 am

So I recently splurged on new expensive hardware, running a 9950X3D (with a brand new mainboard) and a RX9070XT now. Why does that matter? Because what I didn't consider is that these brand new devices will either not work at all on stable software (kernel, mesa) or .. at least are rather unstable.

So I am now running a 6.14 mainline kernel. Things are good. Alas...

Error messages:
dkms build -m blackmagic -v 14.4.1a4
---
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 -j32 KERNELRELEASE=6.14.11-061411-generic KERNELRELEASE=6.14.11-061411-generic...(bad exit status: 2)
ERROR (dkms apport): kernel package linux-headers-6.14.11-061411-generic is not supported
Error! Bad return status for module build on kernel: 6.14.11-061411-generic (x86_64)
Consult /var/lib/dkms/blackmagic/14.4.1a4/build/make.log for more information.

dkms build -m blackmagic-io -v 14.4.1a4
---
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 -j32 KERNELRELEASE=6.14.11-061411-generic KERNELRELEASE=6.14.11-061411-generic...(bad exit status: 2)
ERROR (dkms apport): kernel package linux-headers-6.14.11-061411-generic is not supported


So my choices are now:

* Run an unstable system and don't use the expensive GPU
or
* Have a working PCIe capture card driver

Is there a technical reason why newer kernel headers are (presumably explicitly, intentionally) not allowed?
Offline

BeerAndMala

  • Posts: 2
  • Joined: Tue Jun 24, 2025 5:52 am
  • Real Name: Benjamin Podszun

Re: Linux kernel support

PostTue Jun 24, 2025 9:47 pm

After looking into this some more I'm kinda lost.

First things first: According to kernel.org, 6.14 is stable (and actually EOL), so is 6.15. So these kernels aren't thaaat bleeding edge.

The driver seems to fail to build for reasons I don't understand. I did see a re-declaration of a (conflicting AND unused as far as I can tell) MAX macro in the driver sources (and .. the sources also contain a BM_MAX that does the same thing as the MAX that likely shouldn't be there, also seemingly unused?). But tinkering and trying to fix that didn't get me much further.

Basically: Is there a way to run a pre-release of the drivers for kernels other than the LTS distro picks?
Offline

Damdaman

  • Posts: 3
  • Joined: Mon Jun 30, 2025 3:18 am
  • Real Name: Theo Veltman

Re: Linux kernel support

PostMon Jun 30, 2025 3:31 am

This happens to us Fedora users a lot.

Thanks to NVieville you can now get up and running with the provided patch files from here = viewtopic.php?f=12&t=223633

Just down load that patch and the ones from his previous post that he mentions and install them with these commands.

cd /usr/src/blackmagic-io-'version'
sudo patch < 'location and name of the .patch file'
sudo dkms install -m blackmagic-io -v 'version number (i.e. 14.4.1a4)'

You should be up and running on kernel 6.15 after that.

Return to Getting Started

Who is online

Users browsing this forum: No registered users and 10 guests