Package Details: mediaexpress 12.8.1-1

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.000239
First Submitted: 2015-10-03 15:38 (UTC)
Last Updated: 2024-03-11 21:19 (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

1 2 3 4 5 6 .. 24 Next › Last »

goldensuneur commented on 2024-03-11 21:26 (UTC)

Thanks I missed this version in their RSS feed. I pushed a new version with simple patches for the build. As usual it builds on my machine but I cannot test it.

icedream commented on 2024-03-11 17:18 (UTC)

Got 12.8.1 with the following patch (hence will mark the package as outdated) but unfortunately it still fails on kernel 6.8.0.

diff --git a/PKGBUILD b/PKGBUILD
index df5908e..2ca4373 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,3 +4,3 @@ pkgname=(decklink mediaexpress)
 _pkgname=decklink
-pkgver=12.7
+pkgver=12.8.1
 pkgrel=1
@@ -16,3 +16,3 @@ options=('!strip' 'staticlibs')

-_pkgsrc_url="https://www.blackmagicdesign.com/api/register/us/download/b94e51eb5c6c45c48a04b09b72989448"
+_pkgsrc_url="https://www.blackmagicdesign.com/api/register/us/download/0636d85539fd4446a24f5952223cc1ec"
 _pkgsrc_file=${_pkgname}-${pkgver}.tar.gz
@@ -33,3 +33,3 @@ source=("${_pkgsrc_file}"::"${_pkgsrc_url}"
     )
-sha256sums=('71c8b827e80f2c42e742acf0239fca173261eb7afe31c34944ffe30176226a14')
+sha256sums=('aff42d039fe1d1fbe5c5df61f0b2434a75067a4e3c861a705dff5f4083e60c02')

icedream commented on 2024-03-11 17:13 (UTC)

Fails with kernel 6.8.0, I suppose this needs a new version or a patch:

/var/lib/dkms/blackmagic-io/12.7a4/build/bm_locks.c: In function ‘bm_mutex_alloc’:
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_locks.c:178:9: error: implicit declaration of function ‘mutex_init’; did you mean ‘bm_util_init’? [-Werror=implicit-function-declaration]
  178 |         mutex_init(mutex);
      |         ^~~~~~~~~~
      |         bm_util_init
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_locks.c: In function ‘bm_mutex_lock’:
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_locks.c:189:9: error: implicit declaration of function ‘mutex_lock’; did you mean ‘bm_mutex_lock’? [-Werror=implicit-function-declaration]
  189 |         mutex_lock(mutex);
      |         ^~~~~~~~~~
      |         bm_mutex_lock
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_locks.c: In function ‘bm_mutex_trylock’:
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_locks.c:194:17: error: implicit declaration of function ‘mutex_trylock’; did you mean ‘bm_mutex_trylock’? [-Werror=implicit-function-declaration]
  194 |         return (mutex_trylock(mutex) != 0);
      |                 ^~~~~~~~~~~~~
      |                 bm_mutex_trylock
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_locks.c: In function ‘bm_mutex_unlock’:
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_locks.c:199:9: error: implicit declaration of function ‘mutex_unlock’; did you mean ‘bm_mutex_unlock’? [-Werror=implicit-function-declaration]
  199 |         mutex_unlock(mutex);
      |         ^~~~~~~~~~~~
      |         bm_mutex_unlock
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/blackmagic-io/12.7a4/build/bm_locks.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_util.c: In function ‘bm_alloc_aligned’:
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_util.c:140:37: error: ‘MAX_ORDER’ undeclared (first use in this function)
  140 |         if (get_order(alloc_size) < MAX_ORDER)
      |                                     ^~~~~~~~~
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_util.c:140:37: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_util.c: At top level:
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_util.c:535:13: warning: no previous prototype for ‘get_event’ [-Wmissing-prototypes]
  535 | bm_event_t* get_event(void* event, bool create)
      |             ^~~~~~~~~
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_util.c:575:6: warning: no previous prototype for ‘put_event’ [-Wmissing-prototypes]
  575 | void put_event(bm_event_t* ev)
      |      ^~~~~~~~~
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/blackmagic-io/12.7a4/build/bm_util.o] Error 1
In file included from ./include/linux/pci.h:2688,
                 from /var/lib/dkms/blackmagic-io/12.7a4/build/bm_mm.c:31:
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_mm.c: In function ‘bm_dma_sg_bus_map’:
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_mm.c:240:84: warning: implicit conversion from ‘bm_dma_direction_t’ {aka ‘enum bm_dma_direction’} to ‘enum dma_data_direction’ [-Wenum-conversion]
  240 |         int nents = dma_map_sg(&pci->pdev->dev, sgTable->sgl, sgTable->orig_nents, dir);
      |                                                                                    ^~~
./include/linux/dma-mapping.h:419:58: note: in definition of macro ‘dma_map_sg’
  419 | #define dma_map_sg(d, s, n, r) dma_map_sg_attrs(d, s, n, r, 0)
      |                                                          ^
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_mm.c: In function ‘bm_dma_sg_bus_unmap’:
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_mm.c:257:74: warning: implicit conversion from ‘bm_dma_direction_t’ {aka ‘enum bm_dma_direction’} to ‘enum dma_data_direction’ [-Wenum-conversion]
  257 |         dma_unmap_sg(&pci->pdev->dev, sgTable->sgl, sgTable->orig_nents, dir);
      |                                                                          ^~~
./include/linux/dma-mapping.h:420:62: note: in definition of macro ‘dma_unmap_sg’
  420 | #define dma_unmap_sg(d, s, n, r) dma_unmap_sg_attrs(d, s, n, r, 0)
      |                                                              ^
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_mm.c: In function ‘bm_dma_bus_map_kernel_subpage’:
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_mm.c:344:72: warning: implicit conversion from ‘bm_dma_direction_t’ {aka ‘enum bm_dma_direction’} to ‘enum dma_data_direction’ [-Wenum-conversion]
  344 |         subpage->busAddr = dma_map_single(&pci->pdev->dev, addr, size, dir);
      |                                                                        ^~~
./include/linux/dma-mapping.h:417:66: note: in definition of macro ‘dma_map_single’
  417 | #define dma_map_single(d, a, s, r) dma_map_single_attrs(d, a, s, r, 0)
      |                                                                  ^
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_mm.c: In function ‘bm_dma_bus_unmap_kernel_subpage’:
/var/lib/dkms/blackmagic-io/12.7a4/build/bm_mm.c:357:76: warning: implicit conversion from ‘bm_dma_direction_t’ {aka ‘enum bm_dma_direction’} to ‘enum dma_data_direction’ [-Wenum-conversion]
  357 |         dma_unmap_single(&pci->pdev->dev, subpage->busAddr, subpage->size, dir);
      |                                                                            ^~~
./include/linux/dma-mapping.h:418:70: note: in definition of macro ‘dma_unmap_single’
  418 | #define dma_unmap_single(d, a, s, r) dma_unmap_single_attrs(d, a, s, r, 0)
      |                                                                      ^

sleduc commented on 2023-09-26 08:09 (UTC)

Ok that's great, indeed it works with the latest version, thanks for the update !

goldensuneur commented on 2023-09-26 08:02 (UTC)

Latest version released today by Blackmagic fixes the build issue.

sleduc commented on 2023-09-25 10:28 (UTC)

Hello,

The package does not build any more with kernel >= 6.5.0 due to some kernel API change : see error in https://pastebin.com/3UmdRxhx

Parameter 'vmas' was removed from functions 'get_user_pages' and 'get_user_pages_remote', since 6.5-rc1: https://lore.kernel.org/lkml/20230626085035.e66992e96b4c6d37dad54bd9@linux-foundation.org/

The following patch seems to be fixing the issue : https://pastebin.com/FZVwR181

ToadKing commented on 2023-06-28 22:44 (UTC)

@YAOMTC If the user has an alternative kernel installed they would have a different header package. See the dependencies for dkms. It is up to the user to also have the appropriate header package installed for dkms.

YAOMTC commented on 2023-06-28 22:31 (UTC)

Shouldn't linux-headers be a dependency here? Won't work without it.

goldensuneur commented on 2023-01-06 22:36 (UTC)

If not already done you should consider sending the segfault trace to Blackmagic support. This is not the kind of fix I can do without working hardware on hand. Especially if the problem is within the binary blob they provide.

tjb0607 commented on 2023-01-06 21:56 (UTC)

I'm running on an Intel CPU, and I needed to set the kernel parameter ibt=off to fix the segfault reinis mentioned. Seems similar to https://github.com/NVIDIA/open-gpu-kernel-modules/issues/256