Flatpaks not launching: libEGL warning: egl: failed to create dri2 screen

I have many Flatpaks that will not launch, but more that do launch.

There are a total of (38) flatpaks that do launch, with (15) that will not launch. All fifteen when launch from the command line give the message:

libEGL warning: egl: failed to create dri2 screen

I checked with flatpak list --app and noticed there are a mixture of the source. Fedora and Flathub repositories.

What would cause these fifteen flatpaks to not load, while so many of the others do.

Here is the list that will not launch, whether from the overview menu or commandline.

  • Calculator - org.gnome.Calculator
  • Maps - org.gnome.Maps
  • Cheese - org.gnome.Cheese
  • Clocks - org.gnome.clocks
  • Contacts - org.gnome.Contacts
  • Extensions - org.gnome.Extensions
  • Music - org.gnome.Music
  • Calendar - org.gnome.Calendar
  • SuperTuxKart - net.supertuxkart.SuperTuxKart
  • Text Editor - org.gnome.TextEditor
  • Disk Usage Analizer - org.gnome.baobab
  • Logs - org.gnome.Logs
  • Characters - org.gnome.Characters
  • Fonts - org.gnome.font-viewer
  • Weather - org.gnome.Weather

Any guidance would be greatly appreciated.

Output from launched from commandline:

│Jan 05 13:00:01 HP-Z840 systemd[236032]: Started app-flatpak-org.gnome.Calendar-264521.scope.                                                                                │
│Jan 05 13:00:01 HP-Z840 audit: BPF prog-id=330 op=LOAD                                                                                                                       │
│Jan 05 13:00:01 HP-Z840 audit: BPF prog-id=331 op=LOAD                                                                                                                       │
│Jan 05 13:00:01 HP-Z840 audit: BPF prog-id=332 op=LOAD                                                                                                                       │
│Jan 05 13:00:01 HP-Z840 systemd[1]: Starting systemd-timedated.service - Time & Date Service...                                                                              │
│Jan 05 13:00:01 HP-Z840 systemd[1]: Started systemd-timedated.service - Time & Date Service.                                                                                 │
│Jan 05 13:00:01 HP-Z840 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-timedated comm="systemd" exe="/│
usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'                                                                                                            │
│Jan 05 13:00:02 HP-Z840 audit[264547]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=12 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=264547 comm="gnome-calend│
ar" exe="/app/bin/gnome-calendar" sig=11 res=1                                                                                                                                │
│Jan 05 13:00:02 HP-Z840 kernel: gnome-calendar[264547]: segfault at 8 ip 00007f0bede7bd6d sp 00007ffe0150b900 error 4 in zink_dri.so[7f0bed2e8000+167f000] likely on CPU 8 (c│
ore 2, socket 1)                                                                                                                                                              │
│Jan 05 13:00:02 HP-Z840 kernel: Code: 39 c6 44 0f 47 f0 41 d3 e0 44 89 f2 44 89 f1 e8 e9 3a fc ff 49 89 84 24 78 67 00 00 45 85 ed 75 92 66 0f ef c0 ba 01 00 00 00 <48> 8b 7│
0 08 48 89 df 66 89 55 be 48 8d 4d b0 4c 8d 45 c0 31 d2 48                                                                                                                    │
│Jan 05 13:00:02 HP-Z840 audit: BPF prog-id=333 op=LOAD                                                                                                                       │
│Jan 05 13:00:02 HP-Z840 audit: BPF prog-id=334 op=LOAD                                                                                                                       │
│Jan 05 13:00:02 HP-Z840 audit: BPF prog-id=335 op=LOAD                                                                                                                       │
│Jan 05 13:00:02 HP-Z840 systemd[1]: Started systemd-coredump@26-264591-0.service - Process Core Dump (PID 264591/UID 0).                                                     │
│Jan 05 13:00:02 HP-Z840 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@26-264591-0 comm="syst│
emd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'                                                                                                 │
│Jan 05 13:00:02 HP-Z840 systemd-coredump[264592]: Process 264547 (gnome-calendar) of user 1000 dumped core.

This is the output when launched from the overview menu:

│Jan 05 13:05:28 HP-Z840 gnome-shell[236259]: invalid (NULL) pointer instance                                                                                                 │
│Jan 05 13:05:28 HP-Z840 gnome-shell[236259]: g_signal_handler_disconnect: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed                                                │
│Jan 05 13:05:28 HP-Z840 gnome-shell[236259]: invalid (NULL) pointer instance                                                                                                 │
│Jan 05 13:05:28 HP-Z840 gnome-shell[236259]: g_signal_handler_disconnect: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed                                                │
│Jan 05 13:05:32 HP-Z840 systemd[236032]: Started dbus-:1.2-org.gnome.Calendar@1.service.                                                                                     │
│Jan 05 13:05:32 HP-Z840 systemd[236032]: Started app-flatpak-org.gnome.Calendar-266046.scope.                                                                                │
│Jan 05 13:05:32 HP-Z840 gnome-shell[236259]: invalid (NULL) pointer instance                                                                                                 │
│Jan 05 13:05:32 HP-Z840 gnome-shell[236259]: g_signal_handler_disconnect: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed                                                │
│Jan 05 13:05:32 HP-Z840 gnome-shell[236259]: invalid (NULL) pointer instance                                                                                                 │
│Jan 05 13:05:32 HP-Z840 gnome-shell[236259]: g_signal_handler_disconnect: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed                                                │
│Jan 05 13:05:32 HP-Z840 audit: BPF prog-id=336 op=LOAD                                                                                                                       │
│Jan 05 13:05:32 HP-Z840 audit: BPF prog-id=337 op=LOAD                                                                                                                       │
│Jan 05 13:05:32 HP-Z840 audit: BPF prog-id=338 op=LOAD                                                                                                                       │
│Jan 05 13:05:32 HP-Z840 systemd[1]: Starting systemd-timedated.service - Time & Date Service...                                                                              │
│Jan 05 13:05:33 HP-Z840 systemd[1]: Started systemd-timedated.service - Time & Date Service.                                                                                 │
│Jan 05 13:05:33 HP-Z840 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-timedated comm="systemd" exe="/│
usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'                                                                                                            │
│Jan 05 13:05:33 HP-Z840 gnome-calendar[266066]: Running Calendar as a service                                                                                                │
│Jan 05 13:05:33 HP-Z840 flatpak[266066]: libEGL warning: egl: failed to create dri2 screen                                                                                   │
│Jan 05 13:05:33 HP-Z840 audit[266066]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=12 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=266066 comm="gnome-calend│
ar" exe="/app/bin/gnome-calendar" sig=11 res=1                                                                                                                                │
│Jan 05 13:05:33 HP-Z840 kernel: gnome-calendar[266066]: segfault at 8 ip 00007fe667c7bd6d sp 00007fffd5118420 error 4 in zink_dri.so[7fe6670e8000+167f000] likely on CPU 17 (│
core 5, socket 0)                                                                                                                                                             │
│Jan 05 13:05:33 HP-Z840 kernel: Code: 39 c6 44 0f 47 f0 41 d3 e0 44 89 f2 44 89 f1 e8 e9 3a fc ff 49 89 84 24 78 67 00 00 45 85 ed 75 92 66 0f ef c0 ba 01 00 00 00 <48> 8b 7│
0 08 48 89 df 66 89 55 be 48 8d 4d b0 4c 8d 45 c0 31 d2 48                                                                                                                    │
│Jan 05 13:05:33 HP-Z840 audit: BPF prog-id=339 op=LOAD                                                                                                                       │
│Jan 05 13:05:33 HP-Z840 audit: BPF prog-id=340 op=LOAD                                                                                                                       │
│Jan 05 13:05:33 HP-Z840 audit: BPF prog-id=341 op=LOAD                                                                                                                       │
│Jan 05 13:05:33 HP-Z840 systemd[1]: Started systemd-coredump@27-266109-0.service - Process Core Dump (PID 266109/UID 0).                                                     │
│Jan 05 13:05:33 HP-Z840 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@27-266109-0 comm="syst│
emd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'                                                                                                 │
│Jan 05 13:05:34 HP-Z840 systemd-coredump[266110]: Process 266066 (gnome-calendar) of user 1000 dumped core.

Are you using NVIDIA? If so, does flatpak update help?

Yes, I’m using Nvidia. I have tried flatpak update, and sudo flatpak repair

What version is your NVIDIA driver? Did you install it from RPM Fusion?

What flatpak nvidia runtime extensions are installed?:

flatpak list --runtime | grep -i nvidia
nvidia-545-29-06 org.freedesktop.Platform.GL.nvidia-545-29-06 1.4 flathub system
nvidia-545-29-06 org.freedesktop.Platform.GL32.nvidia-545-29-06 1.4 flathub system

I also have Nvidia drivers installed by RPMFusion. I’m using Silverblue.

akmod-nvidia
xorg-x11-drv-nvidia
xorg-x11-drv-nvidia-cuda

We need the output of rpm-ostree status please.

09:51:30 james@HP-Z840 ~ → rpm-ostree status
State: idle
Deployments:
● fedora:fedora/39/x86_64/silverblue
                  Version: 39.20240109.0 (2024-01-09T00:39:19Z)
               BaseCommit: b05d82040ec4f6def0ef2ea58374cd7d0f98ee4a70b55da7997a83e8d799eb22
             GPGSignature: Valid signature by E8F23996F23218640CB44CBE75CF5AC418B8E74C
      RemovedBasePackages: libpostproc-free libswscale-free libavformat-free libavcodec-free libswresample-free libavfilter-free libavutil-free 6.0.1-2.fc39
          LayeredPackages: akmod-nvidia borgbackup ffmpeg ffmpegthumbnailer langpacks-en lnav rpmfusion-free-release rpmfusion-nonfree-release steam-devices wl-clipboard
                           xorg-x11-drv-nvidia-cuda

  fedora:fedora/39/x86_64/silverblue
                  Version: 39.20240109.0 (2024-01-09T00:39:19Z)
               BaseCommit: b05d82040ec4f6def0ef2ea58374cd7d0f98ee4a70b55da7997a83e8d799eb22
             GPGSignature: Valid signature by E8F23996F23218640CB44CBE75CF5AC418B8E74C
      RemovedBasePackages: libpostproc-free libswscale-free libavformat-free libavcodec-free libswresample-free libavfilter-free libavutil-free 6.0.1-2.fc39
          LayeredPackages: akmod-nvidia borgbackup ffmpeg ffmpegthumbnailer langpacks-en lnav rpmdevtools rpmfusion-free-release rpmfusion-nonfree-release steam-devices
                           wl-clipboard xorg-x11-drv-nvidia-cuda