Hey all,
I currently run a rocky linux 9 VM on kernel version 6.29 in a proxmox host. I want to use my a750 for hardware-accelerated video encoding but im stuck.
I have my arc a750 passthrough into the VM and can see it in lspci fine, however I cannot get it to work. I have tried installing intel-media-driver, and libva.
vainfo
error: can't connect to X server!
libva info: VA-API version 1.11.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_11
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 [12]
param: 4, val: 0
libva error: /usr/lib64/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 18
vaInitialize failed with error code 18 (invalid parameter),exit
my /dev/dri only has these
by-path card0
dmesg | grep i915
[ 7.270618] i915 0000:00:10.0: [drm] *ERROR* Lost access to MMIO BAR; all registers now read back as 0xFFFFFFFF!
[ 7.871363] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 7.871381] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 8.472188] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 8.472201] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 9.072971] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 9.072985] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 9.673757] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 9.673769] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 10.274538] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 10.274553] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 10.875324] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 10.875336] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 11.476634] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 11.476929] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 12.078214] i915 0000:00:10.0: [drm] *ERROR* render: timed out waiting for forcewake ack to clear.
[ 12.078570] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 12.680550] i915 0000:00:10.0: [drm] *ERROR* vdbox0: timed out waiting for forcewake ack to clear.
[ 12.680936] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 13.283535] i915 0000:00:10.0: [drm] *ERROR* vdbox2: timed out waiting for forcewake ack to clear.
[ 13.283909] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 13.885336] i915 0000:00:10.0: [drm] *ERROR* vebox0: timed out waiting for forcewake ack to clear.
[ 13.885729] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 14.488566] i915 0000:00:10.0: [drm] *ERROR* vebox1: timed out waiting for forcewake ack to clear.
[ 14.488961] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 15.091226] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 15.091555] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 15.693385] i915 0000:00:10.0: [drm] *ERROR* render: timed out waiting for forcewake ack to clear.
[ 15.693710] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 16.295003] i915 0000:00:10.0: [drm] *ERROR* render: timed out waiting for forcewake ack to clear.
[ 16.295337] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 16.896665] i915 0000:00:10.0: [drm] *ERROR* render: timed out waiting for forcewake ack to clear.
[ 16.897008] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 17.498869] i915 0000:00:10.0: [drm] *ERROR* render: timed out waiting for forcewake ack to clear.
[ 17.499195] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 18.100482] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 18.100806] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 18.702079] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 18.702401] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 19.303657] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 19.303994] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 19.905305] i915 0000:00:10.0: [drm] *ERROR* render: timed out waiting for forcewake ack to clear.
[ 19.905652] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 20.506973] i915 0000:00:10.0: [drm] *ERROR* render: timed out waiting for forcewake ack to clear.
[ 20.507330] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 21.108670] i915 0000:00:10.0: [drm] *ERROR* render: timed out waiting for forcewake ack to clear.
[ 21.109049] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 21.710401] i915 0000:00:10.0: [drm] *ERROR* render: timed out waiting for forcewake ack to clear.
[ 21.710790] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 22.312178] i915 0000:00:10.0: [drm] *ERROR* render: timed out waiting for forcewake ack to clear.
[ 22.312582] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 22.913985] i915 0000:00:10.0: [drm] *ERROR* render: timed out waiting for forcewake ack to clear.
[ 22.914396] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 23.515833] i915 0000:00:10.0: [drm] *ERROR* render: timed out waiting for forcewake ack to clear.
[ 23.516259] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 24.117692] i915 0000:00:10.0: [drm] *ERROR* render: timed out waiting for forcewake ack to clear.
[ 24.118025] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 24.719433] i915 0000:00:10.0: [drm] *ERROR* render: timed out waiting for forcewake ack to clear.
[ 24.719763] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 25.321156] i915 0000:00:10.0: [drm] *ERROR* render: timed out waiting for forcewake ack to clear.
[ 25.321486] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 25.922886] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 25.923222] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 26.524635] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 26.524972] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 27.126381] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 27.126720] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 27.728131] i915 0000:00:10.0: [drm] *ERROR* render: timed out waiting for forcewake ack to clear.
[ 27.728467] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 28.329871] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 28.330202] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 28.931594] i915 0000:00:10.0: [drm] *ERROR* vdbox0: timed out waiting for forcewake ack to clear.
[ 28.931928] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 29.533334] i915 0000:00:10.0: [drm] *ERROR* vdbox2: timed out waiting for forcewake ack to clear.
[ 29.533779] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 30.135204] i915 0000:00:10.0: [drm] *ERROR* vebox0: timed out waiting for forcewake ack to clear.
[ 30.135654] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 30.737087] i915 0000:00:10.0: [drm] *ERROR* vebox1: timed out waiting for forcewake ack to clear.
[ 30.737544] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 30.739124] i915 0000:00:10.0: [drm] *ERROR* rcs'0 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.740181] i915 0000:00:10.0: [drm] *ERROR* rcs'0 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.741220] i915 0000:00:10.0: [drm] *ERROR* bcs'0 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.742250] i915 0000:00:10.0: [drm] *ERROR* vcs'0 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.743272] i915 0000:00:10.0: [drm] *ERROR* vcs'2 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.744288] i915 0000:00:10.0: [drm] *ERROR* vecs'0 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.745302] i915 0000:00:10.0: [drm] *ERROR* vecs'1 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.746312] i915 0000:00:10.0: [drm] *ERROR* ccs'0 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.747318] i915 0000:00:10.0: [drm] *ERROR* ccs'1 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.748318] i915 0000:00:10.0: [drm] *ERROR* ccs'2 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.749312] i915 0000:00:10.0: [drm] *ERROR* ccs'3 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.754437] i915 0000:00:10.0: [drm] *ERROR* rcs'0 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.755420] i915 0000:00:10.0: [drm] *ERROR* bcs'0 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.756399] i915 0000:00:10.0: [drm] *ERROR* vcs'0 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.757372] i915 0000:00:10.0: [drm] *ERROR* vcs'2 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.758336] i915 0000:00:10.0: [drm] *ERROR* vecs'0 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.759298] i915 0000:00:10.0: [drm] *ERROR* vecs'1 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.760252] i915 0000:00:10.0: [drm] *ERROR* ccs'0 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.761205] i915 0000:00:10.0: [drm] *ERROR* ccs'1 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.762153] i915 0000:00:10.0: [drm] *ERROR* ccs'2 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.763093] i915 0000:00:10.0: [drm] *ERROR* ccs'3 reset request timed out: {request: 00000004, RESET_CTL: ffffffff}
[ 30.767462] i915 0000:00:10.0: [drm] Found 480MB of eDRAM
[ 31.368346] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 31.368680] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 31.969958] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 31.970293] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 32.571549] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 32.571795] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 33.173018] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 33.173344] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 33.774609] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 33.774916] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 34.376167] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 34.376411] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 34.977642] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 34.977935] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 35.579172] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 35.579418] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 35.580352] i915 0000:00:10.0: [drm] VT-d active for gfx access
[ 36.181312] i915 0000:00:10.0: [drm] *ERROR* gt: timed out waiting for forcewake ack to clear.
[ 36.181640] i915 0000:00:10.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x222/0x240 [i915]
[ 36.182624] WARNING: CPU: 9 PID: 747 at drivers/gpu/drm/i915/gem/i915_gem_stolen.c:914 i915_gem_stolen_lmem_setup+0x2a0/0x2e0 [i915]
[ 36.183242] Modules linked in: i915(E+) intel_rapl_msr(E) intel_rapl_common(E) kvm_amd(E) intel_gtt(E) ccp(E) drm_buddy(E) video(E) kvm(E) qxl(E) wmi(E) drm_ttm_helper(E) i2c_algo_bit(E) drm_display_helper(E) cec(E) ttm(E) virtio_balloon(E) drm_kms_helper(E) irqbypass(E) i2c_piix4(E) pcspkr(E) joydev(E) drm(E) xfs(E) libcrc32c(E) sr_mod(E) sd_mod(E) cdrom(E) t10_pi(E) sg(E) ata_generic(E) pata_acpi(E) ahci(E) libahci(E) crct10dif_pclmul(E) ata_piix(E) crc32_pclmul(E) crc32c_intel(E) polyval_clmulni(E) polyval_generic(E) libata(E) virtio_net(E) ghash_clmulni_intel(E) net_failover(E) virtio_console(E) serio_raw(E) failover(E) floppy(E) dm_mirror(E) dm_region_hash(E) dm_log(E) dm_mod(E) fuse(E)
[ 36.185895] RIP: 0010:i915_gem_stolen_lmem_setup+0x2a0/0x2e0 [i915]
[ 36.190651] intel_memory_regions_hw_probe+0x65/0x130 [i915]
[ 36.191060] i915_driver_hw_probe+0x233/0x380 [i915]
[ 36.191450] i915_driver_probe+0xe7/0x3d0 [i915]
[ 36.191837] ? i915_pci_probe+0x87/0x1b0 [i915]
[ 36.195588] i915_init+0x29/0xd0 [i915]
[ 36.195916] ? __pfx_init_module+0x10/0x10 [i915]
[ 36.199910] i915 0000:00:10.0: [drm] *ERROR* Failed to setup region(-19) type=3
[ 36.227994] i915 0000:00:10.0: Device initialization failed (-19)