-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: How to use Dayon! Snap with Wayland ? #137
Comments
Hi, unfortunately simply switch the JRE inside the snap wouldn't solve the Wayland issue. At the moment the only workaround is to change the desktop session of the assisted from "Ubuntu" to "Ubuntu on Xorg" at the login screen. The Ubuntu core for snap apps is still based on Ubuntu 22.04.. I'll have to look into this further, but for the moment I can't see any other solution. |
Hi,
Why ? Is it a strict confinement issue with interfaces ?
I can see a core24 at https://snapcraft.io/core24 Thanks |
Hello, Even without the snap, i.e. if the
So I guess the current Wayland support of Java is still quite fragile.. And yes, core24 is currently in an experimental state and not production ready at all. So I'm afraid that at the moment the mentioned workaround is the only way to use the assisted part of Dayon! with Ubuntu 24.04. |
Hi,
Kagukara has it on one screen but not on another ones. I'm afraid that we have to wait for a fix from pipewire / OpenJDK Thanks |
Hi, Thanks for the research! I don't know why it's taking them so long - Wayland has been around for a while and is becoming more and more popular. |
Hi, Thanks for the link !
Maybe it is possible to test Dayon! with Wayland in X11compatillity mode ? |
Hi,
The behavior on Debian is very similar to the snap with For this tests I compiled Dayon! with |
HI, I've done some testing.
When connecting, gnome-shell propose to choose the screen to share. But all I see on the Assistant is
Also, I never can take control on the Assited. As messages, I obtain lines like [ CaptureEngine] [ WARN] (07:45:28.657) Skipping capture (10) 21,25s So I can't say it is working Let me know if you need others tests. |
Hi, First of all: thanks for your testing and feedback! The warning about skipping a capture is logged, if the screen capture could not be created in time - so it is skipped to catch up and sync with the next "tick". This can happen because of high CPU load or a huge screen resolution on the Assisted side. But as you mentioned, we will definitely have to wait for some improvements from Piperwire and openJDK before Dayon! can be used to assist PCs using Wayland. |
Hi, I increased the "tick" and redid the same tests with different JDK :
Thanks to the new "tick", messages about skipping capture have disappeared, but still I can't see the assisted screen. I hope that improvements from Piperwire and openJDK will not be long Thanks for your support About the unit test failure : org.opentest4j.AssertionFailedError: expected: <300 (66.7%)> but was: <300 (66,7%)> A percentage with a dot is expected, but there is a comma instead. |
Hi,
I've just seen this new: It seems they will add Snap support in pipewire. About the failed unit test. |
Hi, Thank you for your research! I have added this information to the thread I recently opened on the Snapcraft forum: |
Update: I was able to successfully verify this with Debian 13 (testing), which already contains this version |
Hi, Thank you for keeping us informed ! Do you know if Pipewire 1.2.0 will be added to core24 ? |
Hi, Unfortunately, I also have no insight into their release plan - but hopefully soon: As the 1.2 release claims to be API and ABI compatible with previous 1.1.x and 1.0.x releases, there shouldn't be any breaking changes. |
I tried Dayon! Snap on Ubuntu 24.04 at the assisted side without success.
According to #20 OracleJDK or OpenJDK 21 should be used on Wayland.
But current Dayon! Snap uses OpenJDK 11…
Since Wayland is the default graphics environment on Noble, is it possible for users to overrides JDK used in Dayon Snap ? If yes, how ?
Thanks
The text was updated successfully, but these errors were encountered: