lutris / docs

704 stars 218 forks source link

How to install Vulken in debian? #134

Open akashpawar1 opened 1 year ago

akashpawar1 commented 1 year ago

I am trying to install in Debian using command for ubuntu: sudo add-apt-repository ppa:kisak/kisak-mesa && sudo dpkg --add-architecture i386 && sudo apt update && sudo apt upgrade && sudo apt install libgl1-mesa-dri:i386 mesa-vulkan-drivers mesa-vulkan-drivers:i386

but it shows: sudo: add-apt-repository: command not found

how can I install driver in Debian

financelurker commented 1 year ago

yeah, especially since https://wiki.debian.org/DontBreakDebian highly suggests NOT to install ubuntu PPAs, since they can lead to an unsupported, corrupt FrankenDebian... I'd love to see a debian-native way (which ubuntu and other debian-derivates) could use ootb.

ACR-Jeff commented 7 months ago

I have complained about this very subject for years on this, Yet get criticized or ignored, I had to find out that Debian preinstall's Vulkan drivers automatically upon install, Yet now they force the warnings and graying out settings in Runner options even though you may already have Vulkan drivers, DXVK and VKD3D installed, Because they were not installed the ubuntu way, The settings being grayed out and nonoperational tend to break things in lutris further. Yet they focus only on Ubuntu based distro's and forget that Ubuntu is a Debian Based Fork.

strycore commented 7 months ago

I have added a note on the "Installing drivers" page that the Lutris team does not endorse the instructions on this page.

No distribution needs a PPA to get Vulkan. The only gotcha is that you have to install 64bit and 32bit versions of some libraries.

dpanter commented 2 months ago

Information from Debian wiki about Steam. These steps are directly relevant for GPU drivers. Use sudo or similarly elevated permissions to install.

For amd64 (64-bit) systems, enable Multi-Arch:

# dpkg --add-architecture i386

Update the list of available packages:

# apt update

For amd64 (64-bit) systems, additional libraries need to be installed for Vulkan and 32-bit titles:

# apt install mesa-vulkan-drivers libglx-mesa0:i386 mesa-vulkan-drivers:i386 libgl1-mesa-dri:i386