Edit: I think I’ve figured it out, it seems like Linux Mint defaulted to the wrong Kernel driver and I was able to switch it to the correct one.

I’ve already tried searching for this online but there is a reason I’m posting about it here. The last time I tried to install Vulkan drivers in Linux Mint, there was an update to the oibaf PPA that completely broke my Linux Mint installation and I had to manually reinstall it. I’ve read that, at least in the past, the oibaf PPA causes problems in Ubuntu but I can’t find another solution to installing Vulkan drivers in Linux Mint. Is that the only way to install the Vulkan Drivers in Linux Mint, or is there another way?

Also, yes, Vulkan works in Windows and it did work in my previous installation of Linux.

5 points

Could you post the output of vulkaninfo including any errors that it might also print.

If it’s not shown, what GPU do you have?

Also run lspci -k, is your GPU using amdgpu or the old radeon driver?

permalink
report
reply
2 points

My computer has an AMD Radeon R2 Graphics. It seems like both the radeon and the amdgpu modules are installed but the kernel driver in use is radeon. I’d show the output of “vulkaninfo” but it doesn’t seem to show the full thing, is there a way I can get it to show the full output?

permalink
report
parent
reply
5 points
*

Cool, you’re going to have to enable Sea Islands (CIK) support for amdgpu. You should just have to add radeon.cik_support=0 amdgpu.cik_support=1 to your kernel parameters. You’re probably using GRUB so to do that you’ll need to run sudo nano /etc/default/grub to edit it’s config file, then add the above to the end of GRUB_CMDLINE_LINUX_DEFAULT (keep it in the quotes, but space seperated from the previous parameter). Then reboot and hopefully Vulkan works!

Alternatively, there’s a section on the Arch Wiki for this, it should work fine for Mint too: https://wiki.archlinux.org/title/AMDGPU

permalink
report
parent
reply
1 point

Did I do it correctly? GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.cik_support=0 amdgpu.cik_support=1" After saving, is there anything else I have to do it get it to work?

permalink
report
parent
reply
3 points

Vulkan drivers come as part of Mesa, which would already be part of Linux Mint. Unless you have an Nvidia GPU, or a GPU that’s somehow too modern for Mint 21.3.

permalink
report
reply

What if you do have an Nvidia GPU…?

permalink
report
parent
reply
5 points

I’m not a Mint user but according to this page https://www.linuxmint.com/rel_wilma.php

  • Run the Driver Manager
  • Choose the NVIDIA drivers and wait for them to be installed
  • Reboot the computer
permalink
report
parent
reply

Oh… I thought there’d be more to it than that.

Lol, sorry. xD

permalink
report
parent
reply
1 point
*

My GPU shouldn’t be too modern because it just recently became EOL. The only thing I know is that when ever I try to run something that requires Vulkan in Linux, it defaults to using Lavapipe instead of my GPU and if it try to disable Lavapipe, it acts like Vulkan isn’t installed.

permalink
report
parent
reply
2 points
*

What GPU are you using? What influenced you to add “Oibaf PPA” instead of using the default built in Mesa drivers that came with Mint? No judgement, just trying to figure out what led you here, so we can unravel it. Because as the other poster mentioned, Vulkan for Amd should have worked out of the box on a fresh install.

Edit, to clarify, did you add the repo because you thought that mint didn’t have drivers and that was the way to get them? Or was there a different reason you needed to add the repo?

permalink
report
parent
reply
0 points

Because Vulkan has never worked out of the box for me in either Ubuntu nor Linux Mint and every single search result on every single search engine states that Ubuntu and it’s derivatives need that PPA for Vulkan to work. I would have tried other solutions if there was even a single mention of another way to get Vulkan working.

permalink
report
parent
reply
1 point

What is the GPU?

permalink
report
parent
reply
1 point

The GPU is an AMD Radeon R2 Graphics. It was a bit hard for me to find and I have no idea if it’s accurate but it should support at least Vulkan 1.2.170.

permalink
report
parent
reply
2 points

you should just install mesa, no?

permalink
report
reply
4 points
*

Yes but the problem for me was more complicated. Mesa is installed by default in Linux Mint and Vulkan should have worked out of the box but for some reason it defaulted to the wrong Kernel driver for the GPU. I didn’t know this before posting and, as I stated in other replies, every search result on every search engine told me the wrong information.

permalink
report
parent
reply
2 points

Sorcery.

You must commune with the machine spirit.

permalink
report
reply
2 points

It is preinstalled as it is natively supported by Linux (thanks AMD)

Your issue lies elsewhere and will not be solved by installing random PPAs

permalink
report
reply
1 point

Ok, what is my solution then? Right now, the only thing I know is that when ever I try to run anything in Linux that requires Vulkan, it defaults to Lavapipe instead of using my GPU and if I try to disable Lavapipe, it acts like Vulkan isn’t installed.

permalink
report
parent
reply
1 point

What’s the GPU?

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 8.4K

    Monthly active users

  • 6.3K

    Posts

  • 172K

    Comments