Package Details: decklink 11.2-1

Git Clone URL: https://aur.archlinux.org/decklink.git (read-only)
Package Base: decklink
Description: Drivers for Blackmagic Design DeckLink, Intensity or Multibridge video editing cards
Upstream URL: https://www.blackmagicdesign.com/support/family/capture-and-playback
Licenses: custom
Submitter: alub
Maintainer: fthiery (goldensuneur)
Last Packager: goldensuneur
Votes: 10
Popularity: 1.011799
First Submitted: 2015-10-03 15:38
Last Updated: 2019-05-30 09:26

Latest Comments

« First ‹ Previous ... 3 4 5 6 7 8 9 10 11 Next › Last »

fthiery commented on 2017-05-09 14:50

I replaced the broken download method by a static path (redefine pkgsrc_file after download, by default /tmp/Blackmagic_Desktop_Video_Linux_10.9.tar).

Tried to fake the POST request to https://www.blackmagicdesign.com/api/register/us/download/46d65f46d6434b16bd69482b0ca7dba3 (supposed to return the actual download url) but it always ends up with a 504 GATEWAY_TIMEOUT error.

curl 'https://www.blackmagicdesign.com/api/register/us/download/46d65f46d6434b16bd69482b0ca7dba3' -H 'Host: www.blackmagicdesign.com' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0' -H 'Accept: application/json, text/plain, */*' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Content-Type: application/json;charset=utf-8' -H 'Referer: https://www.blackmagicdesign.com/support/download/9d53d0685c754e728c46d6dd57841fc0/Linux' -H 'Content-Length: 35' -H 'DNT: 1' -H 'Connection: keep-alive' --data '{country":"us","platform":"Linux"}' -v

The request is supposed to return a url like: http://sw.blackmagicdesign.com/DesktopVideo/v10.9/Blackmagic_Desktop_Video_Linux_10.9.tar.gz?Key-Pair-Id=APKAJTKA3ZJMJRQITVEA&Signature=Mc1SBHRRZ59Uklpc7fiUFwiD5z/gAc5QwTeR7rcROCvGvsWUFmaOTretk8XrMBdVCTbCiG7mFQAk2R+kObuDq2E6Rr305AykYFMtvRxsrRo4yXy2qovgeqXBIOrFeYI/DpmQ4BI450+8Y00MhOlV7d0uyKARqpCy+quWUOtnieWn7kSpUh5JElzCHen9/cMYzKpWi8VIFoGxhhgtMtNd25gwUoNk9O5ROGPw67Z1rIR/SUVrwm4PtQeghM/N89SrM6Nf33D0Q82X0UGINIa2GXrMFGQ5gRFjreDRLIXV0zR2tXAtiZ6HwzL9xIBUrwNvXGtXfdudAZ83uhOwlYPlcg==&Expires=1494342304

If anyone succeeds in programmatically getting this url i'll happily integrate it instead.

fthiery commented on 2017-05-09 14:19

Indeed, apparently bmd has improved the download protection, working on it

Houtworm commented on 2017-05-05 03:55

Sadly it does not build, Failed to download.

It gives an error unable to resolve host: invalid request to download.

Also manually downloading the file and putting it in the makepkg folder does not work.

It would be a nice add to the PKGBUILD to search for local files so that the curl download is not necessary whenever blackmagic desides to change urls.

Thanks And Greets

fthiery commented on 2017-04-25 07:57

I know, said it below: you need linux-lts to have the driver working, not the latest linux package.

Joir2000 commented on 2017-04-23 09:34

Over here compilation still fails :

DKMS make.log for blackmagic-io-10.8.6a2 for kernel 4.10.10-1-ARCH (x86_64)
Sun Apr 23 11:26:12 CEST 2017
make -C /lib/modules/4.10.10-1-ARCH/build M=/var/lib/dkms/blackmagic-io/10.8.6a2/build
make[1]: Entering directory '/usr/lib/modules/4.10.10-1-ARCH/build'
LD /var/lib/dkms/blackmagic-io/10.8.6a2/build/built-in.o
CC [M] /var/lib/dkms/blackmagic-io/10.8.6a2/build/bmio_client.o
CC [M] /var/lib/dkms/blackmagic-io/10.8.6a2/build/bmio_dev.o
CC [M] /var/lib/dkms/blackmagic-io/10.8.6a2/build/bmio_device.o
CC [M] /var/lib/dkms/blackmagic-io/10.8.6a2/build/bmio_driver.o
CC [M] /var/lib/dkms/blackmagic-io/10.8.6a2/build/bmio_serial.o
CC [M] /var/lib/dkms/blackmagic-io/10.8.6a2/build/bmio_export.o
CC [M] /var/lib/dkms/blackmagic-io/10.8.6a2/build/bmio_pci_ids.o
CC [M] /var/lib/dkms/blackmagic-io/10.8.6a2/build/bm_locks.o
CC [M] /var/lib/dkms/blackmagic-io/10.8.6a2/build/bm_mm.o
CC [M] /var/lib/dkms/blackmagic-io/10.8.6a2/build/bm_pci.o
/var/lib/dkms/blackmagic-io/10.8.6a2/build/bm_mm.c: In function ‘bm_get_user_pages’:
/var/lib/dkms/blackmagic-io/10.8.6a2/build/bm_mm.c:110:10: error: too few arguments to function ‘get_user_pages_remote’
ret = get_user_pages_remote(task, task->mm, (unsigned long)address & PAGE_MASK, umem->length, write ? FOLL_WRITE : 0, umem->pages, NULL);
^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/blackmagic-io/10.8.6a2/build/bm_mm.c:27:0:
./include/linux/mm.h:1267:6: note: declared here
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^~~~~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:294: /var/lib/dkms/blackmagic-io/10.8.6a2/build/bm_mm.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1490: _module_/var/lib/dkms/blackmagic-io/10.8.6a2/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.10.10-1-ARCH/build'
make: *** [Makefile:47: all] Error 2

fthiery commented on 2017-04-13 16:59

I confirm that it finally works !
gst-launch-1.0 decklinkvideosrc device-number=1 connection=1 mode=16 ! xvimagesink

fthiery commented on 2017-04-13 16:57

After a reboot, the device firmware updater reports the device to be up to date.

fthiery commented on 2017-04-13 16:55

So it still fails on the current linux, but does compile on linux-lts (4.9.22-1-lts). So you need the linux-lts and linux-lts-headers packages.

Device flashing did reportedly fail however, even if the dmesg doesn't report failure

[ 89.800430] blackmagic: loading out-of-tree module taints kernel.
[ 89.800434] blackmagic: module license 'Proprietary' taints kernel.
[ 89.800434] Disabling lock debugging due to kernel taint
[ 89.802668] blackmagic: Loading driver (version: 10.8.6a2)
[ 93.169164] BlackmagicIO: Driver version 10.8.6a2 loading
[ 93.169746] BlackmagicIO: WARNING: The device "DeckLink Duo 2" has firmware that is older than the version shipped with the driver (device: 0x14 driver: 0xcc)
[ 93.169753] BlackmagicIO: Enabled device "DeckLink Duo 2 (1)" x4/5 Gbps (38254df0,510100) FW Date: 03-15 08:29
[ 93.170277] BlackmagicIO: DeckLink Duo 2 (1) as blackmagic!io0 [0000:01:00.0]
[ 93.170278] Probe subdriver ffffffffa0a57320 (serial): ffff8804031d9b40
[ 93.170279] BlackmagicIO: Initialised serial driver for blackmagic!io0
[ 93.170352] BlackmagicIO: WARNING: The device "DeckLink Duo 2" has firmware that is older than the version shipped with the driver (device: 0x14 driver: 0xcc)
[ 93.170357] BlackmagicIO: Enabled device "DeckLink Duo 2 (3)" x4/5 Gbps (38254df2,510101) FW Date: 03-15 08:29
[ 93.170893] BlackmagicIO: DeckLink Duo 2 (3) as blackmagic!io1 [0000:01:00.0]
[ 93.170894] Probe subdriver ffffffffa0a57320 (serial): ffff8803b57843c0
[ 93.170895] BlackmagicIO: Initialised serial driver for blackmagic!io1
[ 93.170984] BlackmagicIO: WARNING: The device "DeckLink Duo 2" has firmware that is older than the version shipped with the driver (device: 0x14 driver: 0xcc)
[ 93.170990] BlackmagicIO: Enabled device "DeckLink Duo 2 (2)" x4/5 Gbps (38254df1,510102) FW Date: 03-15 08:29
[ 93.171565] BlackmagicIO: DeckLink Duo 2 (2) as blackmagic!io2 [0000:01:00.0]
[ 93.171566] Probe subdriver ffffffffa0a57320 (serial): ffff88037c6279c0
[ 93.171566] BlackmagicIO: Initialised serial driver for blackmagic!io2
[ 93.171657] BlackmagicIO: WARNING: The device "DeckLink Duo 2" has firmware that is older than the version shipped with the driver (device: 0x14 driver: 0xcc)
[ 93.171663] BlackmagicIO: Enabled device "DeckLink Duo 2 (4)" x4/5 Gbps (38254df3,510103) FW Date: 03-15 08:29
[ 93.172266] BlackmagicIO: DeckLink Duo 2 (4) as blackmagic!io3 [0000:01:00.0]
[ 93.172267] Probe subdriver ffffffffa0a57320 (serial): ffff8803b5755000
[ 93.172267] BlackmagicIO: Initialised serial driver for blackmagic!io3
[ 97.703260] BlackmagicIO: Start programming firmware (SPI)
[ 116.623785] device-mapper: uevent: version 1.0.3
[ 116.623843] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[ 129.644274] BlackmagicIO: Completed programming firmware

fthiery commented on 2017-04-13 16:41

Got news: "I am pleased to advise that the recently released Desktop Video 10.8.6 includes the correction for the compilation issue on kernel 4.9+."

Testing now

daren commented on 2017-03-03 20:21

Damn, they should hopefully fix it when Debian/Ubuntu relase the new versions with kernels >= 4.8.