pavlobu / deskreen

Deskreen turns any device with a web browser into a secondary screen for your computer. ⭐️ Star to support our work!
https://deskreen.com
GNU Affero General Public License v3.0
15.46k stars 832 forks source link

Error "libva error: vaGetDriverNameByIndex() failed with unknown libva error" occurs in developer mode. #234

Open Jay-flow opened 1 year ago

Jay-flow commented 1 year ago

Hello, I entered the command below to run developer mode.

yarn dev

The following error is printed out, is there anyone who knows how to solve it?

[1] Why you should do it regularly:
[1] https://github.com/browserslist/browserslist#browsers-data-updating
[0] 18:43:51.464 › /home/jayflow/Proejcts/deskreen/app/server/index.ts : Deskreen signaling server is online at port 3131
[0] 
[0] (electron:47019): Gtk-WARNING **: 18:43:51.514: Theme parsing error: gtk.css:5822:26: '-shadow' is not a valid color name
[0] 
[0] (electron:47019): Gtk-WARNING **: 18:43:51.515: Theme parsing error: gtk.css:5825:14: not a number
[0] 
[0] (electron:47019): Gtk-WARNING **: 18:43:51.515: Theme parsing error: gtk.css:5826:13: not a number
[0] 
[0] (electron:47019): Gtk-WARNING **: 18:43:51.515: Theme parsing error: gtk.css:5827:11: Expected a length
[0] libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[0] Error: Exited with code 9
[0]     at ChildProcess.<anonymous> (/home/jayflow/Proejcts/deskreen/node_modules/cross-unzip/index.js:38:21)
[0]     at ChildProcess.emit (node:events:390:28)
[0]     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
[0]     at Process.callbackTrampoline (node:internal/async_hooks:130:17)
[0] 18:43:51.960 › APPIMAGE env is not defined, current application is not an AppImage
[0] ℹ 「wdm」: wait until bundle finished: /dist/mainWindow.renderer.dev.js
[0] ℹ 「wdm」: Compiled with warnings.
[1] Compiled successfully!

image