Heroes of the Storm game crashes when match start - VK_ERROR_DEVICE_LOST
When I start a match in Heroes of the Storm game, it crashes.
Above the final lines from Lutris log.
Game is considered started.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
esync: up and running.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Initial process has exited.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
INTEL-MESA: error: ../src/intel/vulkan/anv_device.c:3179: GPU hung on one of our command buffers (VK_ERROR_DEVICE_LOST)
Software information
Heroes of the Storm using lowest graphics configuration
System information
-
GPU: Nvidia GeForce 5500
-
Driver:

-
Wine version: wine-5.12 (Staging)
-
DXVK version: how can I get it?
Log files
Can someone help me to reach the log files?
Error

The only Nvidia Geforce 5500 I could find was released in 2003 and therefor doesn't support Vulkan.
Your logs show that you're using an Intel HD GPU instead.
INTEL-MESA: error: ../src/intel/vulkan/anv_device.c:3179: GPU hung on one of our command buffers (VK_ERROR_DEVICE_LOST)
Please find out and report which Intel HD GPU you're actually using.
Can you make sure those are up to date? Ubuntu (especially if it's an older release or even the LTS flavour of it) has the habit of shipping really dated graphics drivers that can cause problems.
You can generate DXVK logs by setting the environment variable DXVK_LOG_LEVEL to for example WARN (like its described in the README). Lutris can do that in the properties. After that DXVK generates the log files in the same folder as the exe file of your game.
@K0bin You are wrong, it refers to the Intel HD 5500
@HenriqueAJNB But your problem is because you don't have NVIDIA graphics as your main GPU.
@iWeaker4you, how could I set it as my main GPU?
I have found this 3 commands and I'm still confused about my GPU's model...
@ubuntu:~$ sudo ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:1c.4/0000:09:00.0 ==
modalias : pci:v000010DEd00001140sv0000103Csd00002337bc03sc02i00
vendor : NVIDIA Corporation
model : GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (GeForce 820M)
driver : nvidia-driver-450 - third-party free recommended
driver : xserver-xorg-video-nouveau - distro free builtin
@ubuntu:~$ glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
Device: Mesa Intel(R) HD Graphics 5500 (BDW GT2) (0x1616)
Version: 20.3.0
Accelerated: yes
Video memory: 3072MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 5500 (BDW GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.3.0-devel (git-3d5bed0 2020-09-07 focal-oibaf-ppa)
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.3.0-devel (git-3d5bed0 2020-09-07 focal-oibaf-ppa)
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.3.0-devel (git-3d5bed0 2020-09-07 focal-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
@ubuntu:~$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
Maybe this image helps.

The nvidia card (what ever it is, some fermi card) is not supported by the latest nvidia driver anymore. Your system is running on the igpu only.
First ; without disabling secure boot on your machine Nv driver is not likely to load ; therefore switching to NV only performance mode won't actually work.
Second; copy paste output of this command here.
inxi -SMGxx
@Leopard1907 the driver will not load because the card is too old.
inxi -SMGxx
This is the output result:
@ubuntu:~$ inxi -SMGxx
System:
Host: ubuntu Kernel: 5.4.0-45-generic x86_64 bits: 64 compiler: gcc
v: 9.3.0 Desktop: Gnome 3.36.4 wm: gnome-shell dm: GDM3
Distro: Ubuntu 20.04.1 LTS (Focal Fossa)
Machine:
Type: Laptop System: Hewlett-Packard product: HP 15 Notebook PC
v: 0974120000405F00000620180 serial: <superuser/root required> Chassis:
type: 10 serial: <superuser/root required>
Mobo: Hewlett-Packard model: 2337 v: 05.31
serial: <superuser/root required> UEFI: Insyde v: F.46 date: 11/22/2018
Graphics:
Device-1: Intel HD Graphics 5500 vendor: Hewlett-Packard driver: i915
v: kernel bus ID: 00:02.0 chip ID: 8086:1616
Device-2: NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT
620M/625M/630M/720M]
vendor: Hewlett-Packard driver: N/A bus ID: 09:00.0 chip ID: 10de:1140
Display: x11 server: X.Org 1.20.8 driver: N/A compositor: gnome-shell
resolution: 1366x768~60Hz, 1920x1080~60Hz
OpenGL: renderer: Mesa Intel HD Graphics 5500 (BDW GT2)
v: 4.6 Mesa 20.3.0-devel (git-3d5bed0 2020-09-07 focal-oibaf-ppa)
direct render: Yes
I'm still trying to figure out how can I solve this problem. Maybe if I set my default GPU to one of those, should it work?
Your Nvidia GPU does not support Vulkan so DXVK will never work on that.
The Intel GPU should work but doesn't for some reason. Hangs are usually very hard to fix, especially with Blizzard games that usually dont work with dev tools.
As you can see from that output you are on Intel HD despite you choose NV only performance mode. OpenGL renderer part would have print NV otherwise.
Also @DadSchoorse is right. 450 driver doesn't support your NV gpu.
https://www.nvidia.com/Download/driverResults.aspx/163238/en-us
You should be using 390 driver.
To sum it up:
1-) Your NV gpu doesn't support Vulkan. 2-) You are on Intel HD.
Can you make sure those are up to date? Ubuntu (especially if it's an older release or even the LTS flavour of it) has the habit of shipping really dated graphics drivers that can cause problems.
I ran sudo apt update and sudo apt upgrade and its all up to date.
You can generate DXVK logs by setting the environment variable
DXVK_LOG_LEVELto for exampleWARN(like its described in the README). Lutris can do that in the properties. After that DXVK generates the log files in the same folder as the exe file of your game.
Does this log help solving this issue?
Does this log help solving this issue?
I guess it wouldn't hurt but it's usually useless.
He is on Oibaf Ppa already , which means he is using Mesa git stuff.
If you want to be sure about if Mesa version is really related to your problem ( maybe there are regressions?) , you can try with Kisak Mesa fresh ppa but i wouldn't have high hopes.
try adding this to lutris enviroment tab ANV_QUEUE_THREAD_DISABLE=1, this fixed a lot of device lost errors on my intel laptop
Sorry to necro. Was this issue solved with later driver versions or dxvk?
@HenriqueAJNB Friendly ping