Skip to content

Wayland + Nvidia driver = black screen #1816

@Attigliuzzo

Description

@Attigliuzzo

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:

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.

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

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    os: linuxSpecific to Linux operating systemtype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions