Sample Header Ad - 728x90

Using Intel and NVIDIA Hardware-Encoders (QuickSync/ nvenc) simultaniously on Linux

1 vote
1 answer
594 views
I recently setup a new PC I intend to use for Video Encoding. I'm running an new I-series processor with integrated graphics and a rtx3000 series NVIDIA card. I want to use the NVIDIA nvenc hardware encoder as well as Intel's Quick-sync. My old PC already ran a NVIDIA GTX1000 series card and I reused my SSD with an existing Manjaro installation. The NVIDIA GPU worked out of the box with the proprietary NVIDIA driver. For the QSV encoder I tried following the Arch wiki Articles on Hardware Acceleration and Intel Graphics , but have not been successful so far. The Mainboard (Gigabyte Z690UD) does not have any Display connectors for the Intel GPU. vainfo DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument Assuming 131072kB available aperture size. May lead to reduced performance or incorrect rendering. get chip id failed: -1 param: 4, val: 0 libva error: /usr/lib/dri/iHD_drv_video.so init failed vaInitialize failed with error code 18 (invalid parameter),exit > /etc/X11/xorg.conf.d/90-mhwd.conf Section "Device" Identifier "Device0" Driver "intel" VendorName "Intel Corporation" EndSection As shown below, lspci does not list a Kernel module loaded for the Intel GPU: lspci -k | grep -A 3 VGA 0000:00:02.0 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c) DeviceName: Onboard - Video Subsystem: Gigabyte Technology Co., Ltd Device d000 0000:01:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3090] (rev a1) Subsystem: Micro-Star International Co., Ltd. [MSI] Device 3881 Kernel driver in use: nvidia Kernel modules: nouveau, nvidia_drm, nvidia I manually added the Intel driver: >/etc/modules-load.d/mhwd-gpu.conf ## ## Generated by mhwd - Manjaro Hardware Detection ## i915 nvidia nvidia-drm and added it to: >/etc/mkinitcpio.conf MODULES="intel_agp i915 nvidia nvidia_modeset nvidia_uvm nvidia_drm" I checked the modules blacklists, ran mkinitcpio and updated grub, but lspc still doesn't show a driver in use. I don't really know where to go from here as I'm not too knowledgeable on inner workings of the OS.
Asked by Jens (11 rep)
Jan 17, 2022, 12:29 AM
Last activity: May 26, 2023, 09:39 PM