#STILL UNSOLVED - Wayland / vulkan AMD gpu issues

94 messages ยท Page 1 of 1 (latest)

finite rapids
#

Hey can someone help me with vulkan / wayland issues?

trying to program stuff for gamescope, and realized my vm is having vulkan issues;

[gamescope] [Warn]  scriptmgr: Directory '/etc/gamescope/scripts' does not exist
[gamescope] [Info]  scriptmgr: Loading scripts from: '/home/david/.config/gamescope/scripts'
[gamescope] [Warn]  scriptmgr: Directory '/home/david/.config/gamescope/scripts' does not exist
[gamescope] [Info]  vulkan: selecting physical device 'AMD Radeon RX 6750 XT': queue family 1 (general queue family 0)
[gamescope] [Info]  vulkan: physical device supports DRM format modifiers
[gamescope] [Error] vulkan: vkCreateDevice failed (VkResult: -7)
terminate called without an active exception
Aborted (core dumped)
``` is the issue on my arch vm, and <IMAGE> on debian.

Using gpu passthrough on a AMD gpu, fresh installs, both are testing with distros default repos just to have a baseline installed, ofc its not workin ๐Ÿ˜

if anyone can help with eithor, please do, I just want to try to add a feature to gamescope, and I want to do it in a vm to be test and not affect host ๐Ÿ˜


PING FOR ANY QUESTIONS OR COMMENTS, I WILL PROBABLY BE ONLINE, BUT MAY MISS THE MESSAGE IF NOT PINGED.
pastel sandal
#

@finite rapids why all the caps?

finite rapids
#

I only have caps at the bottom saying to ping me... what do you mean?

ancient harbor
#

So it's not missed

finite rapids
#

Thats the main reason

ancient harbor
#

Try these first

finite rapids
#

Btw because its vm related, my gpu is listed above; but the vm info is:

Debian unstable host; qemu, libvirt, and virt-manager; PCI passthrough for the vm, and video: virtio, display: spice

finite rapids
ancient harbor
#

vulkaninfo

#

from vulkan-tools

finite rapids
#

good luck; one moment

#

Pretend I didnt mispell the hostname

#

Thats all that happens, window appears then closes

#

so somthing may be wrong with gpu passthrough?

ancient harbor
#

Try those or just installing amdvlk

finite rapids
#

I mean it runs, but nothing appears and it closes instantly

#

amdvlk is installed

#

glxgears by its self works

#

vkcube still borken

ancient harbor
#

I have just vulkan-radeon and my vulkan works (vega64)

#

Try removing amdvlk

finite rapids
#

got it

ancient harbor
#

lspci -k | grep -A 2 -E "(VGA|3D)"

finite rapids
#
        Subsystem: Red Hat, Inc. Device 1100
        Kernel driver in use: virtio-pci
--
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] (rev c0)
        Subsystem: XFX Limited Device 6710
        Kernel driver in use: amdgpu
ancient harbor
#

MESA_VK_DEVICE_SELECT=list vulkaninfo

finite rapids
#
ERROR: [Loader Message] Code 0 : loader_get_json: Failed to open JSON file /usr/share/vulkan/icd.d/radeon_icd.i686.json```

I exported the vars previously, so this message and
#

here is new session without exports

ancient harbor
#

Looks like this for me

$ MESA_VK_DEVICE_SELECT=list , vulkaninfo
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Received return code -3 from call to vkCreateInstance in ICD /nix/store/kngi27im3lgdhxyrfd019fyl20jpnj1h-mesa-25.0.1-drivers/lib/libvulkan_dzn.so. Skipping this driver.
selectable devices:
  GPU 0: 1002:687f "AMD Radeon RX Vega (RADV VEGA10)" discrete GPU 0000:2f:00.0
  GPU 1: 10005:0 "llvmpipe (LLVM 19.1.7, 256 bits)" CPU 0000:00:00.0
finite rapids
#

honestly I have no idea

ancient harbor
#

Nvm it just shows the GPU from vulkaninfo

#

I can find GPU0 and GPU1 in my vulkaninfo, you only have GPU0

finite rapids
#

Well Virtio has no vulkan

#

and its listed first as pci

#
        Subsystem: Red Hat, Inc. Device 1100
        Kernel driver in use: virtio-pci
--
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] (rev c0)
        Subsystem: XFX Limited Device 6710
        Kernel driver in use: amdgpu```
#

but it shouldnt appear here I assume

#

this is a vm btw rember that, so it could be passthrough issue, but it honestly seams passed through right

ancient harbor
#

Idk if you're supposed to have that when doing passthru

finite rapids
#

I mean if I change

#

to none

#

it dose not show anything on the monitor nor on the virt-viewer

#

Plus that requires a diffrnet keyboard and mouse (tried that, but again no display output when doing that so mouse dose nothing if pased through to vm)

#

STILL UNSOLVED Wayland / vulkan AMD gpu issues

#

STILL UNSOLVED - Wayland / vulkan AMD gpu issues

#

(only changing so no one skips over because of message count)

pastel sandal
#

@finite rapids no need to add still unsolved

finite rapids
finite rapids
pastel sandal
#

@finite rapids we know it's unsolved, if it was, it would have the solved flair

finite rapids
craggy lichen
#

@finite rapids uninstall amdvlk

#

Just use vulkan-radeon
Oh you did

craggy lichen
finite rapids
#

lol

#

because I tried setting

#

to none

#

but then my display just didnt work

#

eithor in the virtual-machine manager

#

or on the actual screen plugged in

craggy lichen
finite rapids
#

The remove button is disabled on this value; I can remove from xml entirely ig

#

(on virtmanager) its disabled

#

be back in a bit; ping me if you have any other ideas

#

I HAVE NOT RESTARTED AFTER UNINSTALLING THE AMDVLK so I will try in a bit

#

and lmk if you want me to try removing it; I am willing to try, just not sure if it will work; gtg for a bit tho

ancient harbor
finite rapids
#

Hey so update; after rebooting diffrent error diffrent place, but vkcube still broken

#

clipboard broke again

#

sec

#

got further in gamescope

finite rapids
finite rapids
#

Under x11 diffrent crashes

finite rapids
#

If anyone has any ideas; please help

pastel sandal
finite rapids
#

Got it; right now I was copying over to debian to ask there because its a debian and arch vm issue, so will copy to linux gaming too; thanks ๐Ÿ™‚