flightlessmango / MangoHud

A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more. Discord: https://discordapp.com/invite/Gj5YmBb
MIT License
6.11k stars 263 forks source link

Queue 0xbaaeae0 destroyed while proxies still attached #1346

Open KevinAtSesam opened 1 month ago

KevinAtSesam commented 1 month ago

Describe the bug When running ET Legacy with Mesa Zink, closing the application gives an order of execution bug.

List relevant hardware/software information

Logging

[kevin@fedora ~]$ MANGOHUD=1 MESA_LOADER_DRIVER_OVERRIDE=zink flatpak run com.etlegacy.ETLegacy
       0 ^2ET Legacy v2.82.1 linux-i386 Apr 19 2024
       0 Zone megs: 64
       0 INFO: fs_game now defaults to 'legacy' mod instead of 'etmain'
       0 ----- Initializing Filesystem --
       0 Current working directory:
       0     /home/kevin
       0 Current search path:
       0     D /home/kevin/.etlegacy/legacy
       0     D /app/bin/legacy
       0     D /home/kevin/.etlegacy/etmain
       0     D /app/bin/etmain
       0     P /app/bin/legacy/legacy_v2.82.1.pk3 (1458 files)
       0     P /app/bin/etmain/pak2.pk3 (22 files)
       0     P /app/bin/etmain/pak1.pk3 (10 files)
       0     P /app/bin/etmain/pak0.pk3 (3725 files)
       0 
       0 5215 files in pk3 files
       0 --------------------------------
       0 Creating PID file 'profiles/Eonfge/profile.pid'
       0 ----- Database Initialization --
       0 SQLite3 libversion 3.36.0 - database URI 'etl.db' - in file
       0 ... loading existing database '/home/kevin/.etlegacy/etl.db'
       0 ... database file '/home/kevin/.etlegacy/etl.db' loaded
       0 SQLite3 ETL: database init #2 /home/kevin/.etlegacy/etl.db in [0] ms - autocommit 1
       0 SQLite3 ETL: DB schema version #2 is up to date
       0 --------------------------------
       0 execing default.cfg
       0 execing profiles/Eonfge/etconfig.cfg
       0 couldn't exec autoexec.cfg
       0 Hunk_Clear: reset the hunk ok
       0 Not logging server attacks to disk
       0 ----- Client Initialization ----
       0 Trying to load "librenderer_opengl1_i386.so" from "/app/bin"...
       0 ETKEY found
       0 Available client translations: Afrikaans Bulgarian Catalan Czech Danish German Greek English Esperanto Spanish Finnish French Irish Hebrew Hungarian Italian Japanese Korean Dutch Norwegian Punjabi Polish Portuguese Romanian Russian Slovak Slovenian Albanian Serbian Swedish Turkish Ukrainian Chinese
       0 Available mod translations: Afrikaans Bulgarian Catalan Czech Danish German Greek English Esperanto Spanish Finnish French Irish Hebrew Hungarian Italian Japanese Korean Dutch Norwegian Punjabi Polish Portuguese Romanian Russian Slovak Slovenian Albanian Serbian Swedish Turkish Ukrainian Chinese
       0 Language set to English
       0 --------------------------------
       0 IP: 127.0.0.1
       0 IP: 192.168.1.170
       0 IP6: ::1
       0 IP6: fdd4:ed25:548:9c4e:f558:f211:e470:f021
       0 IP6: fe80::6eaa:7bce:28ca:ba3b%wlp0s20f3
       0 Opening IP6 socket: [::]:27960
       0 Opening IP socket: 0.0.0.0:27960
       0 Network initialized
       0 ----- Initializing Renderer ----
       0 SDL build version 2.26.4 - link version 2.26.4
       0 SDL initialized driver "wayland"
       0 Initializing window
       0 Estimated display aspect: 1.778
       0 ...setting mode -1: 1920x1048
tty][2024-06-07 14:03:06.739] [MANGOHUD] [error] [overlay_params.cpp:647] Unknown option 'engine'
       0 Using 24 color bits, 24 depth, 0 stencil display
       0 Available modes [17]: '864x486 1280x720 1600x900 1920x1080 1368x768 1280x800 1440x900 1680x1050 720x480 640x480 800x600 1024x768 1152x864 1280x960 1400x1050 1440x1080 1280x1024'
       0 Using GLEW 2.1.0
       0 GL_VENDOR: Mesa
       0 GL_RENDERER: zink Vulkan 1.3(Intel(R) Graphics (RPL-P) (INTEL_OPEN_SOURCE_MESA))
       0 GL_VERSION: 4.6 (Compatibility Profile) Mesa 24.0.7 (git-cc175010c5)
       0 GL_SHADING_LANGUAGE_VERSION: 4.60
       0 Using vanilla renderer
       0 Initializing OpenGL extensions
       0 ...ignoring GL_EXT_texture_compression_s3tc
       0 ...ignoring GL_S3_s3tc
       0 ...found OpenGL extension - GL_EXT_texture_env_add
       0 ...found OpenGL extension - GL_ARB_multitexture
       0 GL_VENDOR: Mesa
       0 GL_RENDERER: zink Vulkan 1.3(Intel(R) Graphics (RPL-P) (INTEL_OPEN_SOURCE_MESA))
       0 GL_VERSION: 4.6 (Compatibility Profile) Mesa 24.0.7 (git-cc175010c5)
       0 GL_SHADING_LANGUAGE_VERSION: 4.60
       0 GL_MAX_TEXTURE_SIZE: 16384
       0 GL_MAX_ACTIVE_TEXTURES_ARB: 8
       0 PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits)
       0 MODE: -1, SCREEN: 1920 x 1048 fullscreen (ratio 1.8321) Hz:N/A
       0 GAMMA: software w/ 0 overbright bits
       0 texturemode: GL_LINEAR_MIPMAP_LINEAR
       0 picmip: 0
       0 texture bits: 32
       0 multitexture: enabled
       0 compiled vertex arrays: enabled
       0 texenv add: enabled
       0 compressed textures: disabled
       0 Setting up FBO
       0 Initializing Shaders
       0 --------------------------------
       0 ----- Initializing Sound (1) ---
       0 SDL_Init( SDL_INIT_AUDIO )... OK
       0 SDL audio driver is "pulseaudio".
       0 SDL_AudioSpec:
       0   Format:   AUDIO_S16LSB
       0   Freq:     44100
       0   Samples:  1024
       0   Channels: 2
       0   Silence:  0
       0   Size:     4096
       0 Starting SDL audio callback...
       0 SDL audio initialized.
       0 ----- Sound Info -----
       0 sound system is muted
       0     2 channels
       0 32768 samples
       0    16 samplebits
       0     1 submission_chunk
       0 44100 speed
       0 0xca1bbc0 dma buffer
       0 No background file.
       0 ----------------------
       0 Sound initialization successfully done
s_backend set to SDL2
       0 --------------------------------
       0 Sound memory manager started
       0 Sys_LoadGameDll -> FS_CL_ExtractFromPakFile(/home/kevin/.etlegacy, legacy, ui.mp.i386.so)
       0 Sys_LoadDll(/home/kevin/.etlegacy/legacy/ui.mp.i386.so)... succeeded
       0 Sys_LoadDll(legacy/ui) found vmMain function at 0xc24120e0
       0 Initializing legacy ui v2.82.1
       0 145 UI cvars in use
       0 Total favorite servers restored: 1
       0 ----- Common Initialized -------
       0 MOTD: resolving motd.etlegacy.com... resolved to 104.248.140.165:27951
       0 Updater: resolving update.etlegacy.com... resolved to 104.248.140.165:27951
       0 ]/quit
       0 ----- Client Shutdown ----------
       0 Closing SDL audio device...
       0 SDL audio device shut down.
       0 RE_Shutdown( 1 )
       0 SDL input devices shut down.
tty]warning: queue 0xc37b640 destroyed while proxies still attached:
  wl_callback@33 still attached
  wl_surface@30 still attached
       0 --------------------------------
       0 PID file removed.
       0 SQLite3 database closed.
       0 Network shutdown
       0 ----- Client Shutdown ----------
       0 --------------------------------
       0 ----- Client Shutdown ----------
       0 --------------------------------
recursive error 'FS_FCloseFile: Filesystem call made without initialization' after: FS_FCloseFile: Filesystem call made without initialization
       0 Sys_Exit warning - PID file doesn't exist /home/kevin/.etlegacy/legacy/profiles/Eonfge/profile.pid