#467 Sporadic Crashes

Zamknięty
otworzone 3 miesięcy temu przez ppplayer · 4 komentarzy
ppplayer skomentował 3 miesięcy temu

I have been experiencing sporadic crashes in the past few months. Tried a few settings (wine version, lutris runtime, esync/fsync, reinstall) with no luck, so I'm posting here.

The crash happens sporadically but usually when there is a significant change in game (e.g. teleport, open a menu, etc).

What are you using: Lutris Did you follow the installation instructions? Yes Lutris log: https://pastebin.com/JdhVMz6L

last 1k lines of output_log.txt: https://pastebin.com/0h41HSaS error.log: there is no error.log file in the entire wine prefix

GPU driver: lspci -v | grep "VGA" -A 15

01:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3080 Lite Hash Rate] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: eVga.com. Corp. GA102 [GeForce RTX 3080 Lite Hash Rate]
    Flags: bus master, fast devsel, latency 0, IRQ 140
    Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    Memory at f0000000 (64-bit, prefetchable) [size=32M]
    I/O ports at e000 [size=128]
    Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: nvidia
    Kernel modules: nouveau, nvidia_drm, nvidia

01:00.1 Audio device: NVIDIA Corporation GA102 High Definition Audio Controller (rev a1)
    Subsystem: eVga.com. Corp. GA102 High Definition Audio Controller
    Flags: bus master, fast devsel, latency 0, IRQ 17
    Memory at f7080000 (32-bit, non-prefetchable) [size=16K]

General overview: inxi -Ga

Graphics:
  Device-1: NVIDIA GA102 [GeForce RTX 3080 Lite Hash Rate] vendor: eVga.com.
    driver: nvidia v: 545.29.06 alternate: nouveau,nvidia_drm non-free: 545.xx+
    status: current (as of 2023-10; EOL~2026-12-xx) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 3 speed: 8 GT/s
    lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.0
    chip-ID: 10de:2216 class-ID: 0300
  Device-2: Microdia USB Live camera driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-4:3
    chip-ID: 0c45:ef01 class-ID: 0102 serial: SN0001
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4
    compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia display-ID: :0.0
    screens: 1
  Screen-1: 0 s-res: 6400x2160 s-dpi: 91 s-size: 1786x603mm (70.31x23.74")
    s-diag: 1885mm (74.21")
  Monitor-1: DP-0 pos: right res: 3840x2160 hz: 60 dpi: 140
    size: 697x392mm (27.44x15.43") diag: 800mm (31.48") modes: N/A
  Monitor-2: DP-4 pos: primary,left res: 2560x1440 hz: 60 dpi: 92
    size: 708x398mm (27.87x15.67") diag: 812mm (31.98") modes: N/A
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
    drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia x11: drv: nvidia
    inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 545.29.06
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3080/PCIe/SSE2
    memory: 9.77 GiB
  API: Vulkan v: 1.3.276 layers: 6 device: 0 type: discrete-gpu
    name: NVIDIA GeForce RTX 3080 driver: nvidia v: 545.29.06
    device-ID: 10de:2216 surfaces: xcb,xlib

Vulkan driver: vulkaninfo --summary

==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.276


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 = 6
--------------------------
VK_LAYER_NV_optimus               NVIDIA Optimus layer         1.3.260  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
VK_LAYER_VKBASALT_post_processing a post processing layer      1.3.223  version 1

Devices:
========
GPU0:
    apiVersion         = 1.3.260
    driverVersion      = 545.29.6.0
    vendorID           = 0x10de
    deviceID           = 0x2216
    deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
    deviceName         = NVIDIA GeForce RTX 3080
    driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
    driverName         = NVIDIA
    driverInfo         = 545.29.06
    conformanceVersion = 1.3.6.0
    deviceUUID         = a9f60acf-10db-ce7a-89f3-cfece6f487a3
    driverUUID         = 468717c2-5245-5d6d-9401-72b8a4ff98e5
I have been experiencing sporadic crashes in the past few months. Tried a few settings (wine version, lutris runtime, esync/fsync, reinstall) with no luck, so I'm posting here. The crash happens sporadically but usually when there is a significant change in game (e.g. teleport, open a menu, etc). What are you using: Lutris Did you follow the installation instructions? Yes Lutris log: https://pastebin.com/JdhVMz6L last 1k lines of output_log.txt: https://pastebin.com/0h41HSaS error.log: there is no error.log file in the entire wine prefix GPU driver: lspci -v | grep "VGA" -A 15 ``` 01:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3080 Lite Hash Rate] (rev a1) (prog-if 00 [VGA controller]) Subsystem: eVga.com. Corp. GA102 [GeForce RTX 3080 Lite Hash Rate] Flags: bus master, fast devsel, latency 0, IRQ 140 Memory at f6000000 (32-bit, non-prefetchable) [size=16M] Memory at e0000000 (64-bit, prefetchable) [size=256M] Memory at f0000000 (64-bit, prefetchable) [size=32M] I/O ports at e000 [size=128] Expansion ROM at 000c0000 [virtual] [disabled] [size=128K] Capabilities: <access denied> Kernel driver in use: nvidia Kernel modules: nouveau, nvidia_drm, nvidia 01:00.1 Audio device: NVIDIA Corporation GA102 High Definition Audio Controller (rev a1) Subsystem: eVga.com. Corp. GA102 High Definition Audio Controller Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at f7080000 (32-bit, non-prefetchable) [size=16K] ``` General overview: inxi -Ga ``` Graphics: Device-1: NVIDIA GA102 [GeForce RTX 3080 Lite Hash Rate] vendor: eVga.com. driver: nvidia v: 545.29.06 alternate: nouveau,nvidia_drm non-free: 545.xx+ status: current (as of 2023-10; EOL~2026-12-xx) arch: Ampere code: GAxxx process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.0 chip-ID: 10de:2216 class-ID: 0300 Device-2: Microdia USB Live camera driver: snd-usb-audio,uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-4:3 chip-ID: 0c45:ef01 class-ID: 0102 serial: SN0001 Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4 compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia display-ID: :0.0 screens: 1 Screen-1: 0 s-res: 6400x2160 s-dpi: 91 s-size: 1786x603mm (70.31x23.74") s-diag: 1885mm (74.21") Monitor-1: DP-0 pos: right res: 3840x2160 hz: 60 dpi: 140 size: 697x392mm (27.44x15.43") diag: 800mm (31.48") modes: N/A Monitor-2: DP-4 pos: primary,left res: 2560x1440 hz: 60 dpi: 92 size: 708x398mm (27.87x15.67") diag: 812mm (31.98") modes: N/A API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2 drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia x11: drv: nvidia inactive: wayland,device-1 API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 545.29.06 glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3080/PCIe/SSE2 memory: 9.77 GiB API: Vulkan v: 1.3.276 layers: 6 device: 0 type: discrete-gpu name: NVIDIA GeForce RTX 3080 driver: nvidia v: 545.29.06 device-ID: 10de:2216 surfaces: xcb,xlib ``` Vulkan driver: vulkaninfo --summary ``` ========== VULKANINFO ========== Vulkan Instance Version: 1.3.276 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 = 6 -------------------------- VK_LAYER_NV_optimus NVIDIA Optimus layer 1.3.260 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 VK_LAYER_VKBASALT_post_processing a post processing layer 1.3.223 version 1 Devices: ======== GPU0: apiVersion = 1.3.260 driverVersion = 545.29.6.0 vendorID = 0x10de deviceID = 0x2216 deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU deviceName = NVIDIA GeForce RTX 3080 driverID = DRIVER_ID_NVIDIA_PROPRIETARY driverName = NVIDIA driverInfo = 545.29.06 conformanceVersion = 1.3.6.0 deviceUUID = a9f60acf-10db-ce7a-89f3-cfece6f487a3 driverUUID = 468717c2-5245-5d6d-9401-72b8a4ff98e5 ```
Krock skomentował 3 miesięcy temu
Właściciel

A few observations:

  1. the game did not detect an internal error -> would be logged to output_log.txt and a minidump into %TEMP%-
  2. no crash within Wine -> would be logged to the Lutris log file
  3. "using server-side synchronization." -> esync and fsync are disabled
  4. the graphics driver is set up properly. Vulkan and DXVK work as expected.

A few ideas:

  1. Do the crashes also occur on other games or is there no other game with comparable playtime?
  2. Have you yet checked the file integrity using the official launcher?
    • Alternatively, there's also a read-only script in updater/check_integrity.sh.
  3. How does it crash? Is there an error dialogue from Wine? (unlikely) Does the system become unresponsive?
    • if unresponsive: see also dmesg below.
  4. disable any CPU or GPU overclocking (if active)
  5. check dmesg, /var/log/dmesg* respectively for errors regarding RAM or the nvidia driver
  6. run memtest86+ to ensure your RAM is OK

EDIT: Do you have a swap partition or file? Otherwise the OOM killer might also be a possible explanation.

A few observations: 1. the game did not detect an internal error -> would be logged to `output_log.txt` and a minidump into %TEMP%- 2. no crash within Wine -> would be logged to the Lutris log file 3. "using server-side synchronization." -> esync and fsync are disabled 4. the graphics driver is set up properly. Vulkan and DXVK work as expected. A few ideas: 1. Do the crashes also occur on other games or is there no other game with comparable playtime? 2. ~~Have you yet checked the file integrity using the official launcher?~~ * ~~Alternatively, there's also a read-only script in `updater/check_integrity.sh`.~~ 3. How does it crash? Is there an error dialogue from Wine? (unlikely) Does the system become unresponsive? * if unresponsive: see also `dmesg` below. 4. disable any CPU or GPU overclocking (if active) 5. check `dmesg`, `/var/log/dmesg*` respectively for errors regarding RAM or the nvidia driver 6. run memtest86+ to ensure your RAM is OK EDIT: Do you have a swap partition or file? Otherwise the OOM killer might also be a possible explanation.
ppplayer skomentował 3 miesięcy temu
Autor

Thanks for your attention!

  1. I don't have other games with comparable playtime
  2. The game just disappears. There is no error dialogue and the system is responsive.
  3. I'm not using CPU or GPU overclocking.
  4. dmesg and journalctl -b 0 -r does not have anything new during the period of the game. I'm on archlinux and don't have /var/log/dmesg*
  5. Will do it in my next reboot

I don't have a swap. But there is >7G free memory so I don't think there is an OOM.

Thanks for your attention! 1. I don't have other games with comparable playtime 3. The game just disappears. There is no error dialogue and the system is responsive. 4. I'm not using CPU or GPU overclocking. 5. `dmesg` and `journalctl -b 0 -r` does not have anything new during the period of the game. I'm on archlinux and don't have `/var/log/dmesg*` 6. Will do it in my next reboot I don't have a swap. But there is >7G free memory so I don't think there is an OOM.
Krock skomentował 3 miesięcy temu
Właściciel

I don't have a swap.

There should always be a swap file or partition. I have already seen bugged applications that had short RAM usage peaks in the magnitude of Gigabytes. Memory of other applications would then get moved to the swap partition, which is why this phenomenon occurred to me in the first place.

Maybe this answer can help to narrow down whether the OOM killer is responsible for the crashes: https://superuser.com/a/1809599

> I don't have a swap. There should always be a swap file or partition. I have already seen bugged applications that had short RAM usage peaks in the magnitude of Gigabytes. Memory of other applications would then get moved to the swap partition, which is why this phenomenon occurred to me in the first place. Maybe this answer can help to narrow down whether the OOM killer is responsible for the crashes: https://superuser.com/a/1809599
ppplayer skomentował 3 miesięcy temu
Autor

I have not found OOM messages in system log. But enabled swap partition anyway and the crash seems to disappear! Thanks a lot.

Also possibly related, in the past playing Genshin often makes my chrome tabs crash (attached image). Now that seems to be fixed as well.

I have not found OOM messages in system log. But enabled swap partition anyway and the crash seems to disappear! Thanks a lot. Also possibly related, in the past playing Genshin often makes my chrome tabs crash (attached image). Now that seems to be fixed as well.
Zaloguj się, aby dołączyć do tej rozmowy.
Brak kamienia milowego
Brak przypisania
2 uczestników
Ładowanie...
Anuluj
Zapisz
Nie ma jeszcze treści.