debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #06550
[Bug 2121980] Re: mesa-vulkan-drivers fails to upgrade on questing
"I had to remove about 6 .json files from /usr/share/vulkan/icd.d in
order for it to upgrade successfully"
Note that your Vulkan is probably broken on the Intel GPU now because
the json files are 32-bit only. Look at 'vulkaninfo --summary'
Delete the .json files again and reinstall mesa-vulkan-drivers (the
regular amd64 one). That will fix Vulkan for the most part, but now
32-bit stuff (like Steam/wine) won't work. In your case, if you run all
32-bit programs on your Nvidia GPU, that will be sufficient since you're
not using mesa there.
But for those need it, you have to make copies of the relevant .json
files and edit them to 32 bit arch. I give example using llvmpipe .json,
which everyone should use:
cd /usr/share/vulkan/icd.d
sudo cp lvp_icd.json lvp_icd.686.json
Now edit lvp_icd.686.json and change "library_arch": "64" to "library_arch": "32"
Repeat for any other relevant .json files that your system may use.
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/2121980
Title:
mesa-vulkan-drivers fails to upgrade on questing
Status in mesa package in Ubuntu:
Confirmed
Status in mesa package in Debian:
Unknown
Bug description:
$ sudo apt --fix-broken install
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
libxatracker2
Use 'sudo apt autoremove' to remove it.
Upgrading:
mesa-vulkan-drivers
Summary:
Upgrading: 1, Installing: 0, Removing: 0, Not Upgrading: 0
84 not fully installed or removed.
Download size: 0 B / 18.2 MB
Space needed: 2,614 kB / 167 GB available
Continue? [Y/n]
Setting up gcc-15-base:amd64 (15.2.0-2ubuntu1) ...
Setting up libgcc-s1:amd64 (15.2.0-2ubuntu1) ...
Setting up libstdc++6:amd64 (15.2.0-2ubuntu1) ...
(Reading database ... 569583 files and directories currently installed.)
Preparing to unpack .../mesa-vulkan-drivers_25.2.1-2ubuntu1_amd64.deb ...
Unpacking mesa-vulkan-drivers:amd64 (25.2.1-2ubuntu1) over (25.1.7-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/mesa-vulkan-drivers_25.2.1-2ubuntu1_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/vulkan/icd.d/asahi_icd.json', which is different from other instances of package mesa-vulkan-drivers:amd64
Errors were encountered while processing:
/var/cache/apt/archives/mesa-vulkan-drivers_25.2.1-2ubuntu1_amd64.deb
update-initramfs: Generating /boot/initrd.img-6.16.0-16-generic
Error: Sub-process /usr/bin/dpkg returned an error code (1)
----
I had to remove about 6 .json files from /usr/share/vulkan/icd.d in
oder for it to upgrade successfully as these files needed to be
overwritten:
/usr/share/vulkan/icd.d/asahi_icd.json
/usr/share/vulkan/icd.d/intel_hasvk_icd.json
/usr/share/vulkan/icd.d/intel_icd.json
/usr/share/vulkan/icd.d/lvp_icd.json
/usr/share/vulkan/icd.d/radeon_icd.json
/usr/share/vulkan/icd.d/virtio_icd.json
This points to a packaging error. Probably needs a Conflicts: and Replaces: mesa-vulkan-drivers (<<$binary_version).
ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: mesa-vulkan-drivers 25.2.1-2ubuntu1
ProcVersionSignature: Ubuntu 6.16.0-16.16-generic 6.16.0
Uname: Linux 6.16.0-16-generic x86_64
.proc.driver.nvidia.capabilities.fabric-imex-mgmt:
DeviceFileMinor: 4323
DeviceFileMode: 256
DeviceFileModify: 1
.proc.driver.nvidia.capabilities.gpu0: Error: path was not a regular file.
.proc.driver.nvidia.capabilities.mig: Error: path was not a regular file.
.proc.driver.nvidia.gpus.0000.01.00.0: Error: path was not a regular file.
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.suspend: suspend hibernate resume
.proc.driver.nvidia.suspend_depth: default modeset uvm
.proc.driver.nvidia.version:
NVRM version: NVIDIA UNIX Open Kernel Module for x86_64 570.172.08 Release Build (dvs-builder@U22-I3-AF01-21-3) Tue Jul 8 18:08:21 UTC 2025
GCC version: gcc version 15.2.0 (Ubuntu 15.2.0-1ubuntu1)
ApportVersion: 2.33.1-0ubuntu2
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: KDE
Date: Wed Sep 3 13:10:57 2025
DistUpgraded: 2025-06-27 12:30:45,045 DEBUG Running PostInstallScript: '/usr/lib/ubuntu-advantage/upgrade_lts_contract.py'
DistroCodename: questing
DistroVariant: ubuntu
DkmsStatus: tuxedo-drivers/4.15.3.1~really4.15.2, 6.16.0-16-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] [8086:3e9b] (prog-if 00 [VGA controller])
Subsystem: CLEVO/KAPOK Computer Device [1558:95e6]
NVIDIA Corporation TU106M [GeForce RTX 2060 Mobile] [10de:1f11] (rev a1) (prog-if 00 [VGA controller])
Subsystem: CLEVO/KAPOK Computer Device [1558:95e1]
InstallationDate: Installed on 2024-10-30 (309 days ago)
InstallationMedia: Ubuntu-Studio 24.10 "Oracular Oriole" - Release amd64 (20241007.1)
MachineType: Notebook P95_96_97Ex,Rx
ProcKernelCmdLine: root=UUID=df8f037c-3f77-4261-a9fb-430da823efef ro quiet splash preempt=full threadirqs rcu_nocbs=all vt.handoff=1 initrd=boot\initrd.img-6.16.0-16-generic
SourcePackage: mesa
UpgradeStatus: Upgraded to questing on 2025-06-27 (68 days ago)
dmi.bios.date: 03/03/2020
dmi.bios.release: 7.15
dmi.bios.vendor: INSYDE Corp.
dmi.bios.version: 1.07.15MIN29
dmi.board.asset.tag: Tag 12345
dmi.board.name: P95_96_97Ex,Rx
dmi.board.vendor: Notebook
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Notebook
dmi.chassis.version: N/A
dmi.ec.firmware.release: 7.9
dmi.modalias: dmi:bvnINSYDECorp.:bvr1.07.15MIN29:bd03/03/2020:br7.15:efr7.9:svnNotebook:pnP95_96_97Ex,Rx:pvrNotApplicable:rvnNotebook:rnP95_96_97Ex,Rx:rvrNotApplicable:cvnNotebook:ct10:cvrN/A:skuNotApplicable:
dmi.product.family: Not Applicable
dmi.product.name: P95_96_97Ex,Rx
dmi.product.sku: Not Applicable
dmi.product.version: Not Applicable
dmi.sys.vendor: Notebook
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.125-1
version.libgl1-mesa-dri: libgl1-mesa-dri 25.2.1-2ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.18-1ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1build1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.18-1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/2121980/+subscriptions
References