Arduino IDE 2 Problems in Fedora 40

Hi I am having problems with all versions of Arduino IDE 2: flatpak, AppImage and the official build from

When I try to run the flatpak using “flatpak run cc.arduino.IDE2” the following errors happen:

Gtk-Message: 19:55:32.378: Failed to load module "canberra-gtk-module"
Gtk-Message: 19:55:32.378: Failed to load module "pk-gtk-module"
Gtk-Message: 19:55:32.380: Failed to load module "canberra-gtk-module"
Gtk-Message: 19:55:32.380: Failed to load module "pk-gtk-module"

But both modules seem to be installed on my system.

With both the AppImage and the official build I get the same error, but not many details:

// Fragment GLSL
#version 300 es

#extension GL_NV_shader_noperspective_interpolation : require
precision mediump float;
precision mediump sampler2D;
out mediump vec4 sk_FragColor;
uniform sampler2D uTextureSampler_0_S0;
noperspective in highp vec2 vlocalCoord_S0;
void main() {
    mediump vec4 outputColor_S0 = vec4(1.0);
    highp vec2 texCoord = vlocalCoord_S0;
    outputColor_S0 = texture(uTextureSampler_0_S0, texCoord, -0.5);
        sk_FragColor = outputColor_S0;

link failed but did not provide an info log

The application only loads partway, with none of the menus visible:

Any help or tips would be most appreciated. I know I am not the only person having this problem.

P.S. Any suggestions to use IDE v1 would not be helpful. And that does not work fully too.

Machine specs:

             .',;::::;,'.                vav@kuzya 
         .';:cccccccccccc:;,.            --------- 
      .;cccccccccccccccccccccc;.         OS: Fedora Linux 40 (Workstation Editi 
    .:cccccccccccccccccccccccccc:.       Host: Laptop 13 (AMD Ryzen 7040Series) 
  .;ccccccccccccc;.:dddl:.;ccccccc;.     Kernel: 6.9.7-200.fc40.x86_64 
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.    Uptime: 28 mins 
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:.   Packages: 3404 (rpm), 9 (flatpak) 
,cccccccccccccc;MMM.;cc;;WW::cccccccc,   Shell: bash 5.2.26 
:cccccccccccccc;MMM.;cccccccccccccccc:   Resolution: 2256x1504 
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:   DE: GNOME 46.3.1 
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc;   WM: Mutter 
ccccc:XM0';cccc;MMM.;cccccccccccccccc'   WM Theme: Adwaita 
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;    Theme: Adwaita [GTK2/3] 
ccccc;0MNc.ccc.xMMd:ccccccccccccccc;     Icons: Adwaita [GTK2/3] 
cccccc;dNMWXXXWM0::cccccccccccccc:,      Terminal: gnome-terminal 
cccccccc;.:odl:.;cccccccccccccc:,.       CPU: AMD Ryzen 7 7840U w/ Radeon 780M  
:cccccccccccccccccccccccccccc:'.         GPU: AMD ATI c1:00.0 Phoenix1 
.:cccccccccccccccccccccc:;,..            Memory: 4268MiB / 31386MiB 

I’m having the same (or similar) problem. Not finding very much about this with Google but there do seem to be some other instances.
Our hardware isn’t dissimilar…

OS: Fedora Linux 40 (Workstation Edition) x86_64
Host: A520I AC -CF
Kernel: 6.9.9-200.fc40.x86_64
Packages: 2791 (rpm), 56 (flatpak)
Shell: bash 5.2.26
Resolution: 1366x768
DE: GNOME 46.3.1
WM: Mutter
WM Theme: Adwaita
Theme: Adwaita [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: gnome-terminal
CPU: AMD Ryzen 5 5500 (12) @ 4.267GHz
GPU: AMD ATI Radeon RX 580 2048SP
Memory: 2820MiB / 15851MiB