Package Details: magewell-pro-capture-dkms 1.3.0.4390-2

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: 5
Popularity: 0.000987
First Submitted: 2020-06-10 04:41 (UTC)
Last Updated: 2024-04-15 11:07 (UTC)

Latest Comments

1 2 Next › Last »

rogue_ronin commented on 2024-04-15 10:12 (UTC)

The PKGBUILD needs to be adited to change the sha256sum to 6b6714ecf610875291e5e78c84c371d927371c777b42f086f7e06827254fa756

goldensuneur commented on 2024-03-28 17:59 (UTC)

Support sent me a test version that works fine with kernel 6.8+.

https://www.magewell.com/files/drivers/ProCaptureForLinux_4390.tar.gz

zakklol commented on 2024-03-25 08:04 (UTC)

Broken as of kernel 6.8 due to removal of strlcpy().

You can fix it if you modify the installed dkms source:

Change all instances of strlcpy() to strscpy() (same arguments)

Somewhere, (ospi/ospi-linux.c is probably easiest) create a function

unsigned int strlcpy(char *dst, const char *src, unsigned int size)
{
    return strscpy(dst, src, (size_t)size);
}

bluetail commented on 2024-03-23 16:25 (UTC) (edited on 2024-03-23 19:44 (UTC) by bluetail)

Had to use LTS to get any devices in OBS. sudo mwcap-info -l then returns the devices as should. uname -r returns 6.6.22-1-lts

schwabix commented on 2023-07-10 15:05 (UTC)

Can confirm that version 4373 is working with kernel 6.4

disc-kuraudo commented on 2023-07-10 12:08 (UTC)

@goldensuneur Looking good, no more need to boot linux-lts for this.

goldensuneur commented on 2023-07-10 09:03 (UTC) (edited on 2023-07-10 09:13 (UTC) by goldensuneur)

I contacted Magewell support and they sent me a new beta driver: http://www.magewell.com/files/drivers/ProCaptureForLinux_4373.tar.gz

disc-kuraudo commented on 2023-07-07 13:09 (UTC) (edited on 2023-07-07 13:10 (UTC) by disc-kuraudo)

Anyone got a workaround here? Seems that some recent linux version broke class_create()'s interface from 2 arguments to 1.

/var/lib/dkms/magewell-pro-capture/4328/build/sources/avstream/mw-event-dev.c: In function ‘mw_event_dev_create’:
./include/linux/export.h:27:22: error: passing argument 1 of ‘class_create’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   27 | #define THIS_MODULE (&__this_module)
      |                     ~^~~~~~~~~~~~~~~
      |                      |
      |                      struct module *
/var/lib/dkms/magewell-pro-capture/4328/build/sources/avstream/mw-event-dev.c:158:34: note: in expansion of macro ‘THIS_MODULE’
  158 |     g_dev.c_class = class_create(THIS_MODULE, MW_EVENT_NAME);
      |                                  ^~~~~~~~~~~
In file included from ./include/linux/device.h:31,
                 from ./include/linux/cdev.h:8:
./include/linux/device/class.h:230:54: note: expected ‘const char *’ but argument is of type ‘struct module *’
  230 | struct class * __must_check class_create(const char *name);
      |                                          ~~~~~~~~~~~~^~~~
/var/lib/dkms/magewell-pro-capture/4328/build/sources/avstream/mw-event-dev.c:158:21: error: too many arguments to function ‘class_create’
  158 |     g_dev.c_class = class_create(THIS_MODULE, MW_EVENT_NAME);
      |                     ^~~~~~~~~~~~
./include/linux/device/class.h:230:29: note: declared here
  230 | struct class * __must_check class_create(const char *name);
      |                             ^~~~~~~~~~~~

goldensuneur commented on 2023-01-31 12:36 (UTC)

I contacted Magewell support and they sent me an updated driver that fixes the build error on kernel 6.1+.

Driver version is 4328, you can download it at this URL http://www.magewell.com/files/drivers/ProCaptureForLinux_4328.tar.gz

There fix in src/avstream/alsa.c:

    snd_pcm_lib_preallocate_pages_for_all(
            pcm,
            SNDRV_DMA_TYPE_CONTINUOUS,
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6,1,0))
            card->dev,
#else
            snd_dma_continuous_data(GFP_KERNEL),
#endif
            audio_pcm_hardware.buffer_bytes_max,
            audio_pcm_hardware.buffer_bytes_max
            );

Which should work both with 6.1+ and earlier versions.

disc-kuraudo commented on 2023-01-28 19:05 (UTC) (edited on 2023-01-28 19:06 (UTC) by disc-kuraudo)

I just earlier today applied the patch suggested by zakklol by putting this in the PKGBUILD

prepare() {
    cd "${srcdir}/ProCaptureForLinux_4285"
    sed -e "s/snd_dma_continuous_data(GFP_KERNEL)/NULL/g" -i "src/sources/avstream/alsa.c"
}

And the card works in OBS and mwcap-info -l shows the card as well, it must be some other problem that you have.