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

Linux

48287 readers
627 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
[–] IceVAN@beehaw.org 1 points 3 months ago* (last edited 3 months ago) (5 children)

This is the setup I use in debian, it might give you a hint (no PPAs, standard repos):

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

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

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 `

[–] IceVAN@beehaw.org 1 points 3 months ago (2 children)

You need to activate contrib, non-free, non-free-firmware repos: sudo nano /etc/apt/sources.list You should have something like deb http://URL_OF_THE_REPO DISTRIBUTION main, you need to add contrib 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 do sudo apt update and try installing the packages again.

[–] nerdovic@discuss.tchncs.de 1 points 3 months ago (1 children)

I think those are Debian specific, Mint has Ubuntu as its base.

[–] IceVAN@beehaw.org 1 points 3 months ago

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.

[–] vortexal@lemmy.ml 1 points 3 months ago

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?

load more comments (1 replies)
load more comments (1 replies)