Open glepnir opened 1 year ago
❯ wl-screenrec
Using output eDP-1
Opening libva device from DRM device /dev/dri/renderD128
[AVHWDeviceContext @ 0x55f2e4b0b4c0] libva: /usr/lib/dri/i965_drv_video.so init failed
[AVHWDeviceContext @ 0x55f2e4b0b4c0] Failed to initialise VAAPI connection: -1 (unknown libva error).
thread 'main' panicked at 'assertion failed: (left == right)
left: -5
,
right: 0
: failed to open /dev/dri/renderD128', src/avhw.rs:34:13
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
CPU : Intel i7-10510U (8) @ 1.800GHz GPU : Intel CometLake-U GT2 [UHD Graphics] GPU Driver : i915
@glepnir make sure you've followed your distribution's setup instructions for vaapi, then if that doesn't work please post the output of vainfo
and let me know if wf-recorder -c h264_vaapi -d /dev/dri/card0
works correctly.
@kRHYME7 please open a new issue with your bug with the same info--your hardware is pretty different and I'd like to keep them separate.
vainfo output
Trying display: wayland
vainfo: VA-API version: 1.20 (libva 2.20.0)
vainfo: Driver version: Mesa Gallium driver 23.2.1-arch1.2 for AMD Radeon RX 580 Series (polaris10, LLVM 16.0.6, DRM 3.54, 6.5.8-arch1-1)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
Does wf-recorder -c h264_vaapi -d /dev/dri/card0
work?
Error though