H-M-H / Weylus

Use your tablet as graphic tablet/touch screen on your computer.
Other
6.79k stars 270 forks source link

Trouble with VAAPI #200

Open E-daw opened 1 year ago

E-daw commented 1 year ago

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 commented 1 year ago

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).

lukebrowell commented 1 year ago

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

parkerlreed commented 1 year ago

More info in #226