Score:0

Vulkan runs really slow on Kubuntu 20.04

in flag

I have a Kubuntu 20.04 installation on an external drive (and Windows 11 on my internal drive, and another drive which i use for storing data). Vulkan wasn't working, so i added the repo "ppa:oibaf/graphics-drivers" and then i installed the packages libvulkan1, mesa-vulkan-drivers and vulkan-utils. That made it work, but now when i run anything that uses Vulkan, it runs really slow compared to OpenGL and Vulkan on Windows. When i run sudo apt upgrade, it complains about missing firmware files.

EDIT: Here's the output of sudo lshw -C display

  *-display                 
       description: VGA compatible controller
       product: Kaveri [Radeon R7 Graphics]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 1
       bus info: pci@0000:00:01.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=radeon latency=0
       resources: irq:33 memory:c0000000-cfffffff memory:d0000000-d07fffff ioport:f000(size=256) memory:feb00000-feb3ffff memory:c0000-dffff

EDIT 2: Someone on Reddit told me that it was because it was using the radeon driver instead of the amdgpu driver, so i switched to it and now it works as it should!

Someone avatar
my flag
*it complains about missing firmware files.* please add the output to your question.
in flag
i have a text file which i saved it to. https://imgur.com/a/zI3ywDJ
Someone avatar
my flag
Please add the output of `sudo lshw -C display`
in flag
i have added it.
Someone avatar
my flag
Please do `cd ~/Downloads && git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/firmware/linux-firmware.git && sudo cp ~/Downloads/linux-firmware/amdgpu/* /lib/firmware/amdgpu && sudo update-initramfs -k all -u -v` in a terminal.
in flag
I just did that and rebooted, it's still the same.
Someone avatar
my flag
Is `apt` complaining for missing firmware now?
in flag
How can i check? Everything on my install is up to date now.
Someone avatar
my flag
`sudo update-initramfs -k all -u -v` will show missing firmware files.
in flag
It is, but it's complaining about less. https://imgur.com/a/cYTIfu9
Someone avatar
my flag
The files are not available in the official Linux Firmware of Ubuntu... Are the official drivers installed `sudo ubuntu-drivers autoinstall`
in flag
I tried running that, it said "No drivers found for installation.".
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.