Page 1 of 1
can only play 1 game. then screen freezes and I must exit and restart Myth
Posted: Tue Dec 17, 2024 8:04 am
by princepawn-gru-clan
I got onto the bagrada.net server for the first time last night. I played a game. But the game does not exit: instead the video distorts and I must exit Myth and restart Myth before I can play again.
Re: can only play 1 game. then screen freezes and I must exit and restart Myth
Posted: Wed Dec 18, 2024 2:17 pm
by Myrd
Can you provide more information so we can help you?
What operating system are you using?
If Windows, can you try updating your graphics drivers?
If Windows, try selecting OpenGL instead of DirectX 11 in settings or vice versa and see if it helps?
Post the contents of your myth_log.txt file after the issue happens.
Thanks!
Re: can only play 1 game. then screen freezes and I must exit and restart Myth
Posted: Wed Dec 18, 2024 5:56 pm
by princepawn-gru-clan
I'm Using Windows 11
myth log has this:
Code: Select all
2024-12-18 17:43:57
Myth II Build 462 running under Modern Windows 10.000000 ----------------------------------------------
Loading poweruser.txt... not found.
DEBUG: Updating monolithic tag cache:
Initial count: 558
Number removed: 0
Number added: 0
New count: 558
INFO: ignoring non-required patch file 'Patch MariusNet'
DEBUG: Adding 17 monolithic tags:
small install
medium install
large install
international small install
international large install
Patch 1.2
Patch 1.3
Patch 1.4
Patch 1.5
bagrada metaserver
Patch 1.8 Interface
Myth II Interface (800x600)
Patch Templates
bagrada scoring plugin
Magma - Detail Texture Megapack
UM Detail Textures
Gladiators Armageddon Textures
Scanning for software devices...
Found 1 to use
Scanning for Direct3D devices...
Found 1 to use
Scanning for DirectX 11 devices...
Found adapter: NVIDIA GeForce RTX 3070 Ti Laptop GPU
Found 1 to use
Scanning for 3Dfx devices...
Found 0 to use
Scanning for OpenGL devices...
Found 1 to use
NVIDIA GeForce RTX 3070 Ti Laptop GPU/PCIe/SSE2 | NVIDIA Corporation | OpenGL 4.6
Initializing sound with DirectSound...
Initialized for DirectSound3D using COM
DirectSound initialized successfully.
Warning: Unable to find cutscene 'prologue.smk'.
Establishing connection with metaserver at bagrada.net:6321...
Connected.
Running OpenGL 4.6 at 800 x 600 (VSync ON)
Starting mesh "Gimble in the Wabe"...
Using 1.8.4 gameplay...
OpenGL: Initialized with TexCacheSize=512, ErasePreviousFrame=0, MaxAnisotropy=8, MSAASamples=1, UseDepthTest=1, UseMipMaps=1, UseNPO2Textures=1, UseShaders=1, UseLightmapBlendingShader=0, UpdateCMapChunked=1, UseCMapTiles=1, UseAppleClientStorage=0
Quitting networked game...
Disconnecting from metaserver.
Warning: Unable to find cutscene 'prologue.smk'.
Closing Myth.
Re: can only play 1 game. then screen freezes and I must exit and restart Myth
Posted: Thu Dec 19, 2024 12:12 am
by princepawn-gru-clan
The cutscene error is described here -
viewtopic.php?t=1837
Re: can only play 1 game. then screen freezes and I must exit and restart Myth
Posted: Thu Dec 19, 2024 12:26 am
by princepawn-gru-clan
Here's another myth log... same problem:
Code: Select all
2024-12-19 00:12:13
Myth II Build 462 running under Modern Windows 10.000000 ----------------------------------------------
Loading poweruser.txt... not found.
DEBUG: Updating monolithic tag cache:
Initial count: 558
Number removed: 0
Number added: 0
New count: 558
INFO: ignoring non-required patch file 'Patch MariusNet'
DEBUG: Adding 17 monolithic tags:
small install
medium install
large install
international small install
international large install
Patch 1.2
Patch 1.3
Patch 1.4
Patch 1.5
bagrada metaserver
Patch 1.8 Interface
Myth II Interface (800x600)
Patch Templates
bagrada scoring plugin
Magma - Detail Texture Megapack
UM Detail Textures
Gladiators Armageddon Textures
Scanning for software devices...
Found 1 to use
Scanning for Direct3D devices...
Found 1 to use
Scanning for DirectX 11 devices...
Found adapter: NVIDIA GeForce RTX 3070 Ti Laptop GPU
Found 1 to use
Scanning for 3Dfx devices...
Found 0 to use
Scanning for OpenGL devices...
Found 1 to use
NVIDIA GeForce RTX 3070 Ti Laptop GPU/PCIe/SSE2 | NVIDIA Corporation | OpenGL 4.6
Initializing sound with DirectSound...
Initialized for DirectSound3D using COM
DirectSound initialized successfully.
Warning: Unable to find cutscene 'prologue.smk'.
Switching to Myth II Interface (640x480)...
Interface switch complete.
Warning: Unable to find cutscene 'prologue.smk'.
Error: Array Out of Bounds in Myth2Code\shapes.c, line #1123: sequence #3 not in [#0,#2) for "TFD-OV.bmp" collection
Running OpenGL 4.6 at 1600 x 1200 (VSync ON)
Starting mesh "|iThe Fortress of Doom II Final" with 1 plugin...
The Fortress of Doom II Final
Using 1.8.4 gameplay...
OpenGL: Initialized with TexCacheSize=512, ErasePreviousFrame=0, MaxAnisotropy=8, MSAASamples=1, UseDepthTest=1, UseMipMaps=1, UseNPO2Textures=1, UseShaders=1, UseLightmapBlendingShader=0, UpdateCMapChunked=1, UseCMapTiles=1, UseAppleClientStorage=0
Quitting single player game...
Warning: Unable to find cutscene 'prologue.smk'.
Closing Myth.
Re: can only play 1 game. then screen freezes and I must exit and restart Myth
Posted: Thu Dec 19, 2024 12:27 am
by princepawn-gru-clan
I think I found the issue:
Code: Select all
Error: Array Out of Bounds in Myth2Code\shapes.c, line #1123: sequence #3 not in [#0,#2) for "TFD-OV.bmp" collection
Re: can only play 1 game. then screen freezes and I must exit and restart Myth
Posted: Thu Dec 19, 2024 7:24 am
by Myrd
I don't think the above error should cause the freeze. Can you try selecting DirectX 11 in preferences instead of OpenGL and check if the issue still occurs?
Edit: Also, can you post a screenshot of the distorted video?
Finally, your logs indicate that Myth closed successfully, but your post says the game freezes. Did the error not happen in the sessions from which you posted the logs?
Re: can only play 1 game. then screen freezes and I must exit and restart Myth
Posted: Thu Dec 19, 2024 12:30 pm
by princepawn-gru-clan
Myrd wrote: ↑Thu Dec 19, 2024 7:24 am
I don't think the above error should cause the freeze. Can you try selecting DirectX 11 in preferences instead of OpenGL and check if the issue still occurs?
I just chose DirectX 11 and the problem vanished.
Myrd wrote: ↑Thu Dec 19, 2024 7:24 am
Edit: Also, can you post a screenshot of the distorted video?
Finally, your logs indicate that Myth closed successfully, but your post says the game freezes. Did the error not happen in the sessions from which you posted the logs?
the error did happen in those sessions. I will post a screenshot if it happens again.
Thanks for your help.
Re: can only play 1 game. then screen freezes and I must exit and restart Myth
Posted: Mon Feb 24, 2025 9:29 am
by Melekor
I've also noticed that alt-tab doesn't work right in Windows 11 when using OpenGL together with borderless windowed mode aka fullscreen windowed mode. Instead of switching apps, the game just freezes on screen.
I have seen some reddit threads suggesting it happens in other games too and I currently believe it is a Windows issue, not a Myth issue. There is a registry hack you can use to restore the old style alt-tab switcher and then the issue doesn't happen.
Combined with OP's report, it seems like OpenGL support is degrading on modern Windows. I think we should start defaulting to DirectX11 for win11+ in the next update.