Bug 2108405

Summary: mesa-dri-drivers on arm64 don't include the svga driver
Product: [Fedora] Fedora Reporter: Zack Rusin <zackr>
Component: mesaAssignee: Pete Walter <walter.pete>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: ajax, bskeggs, caillon+fedoraproject, igor.raits, jglisse, j, lyude, mail, rclark, rhughes, rstrode, tstellar, walter.pete
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: mesa-22.1.4-2.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-26 16:13:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Zack Rusin 2022-07-19 02:36:39 UTC
Description of problem: Unlike on x86 the mesa-dri-drivers on aarch64 does not include the SVGA drivers, which results in:
MESA-LOADER: failed to open vmwgfx
and makes the system fallback to swrast_dri.so

Mesa3D supports the svga driver on aarch64 starting from Mesa3D 22.1.1 release. Fedora rawhide is currently on 22.1.3 so it should be trivial to enable it.


Version-Release number of selected component (if applicable): 22.1.3 (but svga is support from 22.1.1)


How reproducible: Start Fedora rawhide on VMware Fusion on aarch64.


Steps to Reproduce:
1. Boot Fedora on VMware Fusion on aarch64 (e.g. Apple's M1)
2. Check "LIBGL_DEUBUG=verbose glxinfo" which will list llvmpipe and mention loading swrast_dri.so
3. Check /usr/lib64/dri for the svga driver, which won't be present and check "journalctl -b" for all the messages talking about not being able to find a mesa dri driver for device vmwgfx.

Actual results: svga dri driver missing


Expected results: svga dri driver present


Additional info: 3D on aarch64 has been supported on 5.17stable, 5.18 stable and any 5.19 (starting from rc1).

Comment 1 Pete Walter 2022-07-24 16:00:56 UTC
I went ahead and enabled the svga driver on aarch64 in https://src.fedoraproject.org/rpms/mesa/c/84f09b5018da2195c552c2993c04d62b1ee55037?branch=rawhide

Comment 2 Fedora Update System 2022-07-24 16:01:11 UTC
FEDORA-2022-56e820c66f has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-56e820c66f

Comment 3 Fedora Update System 2022-07-25 01:07:46 UTC
FEDORA-2022-56e820c66f has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-56e820c66f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-56e820c66f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2022-07-26 16:13:37 UTC
FEDORA-2022-56e820c66f has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.