Package Details: decklink 10.8.2a4-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: http://www.blackmagic-design.com/products/
Licenses: custom
Submitter: alub
Maintainer: isopede (fthiery)
Last Packager: fthiery
Votes: 3
Popularity: 0.249600
First Submitted: 2015-10-03 15:38
Last Updated: 2016-11-10 10:57

Latest Comments

fthiery commented on 2016-11-11 17:50

Good news, they reproduced the issue. There's hope ;)

fthiery commented on 2016-11-10 09:53

Got a response, they can't reproduce on Ubuntu 16.04 with v4.8.2 Mainline PPA Build. I'll keep you posted

shiggitay commented on 2016-10-23 12:18

DarenK, yeah. I also upgraded the kernel to 4.8. I'm just about to rollback to 4.7 if I can.

fthiery commented on 2016-10-21 11:14

I sent an email to developer-pro@blackmagicdesign.com, still no response

DarenK commented on 2016-10-20 20:42

Damn, I updated the kernel and didn't think the drivers would malfunction. Any updates?

fthiery commented on 2016-10-19 08:36

Apparently even the latest version crashes on 4.8.2-1-ARCH at boot

oct. 19 10:32:18 mymachine.mynetwork.net kernel: usercopy: kernel memory overwrite attempt detected to ffff8803ccabfe10 (<process stack>) (16 bytes)
oct. 19 10:32:18 mymachine.mynetwork.net kernel: ------------[ cut here ]------------
oct. 19 10:32:18 mymachine.mynetwork.net kernel: kernel BUG at mm/usercopy.c:75!
oct. 19 10:32:18 mymachine.mynetwork.net kernel: invalid opcode: 0000 [#5] PREEMPT SMP
oct. 19 10:32:18 mymachine.mynetwork.net kernel: Modules linked in: fuse nfsv3 nfs_acl rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 dns_resolver nfs lockd grace sunrpc fscache snd_hda_codec_hdmi snd_hda_codec_re
oct. 19 10:32:18 mymachine.mynetwork.net kernel: evdev tpm_tis acpi_pad mac_hid tpm_tis_core tpm sch_fq_codel vboxnetflt(O) vboxnetadp(O) pci_stub vboxpci(O) vboxdrv(O) ip_tables x_tables ext4 crc16 jbd2 fscrypto
oct. 19 10:32:18 mymachine.mynetwork.net kernel: CPU: 3 PID: 958 Comm: BlackmagicFirmw Tainted: P D O 4.8.2-1-ARCH #1
oct. 19 10:32:18 mymachine.mynetwork.net kernel: Hardware name: ASUS All Series/H97M-PLUS, BIOS 2603 02/22/2016
oct. 19 10:32:18 mymachine.mynetwork.net kernel: task: ffff8803ccac2ac0 task.stack: ffff8803ccabc000
oct. 19 10:32:18 mymachine.mynetwork.net kernel: RIP: 0010:[<ffffffff81205e3f>] [<ffffffff81205e3f>] __check_object_size+0x13f/0x1d6
oct. 19 10:32:18 mymachine.mynetwork.net kernel: RSP: 0018:ffff8803ccabfd98 EFLAGS: 00010282
oct. 19 10:32:18 mymachine.mynetwork.net kernel: RAX: 0000000000000063 RBX: ffff8803ccabfe10 RCX: 0000000000000000
oct. 19 10:32:18 mymachine.mynetwork.net kernel: RDX: 0000000000000000 RSI: ffff88041facdba8 RDI: ffff88041facdba8
oct. 19 10:32:18 mymachine.mynetwork.net kernel: RBP: ffff8803ccabfdb8 R08: 000000000009dd9f R09: 0000000000000005
oct. 19 10:32:18 mymachine.mynetwork.net kernel: R10: 0000000000000541 R11: 0000000000000381 R12: 0000000000000010
oct. 19 10:32:18 mymachine.mynetwork.net kernel: R13: 0000000000000000 R14: ffff8803ccabfe20 R15: 00007fff8fa12320
oct. 19 10:32:18 mymachine.mynetwork.net kernel: FS: 00007f401049f4c0(0000) GS:ffff88041fac0000(0000) knlGS:0000000000000000
oct. 19 10:32:18 mymachine.mynetwork.net kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
oct. 19 10:32:18 mymachine.mynetwork.net kernel: CR2: 00000000016c7028 CR3: 00000003cc856000 CR4: 00000000001406e0
oct. 19 10:32:18 mymachine.mynetwork.net kernel: Stack:
oct. 19 10:32:18 mymachine.mynetwork.net kernel: ffff8803ccabfe10 0000000000000010 00007fff8fa12320 ffff8803dfb99e00
oct. 19 10:32:18 mymachine.mynetwork.net kernel: ffff8803ccabfde0 ffffffffa0680b90 ffff8803ccabfe10 00007fff8fa12320
oct. 19 10:32:18 mymachine.mynetwork.net kernel: ffff88040c66d628 ffff8803d47dc800 ffffffffa067c83d 0000000000000001
oct. 19 10:32:18 mymachine.mynetwork.net kernel: Call Trace:
oct. 19 10:32:18 mymachine.mynetwork.net kernel: [<ffffffffa0680b90>] bm_copy_from_user+0x20/0x40 [blackmagic_io]
oct. 19 10:32:18 mymachine.mynetwork.net kernel: [<ffffffffa067c83d>] _ZN18IoctlMessageKernel6unpackEv+0x3d/0x140 [blackmagic_io]
oct. 19 10:32:18 mymachine.mynetwork.net kernel: [<ffffffffa064566a>] ? _ZN20UserClientClassLinux5ioctlEjm+0x6a/0xa0 [blackmagic_io]
oct. 19 10:32:18 mymachine.mynetwork.net kernel: [<ffffffff811b3cfe>] ? handle_mm_fault+0x3ee/0x14a0
oct. 19 10:32:18 mymachine.mynetwork.net kernel: [<ffffffffa067cc8a>] ? bmio_ioctl+0x1a/0x30 [blackmagic_io]
oct. 19 10:32:18 mymachine.mynetwork.net kernel: [<ffffffff8121c313>] ? do_vfs_ioctl+0xa3/0x5f0
oct. 19 10:32:18 mymachine.mynetwork.net kernel: [<ffffffff81227547>] ? __fget+0x77/0xb0
oct. 19 10:32:18 mymachine.mynetwork.net kernel: [<ffffffff8121c8d9>] ? SyS_ioctl+0x79/0x90
oct. 19 10:32:18 mymachine.mynetwork.net kernel: [<ffffffff815f7cf2>] ? entry_SYSCALL_64_fastpath+0x1a/0xa4
oct. 19 10:32:18 mymachine.mynetwork.net kernel: Code: 87 71 81 48 0f 45 d0 48 c7 c6 60 a5 72 81 48 c7 c0 db 43 73 81 48 0f 45 f0 4d 89 e1 48 89 d9 48 c7 c7 18 0d 73 81 e8 67 02 f7 ff <0f> 0b 48 89 df e8 77 76 e6
oct. 19 10:32:18 mymachine.mynetwork.net kernel: RIP [<ffffffff81205e3f>] __check_object_size+0x13f/0x1d6
oct. 19 10:32:18 mymachine.mynetwork.net kernel: RSP <ffff8803ccabfd98>
oct. 19 10:32:18 mymachine.mynetwork.net kernel: ---[ end trace 0139f39ddae78683 ]---

fthiery commented on 2016-09-20 15:00

I think that pulseaudio is using the snd_blackmagic_io module, therefore preventing it from being unloaded.

Kakashi-sensei commented on 2016-09-18 09:23

:: Running post-transaction hooks...
(1/3) Install DKMS modules
==> dkms install -m blackmagic -v 10.8a2 -k 4.7.4-1-ARCH
==> dkms install -m blackmagic -v 10.8a2 -k 4.7.4-1-ck

Good news! Module version 10.8a2 for blackmagic.ko
exactly matches what is already found in kernel 4.7.4-1-ck.
DKMS will not replace this module.
You may override by specifying --force.
==> dkms install -m blackmagic-io -v 10.8a2 -k 4.7.4-1-ARCH
==> dkms install -m blackmagic-io -v 10.8a2 -k 4.7.4-1-ck

Good news! Module version 10.8a2 for blackmagic-io.ko
exactly matches what is already found in kernel 4.7.4-1-ck.
DKMS will not replace this module.
You may override by specifying --force.

Good news! Module version 10.8a2 for snd_blackmagic-io.ko
exactly matches what is already found in kernel 4.7.4-1-ck.
DKMS will not replace this module.
You may override by specifying --force.
modprobe: FATAL: Module blackmagic_io is in use.
ERR The existing blackmagic-io driver was not able to be unloaded
ERR Please check 'dmesg' for more information

isopede commented on 2016-09-16 18:59

Updated to 10.8a2.

fthiery commented on 2016-09-16 10:15

I sent him an email

Excrement commented on 2016-09-15 01:07

fthiery, that worked like a charm..

question is; where is the maintainer..

fthiery commented on 2016-09-13 10:44

@Maintainer, compilation works if updated to the 10.8, here is a working PKGFILE

# Maintainer: Perry Hung <perry@leaflabs.com>

pkgname=decklink
_dvver=10.8a2 # DesktopVideo
_mever=3.5.2a2 # MediaExpress
pkgver=${_dvver}
pkgrel=1
pkgdesc="Drivers for Blackmagic Design DeckLink, Intensity or Multibridge video editing cards"
arch=('i686' 'x86_64')
url="http://www.blackmagic-design.com/products/"
license=('custom')
makedepends=('curl')
depends=('linux-headers' 'libxml2' 'libpng12' 'glu' 'qt4')
options=('!strip' 'staticlibs')
install='decklink.install'

[ "$CARCH" = "i686" ] && _arch='i386'
[ "$CARCH" = "x86_64" ] && _arch='x86_64'

pkgsrc_url="https://www.blackmagicdesign.com/api/register/en/download/73a8a96378d2459182251738aa516d63"
pkgsrc_file=$pkgname-${_dvver}.tar.gz
pkgsrc_sha256sum="09d3593b2fd499bdeb794e1cea3972c0dcd997d08eedbe959ea5965d18983268"

prepare() {
temp_url=`curl --data '{country":"us","platform":"Linux"}' $pkgsrc_url`
curl -o $pkgsrc_file $temp_url
shasum=`sha256sum $pkgsrc_file | cut -d " " -f1`
[ "${shasum}" != "${pkgsrc_sha256sum}" ] && ( echo "Integrity check failed."; exit 1 )
tar xf ${pkgsrc_file}
}

package() {
mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
ln -s /usr/share/doc/desktopvideo/License.txt "$pkgdir/usr/share/licenses/$pkgname/COPYING"

cd "$srcdir/Blackmagic_Desktop_Video_Linux_${pkgver%a*}/other/${_arch}"

tar xf "desktopvideo-${_dvver}-${_arch}.tar.gz"
cp -a "desktopvideo-${_dvver}-${_arch}/"* "$pkgdir"
mv "$pkgdir/usr/sbin/"* "$pkgdir/usr/bin"
rm -rf "$pkgdir/usr/sbin"

tar xf "mediaexpress-${_mever}-${_arch}.tar.gz"
cp -a "mediaexpress-${_mever}-${_arch}/"* "$pkgdir"
}

Deepcool commented on 2016-09-10 20:07

It appears I was able to install using linux kernel 4.4-lts.
During the install it complained about linux Kernel 4.7
Here is some additional information.
==> Continue installing decklink ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==> y

loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) decklink-10.6.7a1-1

Total Installed Size: 155.28 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [#########################] 100%
(1/1) checking package integrity [#########################] 100%
(1/1) loading package files [#########################] 100%
(1/1) checking for file conflicts [#########################] 100%
(1/1) checking available disk space [#########################] 100%
:: Processing package changes...
(1/1) installing decklink [#########################] 100%
warning: directory permissions differ on /usr/
filesystem: 755 package: 775
warning: directory permissions differ on /usr/share/
filesystem: 755 package: 775
warning: directory permissions differ on /usr/share/doc/
filesystem: 755 package: 775
make -C /lib/modules/`uname -r`/build M=/usr/src/blackmagic-10.6.7a1
make[1]: Entering directory '/usr/lib/modules/4.4.19-1-lts/build'
LD /usr/src/blackmagic-10.6.7a1/built-in.o
CC [M] /usr/src/blackmagic-10.6.7a1/blackmagic_serial.o
CC [M] /usr/src/blackmagic-10.6.7a1/blackmagic_core.o
CC [M] /usr/src/blackmagic-10.6.7a1/blackmagic_lib.o
CC [M] /usr/src/blackmagic-10.6.7a1/blackmagic_dma.o
CC [M] /usr/src/blackmagic-10.6.7a1/blackmagic_gate.o
LD [M] /usr/src/blackmagic-10.6.7a1/blackmagic.o
Building modules, stage 2.
MODPOST 1 modules
CC /usr/src/blackmagic-10.6.7a1/blackmagic.mod.o
LD [M] /usr/src/blackmagic-10.6.7a1/blackmagic.ko
make[1]: Leaving directory '/usr/lib/modules/4.4.19-1-lts/build'
rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions built-in.o Module.symvers Module.markers modules.order
make -C /lib/modules/`uname -r`/build M=/usr/src/blackmagic-io-10.6.7a1
make[1]: Entering directory '/usr/lib/modules/4.4.19-1-lts/build'
LD /usr/src/blackmagic-io-10.6.7a1/built-in.o
CC [M] /usr/src/blackmagic-io-10.6.7a1/bmio_client.o
CC [M] /usr/src/blackmagic-io-10.6.7a1/bmio_dev.o
CC [M] /usr/src/blackmagic-io-10.6.7a1/bmio_device.o
CC [M] /usr/src/blackmagic-io-10.6.7a1/bmio_driver.o
CC [M] /usr/src/blackmagic-io-10.6.7a1/bmio_serial.o
CC [M] /usr/src/blackmagic-io-10.6.7a1/bmio_export.o
CC [M] /usr/src/blackmagic-io-10.6.7a1/bmio_pci_ids.o
CC [M] /usr/src/blackmagic-io-10.6.7a1/bm_locks.o
CC [M] /usr/src/blackmagic-io-10.6.7a1/bm_mm.o
CC [M] /usr/src/blackmagic-io-10.6.7a1/bm_pci.o
CC [M] /usr/src/blackmagic-io-10.6.7a1/bm_util.o
LD [M] /usr/src/blackmagic-io-10.6.7a1/blackmagic-io.o
CC [M] /usr/src/blackmagic-io-10.6.7a1/bmio_audio.o
LD [M] /usr/src/blackmagic-io-10.6.7a1/snd_blackmagic-io.o
Building modules, stage 2.
MODPOST 2 modules
CC /usr/src/blackmagic-io-10.6.7a1/blackmagic-io.mod.o
LD [M] /usr/src/blackmagic-io-10.6.7a1/blackmagic-io.ko
CC /usr/src/blackmagic-io-10.6.7a1/snd_blackmagic-io.mod.o
LD [M] /usr/src/blackmagic-io-10.6.7a1/snd_blackmagic-io.ko
make[1]: Leaving directory '/usr/lib/modules/4.4.19-1-lts/build'
>>> Updating module dependencies. Please wait...
>>> Loading modules...
:: Running post-transaction hooks...
(1/3) Install DKMS modules
==> dkms install -m blackmagic -v 10.6.7a1 -k 4.4.19-1-lts

Good news! Module version 10.6.7a1 for blackmagic.ko
exactly matches what is already found in kernel 4.4.19-1-lts.
DKMS will not replace this module.
You may override by specifying --force.
==> No kernel 4.7.1-1-ARCH headers. You must install them to use DKMS!
==> No kernel 4.7.2-1-ARCH modules. You must install them to use DKMS!
==> dkms install -m blackmagic-io -v 10.6.7a1 -k 4.4.19-1-lts

Good news! Module version 10.6.7a1 for blackmagic-io.ko
exactly matches what is already found in kernel 4.4.19-1-lts.
DKMS will not replace this module.
You may override by specifying --force.

Good news! Module version 10.6.7a1 for snd_blackmagic-io.ko
exactly matches what is already found in kernel 4.4.19-1-lts.
DKMS will not replace this module.
You may override by specifying --force.
modprobe: FATAL: Module blackmagic_io is in use.
ERR The existing blackmagic-io driver was not able to be unloaded
ERR Please check 'dmesg' for more information
==> No kernel 4.7.1-1-ARCH headers. You must install them to use DKMS!
==> No kernel 4.7.2-1-ARCH modules. You must install them to use DKMS!
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...
 dmbomer  ~  

Excrement commented on 2016-09-08 16:23

yea, im curious whats the status as im getting similar errors

Kakashi-sensei commented on 2016-09-03 11:58

The software was updated on August 1st. Has the issue been solved?

jankoppe commented on 2016-06-24 13:16

@rstoye This is a problem with the decklink driver itself, and can only be fixed by blackmagic. I've already contacted the blackmagic development departement, so that they look into it.

rstoye commented on 2016-06-24 00:50

doesn't compile with linux-4.6.2-1-x86_64.pkg.tar.xz
had to downgrade to linux-4.5.4-1-x86_64.pkg.tar.xz

errors encountered:
pacman -U decklink-10.6.7a1-1-x86_64.pkg.tar.xz
...
/usr/src/blackmagic-10.6.7a1/blackmagic_lib.c/usr/src/blackmagic-10.6.7a1/blackmagic_lib.c:674:8: Fehler: zu viele Argumente für Funktion »get_user_pages«
ret = get_user_pages(current_task,
...
/usr/src/blackmagic-10.6.7a1/blackmagic_lib.c:704:3: Fehler: Implizite Deklaration der Funktion »page_cache_release«

both are related to kernel changes:
get_user_pages gets 6 Parameters now (the first two are defaults now, so maybe it should be changed to:
ret = get_user_pages((unsigned long)ptr & PAGE_MASK,
*nr_pages, write, 0, pages, NULL);

2nd problem:
/usr/src/blackmagic-10.6.7a1/blackmagic_lib.c:704:3: Fehler: Implizite Deklaration der Funktion »page_cache_release«
thats because page_cache_release was renamed to put_page

sadly i am a newbie regarding ARCH, so maybe someone else can fix it?...