#My GPU ain't doing a dang thing for Vulkan...

198 messages · Page 1 of 1 (latest)

fluid cove
#
ERROR: [../mesa-23.0.3/src/amd/vulkan/radv_device.c:766] Code 0 : Device '/dev/dri/renderD128' is not using the AMDGPU kernel driver: Invalid argument (VK_ERROR_INCOMPATIBLE_DRIVER)
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs:  Failed to detect any valid GPUs in the current config
ERROR at /usr/src/debug/vulkan-tools/Vulkan-Tools-1.3.245/vulkaninfo/vulkaninfo.h:237:vkEnumeratePhysicalDevices failed with ERROR_INITIALIZATION_FAILED```
#
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Turks XT [Radeon HD 6670/7670]```
#

My GPU ain't doing a dang thing for Vulkan...

fluid cove
#

I know my drivers are in the wrong order, but I can't fix that

==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
  -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
==> ERROR: Unable to write to '/boot/initramfs-linux-zen.img'
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'fallback'
  -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen-fallback.img -S autodetect
==> ERROR: Unable to write to '/boot/initramfs-linux-zen-fallback.img'
[iijj22gg@IsArchDesktop ~]$ mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
  -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
==> ERROR: Unable to write to '/boot/initramfs-linux-zen.img'
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'fallback'
  -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen-fallback.img -S autodetect
==> ERROR: Unable to write to '/boot/initramfs-linux-zen-fallback.img'
split grotto
#

Do you actually have an amd gpu?

#

When installing Steam, you get a choice for lib32-vulkan-driver. The first choice alphabetically is for amd, which you automatically pick if you just press Enter.
Then your Vulkan gets fucked up.

split grotto
split grotto
#

not using the AMDGPU kernel driver
What are you using if not the amdgpu driver included in the kernel?

#

OK, it seems your GPU is quite old and missed the supported models for the AMDGPU module by 1 year.

#

I am not sure, but as far as I have checked (with no personal experience with such GPUs), your GPU may not be supporting Vulkan.

split grotto
#

OK, do you have amdvlk or vulkan-radeon?

#

Which of these packages (or both?) do you have?
lib32-vulkan-radeon
lib32-amdvlk

split grotto
split grotto
#

ok, try removing lib32-amdvlk and amdvlk

#

but first; lspci -k | grep -A 3 VGA to make sure that your system is properly using the radeon driver.

fluid cove
split grotto
#

ok, does this exist?
lib32-vulkan-radeon

#

do this to make sure there are no other vulkan driver packages:
pacman -Qs vulk

split grotto
#

ok looks fine

#

do you still get the same message as your first post?

fluid cove
#

Yes

split grotto
#

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.i686.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json steam

#

the wiki says to try running steam with this

#

oh

#

try that with vulkaninfo

#

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.i686.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json vulkaninfo

fluid cove
split grotto
#

btw this should exist; you tried to remove it before. lib32-vulkan-radeon

split grotto
# fluid cove

if this is the state of your packages, and it still does not work, and if you tried it with amdvlk too, i can't think of trying anything else :(

fluid cove
#

:(

main lodge
#

@fluid cove do you use grub?

fluid cove
#

Yes

main lodge
#

Try booting with these kernel parameters radeon.si_support=0 amdgpu.si_support=1

#

Do you know how to add them to grub's config?

fluid cove
#

No...

main lodge
#

In the /etc/default/grub file

#

On the line GRUB_CMDLINE_LINUX_DEFAULT=

main lodge
#

And then save the file

#

After that do sudo grub-mkconfig -o /boot/grub/grub.cfg

split grotto
#

make sure /boot is mounted first by checking lsblk

fluid cove
#

I'm using MBR

split grotto
#

oh ok

#

yeah, old PC :D

fluid cove
#

Yep lol. It supports SSDs though :)

main lodge
#

yep

#

save it

fluid cove
main lodge
#

Umm what did you press

#

Oh

fluid cove
main lodge
#

If you just ctrl + X it will ask you to save btw

#

Can you cat /etc/default/grub just to make sure

#

That it's correct

fluid cove
#

I usually just hold Ctrl and press S and then X

main lodge
#

I'm not very familiar with nano keybinds 😅

fluid cove
#

Easier than :wq

main lodge
#

Reboot now

fluid cove
#

Scuffed Gnome visuals lol

main lodge
#

Yeah it's fine

split grotto
#

btw, probably no effect for this, but you could use the default kernel rather than zen

main lodge
#

After reboot post the output of lspci -k

fluid cove
split grotto
#

lspci -k | grep -A 3 VGA
to see just the GPU

fluid cove
#

Yep

#

It hangs a bit before gdm starts

main lodge
#

hmm

fluid cove
#

It starts eventually LOL

main lodge
#

Oh

#

lol

main lodge
#

It takes like a minute for gdm to show up :p

#

Hangs on a non-blinking cursor

fluid cove
#

I made this installation from my laptop using the arch install Scripts and I forgot to swap off the laptop swap memory before I generated the nitramfs

#

That was a pain before I figured it out

main lodge
#

Not sure I understood :p

fluid cove
#

It was looking for a swap partition that didn't exist while booting, it would just sit there a while and time out

main lodge
#

Ohh

#

Weird

fluid cove
#

There are side effects when you don't use the arch installation media, I used my laptop and attached the drive externally instead

#

Lol

#

Okay....

main lodge
#

Hmm still using radeon

fluid cove
#

Is there a log file somewhere I can look at?

main lodge
#

Can you paste your journal: journalctl -b | curl -F 'f:1=<-' ix.io

#

The wiki section on this is a little messy I feel like

fluid cove
#

curl: (52) Empty reply from server

main lodge
#

Umm, can you try again

#

Sometimes it doesn't work first try

#

Also make sure you're properly connected to the internet

fluid cove
#

http://ix.io/4vGI

#

What is that

split grotto
#

As far as I checked, their GPU is not covered by the amdgpu driver, but i have no experience with this personally

main lodge
main lodge
#

If it's HD 7000 then it is supported

#

Do you know which exact model it is?

fluid cove
#

6670

#

It's an old iBuyPower rig, not sure why the previous owner replaced the GPU with that

main lodge
#

Ohh

fluid cove
#

Or I should say the first owner, I'm the 3rd

main lodge
#

If it's the 6670 then it doesn't have amdgpu support

#

I'm sorry I thought it was the 7670

fluid cove
#

Vulkan though...

main lodge
#

Shouldn't have assumed

split grotto
#

HD7750 - HD7970, HD7790
These would be the only supported ones with "HD"

#

on AMD card from GCN1 or GCN2 family
Their's is not GCN

fluid cove
#

Is there some experimental drivers or something?

split grotto
#

:(

#

there is a software one, but it does not have a lib32

fluid cove
#

mesa-amber?

split grotto
#

vulkan-swrast

fluid cove
#

Oh, just noticed the ix.io favicon

#

LOL

fluid cove
#

Hey, something different!

[iijj22gg@IsArchDesktop ~]$ vulkaninfo
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 2.  Skipping ICD.
Segmentation fault (core dumped)
main lodge
#

Yeah you need the amdgpu driver otherwise i'm not sure you can use vulkan

#

And it's not supported for your card :/

#

1 gen newer and it would have been supported 😅

fluid cove
#

I can't afford the PC, but I might be able to shell out for an old used 7000 or 8000

#

Wait why are they still $300 on Newegg

split grotto
#

is lib32 really needed?

#

you can try using vulkan-swrast

fluid cove
#

I'm just trying to run some Proton stuff that won't work with WINED3D

split grotto
#

lib32 versions of the vulkan drivers are a dependency for steam, but i guess it won't be used for most games

#

we can give it a shot?

#

sudo pacman -S vulkan-swrast

#

LIBGL_ALWAYS_SOFTWARE=1 __GLX_VENDOR_LIBRARY_NAME=mesa VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.i686.json:/usr/share/vulkan/icd.d/lvp_icd.x86_64.json vulkaninfo

fluid cove
split grotto
#

no that's just the command

#

the entire thing. setting envvars before running vulkaninfo

#

environment variables, to let vulkaninfo know to use this driver

fluid cove
#

Oh boy

split grotto
#

ok it seems to work in fundamentals

#

but it may not work properly for games

fluid cove
#

I'm just experimenting

split grotto
#

you're using steam right?
try launching steam instead of vulkaninfo with those variables

fluid cove
#

Okay

split grotto
#

then, try putting the variables in the game's launch options in steam. like this:

fluid cove
#
Vulkan missing requested extension 'VK_KHR_xlib_surface'.
BInit - Unable to initialize Vulkan!
split grotto
#

you're using steam btw right?

#

for the game

fluid cove
#

Just regular Steam... what do you mean?

split grotto
#

if using Lutris or something else i mean...

fluid cove
#

Woah, Steam is really laggy

split grotto
#

ok. launch Steam normally, try putting them in the game's options like i mentioned instead

#

with %command% at end.

fluid cove
#

Yeah, Steam is way better normally lol

#

Okay, I'm trying to launch a DX11 title

split grotto
#

if it runs, the game will probably perform badly too :.)

fluid cove
#

Nope

#

Didn't even run

split grotto
#

any errors?

fluid cove
#

Let me launch Steam from the terminal

split grotto
#

afterwards check if previously working games still work.
since the grub config additions... might need to remove those now.

fluid cove
#

Hmm, no errors in the terminal

#

Probably will need to check game log

#

Previously running games seem to work

split grotto
#

Sanic pog

fluid cove
#

I don't currently have any 3D games working though

#

Just 2D

#

Unless it's native ofc

split grotto
#

did you try this?
PROTON_USE_WINED3D=1 %command%

fluid cove
#

Yeah, that's what I have to use to get the 2D games to run

split grotto
#

older proton versions seem to work btw

#

with that command

#

it seems it doesn't work after some version

#

let's see

fluid cove
#

I have to use older versions on the 2D games too

#

Proton 6 is the latest for most titles

split grotto
#

i see

fluid cove
#

I usually just use 4 to be safe

split grotto
#

RIP.
seems your GPU is unable to run this game

#

what is the game? did you check protondb and winehq for it?

fluid cove
#

While I can get 3D titles to work on my laptop, random stuff like Sonic mania just won't work

#

My laptop's chipset is actually unsupported by Proton

fluid cove
#

It works on Epic with Heroic (at atrocious framerates), but not Steam

split grotto
#

i don't think performance would be different anyway

fluid cove
#

Could be

I found a 7970 for $50 on Ebay... would that price suggest it's broken?

#

Oh nevermind it's Powercolor

#

Found the same thing FOR PARTS at $35

split grotto
#

no idea :)
you could try to get an entire newer laptop for relatively cheap, rather than investing in this one though

fluid cove
#

I like my trusty Latitude though

#

Would be cheaper to invest in the 7970, I don't play stuff like Halo Infinite or Doom Eternal

split grotto
#

seems that one may work with the kernel parameters. you could go for it.

fluid cove
#

Should work with my motherboard too

#

Well, I'll keep an eye on things and buy that or a similar GPU when I get some money coming in again