playtron-os / rpm-specs-gaming

Various RPM specs for packages optimized for gaming.
MIT License
1 stars 0 forks source link

[mesa] Update to 24.1.4 #78

Closed LukeShortCloud closed 2 months ago

LukeShortCloud commented 2 months ago

from 24.1.2. This fixes base container builds by addressing RPM Fusion conflicts.

LukeShortCloud commented 2 months ago

When I try to build the new PlaytronOS base container image locally, it fails due to a mismatch of Mesa versions. It expects either version 24.0.5 or 24.1.4. This PR updates us to 24.1.4.

$ sudo -E go-task container-image:build-base
Resolving dependencies... done
error: Installing packages: Could not depsolve transaction; 2 problems detected:
 Problem 1: conflicting requests
  - package mesa-vdpau-drivers-freeworld-24.1.4-2.fc40.i686 from rpmfusion-free-updates requires mesa-filesystem(x86-32) = 24.1.4, but none of the providers can be installed
  - package mesa-vdpau-drivers-freeworld-24.1.4-2.fc40.x86_64 from rpmfusion-free-updates requires mesa-filesystem(x86-64) = 24.1.4, but none of the providers can be installed
  - package mesa-vdpau-drivers-freeworld-24.0.5-1.fc40.i686 from rpmfusion-free requires mesa-filesystem(x86-32) = 24.0.5, but none of the providers can be installed
  - package mesa-vdpau-drivers-freeworld-24.0.5-1.fc40.x86_64 from rpmfusion-free requires mesa-filesystem(x86-64) = 24.0.5, but none of the providers can be installed
  - package mesa-filesystem-24.1.4-2.fc40.i686 from fedora-40-updates is filtered out by exclude filtering
  - package mesa-filesystem-24.1.4-2.fc40.x86_64 from fedora-40-updates is filtered out by exclude filtering
  - package mesa-filesystem-24.0.5-1.fc40.i686 from fedora-40 is filtered out by exclude filtering
  - package mesa-filesystem-24.0.5-1.fc40.x86_64 from fedora-40 is filtered out by exclude filtering
 Problem 2: conflicting requests
  - package mesa-va-drivers-freeworld-24.1.4-2.fc40.i686 from rpmfusion-free-updates requires mesa-filesystem(x86-32) = 24.1.4, but none of the providers can be installed
  - package mesa-va-drivers-freeworld-24.1.4-2.fc40.x86_64 from rpmfusion-free-updates requires mesa-filesystem(x86-64) = 24.1.4, but none of the providers can be installed
  - package mesa-va-drivers-freeworld-24.0.5-1.fc40.i686 from rpmfusion-free requires mesa-filesystem(x86-32) = 24.0.5, but none of the providers can be installed
  - package mesa-va-drivers-freeworld-24.0.5-1.fc40.x86_64 from rpmfusion-free requires mesa-filesystem(x86-64) = 24.0.5, but none of the providers can be installed
  - package mesa-filesystem-24.1.4-2.fc40.i686 from fedora-40-updates is filtered out by exclude filtering
  - package mesa-filesystem-24.1.4-2.fc40.x86_64 from fedora-40-updates is filtered out by exclude filtering
  - package mesa-filesystem-24.0.5-1.fc40.i686 from fedora-40 is filtered out by exclude filtering
  - package mesa-filesystem-24.0.5-1.fc40.x86_64 from fedora-40 is filtered out by exclude filtering
error: compose tree failed: ExitStatus(unix_wait_status(256))
task: Failed to run task "container-image:build-base": exit status 1
LukeShortCloud commented 2 months ago

I pulled in Mesa 24.1.4 from the latest f40 branch at this commit: https://pagure.io/mesa/tree/ce89d32

LukeShortCloud commented 2 months ago

I did a full base container build this morning with Mesa 24.1.4 and can confirm it works!

$ mkdir /tmp/repo/
$ cp ~/rpmbuild/RPMS/x86_64/mesa*24.1.4* /tmp/repo/
$ go-task rpm-repo
$ export TAG=base-mesa-fix
$ sudo -E go-task container-image:build-base

Long-term, we should import Mesa from RPM Fusion instead of Fedora to enable additional codecs and hardware acceleration support. Then we can exclude Mesa packages from RPM Fusion, too. For now, we are still dependent on two Mesa packages from RPM Fusion: mesa-va-drivers-freeworld and mesa-vdpau-drivers-freeworld.

LukeShortCloud commented 2 months ago

Short-term fix proposed and merged here (does not require rebasing Mesa every time it updates): https://github.com/playtron-os/playtron-os/pull/139

Long-term fix is to move to building Mesa from RPM Fusion.