Blackmagic 11.6 not working under Fedora Linux x64

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Nomura Ricardo

  • Posts: 35
  • Joined: Thu Jan 31, 2013 11:53 pm

Blackmagic 11.6 not working under Fedora Linux x64

PostWed Sep 02, 2020 2:05 am

Since latest kernel update the blackmagic and blackmagic-io fails to build.

Code: Select all
lspci -vv|grep Blackmagic
09:00.0 Multimedia video controller: Blackmagic Design Intensity Pro
   Subsystem: Blackmagic Design Intensity Pro


Code: Select all
sudo rpm -ivh *.rpm
Verifying...                          ################################# [100%]
Preparando...                         ################################# [100%]
Updating / installing...
   1:desktopvideo-11.6-a26            ################################# [ 33%]
Preparing new blackmagic driver for 5.8.4-200.fc32.x86_64 kernel...
  Adding to DKMS (failed)
Preparing new blackmagic-io driver for 5.8.4-200.fc32.x86_64 kernel...
  Adding to DKMS (failed)
Loading modules...
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 (5.8.4-200.fc32.x86_64)

Error messages:
dkms add -m blackmagic -v 11.6a26 --rpm_safe_upgrade
---
Error! DKMS tree already contains: blackmagic-11.6a26
You cannot add the same module/version combo more than once.

dkms add -m blackmagic-io -v 11.6a26 --rpm_safe_upgrade
---
Error! DKMS tree already contains: blackmagic-io-11.6a26
You cannot add the same module/version combo more than once.


Removing previous installations:
Code: Select all
sudo dkms remove --all blackmagic/11.6a26

------------------------------
Deleting module version: 11.6a26
completely from the DKMS tree.
------------------------------

sudo dkms remove --all blackmagic-io/11.6a26

------------------------------
Deleting module version: 11.6a26
completely from the DKMS tree.
------------------------------


Checking:
Code: Select all
dkms status


Adding blackmagic and blackmagic-io:
Code: Select all
sudo dkms add -m blackmagic -v 11.6a26 --rpm_safe_upgrade

Creating symlink /var/lib/dkms/blackmagic/11.6a26/source ->
                 /usr/src/blackmagic-11.6a26

DKMS: add completed.

sudo dkms add -m blackmagic-io -v 11.6a26 --rpm_safe_upgrade

Creating symlink /var/lib/dkms/blackmagic-io/11.6a26/source ->
                 /usr/src/blackmagic-io-11.6a26

DKMS: add completed.


Checking:
Code: Select all
dkms status
blackmagic, 11.6a26: added
blackmagic-io, 11.6a26: added


Compiling the driver:
Code: Select all
sudo dkms install blackmagic/11.6a26

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j8 KERNELRELEASE=5.8.4-200.fc32.x86_64 KERNELRELEASE=5.8.4-200.fc32.x86_64...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.8.4-200.fc32.x86_64 (x86_64)
Consult /var/lib/dkms/blackmagic/11.6a26/build/make.log for more information.


The make.log:
Code: Select all
DKMS make.log for blackmagic-11.6a26 for kernel 5.8.4-200.fc32.x86_64 (x86_64)
ter 01 set 2020 22:55:20 -03
make -C /lib/modules/5.8.4-200.fc32.x86_64/build M=/var/lib/dkms/blackmagic/11.6a26/build
make[1]: Entering directory '/usr/src/kernels/5.8.4-200.fc32.x86_64'
  AR      /var/lib/dkms/blackmagic/11.6a26/build/built-in.a
  CC [M]  /var/lib/dkms/blackmagic/11.6a26/build/blackmagic_serial.o
  CC [M]  /var/lib/dkms/blackmagic/11.6a26/build/blackmagic_core.o
  SHIPPED /var/lib/dkms/blackmagic/11.6a26/build/bmd-support.o
  CC [M]  /var/lib/dkms/blackmagic/11.6a26/build/blackmagic_lib.o
  CC [M]  /var/lib/dkms/blackmagic/11.6a26/build/blackmagic_dma.o
  CC [M]  /var/lib/dkms/blackmagic/11.6a26/build/blackmagic_gate.o
/var/lib/dkms/blackmagic/11.6a26/build/blackmagic_lib.c: In function ‘dl_get_user_pages’:
/var/lib/dkms/blackmagic/11.6a26/build/blackmagic_lib.c:674:31: error: ‘struct mm_struct’ has no member named ‘mmap_sem’; did you mean ‘mmap_base’?
  674 |  down_read(&current_task->mm->mmap_sem);
      |                               ^~~~~~~~
      |                               mmap_base
/var/lib/dkms/blackmagic/11.6a26/build/blackmagic_lib.c:695:29: error: ‘struct mm_struct’ has no member named ‘mmap_sem’; did you mean ‘mmap_base’?
  695 |  up_read(&current_task->mm->mmap_sem);
      |                             ^~~~~~~~
      |                             mmap_base
make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/blackmagic/11.6a26/build/blackmagic_lib.o] Error 1
make[2]: ** Esperando que outros processos terminem.
make[1]: *** [Makefile:1756: /var/lib/dkms/blackmagic/11.6a26/build] Error 2
make[1]: Leaving directory '/usr/src/kernels/5.8.4-200.fc32.x86_64'
make: *** [Makefile:43: all] Error 2


GCC version:
Code: Select all
rpm -qa|grep gcc

libgcc-10.2.1-1.fc32.x86_64
gcc-c++-10.2.1-1.fc32.x86_64
gcc-10.2.1-1.fc32.x86_64
Offline
User avatar

VennStone

  • Posts: 29
  • Joined: Sun Sep 29, 2019 6:50 pm
  • Location: Athens
  • Real Name: Ven Stone

Re: Blackmagic 11.6 not working under Fedora Linux x64

PostThu Sep 03, 2020 7:53 pm

The modules will not build against kernel 5.8.

Blackmagic will get around to updating the drivers, eventually.
Debian 9 / 10
Threadripper 1920X
NVIDIA 2060
Intensity Pro
Intensity Pro 4K
DeckLink Mini Recorder 4K
DeckLink Quad HDMI <- WARNING: Does not work with Threadripper.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 3 guests