AVMATRIX-VK12-4K Setup
Summary
Section titled “Summary”Covers experience using AVMATRIX VK12-4k graphics card
Driver
Section titled “Driver”You can get the driver from the manufacturer which ends up being a one driver link, or GE repository also has the driver avaialable.
- https://www.avmatrix.com/download/]
- https://github.com/GloriousEggroll/AVMATRIX-VC41-VC42-CAPTURE
./dkms-install.shwas used for installation
Secure Boot
Section titled “Secure Boot”You may get a “Modprobe” install failure if using secure boot since the key is not trusted, in this case you will need to make your own key, and sighn the module.
modprobe: ERROR: could not insert 'HwsUHDX1Capture': Key was rejected by serviceERROR: Load driver module failed!Generate Key
Section titled “Generate Key”openssl req -x509 -newkey rsa:4096 -keyout MOK.priv -out MOK.pem -sha256 -nodes -days 36500 -subj "/CN=Module Signing Key/"openssl x509 -in MOK.pem -inform PEM -out MOK.der -outform DERImport Key, and Reboot
Section titled “Import Key, and Reboot”sudo mokutil --import ./MOK.dersudo reboot- when you reboot enter MOK Management by following the blue screen prompt
- select enroll key
- view key 0
- enter password from
mokutil --import
Sign the kernal Module
Section titled “Sign the kernal Module”Create the below script with proper paths.
# Define key and module paths for clarityKEY_PRIV="/home/AVMATRIX-VC12-4K-CAPTURE/MOK.priv"KEY_PUB="/home/AVMATRIX-VC12-4K-CAPTURE/MOK.der"MODULE_NAME="HwsUHDX1Capture"
# Get path of moduleMODULE_PATH=$(modinfo -n $MODULE_NAME)
# Module signing script location fedoraSIGN_SCRIPT="/usr/src/kernels/$(uname -r)/scripts/sign-file"
# Execute the signing commandsudo "$SIGN_SCRIPT" sha256 "$KEY_PRIV" "$KEY_PUB" "$MODULE_PATH"
# Add the modulesudo modprobe $MODULE_NAME