anegostudios / VintageStory-Issues

Vintage Story's public issue tracker for reporting bugs, crashes and the like
47 stars 16 forks source link

Game hangs when attempting to change window settings - Linux #2991

Closed RhythmicSys closed 2 months ago

RhythmicSys commented 1 year ago

Game Version

v1.18.7

Platform

Linux

Modded

Vanilla

SP/MP

None

Description

Possible connections: https://github.com/anegostudios/VintageStory-Issues/issues/2783 https://github.com/anegostudios/VintageStory-Issues/issues/1226 https://github.com/anegostudios/VintageStory-Issues/issues/1866

Issue The game hangs when trying to adjust the border mode, trying to change the border size, or using f11 to full screen This happens with or without additional mods

Additional information OS: Ubuntu 22.04.2 LTS x86_64 Kernel: 5.19.0-50-generic CPU: AMD Ryzen 5 5600G with Radeon G GPU: AMD ATI 03:00.0 Device 743f I'm not sure how much of the graphics info is important here so I'm just gonna dump my glxinfo here:

glxinfo ``` name of display: :1 display: :1 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: AMD (0x1002) Device: AMD Radeon RX 6500 XT (navi24, LLVM 15.0.7, DRM 3.47, 5.19.0-50-generic) (0x743f) Version: 22.2.5 Accelerated: yes Video memory: 4096MB Unified memory: no 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 Memory info (GL_ATI_meminfo): VBO free memory - total: 3403 MB, largest block: 3403 MB VBO free aux. memory - total: 7731 MB, largest block: 7731 MB Texture free memory - total: 3403 MB, largest block: 3403 MB Texture free aux. memory - total: 7731 MB, largest block: 7731 MB Renderbuffer free memory - total: 3403 MB, largest block: 3403 MB Renderbuffer free aux. memory - total: 7731 MB, largest block: 7731 MB Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 4096 MB Total available memory: 12003 MB Currently available dedicated video memory: 3403 MB OpenGL vendor string: AMD OpenGL renderer string: AMD Radeon RX 6500 XT (navi24, LLVM 15.0.7, DRM 3.47, 5.19.0-50-generic) OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.2.5-0ubuntu0.1~22.04.3 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 22.2.5-0ubuntu0.1~22.04.3 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 22.2.5-0ubuntu0.1~22.04.3 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 ```

How to reproduce

  1. Run vintage story
  2. Either a) try to change the 'window mode' from fixed/resizable to hidden b) try to resize the resizable window type
  3. The screen will go black, and the game will hang
  4. Console becomes completely unresponsive
  5. The game cannot be closed through normal means, either by clicking the 'quit' button, the 'x' button, alt-f4, or attempting to run a command through console
  6. The game must be terminated either by terminating the console, or going into system monitor and terminating the application

Screenshots

Video attached that shows both trying the installed application button, and using the startup script. Not shown is me killing the application with the system monitor, because that happened on the other screen.

https://github.com/anegostudios/VintageStory-Issues/assets/45906780/c995073b-7606-4200-ad09-d53dd2d9803f

Logs

### Client Main ``` 6.8.2023 10:06:02 [Notification] Client logger started. 6.8.2023 10:06:02 [Notification] Game Version: v1.18.7 (Stable) 6.8.2023 10:06:02 [Warning] Client side assembly resolver did not find the assembly in the binary path, the lib path or the mods path. Tested for the following paths: /home/rhythmic/ApplicationData/vs_archive_1/ /home/rhythmic/ApplicationData/vs_archive_1/Lib /home/rhythmic/ApplicationData/vs_archive_1/Mods /home/rhythmic/.config/VintagestoryData/Mods 6.8.2023 10:06:02 [Notification] OpenAL Initialized. Available Mono/Stereo Sources: 255/1 6.8.2023 10:06:02 [Notification] CPU Cores: 12 6.8.2023 10:06:02 [Notification] Available RAM: 15814 MB 6.8.2023 10:06:02 [Notification] Graphics Card Vendor: AMD 6.8.2023 10:06:02 [Notification] Graphics Card Version: 4.6 (Core Profile) Mesa 22.2.5-0ubuntu0.1~22.04.3 6.8.2023 10:06:02 [Notification] Graphics Card Renderer: AMD Radeon RX 6500 XT (navi24, LLVM 15.0.7, DRM 3.47, 5.19.0-50-generic) 6.8.2023 10:06:02 [Notification] Graphics Card ShadingLanguageVersion: 4.60 6.8.2023 10:06:02 [Notification] GL.MaxVertexUniformComponents: 16384 6.8.2023 10:06:02 [Notification] GL.MaxUniformBlockSize: 1073741824 6.8.2023 10:06:02 [Notification] Cairo Graphics Version: 1.16.0 6.8.2023 10:06:02 [Notification] OpenAL Version: 1.1 ALSOFT 1.19.1 6.8.2023 10:06:02 [Notification] C# Framework: Mono 6.8.0.105 (Debian 6.8.0.105+dfsg-3.2 Wed Jun 30 05:34:49 UTC 2021) 6.8.2023 10:06:02 [Notification] OpenTK Version: 3.3.2 (A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.) 6.8.2023 10:06:02 [Notification] Start discovering assets 6.8.2023 10:06:02 [Notification] Found 23 base assets in category lang 6.8.2023 10:06:02 [Notification] Found 0 base assets in category patches 6.8.2023 10:06:02 [Notification] Found 22 base assets in category config 6.8.2023 10:06:02 [Notification] Found 0 base assets in category worldproperties 6.8.2023 10:06:02 [Notification] Found 46 base assets in category sounds 6.8.2023 10:06:02 [Notification] Found 97 base assets in category shapes 6.8.2023 10:06:02 [Notification] Found 72 base assets in category shaders 6.8.2023 10:06:02 [Notification] Found 16 base assets in category shaderincludes 6.8.2023 10:06:02 [Notification] Found 131 base assets in category textures 6.8.2023 10:06:02 [Notification] Found 4 base assets in category music 6.8.2023 10:06:02 [Notification] Found 0 base assets in category dialog 6.8.2023 10:06:02 [Notification] Found 411 base assets in total 6.8.2023 10:06:02 [Notification] Loading sounds 6.8.2023 10:06:02 [Notification] (Re-)loaded frame buffers 6.8.2023 10:06:02 [Notification] Sounds loaded 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass . 6.8.2023 10:06:02 [Notification] Window was resized to 1280 850, rebuilding framebuffers... 6.8.2023 10:06:02 [Notification] (Re-)loaded frame buffers 6.8.2023 10:06:02 [Notification] Window was resized to 1280 850, rebuilding framebuffers... 6.8.2023 10:06:02 [Notification] (Re-)loaded frame buffers 6.8.2023 10:06:02 [Notification] Begin loading shaders 6.8.2023 10:06:02 [Notification] Load shaders now 6.8.2023 10:06:02 [Notification] Loading shaders... 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass standard. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass particlescube. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass particlesquad. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass sky. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass nightsky. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass woittest. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass transparentcompose. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass debugdepthbuffer. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass helditem. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass chunkopaque. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass chunkliquid. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass decals. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass final. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass gui. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass blur. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass chunktransparent. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass findbright. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass chunktopsoil. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass godrays. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass autocamera. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass blockhighlights. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass wireframe. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass entityanimated. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass luma. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass blit. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass particlesquad2d. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass shadowmapentityanimated. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass shadowmapgeneric. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass texture2texture. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass celestialobject. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass guitopsoil. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass colorgrade. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass guigear. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass ssao. 6.8.2023 10:06:02 [Notification] Loaded Shaderprogramm for render pass bilateralblur. 6.8.2023 10:06:02 [Notification] Cached session key is valid, validating with server 6.8.2023 10:06:03 [Notification] Server validation response: Good 6.8.2023 10:06:03 [Notification] Will search the following paths for mods: 6.8.2023 10:06:03 [Notification] /home/rhythmic/ApplicationData/vs_archive_1/Mods 6.8.2023 10:06:03 [Notification] /home/rhythmic/.config/VintagestoryData/Mods ```
### Client Debug ``` 6.8.2023 10:06:02 [Debug] Creating game window with window mode Normal 6.8.2023 10:06:02.656 [VerboseDebug] Loadsounds, found 46 sounds 6.8.2023 10:06:03.391 [VerboseDebug] [VSCreativeMod.dll] Check for mod systems in mod /home/rhythmic/ApplicationData/vs_archive_1/Mods/VSCreativeMod.dll 6.8.2023 10:06:03.393 [VerboseDebug] [VSCreativeMod.dll] Loaded assembly /home/rhythmic/ApplicationData/vs_archive_1/Mods/VSCreativeMod.dll 6.8.2023 10:06:03.409 [VerboseDebug] [VSEssentials.dll] Check for mod systems in mod /home/rhythmic/ApplicationData/vs_archive_1/Mods/VSEssentials.dll 6.8.2023 10:06:03.409 [VerboseDebug] [VSEssentials.dll] Loaded assembly /home/rhythmic/ApplicationData/vs_archive_1/Mods/VSEssentials.dll 6.8.2023 10:06:03.410 [VerboseDebug] [VSSurvivalMod.dll] Check for mod systems in mod /home/rhythmic/ApplicationData/vs_archive_1/Mods/VSSurvivalMod.dll 6.8.2023 10:06:03.412 [VerboseDebug] [VSSurvivalMod.dll] Loaded assembly /home/rhythmic/ApplicationData/vs_archive_1/Mods/VSSurvivalMod.dll 6.8.2023 10:06:03.521 [VerboseDebug] Left bottom main menu text is at 14.625/790.85 w/h 337.5,50.15 ```
Th3Dilli commented 10 months ago

is this still the case since 1.18.8 (when we switched to dotnet 7.0) ?

since I cant reproduce it in 1.19

Craluminum2413 commented 2 months ago

Closing due to inactivity