Unable to upgrade Mesa on Debian
0
votes
1
answer
223
views
I am running Debian with kernel 6.5-asahi on an Apple M1 MacBook Air. Although I have kernel 6.9 installed, if I boot into it Mesa goes into software acceleration mode.
apt upgrade
gives
The following packages have been kept back:
libegl-mesa0 libgbm-dev libgbm1 libgl1-mesa-dri libglapi-mesa libglx-mesa0 libosmesa6
lsp-plugins-lv2 lsp-plugins-r3d-glx m1n1 mesa-va-drivers mesa-vdpau-drivers
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
apt full-upgrade
gives
The following packages will be REMOVED:
linux-image-asahi u-boot-asahi
The following packages have been kept back:
libegl-mesa0 libgbm-dev libgbm1 libgl1-mesa-dri libglapi-mesa libglx-mesa0 libosmesa6
lsp-plugins-lv2 lsp-plugins-r3d-glx m1n1 mesa-va-drivers mesa-vdpau-drivers
0 upgraded, 0 newly installed, 2 to remove and 12 not upgraded.
Here's my dpkg -l | grep mesa
ii libegl-mesa0:arm64 23.0.0-202310051950 arm64 free implementation of the EGL API -- Mesa vendor library
ii libegl1-mesa-dev:arm64 24.2.0-20240527+cy8aer0 arm64 free implementation of the EGL API -- development files
ii libgl1-mesa-dev:arm64 24.2.0-20240527+cy8aer0 arm64 transitional dummy package
ii libgl1-mesa-dri:arm64 23.0.0-202310051950 arm64 free implementation of the OpenGL API -- DRI modules
ii libglapi-mesa:arm64 23.0.0-202310051950 arm64 free implementation of the GL API -- shared library
ii libglu1-mesa:arm64 9.0.2-1.1 arm64 Mesa OpenGL utility library (GLU)
ii libglu1-mesa-dev:arm64 9.0.2-1.1 arm64 Mesa OpenGL utility library -- development files
ii libglx-mesa0:arm64 23.0.0-202310051950 arm64 free implementation of the OpenGL API -- GLX vendor library
ii libosmesa6:arm64 23.0.0-202310051950 arm64 Mesa Off-screen rendering extension
ii mesa-common-dev:arm64 24.2.0-20240527+cy8aer0 arm64 Developer documentation for Mesa
ii mesa-utils 8.5.0-1 arm64 Miscellaneous Mesa utilities -- symlinks
ii mesa-utils-bin:arm64 8.5.0-1 arm64 Miscellaneous Mesa utilities -- native applications
ii mesa-va-drivers:arm64 23.0.0-202310051950 arm64 Mesa VA-API video acceleration drivers
ii mesa-vdpau-drivers:arm64 23.0.0-202310051950 arm64 Mesa VDPAU video acceleration drivers
How can I cleanly upgrade mesa without screwing the system? These versions of Mesa are from a 3rd party repo, which also contains the linux-image-asahi
which is odd that they conflict. The versions of Mesa I am trying to upgrade are from the repo, not from deb.debian.org
, and I've set a very high pin priority to the 3rd party repos in apt
The 3rd party repos are
deb https://git.g3la.de/api/packages/repos/debian testing main
deb https://thomas.glanzmann.de/asahi testing main
As an example of manually installing one of the replacement packages:
nick@MacBook:~$ sudo apt install libegl-mesa0
[sudo] password for nick:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libegl-mesa0 : Depends: libc6 (>= 2.38) but 2.36-9+deb12u7 is to be installed
Depends: libgbm1 (= 24.2.0-20240527+cy8aer0) but 23.0.0-202310051950 is to be installed
Depends: libglapi-mesa (= 24.2.0-20240527+cy8aer0) but 23.0.0-202310051950 is to be installed
Depends: libx11-xcb1 (>= 2:1.8.7) but 2:1.8.4-2+deb12u2 is to be installed
E: Unable to correct problems, you have held broken packages.
Asked by Nick Bailuc
(299 rep)
Jun 27, 2024, 05:11 PM
Last activity: Nov 18, 2024, 02:12 PM
Last activity: Nov 18, 2024, 02:12 PM