How to install DeckLink 4K Pro on recent Debian 12

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

frank22

  • Posts: 2
  • Joined: Sun Dec 10, 2023 2:28 am
  • Real Name: Francois Lemieux

How to install DeckLink 4K Pro on recent Debian 12

PostSun Dec 10, 2023 2:34 am

Hi,

I got an "old" DeckLink 4K Pro card and want to run it on Linux.
I tried the latest "Blackmagic_Desktop_Video_Linux_12.7.1.tar" and an older version "Blackmagic_Desktop_Video_Linux_10.5.4.tar" and both failed. Mostly errors related to kernel headers (see one of the error below).

Is there a version that would work better? Or some guide online to help me get started?

Thanks,
Frank

Code: Select all
$ cat /var/lib/dkms/blackmagic-io/10.5.4a4/build/make.log
DKMS make.log for blackmagic-io-10.5.4a4 for kernel 6.1.0-14-amd64 (x86_64)
Sat Dec  9 09:19:49 PM EST 2023
make -C /lib/modules/6.1.0-14-amd64/build M=/var/lib/dkms/blackmagic-io/10.5.4a4/build
make[1]: Entering directory '/usr/src/linux-headers-6.1.0-14-amd64'
  CC [M]  /var/lib/dkms/blackmagic-io/10.5.4a4/build/bmio_client.o
  CC [M]  /var/lib/dkms/blackmagic-io/10.5.4a4/build/bmio_dev.o
  CC [M]  /var/lib/dkms/blackmagic-io/10.5.4a4/build/bmio_driver.o
  CC [M]  /var/lib/dkms/blackmagic-io/10.5.4a4/build/bmio_serial.o
  CC [M]  /var/lib/dkms/blackmagic-io/10.5.4a4/build/bmio_export.o
  CC [M]  /var/lib/dkms/blackmagic-io/10.5.4a4/build/bmio_pci_ids.o
  CC [M]  /var/lib/dkms/blackmagic-io/10.5.4a4/build/bm_locks.o
  CC [M]  /var/lib/dkms/blackmagic-io/10.5.4a4/build/bm_mm.o
/var/lib/dkms/blackmagic-io/10.5.4a4/build/bm_locks.c:276:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bm_rmutex_lock’
  276 | void __sched bm_rmutex_lock(struct bm_rmutex* mutex)
      |              ^~~~~~~~~~~~~~
make[2]: *** [/usr/src/linux-headers-6.1.0-14-common/scripts/Makefile.build:255: /var/lib/dkms/blackmagic-io/10.5.4a4/build/bm_locks.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/lib/dkms/blackmagic-io/10.5.4a4/build/bmio_serial.c:165:23: error: initialization of ‘unsigned int (*)(struct tty_struct *)’ from incompatible pointer type ‘int (*)(struct tty_struct *)’ [-Werror=incompatible-pointer-types]
  165 |         .write_room = serial_write_room,
      |                       ^~~~~~~~~~~~~~~~~
Offline

frank22

  • Posts: 2
  • Joined: Sun Dec 10, 2023 2:28 am
  • Real Name: Francois Lemieux

Re: How to install DeckLink 4K Pro on recent Debian 12

PostWed Dec 13, 2023 10:10 pm

I resolved my issue. The latest drivers / software works after updating the kernel.

Code: Select all
sudo apt-get update # This will update the repositories list
sudo apt-get upgrade # This will update all the necessary packages on your system
sudo apt-get dist-upgrade # This will add/remove any needed packages
reboot # may be needed
sudo apt-get install linux-headers-$(uname -r) # This should work now

Return to Getting Started

Who is online

Users browsing this forum: No registered users and 7 guests