You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Arduino IDE 2.0.3 on 2 PCs. On both of them I've installed Wayland under Debian testing.
🙂 On my old laptop, the IDE starts successfully and I see the full interface. Wayland uses mesa on an Intel discrete graphic card on this PC.
🐛 On the newer laptop, the whole screen app is black. I use Nvidia driver 510 with Wayland on this PC.
The console logs:
Arduino IDE 2.0.3
Starting backend process. PID: 4204
[4181:0112/163131.466177:ERROR:object_proxy.cc(642)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: Interfaccia «org.freedesktop.portal.FileChooser» inesistente
[4181:0112/163131.466205:ERROR:select_file_dialog_impl_portal.cc(243)] Failed to read portal version property
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///home/attila/.theia'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-01-12T15:31:32.211Z root INFO Backend Object.initialize: 3.6 ms [Finished 0.791 s after backend start]
2023-01-12T15:31:32.211Z root INFO Backend Object.configure: 3.1 ms [Finished 0.791 s after backend start]
2023-01-12T15:31:32.212Z root INFO Backend MessagingContribution.onStart: 1.0 ms [Finished 0.791 s after backend start]
2023-01-12T15:31:32.212Z root INFO Backend OSBackendApplicationContribution.configure: 0.3 ms [Finished 0.814 s after backend start]
2023-01-12T15:31:32.212Z root INFO Backend DefaultWorkspaceServer.onStart: 0.2 ms [Finished 0.814 s after backend start]
.........
To reproduce
Launch the Arduino IDE AppImage in a Wayland environment with proprietary Nvidia driver.
Expected behavior
Arduino IDE works with any valid display driver and regardless of whether or not Wayland is used.
Here, people say the hardware acceleration of the electron app should be disabled: signalapp/Signal-Desktop#5361. The app is different, but the env is the same.
It appears that the issue is related to a problem with the file chooser dialog in the Arduino IDE when running on Wayland with the Nvidia driver. The error message "Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: Interfaccia «org.freedesktop.portal.FileChooser» inesistente" suggests that the required file chooser interface is not present.
A possible solution would be to try running the Arduino IDE with the Xorg display server instead of Wayland, as it is known to have better compatibility with certain applications. Another solution would be to try using a different version of the Nvidia driver or to see if there is an update or patch available for the version of the Arduino IDE that you are using.
Describe the problem
I'm using Arduino IDE 2.0.3 on 2 PCs. On both of them I've installed Wayland under Debian testing.
🙂 On my old laptop, the IDE starts successfully and I see the full interface. Wayland uses mesa on an Intel discrete graphic card on this PC.
🐛 On the newer laptop, the whole screen app is black. I use Nvidia driver 510 with Wayland on this PC.
The console logs:
To reproduce
Launch the Arduino IDE AppImage in a Wayland environment with proprietary Nvidia driver.
Expected behavior
Arduino IDE works with any valid display driver and regardless of whether or not Wayland is used.
Arduino IDE version
2.0.3
Operating system
Linux
Operating system version
Debian testing "Bookworm"
Additional context
I can use X11 instead on the new laptop.
Issue checklist
The text was updated successfully, but these errors were encountered: