Package Base Details: decklink

Git Clone URL: https://aur.archlinux.org/decklink.git (read-only, click to copy)
Submitter: alub
Maintainer: goldensuneur
Last Packager: goldensuneur
Votes: 24
Popularity: 0.000099
First Submitted: 2015-10-03 15:38 (UTC)
Last Updated: 2024-04-12 20:17 (UTC)

Pinned Comments

goldensuneur commented on 2020-03-02 19:00 (UTC)

I finally had time to investigate the issue. It looks like that as of 11.5, the DesktopVideoHelper.service has to be running for the capture card to work properly.

Latest Comments

« First ‹ Previous 1 .. 12 13 14 15 16 17 18 19 20 21 22 .. 24 Next › Last »

Houtworm commented on 2018-05-10 13:57 (UTC)

I rebooted my pc yesterday, and sadly my decklink device is once again not found.

It was working great on the normal kernel for quite a long time.

I also see it is flagged out of date and there is indeed a newer version.

Sure hope this update fixes the problem,

for now i will try the LTS kernel, i will post back here if that does not work.

Greets

Kiniamaro commented on 2018-03-21 02:18 (UTC) (edited on 2018-03-21 02:19 (UTC) by Kiniamaro)

Just grabbed this, works fine for me, I'm using a PCI Intensity Pro card.

did a little

$ modprobe blackmagic

booted up OBS and the card showed up, plugged in my switch, everything worked, no input delay.

Thanks for this package!

ps: I'm on kernel 4.14.15, hopefully it doesn't stop working after I update, You'll hear from me if it stops working.

Kakashi-sensei commented on 2018-02-12 09:34 (UTC)

This is pretty funny to watch, tbh.

fthiery commented on 2018-02-12 09:32 (UTC)

Okay, so right now linux-lts (which just switched to 4.14) is the only working version.

OniLink commented on 2018-02-09 01:07 (UTC) (edited on 2018-02-09 02:48 (UTC) by OniLink)

TT;DR (too technical, didn't read): Linux 4.15 doesn't work with Blackmagic anymore because it removed some ancient code that Blackmagic still uses.

-

Uninstalled my previous hacky driver install as the Blackmagic was no longer recognized after a reboot. Tried to reinstall with the current version and ran into an error - as of 4.15.1, an old timer interface is removed.

If Blackmagic wants to get their code working on new Linux kernels, they need to replace the end of bm_timer_alloc at bm_util.c line 420 with

timer_setup(timer, (void(*)(bm_timer_t*))callback, 0);

return timer;

instead of the init_timer line and followup. Unfortunately this will break any code using the driver as it breaks expected behavior (data becomes unused, the callback gets sent a pointer to the timer instead), but that's on them. Trying to patch it like this and install leads to a crash as soon as the module blackmagic-io is inserted into the kernel, telling me I missed something probably. I couldn't find any use of this function in the driver code, though. It's likely a problem in Blackmagic's other software expecting certain behavior from the driver which necessarily changes due to this fix.

fthiery commented on 2018-02-01 12:09 (UTC)

I tried to patch dkms.conf to fix the path, but it's still not being called. It looks to be doing depmod && modprobe anyway, which we are also doing.

We need a dkms guru to sed/patch it so that dkms install and dkms remove do work. Currently i'm unsure whether the dkms stuff even has any effect at all (and the install script is doing everything by hand).

If anyone is interested, the files are in /usr/src/blackmagic-10.9.10a2/

I reworked the install script to cleanup better (e.g. remove /usr/src/blackmagic-*); please feedback it the thing also works for you. Seems to work for me. But this package is looking more and more like frankenstein.

fthiery commented on 2018-02-01 11:43 (UTC)

Apparently the dmks script is trying to load the modules

POST_INSTALL="../../lib/blackmagic/blackmagic-loader $PACKAGE_NAME $PACKAGE_VERSION"

The path is wrong, because it's here: /usr/lib/blackmagic/DesktopVideo/blackmagic-loader

So i'm guessing it's not just not executable, but not found at all. We are loading the modules manually anyway and it seems to be working...

Kakashi-sensei commented on 2018-02-01 11:14 (UTC)

To be honest, I haven't had the chance to test it personally. I trust your confirmation.

fthiery commented on 2018-02-01 11:10 (UTC)

I also see the warning, but it does seem to work anyway "Warning: The post_install script is not executable."

@Kakashi-sensei doesn't the board work at all ?