Loading modules.. blackmagic (failed) blackmagic_io (Failed)

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

wfjoby

  • Posts: 2
  • Joined: Sun Jun 05, 2022 10:23 pm
  • Real Name: Wilson Fletcher

Loading modules.. blackmagic (failed) blackmagic_io (Failed)

PostSun Jun 05, 2022 10:30 pm

Hello,

I am trying to get blackmagic Desktop Video to recognize the Ultrastudio Recorder 3G which is connected via thunderbolt. I get an error showing that the two blackmagic modules fail to load. I also

Code: Select all
$ sudo dpkg -i desktopvideo_*.deb

(Reading database ... 197786 files and directories currently installed.)

Preparing to unpack desktopvideo_12.3a10_amd64.deb ...

Stopping systemd services...

  DesktopVideoHelper

Disabling systemd services...

  DesktopVideoHelper

Unloading modules...

Removing old drivers...

  blackmagic

  blackmagic-io

Unpacking desktopvideo (12.3a10) over (12.2.2a6) ...

Setting up desktopvideo (12.3a10) ...

Preparing new blackmagic driver for 5.13.0-44-generic kernel...

  Adding to DKMS

  Building

  Installing

Preparing new blackmagic-io driver for 5.13.0-44-generic kernel...

  Adding to DKMS

  Building

  Installing

Loading modules...

  blackmagic (failed)

  blackmagic_io (failed)

Enabling systemd services...

  DesktopVideoHelper

Starting systemd services...

  DesktopVideoHelper



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

Reboot required to reload driver!



The driver failed to load. The most likely cause is that the driver is

in use. Please try rebooting to load the new driver

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



Processing triggers for man-db (2.9.1-1) ...

Processing triggers for systemd (245.4-4ubuntu3.17) ...

Processing triggers for libc-bin (2.31-0ubuntu9.9) ...




When I try to modprobe I get an Exec format error

Code: Select all
$ sudo modprobe blackmagic

modprobe: ERROR: could not insert 'blackmagic': Exec format error


I am running Ubuntu with kernel version 5.13

Any help is appreciated!
Offline

Mike Ambrose

  • Posts: 189
  • Joined: Wed Jan 13, 2016 11:31 pm

Re: Loading modules.. blackmagic (failed) blackmagic_io (Fai

PostMon Jun 06, 2022 12:31 pm

What are you running on (hardware)? Exec format error often indicates incorrect architecture (64 bit binary on 32 bit CPU, x86 binary on ARM CPU, etc)
Offline

wfjoby

  • Posts: 2
  • Joined: Sun Jun 05, 2022 10:23 pm
  • Real Name: Wilson Fletcher

Re: Loading modules.. blackmagic (failed) blackmagic_io (Fai

PostMon Jun 06, 2022 8:59 pm

I was able to fix this issue last night by re-installing Ubuntu. However, even though I see the blackmagic device when I run lspci and both drivers show they are loaded I am still met with No Desktop Video Device Detected.

Code: Select all
lsmod | grep blackmagic

blackmagic            565248  0

blackmagic_io        1916928  1



Code: Select all
$ dkms status -m blackmagic -k `uname -r`

blackmagic/12.3a10, 5.15.0-35-generic, x86_64: installed


I also updated the kernel as seen above
Offline

Cameron Nichols

Blackmagic Design

  • Posts: 442
  • Joined: Mon Sep 04, 2017 4:05 am

Re: Loading modules.. blackmagic (failed) blackmagic_io (Fai

PostFri Jun 10, 2022 5:56 am

Hi Wilson,

Confirming that you have restarted since installing the Desktop Video package?

Can you also check the blackmagic-io module with:
Code: Select all
$ dkms status -m blackmagic-io -k `uname -r`
If it is installed, load with
Code: Select all
sudo modprobe blackmagic-io
Regards
Cameron
Offline

petrno

  • Posts: 17
  • Joined: Sat Jan 16, 2021 9:00 pm
  • Real Name: Petr Novak

Re: Loading modules.. blackmagic (failed) blackmagic_io (Fai

PostFri Jun 10, 2022 6:22 am

Hi Wilson,

provided you have the kernel modules loaded and the applications still cannot see the card, please check that the DesktopVideoHelper process is running. Without that process active, the enumeration of interfaces does not work.

Petr
--
Petr Novak

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 17 guests