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```
#My GPU ain't doing a dang thing for Vulkan...
198 messages · Page 1 of 1 (latest)
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...
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'
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.
ok you indeed have an AMD GPU :D
I'm a bit inebriated, so I missed that part.
what do you mean by this?
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.
OK, do you have amdvlk or vulkan-radeon?
Which of these packages (or both?) do you have?
lib32-vulkan-radeon
lib32-amdvlk
And this is a separate issue
I have both
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.
I forgot I uninstalled amdvlk earlier today
ok, does this exist?
lib32-vulkan-radeon
do this to make sure there are no other vulkan driver packages:
pacman -Qs vulk
Yes
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
btw this should exist; you tried to remove it before. lib32-vulkan-radeon
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 do you use grub?
Yes
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?
No...
Add those
And then save the file
After that do sudo grub-mkconfig -o /boot/grub/grub.cfg
make sure /boot is mounted first by checking lsblk
I'm using MBR
Ctrl + S
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
I usually just hold Ctrl and press S and then X
I'm not very familiar with nano keybinds 😅
Easier than :wq
Reboot now
Scuffed Gnome visuals lol
Yeah it's fine
btw, probably no effect for this, but you could use the default kernel rather than zen
After reboot post the output of lspci -k
True, but zen sounds cool. And they say it's a bit better
lspci -k | grep -A 3 VGA
to see just the GPU
hmm
It starts eventually LOL
Weirdly enough I have the same issue on my laptop
It takes like a minute for gdm to show up :p
Hangs on a non-blinking cursor
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
Not sure I understood :p
It was looking for a swap partition that didn't exist while booting, it would just sit there a while and time out
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....
Hmm still using radeon
Is there a log file somewhere I can look at?
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
curl: (52) Empty reply from server
Umm, can you try again
Sometimes it doesn't work first try
Also make sure you're properly connected to the internet
As far as I checked, their GPU is not covered by the amdgpu driver, but i have no experience with this personally
Paste bin service
The thing is the output of lpsci doesn't show the exact model of the gpu
If it's HD 7000 then it is supported
Do you know which exact model it is?
6670
It's an old iBuyPower rig, not sure why the previous owner replaced the GPU with that
Ohh
Or I should say the first owner, I'm the 3rd
If it's the 6670 then it doesn't have amdgpu support
I'm sorry I thought it was the 7670
Vulkan though...
Shouldn't have assumed
I was going off of this https://wiki.archlinux.org/title/Vulkan#AMDGPU_-_ERROR_INITIALIZATION_FAILED_after_vulkaninfo
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
Is there some experimental drivers or something?
mesa-amber?
vulkan-swrast
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)
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 😅
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
I'm just trying to run some Proton stuff that won't work with WINED3D
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
The top row... do I have to set more kernel parameters?
no that's just the command
the entire thing. setting envvars before running vulkaninfo
environment variables, to let vulkaninfo know to use this driver
Oh boy
I'm just experimenting
you're using steam right?
try launching steam instead of vulkaninfo with those variables
Okay
then, try putting the variables in the game's launch options in steam. like this:
Vulkan missing requested extension 'VK_KHR_xlib_surface'.
BInit - Unable to initialize Vulkan!
Just regular Steam... what do you mean?
if using Lutris or something else i mean...
Woah, Steam is really laggy
ok. launch Steam normally, try putting them in the game's options like i mentioned instead
with %command% at end.
if it runs, the game will probably perform badly too :.)
any errors?
Let me launch Steam from the terminal
afterwards check if previously working games still work.
since the grub config additions... might need to remove those now.
Hmm, no errors in the terminal
Probably will need to check game log
Previously running games seem to work
Sanic 
did you try this?
PROTON_USE_WINED3D=1 %command%
Yeah, that's what I have to use to get the 2D games to run
older proton versions seem to work btw
with that command
it seems it doesn't work after some version
let's see
I have to use older versions on the 2D games too
Proton 6 is the latest for most titles
i see
I usually just use 4 to be safe
RIP.
seems your GPU is unable to run this game
what is the game? did you check protondb and winehq for it?
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
Redout
It works on Epic with Heroic (at atrocious framerates), but not Steam
i don't think performance would be different anyway
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
no idea :)
you could try to get an entire newer laptop for relatively cheap, rather than investing in this one though
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
seems that one may work with the kernel parameters. you could go for it.