Which vulkan-driver should I choose?

Hi, I just run yay -Syu and I saw this message:

:: There are 7 providers available for vulkan-driver:
:: Repository extra
    1) amdvlk 2) nvidia-utils 3) vulkan-intel 4) vulkan-nouveau 5) vulkan-radeon 6) vulkan-swrast 7) vulkan-virtio 

Enter a number (default=1):

Which one should I choose? My laptop has an AMD apu and an Nvidia rtx card.

It happened to me today as well. From what I understand sdl2-compat replaces the aur package sdl2. If you run “sudo pacman -Syu” (instead of yay) it will install the new compat package. Then running “yay” will no longer ask that question.

4 Likes

If you use the Nvidia GPU, nvidia-utils. For the AMD APU vulkan-radeon. I’m not sure how to handle the dual setup though. I would imagine that you are using the Nvidia GPU, so go nvidia-utils. You can still install or change things afterwards, if something doesn’t work.

2 Likes

As I understand sdl3 just hit the repos. sdl2-compat is a layer for sdl2 programs to run on sdl3. sdl2 is not in the official repos anymore.

1 Like

I didn’t want to install the official nvidia drivers because they cause lots of issues on my laptop, so I guess it’s using the open source ones. Not sure if I should choose vulkan-radeon or even amdvlk as I don’t have other nvidia* packages installed.

I would suggest vulkan-radeon then. It’s the Mesa implementation, which, for most cases seems to be better.

2 Likes

Thank you

I just did that (pacman instead of yay for sdl) and it won’t ask about vulkan-driver anymore. It’s not installed, nor the alternatives. Weird.

Not sure if I should manually install vulkan now?

vulkan-radeon is the driver for amd.

2 Likes

Did that that way and hadn’t any issues. Thanks! :+1:

saw this update with sdl2 the first time.

1 Paket zu upgraden/installieren.
1 aur/sdl2 2.30.11-1 → 2.30.11-2

so is it needed for the vulkan-driver? Just to clarify. I have an Laptop with Intel UHD Graphics so i choose vulkan-intel. right?

The strange thing is that I had never installed sdl2 from the AUR before. How did it get onto my computer without asking?

Sometimes Arch maintainers drop packages from the official repos, and they start getting maintained by someone on the AUR. If you have such a package installed, it would just get updated from the AUR going forward.

There’s also other non-official repos and distro-speific repos. For instance, if you have the Chaotic-AUR repo, many of the packages there are actually in the AUR and not the official Arch repos. If you remove the Chaotic repo, then the same as above happens.

However, I’m not saying that this is what happened here. It’s just possible. :eyes:

EDIT: This package (sdl2-compat) seems to have been created just a few days ago: https://gitlab.archlinux.org/archlinux/packaging/packages/sdl2-compat/-/commits/main

2 Likes

It’s right here …just updating now!

:: 9 packages to upgrade/install.
9  endeavouros/endeavouros-mirrorlist  25.1-1    -> 25.1.1-1
8  endeavouros/eos-rankmirrors         25-1      -> 25.1-1
7  core/wpa_supplicant                 2:2.11-2  -> 2:2.11-3
6  extra/bind                          9.20.4-2  -> 9.20.5-1
5  extra/gegl                          0.4.52-1  -> 0.4.52-2
4  extra/wavpack                       5.8.0-1   -> 5.8.1-1
3  extra/zvbi                          0.2.42-1  -> 0.2.43-1
2  aur/libpamac-aur                    11.7.2-1  -> 11.7.2-2
1  aur/sdl2                            2.30.11-1 -> 2.30.11-2

Edit:

:: Replace sdl2 with extra/sdl2-compat? [Y/n] 

Edit:

Then it finished with removing it and reinstalling it.

[2025-01-29T13:06:43-0500] [ALPM] removed sdl2-compat (2.30.50-2)
[2025-01-29T13:06:43-0500] [ALPM] upgraded libpamac-aur (11.7.2-1 -> 11.7.2-2)
[2025-01-29T13:06:44-0500] [ALPM] installed sdl2 (2.30.11-2)
[2025-01-29T13:06:44-0500] [ALPM] installed sdl2-debug (2.30.11-2)

That’s what it looked like for me too.

Yes same here…
But now I manually removed sdl2 and lib and then installed the compat version and it seems to work now

1 Like

The sdl2 package got moved to the AUR. So it seems yay thinks it came from the AUR. With this update the sdl2 package (now in the AUR) gets replaced by sdl2-compat. It’s not often you see this kind of package changes happening :smiley:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.