Package Details: decklink 10.9a7-2

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: http://www.blackmagic-design.com/products/
Licenses: custom
Submitter: alub
Maintainer: isopede (fthiery)
Last Packager: fthiery
Votes: 4
Popularity: 0.692700
First Submitted: 2015-10-03 15:38
Last Updated: 2017-05-12 14:44

Latest Comments

fthiery commented on 2017-05-12 14:45

@Houtworm nicely spotted, i trusted Firefox's "copy as curl" (and i shouldnt have). Now the AUR should download back automatically (but not if the file is already downloaded).

They have added user agent and content-type checking

curl 'https://www.blackmagicdesign.com/api/register/us/download/46d65f46d6434b16bd69482b0ca7dba3' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0' -H 'Content-Type: application/json;charset=utf-8' --data '{"country":"us","platform":"Linux"}'

Houtworm commented on 2017-05-10 21:58

I am Using the LTS Kernel, If you want i could try the Non LTS version. I am upgrading to a m.2 ssd anyway :)

Alexander-Prime commented on 2017-05-10 09:44

@fthiery, your request JSON is malformed. Fixing it:

{country":"us","platform":"Linux"} <- before
{"country":"us","platform":"Linux"} <- after

Seems to give the desired response.

fthiery commented on 2017-05-10 07:46

@Houtworm are you using the lts kernel or the latest one ?

Houtworm commented on 2017-05-09 23:47

Thanks fthiery,

It works perfectly now.

Capturing with my Blackmagic Intensity Pro 4K on Arch :)

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

All comments