You are not logged in.

#1 2024-10-06 20:04:00

AverageHedgehogEnjoyer
Member
Registered: 2024-08-11
Posts: 3

Problems playing certain games on steam

Steam runs fine, Terraria, YOMI hustle runs fine without any colored text, Deadlock, Titanfall, Library of Ruina, Dead by Daylight, Lobotomy Corpm Yakuza like a dragon show loading but don't run.

When running from the command line it says "vkEnumeratePhysicalDevices failed, unable to init and enumerate GPUs with Vulkan.//BInit - Unable to initialize Vulkan!" twice.

When running vulkaninfo it initially sais "Failed to detect any valid GPUs in the current config". After uninstalling AMD drivers and installing Intel drivers it currently gives

 $ vulkaninfo --summary
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.295


Instance Extensions: count = 24
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_headless_surface                : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 4
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1

Instance Layers: count = 8
--------------------------
VK_LAYER_INTEL_nullhw             INTEL NULL HW                1.1.73   version 1
VK_LAYER_MESA_device_select       Linux device selection layer 1.3.211  version 1
VK_LAYER_MESA_overlay             Mesa Overlay layer           1.3.211  version 1
VK_LAYER_NV_optimus               NVIDIA Optimus layer         1.3.280  version 1
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_32   Steam Overlay Layer          1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_64   Steam Overlay Layer          1.3.207  version 1

Devices:
========
GPU0:
        apiVersion         = 1.3.289
        driverVersion      = 24.2.3
        vendorID           = 0x8086
        deviceID           = 0x9a68
        deviceType         = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
        deviceName         = Intel(R) UHD Graphics (TGL GT1)
        driverID           = DRIVER_ID_INTEL_OPEN_SOURCE_MESA
        driverName         = Intel open-source Mesa driver
        driverInfo         = Mesa 24.2.3-arch1.1
        conformanceVersion = 1.3.6.0
        deviceUUID         = 8680689a-0100-0000-0002-000000000000
        driverUUID         = ae152489-d083-0922-3567-9fdd7c993752

When running lspci I get 2 VGA compatible controllers.

$ lspci | grep VGA
0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-H GT1 [UHD Graphics] (rev 01)
0000:01:00.0 VGA compatible controller: NVIDIA Corporation GA107M [GeForce RTX 3050 Ti Mobile] (rev a1)

When checking packages.

pacman -Qs vulkan
local/lib32-nvidia-utils 560.35.03-1
    NVIDIA drivers utilities (32-bit)
local/lib32-vulkan-icd-loader 1.3.295-1
    Vulkan Installable Client Driver (ICD) Loader (32-bit)
local/lib32-vulkan-intel 1:24.2.3-1
    Open-source Vulkan driver for Intel GPUs - 32-bit
local/lib32-vulkan-mesa-layers 1:24.2.3-1
    Mesa's Vulkan layers - 32-bit
local/lib32-vulkan-validation-layers 1.3.290-2
    Vulkan Validation Layers (32-bit)
local/nvidia-utils 560.35.03-4
    NVIDIA drivers utilities
local/qt6-shadertools 6.7.3-1 (qt6)
    Provides functionality for the shader pipeline that allows Qt Quick to operate on Vulkan, Metal, and Direct3D, in addition to OpenGL
local/spirv-tools 2024.2-1 (vulkan-devel)
    API and commands for processing SPIR-V modules
local/vulkan-headers 1:1.3.295-1 (vulkan-devel)
    Vulkan header files
local/vulkan-icd-loader 1.3.295-1
    Vulkan Installable Client Driver (ICD) Loader
local/vulkan-intel 1:24.2.3-1
    Open-source Vulkan driver for Intel GPUs
local/vulkan-mesa-layers 1:24.2.3-1
    Mesa's Vulkan layers
local/vulkan-tools 1.3.269-1 (vulkan-devel)
    Vulkan Utilities and Tools

https://bbs.archlinux.org/viewtopic.php?id=296747 had the same problem but seemed to have been solved by switching drivers
I'm not sure what

nouveau.config=NvBios=PRAMIN

does or how to run it and similarly I'm not sure what I should be filtering from dmesg as "vulkan" and "nvidia" return nothing and "gpu" returns power

$ sudo dmesg | grep gpu
[    4.749879] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules

I have 2 files inside /usr/share/vulkan/icd.d, nvidia_icd.json and radeon_icd.x86_64.json .

When trying to follow https://forum.artixlinux.org/index.php/ … 291.0.html
Running nvidia-smi gives

$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

Trying to check nvidia drivers

pacman -Qs nvidia
local/egl-gbm 1.1.2-1
    The GBM EGL external platform library
local/egl-wayland 4:1.1.16-1
    EGLStream-based Wayland external platform
local/lib32-nvidia-utils 560.35.03-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.5-3
    Nvidia VDPAU library
local/nvidia-utils 560.35.03-4
    NVIDIA drivers utilities

When trying to launch Deadlock, there is a host of "falling back to copying" with the actual fatal error being "unable to create symlink {compatibility tools filepath in main system} in {filepath in external hard drive}".

Last edited by AverageHedgehogEnjoyer (2024-10-06 21:06:11)

Offline

#2 2024-10-06 20:22:32

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,981

Re: Problems playing certain games on steam

remove vulkan-radeon / lib32-vulkan-radeon (they are for amd gpus which are absent from your system

Install vulkan-intel & lib32-vulkan-intel .
Please run vulkaninfo --summary and post the output .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2024-10-06 20:36:24

AverageHedgehogEnjoyer
Member
Registered: 2024-08-11
Posts: 3

Re: Problems playing certain games on steam

Done that (although I'd like to use the proper graphics card rather than the integrated graphics card). Gives me

$ vulkaninfo --summary
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.295


Instance Extensions: count = 24
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_headless_surface                : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 4
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1

Instance Layers: count = 8
--------------------------
VK_LAYER_INTEL_nullhw             INTEL NULL HW                1.1.73   version 1
VK_LAYER_MESA_device_select       Linux device selection layer 1.3.211  version 1
VK_LAYER_MESA_overlay             Mesa Overlay layer           1.3.211  version 1
VK_LAYER_NV_optimus               NVIDIA Optimus layer         1.3.280  version 1
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_32   Steam Overlay Layer          1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_64   Steam Overlay Layer          1.3.207  version 1

Devices:
========
GPU0:
        apiVersion         = 1.3.289
        driverVersion      = 24.2.3
        vendorID           = 0x8086
        deviceID           = 0x9a68
        deviceType         = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
        deviceName         = Intel(R) UHD Graphics (TGL GT1)
        driverID           = DRIVER_ID_INTEL_OPEN_SOURCE_MESA
        driverName         = Intel open-source Mesa driver
        driverInfo         = Mesa 24.2.3-arch1.1
        conformanceVersion = 1.3.6.0
        deviceUUID         = 8680689a-0100-0000-0002-000000000000
        driverUUID         = ae152489-d083-0922-3567-9fdd7c993752

I'll also update the original post

Offline

#4 2024-10-06 20:44:20

AverageHedgehogEnjoyer
Member
Registered: 2024-08-11
Posts: 3

Re: Problems playing certain games on steam

It now loads the vulkan shaders but still has the "unable to create symlink" which might be a seperate error.

pressure-vessel-wrap[24545]: E: Unable to create symlink "./share/steam/compatibilitytools.d" in "/run/media/jose/Crucial X6/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper/var/tmp-GAUFV2/usr": Operation not permitted

Last edited by AverageHedgehogEnjoyer (2024-10-06 20:44:55)

Offline

#5 2024-10-07 09:27:45

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,981

Re: Problems playing certain games on steam

vulkaninfo output does look better and has the layers I expect to see but there's no sign of your nvidia card.

Many apps using vulkan can select which vulkan device to use, but this doesn't function well if not all cards/drivers are seen .

Please post the output of

$ ls -l /usr/share/vulkan/icd.d
$ MESA_VK_DEVICE_SELECT=list vulkaninfo
$ lspci -knn

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB