victrid 0 Posted June 7, 2024 Posted June 7, 2024 Right now, emby-theater runs on electron 9, which does not support native wayland. wayland's x-compatibility layer, known as xwayland, is poorly compatible with nvidia cards. The newer versions of electron support native wayland, so I tried to update the electron version. After diving into the code of emby-theater-electron I found that the biggest obstacle preventing upgrading to the new version of electron would be libmpv, a plugin to take over rendering via PPAPI, and the ability to load PPAPI was removed in electron 12 (Chrome 89). Porting libmpv should be impossible. This means that the current implementation is stuck at electron 11 at the highest level of compatibility. However, compared to electron 9, electron 11 allows to enable native Wayland via OzonePlatform, but electron 11 doesn't support the new version of Wayland, and reports error interface 'wl_output' has no event 4 backports like this issue[1] may fix it, but since electron 11 was already EOL when this problem occurred, there is no official fix. It seems that the fastest fix might be to patch a version of electron 11 to support the new wayland protocol and use it. I'm curious if emby has made any official moves to support native wayland. [1] https://github.com/electron/electron/issues/32487
Luke 42077 Posted June 20, 2024 Posted June 20, 2024 HI, yes this will happen. we are working on getting updated to a newer electron version, so stay tuned. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now