You are not logged in.

#1 2023-11-14 07:30:53

gabespound
Member
Registered: 2023-11-14
Posts: 9

Games lag (Overwatch) on Arch Linux

I have an RTX 3080 and intel 12700k and have installed nvidia, nvidia-utils, and nvidia-settings. i am using Arch Linux with KDE plasma, this is a fresh install so everything is up to date. I am trying to play games through steam, primarily overwatch, but this issue is happening with most games I launch with the exception of stardew valley. It takes forever to launch and just chugs at the menu screen, I am unable to hit any buttons without a 30 second delay. How can I get good performance on overwatch through steam? I am currently playing around with proton versions and perhaps trying lutris instead.

Offline

#2 2023-11-14 14:08:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,179

Re: Games lag (Overwatch) on Arch Linux

You likely have to wait for shaders to be compiled, the issue should generally lessen the more you play/after waiting out the initial delay. You can check the progress of the shader compilation by exporting

DXVK_HUD=compiler

on start. And FWIW, make sure lib32-nvidia-utils is installed as well.

And to check whether things are generally setup correctly, what's your output of

vulkaninfo --summary

from vulkan-tools ?

Last edited by V1del (2023-11-14 14:10:28)

Offline

#3 2023-11-14 18:02:08

gabespound
Member
Registered: 2023-11-14
Posts: 9

Re: Games lag (Overwatch) on Arch Linux

@v1del
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.269


Instance Extensions: count = 23
-------------------------------
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_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 = 1
--------------------------
VK_LAYER_NV_optimus NVIDIA Optimus layer 1.3.260  version 1

Devices:
========
GPU0:
    apiVersion         = 1.3.260
    driverVersion      = 545.29.2.0
    vendorID           = 0x10de
    deviceID           = 0x2206
    deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
    deviceName         = NVIDIA GeForce RTX 3080
    driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
    driverName         = NVIDIA
    driverInfo         = 545.29.02
    conformanceVersion = 1.3.6.0
    deviceUUID         = a8a27b0b-3f4b-c1df-80f0-d3d2c8cd9de3
    driverUUID         = aa471f58-d70e-5a93-a86b-06356da49d1c

Offline

#4 2023-11-15 04:09:18

gabespound
Member
Registered: 2023-11-14
Posts: 9

Re: Games lag (Overwatch) on Arch Linux

Trying to install dxvk from the AUR, i'm met with meson.build:132:20: ERROR: Include dir ./include/vulkan/include does not exist.

I have both vulkan and meson installed as well as my nvidia drivers

Offline

#5 2023-11-15 10:21:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,179

Re: Games lag (Overwatch) on Arch Linux

dxvk is irrelevant for proton, it's already bundled there (and since building dxvk can be tricky, I strongly suggest you use dxvk-bin instead, but again, if you are starting things with proton from the steam play button this is irrelevant). General setup looks fine, if you add

DXVK_HUD=compiler %command%

to the launch options in steam, do you see a relevant overlay from DXVK? Overwatch (we are talking Overwatch 1 right?) is notorious for having a huge amount of shaders you'll likely have to "push through" here.

One thing that might give issues here if the nvidia driver tries to cleanup shaders too aggressively, you can also try adding __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1 to the launch options in addition like

__GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1 DXVK_HUD=compiler %command%

Last edited by V1del (2023-11-15 10:26:11)

Offline

Board footer

Powered by FluxBB