this post was submitted on 27 Jan 2024
12 points (80.0% liked)

Linux

48461 readers
423 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
 

I don't want to change drivers on my host Distro as I want to game on it. I'm currently using the open source amdgpu drivers for my rx 6600.

The idea is to use the distrobox containers for running software like oogabooga text-chat-webui and stable diffusion, fooocus etc.

I don't know if that works but I thought I'd ask.

top 3 comments
sorted by: hot top controversial new old
[–] drwankingstein@lemmy.dbzer0.com 7 points 10 months ago* (last edited 10 months ago)

You can run different userland drivers but not kernel drivers. Thankfully the kernel drivers are pretty much unified for AMD. to use the proprietary ones, install the appropriate driver in the distrobox container.

Vulkan and Opengl are different drivers so you will need to figure out the flags you need to set appropriately. arch wiki is a food resource for this.

For rocm and stuff make sure your kernel has the necessary bits, this will be distro specific, but I can at least say arch will work fine simply. and fedors too iirc

[–] taladar@sh.itjust.works 4 points 10 months ago (1 children)

The driver runs in the kernel, distrobox still uses the host kernel as it is container based so no, you can not run two different drivers on host and in distrobox. That wouldn't even work in a VM though unless you have a second GPU you pass through to the VM. How do you imagine one piece of hardware to be simultaneously controlled by two different drivers?

[–] drwankingstein@lemmy.dbzer0.com 5 points 10 months ago

It seems highly likely they are actually talking about userland driver, not kernel driver