fthiery, that worked like a charm..
question is; where is the maintainer..
Search Criteria
Package Details: mediaexpress 14.4.1-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/decklink.git (read-only, click to copy) |
---|---|
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: | goldensuneur |
Last Packager: | goldensuneur |
Votes: | 24 |
Popularity: | 0.000000 |
First Submitted: | 2015-10-03 15:38 (UTC) |
Last Updated: | 2025-02-16 11:39 (UTC) |
Dependencies (6)
- decklinkAUR
- glu (glu-gitAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR)
- qt5-svg (qt5-svg-gitAUR)
- curl (curl-gitAUR, curl-c-aresAUR) (make)
Required by (0)
Sources (2)
Excrement commented on 2016-09-15 01:07 (UTC)
fthiery commented on 2016-09-13 10:44 (UTC)
@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 (UTC)
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 (UTC)
yea, im curious whats the status as im getting similar errors
Kakashi-sensei commented on 2016-09-03 11:58 (UTC)
The software was updated on August 1st. Has the issue been solved?
jankoppe commented on 2016-06-24 13:16 (UTC)
@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 (UTC)
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?...
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.