We should note this will rebreak Cog:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/2163501
https://github.com/canonical/mesa-2404/issues/127

It would be better imo to add a NULL guard in
dri2_bind_wayland_display_wl
(https://gitlab.freedesktop.org/mesa/mesa/-/blob/mesa-25.2.8/src/egl/drivers/dri2/egl_dri2.c#L2656-2658).

   --- a/src/egl/drivers/dri2/egl_dri2.c                                        
                                                            
   +++ b/src/egl/drivers/dri2/egl_dri2.c                                        
                                                            
   @@ -2654,7 +2654,7 @@                                                        
                                                            
          goto fail;                                                            
                                                            
                                                                                
                                                            
       device_name = drmGetRenderDeviceNameFromFd(dri2_dpy->fd_render_gpu);     
                                                            
   -   if (!device_name)                                                        
                                                            
   +   if (!device_name && dri2_dpy->device_name)                               
                                                            
          device_name = strdup(dri2_dpy->device_name);                          
                                                            
       if (!device_name)                                                        
                                                            
          goto fail;

** Bug watch added: github.com/canonical/mesa-2404/issues #127
   https://github.com/canonical/mesa-2404/issues/127

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169161

Title:
  GNOME Shell crashes at startup with mesa 25.2.8-0ubuntu0.24.04.3 on
  Noble

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2169161/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to