this post was submitted on 13 Aug 2024
27 points (100.0% liked)

Linux

48048 readers
722 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] SteveTech@programming.dev 5 points 2 months ago (1 children)

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?

[–] vortexal@lemmy.ml 2 points 2 months ago (1 children)

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?

[–] SteveTech@programming.dev 5 points 2 months ago* (last edited 2 months ago) (1 children)

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

[–] vortexal@lemmy.ml 1 points 2 months ago (1 children)

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?

[–] SteveTech@programming.dev 3 points 2 months ago* (last edited 2 months ago) (1 children)

Oh whoops yeah there is, run sudo update-grub.

But otherwise that config looks correct.

[–] vortexal@lemmy.ml 1 points 2 months ago (2 children)

Ok, do I need to restart my computer now?

[–] SteveTech@programming.dev 3 points 2 months ago (1 children)
[–] vortexal@lemmy.ml 3 points 2 months ago (2 children)

Ok, it seems to have worked as the game I was using for testing seems to be working fine.

Although, I keep getting the error message (WARNING: radv is not a conformant Vulkan implementation, testing use only.), is that to be expected?

[–] SteveTech@programming.dev 3 points 2 months ago

Epic!

I've never seen that on modern AMD stuff that uses radv, but I'm sure it's probably fine.

[–] IceVAN@beehaw.org 2 points 2 months ago

I had that warning too with a r9 270x and if I remember correctly it was because radv didn't have official/full support for GCN =<2, so what they're saying is something in the line of... it may break. In my case, it worked beautifully gaming with proton, etc.

[–] WOBONOFO@lemmy.world 1 points 2 months ago (1 children)
[–] vortexal@lemmy.ml 3 points 2 months ago

Yeah it seems like it's working now.