-
-
Notifications
You must be signed in to change notification settings - Fork 435
Cannot run Arduino IDE under native Wayland #2107
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
Comments
Thank you for reporting it to us. @Integral-Tech, could you please try if starting the app from a terminal with the |
Hey, I'm having almost the same issue I need it to make it correctly resize on my secondary monitor. It resizes only on primary using xwayland. OS: Fedora 38
Without the wayland flags it opens fine, but resizing, changing dpi settings, etc shows several weird behaviors whenever I move the IDE window to a secondary display. Also due to xwayland it feels more sluggish than usual. Disable GPU makes no difference with wayland flags.
I have several electron apps running fine with wayland flags where needed, from chromium itself, to vscode, slack, obsidian, logseq, etc. Thanks all! Log:
|
I see you're using FlatPack which is not officially supported by IDE2: #1848. @joshuag1000, could you help come over this problem?
The problematic code is with the logger patching 0b33b51, but I do not know much about the FlatPack support. |
Hi, sudo flatpak override cc.arduino.IDE2 --socket=wayland Firstly making sure i had given access to the wayland socket to the IDE which can be done using the command above. And secondly running the IDE using the following command before then running it with the typical wayland parameters: flatpak run --branch=stable --arch=x86_64 --command=arduino-ide --file-forwarding cc.arduino.IDE2 --enable-features=UseOzonePlatform With regards to wayland and chromium apps it is considered experimental. Finally the above step (running
|
It still crashes from the terminal - a different one: Thanks for the answer! Now it's behaving as it should with Pop Shell tiling functionality. |
Hi @Integral-Tech. We are still waiting for you to provide the information requested in the previous reply (#2107 (comment)) so that we can proceed with the investigation or evaluation of this. Please comment here to add the requested information. |
@kittaakos It also crashes with
|
Siimlar issue. the IDE does not work in Wayland SWAY. |
Describe the problem
I'm using Arduino IDE 2.1.0 on KDE Plasma + Wayland, but I find it can only run under XWayland.
After adding
--enable-features=UseOzonePlatform --ozone-platform=wayland
parameters to force it to run under native Wayland, it crashes.To reproduce
Execute the following command to force it to run under native Wayland:
It crashes:
Full log:
Expected behavior
It should NOT crash.
Arduino IDE version
2.1.0
Operating system
Linux
Operating system version
Arch Linux, rolling
KDE Plasma 5.27.5 + Wayland
Additional context
Arch Wiki: https://wiki.archlinux.org/title/Wayland#Electron
--ozone-platform-hint=auto
does NOT work (Arduino is stil running under XWayland with--ozone-platform-hint=auto
)Issue checklist
The text was updated successfully, but these errors were encountered: