TiddlyWiki / TiddlyDesktop

A custom desktop browser for TiddlyWiki 5 and TiddlyWiki Classic, based on nw.js
1.63k stars 121 forks source link

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) #255

Open rzel opened 1 year ago

rzel commented 1 year ago

I've been using TiddlyDesktop for at least 3 years, never had a problem until I upgraded to Ubuntu 22.04.1 64 bit from Ubuntu 20.04. It's a Radeon 7 GPU.

I tried running the pre-compiled binary and it throws the error in the title. Then I tried building from scratch - it built without a single error, but when I tried running "nw" again it threw the same error.

--

The error is something to do with the GPU:

https://itsfoss.community/t/libva-error-vagetdrivernamebyindex-failed-with-unknown-libva-error-driver-name-null/9027

https://bbs.archlinux.org/viewtopic.php?id=258759

https://avidemux.org/smif/index.php?topic=16398.0

Is there a way to disable the GPU?

--

I can use a browser plugin until you get this fixed, however I have lost data with the browser plugin and never with the desktop app.

Thanks a lot for the great product, I hope we can get this fixed.

Jermolene commented 1 year ago

Hi @rzel I'm sorry to hear you've run into problems.

Is there a way to disable the GPU?

nwjs does offer a command line switch:

https://docs.nwjs.io/en/latest/References/Command%20Line%20Options/#-disable-gpu

You can edit source/package.json to add switches to the "chromium-args" property.

Good luck!

rzel commented 1 year ago

It's now at this error:

https://github.com/TiddlyWiki/TiddlyDesktop/issues/215

"Opening in existing browser session."

Any configuration to get past that?

Thanks!