Bug 2247117 - Regression in Mesa 23.2.1 prevents 3D accelerated UTM virtualization
Summary: Regression in Mesa 23.2.1 prevents 3D accelerated UTM virtualization
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: 39
Hardware: aarch64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: https://discussion.fedoraproject.org...
Depends On:
Blocks: F39FinalFreezeException
TreeView+ depends on / blocked
 
Reported: 2023-10-30 18:58 UTC by Stephen Gallagher
Modified: 2024-01-12 11:15 UTC (History)
14 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-01-12 10:18:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stephen Gallagher 2023-10-30 18:58:51 UTC
As documented in the UTM upstream issue tracker: https://github.com/utmapp/UTM/issues/5749

A regression in Mesa 23.2.1 causes any attempt to boot a Fedora 39 virtual image on UTM (a QEmu-based virtual machine for OSX) to fail with the error "EMU exited from an error: GL_ARB_clear_texture".

A patch is available upstream to correct this issue: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25580

Reproducible: Always

Steps to Reproduce:
1. Create a Fedora 39 virtual machine on an Apple Silicon-based OSX system using UTM
2. Configure the VM to use 3D acceleration
Actual Results:  
The image will not load due to a GL error.

Expected Results:  
A usable virtual machine.

Comment 1 Fedora Blocker Bugs Application 2023-10-30 19:10:53 UTC
Proposed as a Freeze Exception for 39-final by Fedora user sgallagh using the blocker tracking app because:

 Apple Silicon machines are very popular and UTM is the most popular open-source virtualization tool for them. Without backporting this virgl fix in mesa, Fedora 39 install media will be unusable unless end-users are instructed to disable 3D acceleration in the virtual machines. Aside from being inconvenient, this will give a very poor initial experience for anyone using Live media to evaluate Fedora.

Comment 2 Stephen Gallagher 2023-10-31 18:14:25 UTC
Making things worse, a trivial backport isn't enough because Mesa won't build against LLVM 17 right now due to https://releases.llvm.org/17.0.1/docs/ReleaseNotes.html#changes-to-llvm-infrastructure

Comment 3 Kamil Páral 2024-01-12 11:15:52 UTC
This should be fixed with Mesa 23.3.2. More details are available here:
https://discussion.fedoraproject.org/t/fedora-39-images-crash-in-utm-virtualization-when-3d-acceleration-is-enabled/95026


Note You need to log in before you can comment on or make changes to this bug.