I had a bug appear in my email recently which led me down a rabbit hole, and I'm going to share it for future people wondering why we can't have nice things. Bug: 1. Get an intel/nvidia (newer than Turing) laptop. 2. Log in to GNOME on Fedora 42/43 3. Hotplug a HDMI port that is connected to the NVIDIA GPU. 4. Desktop stops working. My initial reproduction got me a hung mutter process with a nice backtrace which pointed at the Vulkan Mesa device selection layer, trying to talk to the wayland compositor to ask it what the default device is. The problem was the process was the wayland compositor, and how was this ever supposed to work. The Vulkan device selection was called because zink called EnumeratePhysicalDevices, and zink was being loaded because we recently switched to it as the OpenGL driver for newer NVIDIA GPUs. I looked into zink and the device select layer code, and low and behold someone has hacked around this badly already, and probably wrongly and I've no ide...
You can get working Vulkan drivers on Ubuntu with this PPA:
ReplyDeletehttps://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers/
Do they know? https://bugs.launchpad.net/ubuntu/+source/mesa has only one bug mentioning radv, and it's not about radv.
ReplyDeleteThis is the Ubuntu bug:
Deletehttps://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1720890
yes, they do: https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1720890
ReplyDelete