Package Details: magewell-pro-capture-dkms 1.3.4420-1

Git Clone URL: https://aur.archlinux.org/magewell-pro-capture-dkms.git (read-only, click to copy)
Package Base: magewell-pro-capture-dkms
Description: Driver for Magewell Pro Capture Family
Upstream URL: https://www.magewell.com/downloads/pro-capture#/driver/linux-x86
Licenses: unknown
Conflicts: magewell-pro-capture
Submitter: Jat
Maintainer: Jat
Last Packager: Jat
Votes: 7
Popularity: 0.000003
First Submitted: 2020-06-10 04:41 (UTC)
Last Updated: 2025-07-01 08:09 (UTC)

Latest Comments

1 2 3 4 Next › Last »

Taithrah commented on 2026-01-09 07:34 (UTC)

@DonMobliano

This was a recently fixed with 1.3.4429 "Fix the issue that driver installation on a Linux kernel system (6.16 or 6.18) may fail."

https://www.magewell.com/files/drivers/ProCaptureForLinux_1.3.4429.tar.gz

The change was to ospi-linux.c

DonMobliano commented on 2025-12-11 23:56 (UTC)

I'm trying to install this on a recently updated cachyos install running kernel 6.18, and it's failing due to a call to a deprecated function from_timer. It looks like this function has been renamed to timer_container_of? https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/104

make.log:

DKMS (dkms-3.3.0) make.log for magewell-pro-capture/4420 for kernel 6.18.0-3-cachyos (x86_64)
Thu Dec 11 03:45:59 PM PST 2025

Building module(s)
# command: make -j72 KERNELRELEASE=6.18.0-3-cachyos LLVM=1
cp ProCaptureLib_64.lib ProCaptureLib.o
touch .ProCaptureLib.o.cmd
make -C /lib/modules/6.18.0-3-cachyos/build M=/var/lib/dkms/magewell-pro-capture/4420/build modules
make[1]: Entering directory '/usr/lib/modules/6.18.0-3-cachyos/build'
make[2]: Entering directory '/var/lib/dkms/magewell-pro-capture/4420/build'
  CC [M]  sources/dma/mw-dma-mem.o
  CC [M]  sources/dma/mw-dma-user.o
  CC [M]  sources/dma/mw-dma-kernel.o
  CC [M]  sources/dma/mw-dma-phy.o
  CC [M]  sources/ospi/ospi-linux.o
  CC [M]  sources/ospi/linux-file.o
  CC [M]  sources/avstream/v4l2-sg-buf.o
  CC [M]  sources/avstream/v4l2.o
  CC [M]  sources/avstream/mw-event-ioctl.o
  CC [M]  sources/avstream/mw-event-dev.o
  CC [M]  sources/avstream/alsa.o
  CC [M]  sources/avstream/capture.o
sources/ospi/ospi-linux.c:146:22: error: call to undeclared function 'from_timer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  146 |     os_timer timer = from_timer(timer, t, k_timer);
      |                      ^
sources/ospi/ospi-linux.c:146:22: note: did you mean 'mod_timer'?
/usr/lib/modules/6.18.0-3-cachyos/build/include/linux/timer.h:151:12: note: 'mod_timer' declared here
  151 | extern int mod_timer(struct timer_list *timer, unsigned long expires);
      |            ^
sources/ospi/ospi-linux.c:146:43: error: use of undeclared identifier 'k_timer'
  146 |     os_timer timer = from_timer(timer, t, k_timer);
      |                                           ^~~~~~~
2 errors generated.
make[4]: *** [/usr/lib/modules/6.18.0-3-cachyos/build/scripts/Makefile.build:287: sources/ospi/ospi-linux.o] Error 1
make[4]: *** Waiting for unfinished jobs....
sources/avstream/v4l2.c:961:12: warning: unused function 'vidioc_g_ctrl' [-Wunused-function]
  961 | static int vidioc_g_ctrl(struct file *file, void *priv,
      |            ^~~~~~~~~~~~~
sources/avstream/v4l2.c:989:12: warning: unused function 'vidioc_s_ctrl' [-Wunused-function]
  989 | static int vidioc_s_ctrl(struct file *file, void *priv,
      |            ^~~~~~~~~~~~~
2 warnings generated.
make[3]: *** [/usr/lib/modules/6.18.0-3-cachyos/build/Makefile:2016: .] Error 2
make[2]: *** [/usr/lib/modules/6.18.0-3-cachyos/build/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/magewell-pro-capture/4420/build'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.18.0-3-cachyos/build'
make: *** [Makefile:33: all] Error 2

# exit code: 2
# elapsed time: 00:00:01
----------------------------------------------------------------

Taithrah commented on 2025-11-27 17:08 (UTC) (edited on 2025-12-12 03:30 (UTC) by Taithrah)

@chenxiaolong Unfortunately I only have a Pro Capture Dual HDMI to test, but it works fine for me on 1.3.4490 when I use mwcap-info -i /dev/video0

Trimmed output, and hide my serial.

mwcap-info -i /dev/video0
Device
  Family name ............................ Pro Capture
  Product name ........................... Pro Capture Dual HDMI
  Firmware name .......................... High Performance Firmware
  Serial number .......................... 
  Hardware version ....................... B
  Firmware version ....................... 1.31
  Driver version ......................... 1.3.4490
  Board ID ............................... 0
  Channel ID ............................. 0
  Bus address ............................ bus 120, device 0
  PCIe speed ............................. gen 2
  PCIe width ............................. x1
  Max playload size ...................... 256 Bytes
  Max read request szie .................. 256 Bytes
  Total memory size ...................... 128 MB
  Free memory size ....................... 33 MB
  Max input resolution ................... 2048x2160
  Max output resolution .................. 2048x2160
  Chipset temperature .................... 72.3ºC

chenxiaolong commented on 2025-11-11 19:35 (UTC)

I'm not sure if it affects other models, but for model 11153, version 1.3.4490 does not work. mwcap-info fails to read the serial number and the attached device does not see a display connected. Had to downgrade back to 1.3.4420.

(Model 11153 is the (much) cheaper fanless version of the Pro Capture HDMI 4K Plus available on Ebay that likely was never officially sold to consumers. It's reported as hardware version Y in mwcap-info -i.)

chenxiaolong commented on 2025-11-07 23:29 (UTC)

Oh awesome. Looks like they pulled in both of my 6.16 patches verbatim.

1.3.4490 is still under a proprietary license, but it seems to have the full source code for the kernel module portion now. Previously, it was linked against a precompiled ProCaptureLib_64.lib or ProCaptureLib_32.lib binary blob.

Taithrah commented on 2025-11-07 10:45 (UTC)

- Fix compatibility issues with some 5.x kernel versions.
- Add support for 6.15/6.16 kernel versions.

https://www.magewell.com/files/drivers/ProCaptureForLinuxPUBLIC_1.3.4490.tar.gz

finw commented on 2025-08-04 17:20 (UTC)

I went ahead and tested out your patch, and I can confirm that it compiles and works properly now! I don't even get the weird crashes I've been getting in OBS anymore. It would be awesome to have your patches implemented in this aur package. :O

chenxiaolong commented on 2025-08-04 04:26 (UTC)

I added support for 6.16 in my Fedora package. Feel free to use the patch: https://github.com/chenxiaolong/fedora-packages/commit/72bbfad1b4b9f681ca327fb2b36c5c07416eca38

finw commented on 2025-08-04 02:52 (UTC) (edited on 2025-08-04 02:55 (UTC) by finw)

Unfortunately this seems to no longer compile under kernel version 6.16. This is the error I get now. Not sure if anyone has a workaround for this.

DKMS (dkms-3.2.1) make.log for magewell-pro-capture/4420 for kernel 6.16.0-5-cachyos (x86_64)
Sun Aug  3 07:48:33 PM PDT 2025

Building module(s)
# command: make -j12 KERNELRELEASE=6.16.0-5-cachyos
cp ProCaptureLib_64.lib ProCaptureLib.o
touch .ProCaptureLib.o.cmd
make -C /lib/modules/6.16.0-5-cachyos/build M=/var/lib/dkms/magewell-pro-capture/4420/build modules
make[1]: Entering directory '/usr/lib/modules/6.16.0-5-cachyos/build'
make[2]: Entering directory '/var/lib/dkms/magewell-pro-capture/4420/build'
  CC [M]  sources/dma/mw-dma-mem.o
  CC [M]  sources/dma/mw-dma-user.o
  CC [M]  sources/dma/mw-dma-kernel.o
  CC [M]  sources/dma/mw-dma-phy.o
  CC [M]  sources/ospi/ospi-linux.o
  CC [M]  sources/ospi/linux-file.o
  CC [M]  sources/avstream/v4l2.o
  CC [M]  sources/avstream/v4l2-sg-buf.o
  CC [M]  sources/avstream/mw-event-dev.o
  CC [M]  sources/avstream/mw-event-ioctl.o
  CC [M]  sources/avstream/alsa.o
  CC [M]  sources/avstream/capture.o
sources/ospi/ospi-linux.c: In function ‘__os_timer_callback_wrapper’:
sources/ospi/ospi-linux.c:146:22: error: implicit declaration of function ‘from_timer’; did you mean ‘mod_timer’? [-Wimplicit-function-declaration]
  146 |     os_timer timer = from_timer(timer, t, k_timer);
      |                      ^~~~~~~~~~
      |                      mod_timer
sources/ospi/ospi-linux.c:146:43: error: ‘k_timer’ undeclared (first use in this function); did you mean ‘k_itimer’?
  146 |     os_timer timer = from_timer(timer, t, k_timer);
      |                                           ^~~~~~~
      |                                           k_itimer
sources/ospi/ospi-linux.c:146:43: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [/usr/lib/modules/6.16.0-5-cachyos/build/scripts/Makefile.build:287: sources/ospi/ospi-linux.o] Error 1
make[4]: *** Waiting for unfinished jobs....
sources/avstream/v4l2.c:989:12: warning: ‘vidioc_s_ctrl’ defined but not used [-Wunused-function]
  989 | static int vidioc_s_ctrl(struct file *file, void *priv,
      |            ^~~~~~~~~~~~~
sources/avstream/v4l2.c:961:12: warning: ‘vidioc_g_ctrl’ defined but not used [-Wunused-function]
  961 | static int vidioc_g_ctrl(struct file *file, void *priv,
      |            ^~~~~~~~~~~~~
make[3]: *** [/usr/lib/modules/6.16.0-5-cachyos/build/Makefile:2008: .] Error 2
make[2]: *** [/usr/lib/modules/6.16.0-5-cachyos/build/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/magewell-pro-capture/4420/build'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.16.0-5-cachyos/build'
make: *** [Makefile:33: all] Error 2

# exit code: 2
# elapsed time: 00:00:02
----------------------------------------------------------------

goldensuneur commented on 2025-07-02 12:18 (UTC)

Yeah, they did the same quick fix I did to make it compile on my machine. Your fix makes more sense to preserve the functionality. I guess one should ping their support with your patch so that they can include it instead of dropping the feature.