Latest snapshot broke hardware acceleration for Intel Arc

Today I upgraded one of my computers to the latest snapshot and also installed the KDE Pattern with the suggested dependencies.
After rebooting, GDM wouldn’t offer a Plasma Wayland session, only X11.
While in an X11 session, some programs had unexpected behavior and showed this on the journal:

systemd[2658]: Started mpv Media Player - Multimedia player.
sep 02 15:49:06 lydia ksmserver[4565]: vulkan: No DRI3 support detected - required for presentation
sep 02 15:49:06 lydia ksmserver[4565]: Note: you can probably enable DRI3 in your Xorg config
sep 02 15:49:06 lydia ksmserver[4565]: vulkan: No DRI3 support detected - required for presentation
sep 02 15:49:06 lydia ksmserver[4565]: Note: you can probably enable DRI3 in your Xorg config
sep 02 15:49:06 lydia ksmserver[4565]: libva info: VA-API version 1.19.0
sep 02 15:49:06 lydia ksmserver[4565]: libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
sep 02 15:49:28 lydia plasmashell[3005]: kde.dataengine.mpris: "org.mpris.MediaPlayer2.mpv" does not implement org.freedesktop.DBus.Properties correctly
sep 02 15:49:28 lydia plasmashell[3005]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/items/PlasmoidItem.qml:125: TypeError: Cannot read property 'compactRepresentationItem' of null
sep 02 15:49:28 lydia systemd[2658]: app-mpv-234806e0cbfe49d7aea63ff64425cccf.scope: Consumed 9.965s CPU time.
sep 02 15:49:41 lydia systemd[2658]: Started Firefox - Web Browser.
sep 02 15:49:41 lydia plasmashell[4662]: ATTENTION: default value of option mesa_glthread overridden by environment.
sep 02 15:49:41 lydia plasmashell[4662]: libEGL warning: DRI2: failed to authenticate
sep 02 15:49:41 lydia plasmashell[4662]: ATTENTION: default value of option mesa_glthread overridden by environment.
sep 02 15:49:42 lydia plasmashell[3005]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:286: Unable to assign [undefined] to QString
sep 02 15:49:43 lydia plasmashell[4866]: ATTENTION: default value of option mesa_glthread overridden by environment.

After learning SDDM is the default display manager, I activated it and rebooted. When choosing a session from the SDDM menu, I was presented with duplicates like:

  • Gnome with Wayland
  • Gnome Wayland
  • Gnome Classic X11
  • Gnome Classic with X11

Also I now had Plasma Wayland, however choosing it and logging in was followed by an extremely slow Plasma startup animation, easily 2 minutes just to show the desktop and after that the session would crash and reload. User input took 4 seconds to show a response. This is what I found in the logs:

lydia kwin_wayland[2669]: No backend specified, automatically choosing drm
sep 02 15:42:22 lydia kwin_wayland_wrapper[2669]: DRI driver not from this Mesa build ('23.1.5' vs '23.1.6')
sep 02 15:42:22 lydia kwin_wayland_wrapper[2669]: failed to bind extensions
sep 02 15:42:22 lydia kwin_wayland_wrapper[2669]: DRI driver not from this Mesa build ('23.1.5' vs '23.1.6')
sep 02 15:42:22 lydia kwin_wayland_wrapper[2669]: failed to bind extensions
sep 02 15:42:22 lydia kwin_wayland_wrapper[2669]: DRI driver not from this Mesa build ('23.1.5' vs '23.1.6')
sep 02 15:42:22 lydia kwin_wayland_wrapper[2669]: failed to bind extensions
sep 02 15:42:22 lydia kwin_wayland_wrapper[2669]: DRI driver not from this Mesa build ('23.1.5' vs '23.1.6')
sep 02 15:42:22 lydia kwin_wayland_wrapper[2669]: failed to bind extensions
sep 02 15:42:22 lydia dbus-daemon[2600]: [session uid=1000 pid=2600] Activating via systemd: service name='org.freedesktop.portal.Documents' unit='xdg-document-portal.service' requested by ':1.14' (uid=1000 pid=2678 comm="/usr/libexec/xdg-desktop-portal")
sep 02 15:42:22 lydia systemd[2579]: Starting flatpak document portal service...
sep 02 15:42:22 lydia dbus-daemon[2600]: [session uid=1000 pid=2600] Activating via systemd: service name='org.freedesktop.impl.portal.PermissionStore' unit='xdg-permission-store.service' requested by ':1.15' (uid=1000 pid=2690 comm="/usr/libexec/xdg-document-portal")
sep 02 15:42:22 lydia systemd[2579]: Starting sandboxed app permission store...
sep 02 15:42:22 lydia dbus-daemon[2600]: [session uid=1000 pid=2600] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
sep 02 15:42:22 lydia systemd[2579]: Started sandboxed app permission store.
sep 02 15:42:22 lydia dbus-daemon[2600]: [session uid=1000 pid=2600] Successfully activated service 'org.freedesktop.portal.Documents'
sep 02 15:42:22 lydia systemd[2579]: Started flatpak document portal service.
sep 02 15:42:22 lydia kwin_wayland[2669]: kwin_scene_opengl: Creating the OpenGL rendering failed:  "Could not create gbm device"
sep 02 15:42:22 lydia kwin_wayland[2669]: kwin_scene_opengl: Creating the OpenGL rendering failed:  "Could not initialize egl"
sep 02 15:42:22 lydia dbus-daemon[2600]: [session uid=1000 pid=2600] Activating via systemd: service name='org.freedesktop.impl.portal.desktop.gnome' unit='xdg-desktop-portal-gnome.service' requested by ':1.14' (uid=1000 pid=2678 comm="/usr/libexec/xdg-desktop-portal")
sep 02 15:42:22 lydia kwin_wayland[2669]: kwin_xkbcommon: XKB: inet:323:58: unrecognized keysym "XF86EmojiPicker"
sep 02 15:42:22 lydia kwin_wayland[2669]: kwin_xkbcommon: XKB: inet:324:58: unrecognized keysym "XF86Dictate"
sep 02 15:42:22 lydia kwin_wayland_wrapper[2707]: (WW) Option "-listen" for file descriptors is deprecated
sep 02 15:42:22 lydia kwin_wayland_wrapper[2707]: Please use "-listenfd" instead.
sep 02 15:42:22 lydia kwin_wayland_wrapper[2707]: (WW) Option "-listen" for file descriptors is deprecated
sep 02 15:42:22 lydia kwin_wayland_wrapper[2707]: Please use "-listenfd" instead.
sep 02 15:42:22 lydia kwin_wayland_wrapper[2707]: Failed to initialize glamor, falling back to sw
sep 02 15:42:22 lydia kcminit_startup[2674]: Initializing  "/usr/lib64/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
sep 02 15:42:22 lydia dbus-daemon[2600]: [session uid=1000 pid=2600] Successfully activated service 'org.kde.KSplash'
sep 02 15:42:22 lydia kwin_wayland_wrapper[2748]: The XKEYBOARD keymap compiler (xkbcomp) reports:
sep 02 15:42:22 lydia kwin_wayland_wrapper[2748]: > Warning:          Unsupported maximum keycode 708, clipping.
sep 02 15:42:22 lydia kwin_wayland_wrapper[2748]: >                   X11 cannot support keycodes above 255.
sep 02 15:42:22 lydia kwin_wayland_wrapper[2748]: Errors from xkbcomp are not fatal to the X server

I had no choice but roll back to a snapshot from 2 weeks ago. Things are working fine now on Gnome Wayland but I don’t think I can upgrade anymore.
System specs:

AMD Ryzen 5600G
Intel Arc A380

Using Mesa from Main OSS repo 23.1.5-355.2

@lavadrop Sounds like a mixture of Mesa packages (Packman and OSS)…

What is the output from;

zypper se -si Mesa
i+ | Mesa                            | package | 23.1.5-355.2 | x86_64 | Main Repository (OSS)
i+ | Mesa-32bit                      | package | 23.1.5-355.2 | x86_64 | Main Repository (OSS)
i+ | Mesa-demo-x                     | package | 9.0.0-1.3    | x86_64 | Main Repository (OSS)
i+ | Mesa-dri                        | package | 23.1.5-355.2 | x86_64 | Main Repository (OSS)
i+ | Mesa-dri-32bit                  | package | 23.1.5-355.2 | x86_64 | Main Repository (OSS)
i+ | Mesa-gallium                    | package | 23.1.5-355.2 | x86_64 | Main Repository (OSS)
i+ | Mesa-gallium-32bit              | package | 23.1.5-355.2 | x86_64 | Main Repository (OSS)
i+ | Mesa-KHR-devel                  | package | 23.1.5-355.2 | x86_64 | Main Repository (OSS)
i+ | Mesa-libEGL-devel               | package | 23.1.5-355.2 | x86_64 | Main Repository (OSS)
i+ | Mesa-libEGL1                    | package | 23.1.5-355.2 | x86_64 | Main Repository (OSS)
i+ | Mesa-libGL1                     | package | 23.1.5-355.2 | x86_64 | Main Repository (OSS)
i+ | Mesa-libGL1-32bit               | package | 23.1.5-355.2 | x86_64 | Main Repository (OSS)
i+ | Mesa-libglapi0                  | package | 23.1.5-355.2 | x86_64 | Main Repository (OSS)
i+ | Mesa-libglapi0-32bit            | package | 23.1.5-355.2 | x86_64 | Main Repository (OSS)
i+ | Mesa-libva                      | package | 23.1.5-355.2 | x86_64 | Main Repository (OSS)
i+ | Mesa-vulkan-device-select       | package | 23.1.5-355.2 | x86_64 | Main Repository (OSS)
i+ | Mesa-vulkan-device-select-32bit | package | 23.1.5-355.2 | x86_64 | Main Repository (OSS)

@lavadrop Ahh, that’s right you did rollback… But your only using OSS versions, so unlikely to be that. Maybe a kwin5 bug, @sfalken any thoughts on this?

I haven’t the foggiest, as I have no Arc hardware to be testing against. Everything is fine over here in Radeon land.

That being said, as all my apps are flatpaks, it’s not a great comparison.

It’s not just kwin, systemd is also complaining in a previous boot when I tried logging into Gnome Wayland:

Thank you in advanced for your input.

Well, I updated to the 20230209 snapshot and everything seems fine now… must’ve grabbed a previous snapshot without Mesa 23.1.6 while the DRI driver was on 23.1.6…
I’m updating my post from KDE Plasma running on Wayland.

You must be kidding. That’s seven months old. Or maybe I’m in some weird time warp!

He probably means “20230902”. Some cultures write dates in a different order.

1 Like

I use yyyy/mm/dd but I don’t know which format devs use to date. I meant 20230902 which was 3 days ago or 4 if you’re in Europe.

2 Likes