Fusion

 View Only
Expand all | Collapse all

Fedora 41 Workstation VM is unusable after Mesa 3D library updates are installed

  • 1.  Fedora 41 Workstation VM is unusable after Mesa 3D library updates are installed

    Posted Jan 11, 2025 11:50 AM
    Edited by Technogeezer Jan 11, 2025 12:40 PM

    If you're running a Fedora 41 Workstation VM with the GNOME desktop environment on any VMware desktop hypervisor -- Fusion (on both Intel and Apple Silicon) or Workstation -- don't apply Fedora updates without reading this if your VM is working. If you update Fedora, you'll find that the gdm graphical login greeter no longer displays - you are faced with a blank screen. The only way to log in is to switch to another virtual console in the VM or to boot the VM to a multi-user target (not graphical target). 

    The cause of this problem appears to be the Mesa 3D 24.3.2 packages that are now being distributed by Fedora. Changes have been made that breaks them working with the VMware SVGA II graphics (Linux vmwgfx driver). 

    To work around the problem, you can either disable the vmwgfx driver in the VM, or use dnf to downgrade the Mesa libraries back to 24.2.x. You may need to drop into multi-user mode at boot to perform the dnf commands needed to downgrade the Mesa libraries. I'd also suggest modifying /etc/dnf/dnf.conf in the VM to prevent all Mesa packages from being updated until this issue is fixed. 

    This issue also seems to impact Fedora Rawhide (the rolling development version of the next Fedora release) on both x86_64 and aarch64 (ARM) architectures. 



    ------------------------------
    - Paul (technogeezer)
    ------------------------------



  • 2.  RE: Fedora 41 Workstation VM is unusable after Mesa 3D library updates are installed

    Posted Jan 12, 2025 12:40 PM

    I ran into this same issue this morning. I hadn't used this VM in a couple weeks, and let it do updates when I launched it.

    I was able to get gdm running by disabling Wayland in /etc/gdm/custom.conf:

    [daemon]
    # Uncomment the line below to force the login screen to use Xorg
    WaylandEnable=false

    However, the desktop (in my case, Cinnamon) still didn't start.

    Thanks for the tip on Mesa 3D, though – downgrading to 24.2.x got everything back online (with gdm back in its default configuration)!

    -Eric




  • 3.  RE: Fedora 41 Workstation VM is unusable after Mesa 3D library updates are installed

    Broadcom Employee
    Posted Jan 14, 2025 06:16 PM

    Please try again w/ the latest Mesa code.  I believe this is an issue I just fixed a few days ago.




  • 4.  RE: Fedora 41 Workstation VM is unusable after Mesa 3D library updates are installed

    Posted Jan 15, 2025 11:56 AM

    I just tried updating Fedora Rawhide. No change.

    I'm not seeing any updates to Mesa. There was just a push of new gnome-terminal code to both Rawhide and F41, no difference. What got fixed, and what should I be looking out for.



    ------------------------------
    - Paul (technogeezer)
    ------------------------------



  • 5.  RE: Fedora 41 Workstation VM is unusable after Mesa 3D library updates are installed

    Broadcom Employee
    Posted Jan 15, 2025 12:11 PM

    I should have been more specific - the fix is checked into the Mesa git repository.  I'll make sure it's included in the next Mesa 24.x release.  Fedora will take it from there.

    Until then, one can downgrade to the previous version with "sudo dnf install mesa-dri-drivers-24.2.4-1.fc41.x86_64"




  • 6.  RE: Fedora 41 Workstation VM is unusable after Mesa 3D library updates are installed

    Posted Jan 16, 2025 10:41 AM
    Edited by Technogeezer Jan 16, 2025 10:41 AM

    Brian, thanks for the update and we'll keep an eye out for the Mesa release.

    Also note that this issue appears on Fedora 41 aarch64 (under Fusion on Apple Silicon) - use 

    sudo dnf install mesa-dri-drivers-24.2.4-1.fc41.aarch64

    to downgrade. 



    ------------------------------
    - Paul (technogeezer)
    ------------------------------



  • 7.  RE: Fedora 41 Workstation VM is unusable after Mesa 3D library updates are installed

    Posted Jan 16, 2025 04:03 PM

    Things have gone from bad to worse. The downgrade workaround no longer works with 3D acceleration enabled and the latest batch of Fedora upgrades (which include a 6.12.9 kernel). Turning off 3D acceleration allows the VM to display the login properly.

    There's also a 24.3.3 Mesa upgrade available. I installed that but the issue still remains.



    ------------------------------
    - Paul (technogeezer)
    ------------------------------



  • 8.  RE: Fedora 41 Workstation VM is unusable after Mesa 3D library updates are installed

    Posted Jan 17, 2025 10:16 AM

    same problem, same temporary solution (downgraded, I actually downgraded all the mesa packages (not just dri-drivers)  that were part of the upgrade to just keep them all at the same version), hopefully we will see a proper fedora packaged solution soon.




  • 9.  RE: Fedora 41 Workstation VM is unusable after Mesa 3D library updates are installed

    Posted Jan 31, 2025 01:41 PM

    A new Mesa version (24.3.4-3) is now available for both Fedora 41 and Fedora rawhide. This version addresses the issue that's causing the black screens. Upgrading the VM should fix this issue. 

    One minor issue remains. If you have 3D acceleration enabled for the VM and are using Wayland (the defaults for F41), the Fedora gdm login greeter (the component that asks you for username/password) appears, but the menu bar is visible, the Fedora logo appears dim, and the prompt for username/password is not visible. If that happens, take a corner of the VM's window and resize it slightly. The username/password will now appear. Once you sign in, everything seems to work as expected (even 3D acceleration). 

    There's been a lot going on under the hood with Wayland/mutter lately, and I think that they haven't quite worked all the bugs out..



    ------------------------------
    - Paul (technogeezer)
    ------------------------------



  • 10.  RE: Fedora 41 Workstation VM is unusable after Mesa 3D library updates are installed

    Posted Feb 01, 2025 10:18 AM

    looks like a potential fix (not 100% sure but looks like it aligns with this issue) has been merged: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33123

    It looks like it was picked up after 24.3.4, so perhaps we will have a fix with 24.3.5 when it is released and Fedora picks it up.




  • 11.  RE: Fedora 41 Workstation VM is unusable after Mesa 3D library updates are installed

    Posted Feb 01, 2025 11:43 AM
    Edited by Technogeezer Feb 01, 2025 11:43 AM

    From what I've been tracking in both Fedora and Mesa bug trackers, I believe this is included in Fedora's Mesa 24.3.4-3 versions found in their repos. The gnome-shell crash that caused the failure of the gdm login greeter no longer happens for me when Fedora is updated to this version.

    I believe that the issue of the greeter not fully displaying when 3D support is enabled is a separate issue (kind of confirmed with conversations I've had on the bug report I submitted on the original issue).  



    ------------------------------
    - Paul (technogeezer)
    ------------------------------