Weylus icon indicating copy to clipboard operation
Weylus copied to clipboard

Trouble with VAAPI

Open E-daw opened this issue 1 year ago • 3 comments

When running VAAPI after launching weylus, the codec isn't used at all, rather it defaults to non hardware acceleration. However when running

WEYLUS_VAAPI_DEVICE=/dev/dri/renderD129 WEYLUS_LOGLEVEL=TRACE weylus

the program crashes the moment a display is connected.

I get the errors below

WEYLUS_VAAPI_DEVICE=/dev/dri/renderD129 WEYLUS_LOGLEVEL=TRACE weylus

2022-12-31T09:36:36.043766Z INFO weylus::web: Webserver listening at 0.0.0.0:1701... 2022-12-31T09:36:38.415228Z INFO weylus::websocket: Client connected. address=10.1.1.204:49276 zsh: segmentation fault (core dumped) WEYLUS_VAAPI_DEVICE=/dev/dri/renderD129 WEYLUS_LOGLEVEL=TRACE weylus

followed by an immediate crash

E-daw avatar Dec 31 '22 09:12 E-daw

To add onto this, no matter what I always get the errors

ERROR libva: /usr/lib/dri/i965_drv_video.so init failed

ERROR Failed to initialise VAAPI connection: -1 (unknown libva error).

E-daw avatar Dec 31 '22 09:12 E-daw

Did you make any further progress in getting to the bottom of this?

lukebrowell avatar Jan 14 '23 23:01 lukebrowell

More info in #226

parkerlreed avatar May 23 '23 20:05 parkerlreed