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.
This is what I get when I try to run that set of commands: `j@j-HP-Notebook:~$ sudo apt install mesa-vulkan-drivers mesa-vulkan-drivers:i386 libvulkan1 libvulkan1:i386 vulkan-tools vkd3d-demos mesa-opencl-icd clinfo libxrandr2 libxrandr2:i386 libvulkan-dev libvulkan-dev:i386 libgl1-mesa-dri libgl1-mesa-dri:i386 vkmark glmark2-x11 firmware-amd-graphics radeontop xserver-xorg-video-amdgpu [sudo] password for j:
Reading package lists… Done Building dependency tree… Done Reading state information… Done Package firmware-amd-graphics is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Unable to locate package vkmark E: Unable to locate package glmark2-x11 E: Package ‘firmware-amd-graphics’ has no installation candidate `
You need to activate contrib, non-free, non-free-firmware repos:
sudo nano /etc/apt/sources.list
You should have something likedeb http://URL_OF_THE_REPO DISTRIBUTION main
, you need to addcontrib non-free non-free-firmware
to the end of those lines like:deb http://URL_OF_THE_REPO DISTRIBUTION main contrib non-free non-free-firmware
then you dosudo apt update
and try installing the packages again.I don’t know if I need to do that because Vulkan seems to be working now but is that correct? My sources.list file is empty and it states the wrong version of Linux mint. Should I actually edit “/etc/apt/sources.list.d/official-package-repositories.list”, seeing that that has the actual list of repositories?
I think those are Debian specific, Mint has Ubuntu as its base.
You’re right, I don’t have mint/ubuntu installed nor that kind of hardware (anymore), so I can’t give precise instructions. I was just like: see that you’re not missing any of these packages/repos/firmware and adapt it to your needs. I had to deal with a laptop with dual gpu (intel+amd) and it was such a pain in the ass to get it working. I think you needed to have n packages installed, add grub flags, configure X11 to use amdgpu and blacklist radeon and even when I had it working, the amd gpu was only compatible with a limited amount of vulkan instructions so I had graphical glitches and games breaking. Old dual gpu setups are just a nightmare.