Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TR1X dont Start on WIn11, crashes after short blackscreen #1738

Open
Yologoofy opened this issue Oct 23, 2024 · 26 comments
Open

TR1X dont Start on WIn11, crashes after short blackscreen #1738

Yologoofy opened this issue Oct 23, 2024 · 26 comments
Labels

Comments

@Yologoofy
Copy link

Yologoofy commented Oct 23, 2024

I have the issue that the game dont start.
some weeks ago i moved to windows 11 and since then it wont start. It woked fine on win10 before.
If i start TR1X via the desktopshortcut thats made after installation i get a short blackscreen and then it crashes and im on my desktop again.
I already tried to use compatibility modes and runnin game as admin but that doesnt solve the problem.
Does anyone have a clue what causes that problem?
please let me know if i can provide any log or something similar.

Edit: i found a log from TR1X . mabye that helps to identify the problem
i have no clue what that all means

specific/s_shell.c 265 SDL_main Game directory: C:\Users\bschr\Documents\TR1X
game/input/controller.c 353 M_FindController 1 controllers
game/input/controller.c 358 M_FindController controller 0: DualSense Wireless Controller 7 (1)
specific/s_shell.c 137 S_Shell_HandleWindowResize 1920x1080+0,0 (maximized: 0)
libtrx/gfx/context.c 218 GFX_Context_SetWindowSize Window size: 1920x1080
libtrx/config/file.c 85 ConfigFile_Write Saving user settings
game/random.c 12 Random_SeedControl 79731
game/random.c 24 Random_SeedDraw 77845
libtrx/gfx/context.c 110 GFX_Context_Attach Attaching to window 045e7c08
libtrx/gfx/2d/2d_renderer.c 52 GFX_2D_Renderer_Close
libtrx/log_windows.c 91 Log_CrashHandler == CRASH REPORT ==
libtrx/log_windows.c 92 Log_CrashHandler EXCEPTION CODE: c0000005
libtrx/log_windows.c 93 Log_CrashHandler EXCEPTION ADDRESS: 0
libtrx/log_windows.c 94 Log_CrashHandler STACK TRACE:
libtrx/log_windows.c 86 M_CreateMiniDump Crash dump info put in C:\Users\bschr\Documents\TR1X\TR1X.dmp

thx in advance

@lahm86
Copy link
Collaborator

lahm86 commented Oct 23, 2024

@Yologoofy It could potentially be a problem with your OS selecting the wrong GPU if you have more than one.

Could you try this to ensure your more powerful GPU is assigned to TR1X?

https://www.howtogeek.com/351522/how-to-choose-which-gpu-a-game-uses-on-windows-10/

The article mentions Windows 10, but this also applies to Windows 11.

@Richard-L
Copy link
Collaborator

Fwiw changing to Win 11 made no difference to my TR1X. Still works fine. I would also assume it sounds like a GPU driver issue. Have you run Windows updates? Maybe also check the sub setting where it caters more optional updates to you. Those sometimes include hardware drivers that can help.

@rr-
Copy link
Collaborator

rr- commented Oct 23, 2024

@Yologoofy as a side note, could you please try this (significantly bulkier) build that should hopefully provide more details in the crash report?

https://nightly.link/LostArtefacts/TRX/actions/artifacts/2096051095.zip

@Yologoofy
Copy link
Author

Yologoofy commented Oct 23, 2024

@lahm86 i just assigned my GPU to TR1X (AMD RX 6750XT) but its still the same. A blackscreen shows up for a millisecond and thats it . i also applied the linked build of TR1X that you posted and yes the crashlog shows up some more details.

specific/s_shell.c 268 SDL_main Game directory: C:\Users\bschr\Documents\TR1X
game/input/controller.c 353 M_FindController 0 controllers
specific/s_shell.c 138 S_Shell_HandleWindowResize 1920x1080+0,0 (maximized: 0)
libtrx/gfx/context.c 218 GFX_Context_SetWindowSize Window size: 1920x1080
libtrx/config/file.c 85 ConfigFile_Write Saving user settings
game/random.c 12 Random_SeedControl 84739
game/random.c 24 Random_SeedDraw 82423
libtrx/gfx/context.c 110 GFX_Context_Attach Attaching to window 057be450
libtrx/gfx/2d/2d_renderer.c 52 GFX_2D_Renderer_Close
libtrx/log_windows.c 91 Log_CrashHandler == CRASH REPORT ==
libtrx/log_windows.c 92 Log_CrashHandler EXCEPTION CODE: c0000005
libtrx/log_windows.c 93 Log_CrashHandler EXCEPTION ADDRESS: 0
libtrx/log_windows.c 94 Log_CrashHandler STACK TRACE:
libtrx/log_windows.c 46 M_StackTrace --- 0x00240000: C:\Users\bschr\Documents\TR1X\TR1X.exe
libtrx/log_windows.c 58 M_StackTrace 00. 0x0032d1f9: (/app/build/tr1/win/../../../src/tr1/subprojects/libtrx/gfx/gl/gl_core_3_3.c:7490:5) Switch_DeleteVertexArrays
libtrx/log_windows.c 58 M_StackTrace 01. 0x003304e1: (/app/build/tr1/win/../../../src/tr1/subprojects/libtrx/gfx/gl/vertex_array.c:18:5) GFX_GL_VertexArray_Close
libtrx/log_windows.c 58 M_StackTrace 02. 0x003231e1: (/app/build/tr1/win/../../../src/tr1/subprojects/libtrx/gfx/2d/2d_renderer.c:55:5) GFX_2D_Renderer_Close
libtrx/log_windows.c 58 M_StackTrace 03. 0x003256d9: (/app/build/tr1/win/../../../src/tr1/subprojects/libtrx/gfx/context.c:177:5) GFX_Context_Detach
libtrx/log_windows.c 58 M_StackTrace 04. 0x002b1bb4: (/app/build/tr1/win/specific/s_output.c:871:5) S_Output_Shutdown
libtrx/log_windows.c 58 M_StackTrace 05. 0x00290819: (/app/build/tr1/win/game/output.c:565:5) Output_Shutdown
libtrx/log_windows.c 58 M_StackTrace 06. 0x002a89dc: (/app/build/tr1/win/game/shell.c:156:5) Shell_Shutdown
libtrx/log_windows.c 58 M_StackTrace 07. 0x002a8d96: (/app/build/tr1/win/game/shell.c:290:5) Shell_ExitSystem
libtrx/log_windows.c 58 M_StackTrace 08. 0x00325478: (/app/build/tr1/win/../../../src/tr1/subprojects/libtrx/gfx/context.c:132:9) GFX_Context_Attach
libtrx/log_windows.c 58 M_StackTrace 09. 0x002b1b6a: (/app/build/tr1/win/specific/s_output.c:857:5) S_Output_Init
libtrx/log_windows.c 58 M_StackTrace 10. 0x0029080c: (/app/build/tr1/win/game/output.c:560:12) Output_Init
libtrx/log_windows.c 58 M_StackTrace 11. 0x002a8968: (/app/build/tr1/win/game/shell.c:132:10) Shell_Init
libtrx/log_windows.c 58 M_StackTrace 12. 0x002a8ae1: (/app/build/tr1/win/game/shell.c:190:5) Shell_Main
libtrx/log_windows.c 58 M_StackTrace 13. 0x002b5968: (/app/build/tr1/win/specific/s_shell.c:317:5) SDL_main
libtrx/log_windows.c 58 M_StackTrace 14. 0x008d3f23: (/SDL/build/../src/main/windows/SDL_windows_main.c:80:14) main_getcmdline
libtrx/log_windows.c 86 M_CreateMiniDump Crash dump info put in C:\Users\bschr\Documents\TR1X\TR1X.dmp

@Richard-L i just checked windows updates and i should be up to date since there are no updates available.
Windows 11 24H2

thx for the support so far.

@rr- rr- mentioned this issue Oct 23, 2024
2 tasks
@rr- rr- moved this to In progress in TRX Dev tracker Oct 23, 2024
@rr- rr- added the TR1 label Oct 23, 2024
@rr- rr- self-assigned this Oct 23, 2024
@rr-
Copy link
Collaborator

rr- commented Oct 23, 2024

@Yologoofy, thank you for your help. We're walking a bit in the dark here, so I appreciate your understanding. Could you please share the logs from the following build? It seems the crash you're experiencing has uncovered another issue with resource cleanup when the game exits abruptly, which is preventing us from identifying the root error clearly. Here's the link: https://nightly.link/LostArtefacts/TRX/actions/artifacts/2096183897.zip.

@Yologoofy
Copy link
Author

Yologoofy commented Oct 23, 2024

@rr- Thank you for youre support . I downloaded the build you linked. The problem changed a little bit . The game dont start like before but now a black screen stays and a öittöe error window shows up saying " Cant create OpenGL context. all i can do here is clicking "okay" and im back on my desktop. The crash log looks like this:

specific/s_shell.c 268 SDL_main Game directory: C:\Users\bschr\Documents\TR1X
game/input/controller.c 353 M_FindController 0 controllers
specific/s_shell.c 138 S_Shell_HandleWindowResize 1920x1080+0,0 (maximized: 0)
libtrx/gfx/context.c 218 GFX_Context_SetWindowSize Window size: 1920x1080
libtrx/config/file.c 85 ConfigFile_Write Saving user settings
game/random.c 12 Random_SeedControl 2293
game/random.c 24 Random_SeedDraw 1733
libtrx/gfx/context.c 110 GFX_Context_Attach Attaching to window 05afe3e0
specific/s_shell.c 165 S_Shell_ShowFatalError Can't create OpenGL context
libtrx/gfx/2d/2d_renderer.c 52 GFX_2D_Renderer_Close
libtrx/log_windows.c 91 Log_CrashHandler == CRASH REPORT ==
libtrx/log_windows.c 92 Log_CrashHandler EXCEPTION CODE: c0000005
libtrx/log_windows.c 93 Log_CrashHandler EXCEPTION ADDRESS: 0
libtrx/log_windows.c 94 Log_CrashHandler STACK TRACE:
libtrx/log_windows.c 46 M_StackTrace --- 0x00600000: C:\Users\bschr\Documents\TR1X\TR1X.exe
libtrx/log_windows.c 58 M_StackTrace 00. 0x006ed1f9: (/app/build/tr1/win/../../../src/tr1/subprojects/libtrx/gfx/gl/gl_core_3_3.c:7490:5) Switch_DeleteVertexArrays
libtrx/log_windows.c 58 M_StackTrace 01. 0x006f04e1: (/app/build/tr1/win/../../../src/tr1/subprojects/libtrx/gfx/gl/vertex_array.c:18:5) GFX_GL_VertexArray_Close
libtrx/log_windows.c 58 M_StackTrace 02. 0x006e31e1: (/app/build/tr1/win/../../../src/tr1/subprojects/libtrx/gfx/2d/2d_renderer.c:55:5) GFX_2D_Renderer_Close
libtrx/log_windows.c 58 M_StackTrace 03. 0x006e56d9: (/app/build/tr1/win/../../../src/tr1/subprojects/libtrx/gfx/context.c:177:5) GFX_Context_Detach
libtrx/log_windows.c 58 M_StackTrace 04. 0x00671bb4: (/app/build/tr1/win/specific/s_output.c:871:5) S_Output_Shutdown
libtrx/log_windows.c 58 M_StackTrace 05. 0x00650819: (/app/build/tr1/win/game/output.c:565:5) Output_Shutdown
libtrx/log_windows.c 58 M_StackTrace 06. 0x006689dc: (/app/build/tr1/win/game/shell.c:156:5) Shell_Shutdown
libtrx/log_windows.c 58 M_StackTrace 07. 0x0067559f: (/app/build/tr1/win/specific/s_shell.c:173:5) S_Shell_TerminateGame
libtrx/log_windows.c 58 M_StackTrace 08. 0x00675591: (/app/build/tr1/win/specific/s_shell.c:168:5) S_Shell_ShowFatalError
libtrx/log_windows.c 58 M_StackTrace 09. 0x00668d9c: (/app/build/tr1/win/game/shell.c:290:5) Shell_ExitSystem
libtrx/log_windows.c 58 M_StackTrace 10. 0x006e5478: (/app/build/tr1/win/../../../src/tr1/subprojects/libtrx/gfx/context.c:132:9) GFX_Context_Attach
libtrx/log_windows.c 58 M_StackTrace 11. 0x00671b6a: (/app/build/tr1/win/specific/s_output.c:857:5) S_Output_Init
libtrx/log_windows.c 58 M_StackTrace 12. 0x0065080c: (/app/build/tr1/win/game/output.c:560:12) Output_Init
libtrx/log_windows.c 58 M_StackTrace 13. 0x00668968: (/app/build/tr1/win/game/shell.c:132:10) Shell_Init
libtrx/log_windows.c 58 M_StackTrace 14. 0x00668ae1: (/app/build/tr1/win/game/shell.c:190:5) Shell_Main
libtrx/log_windows.c 58 M_StackTrace 15. 0x00675968: (/app/build/tr1/win/specific/s_shell.c:317:5) SDL_main
libtrx/log_windows.c 58 M_StackTrace 16. 0x00c93f23: (/SDL/build/../src/main/windows/SDL_windows_main.c:80:14) main_getcmdline
libtrx/log_windows.c 86 M_CreateMiniDump Crash dump info put in C:\Users\bschr\Documents\TR1X\TR1X.dmp

If i can provide any other infos/details/files please let me know

Thank you for your support and your time , i apreaciate that very much :)

@walkawayy
Copy link
Collaborator

Do other games work fine on your system? I play on Windows 11 with no issue, so I don't think it's the OS.

@rr-
Copy link
Collaborator

rr- commented Oct 23, 2024

AMD RX 6750XT

Thank you for the update. I have prepared a new build that hopefully addresses the unclean exit, and provide additional details about the ongoing issue: https://nightly.link/LostArtefacts/TRX/actions/artifacts/2096406034.zip. It appears that SDL is having trouble finding the OpenGL drivers. Since we're targeting OpenGL 2.1 and your GPU supports version 4.6 (which is backwards compatible), the only advice I have at the moment is to check that the correct drivers are installed for your GPU.

@Yologoofy
Copy link
Author

@walkawayy Yes other games working fine thats the only one at the moment that causes problems. Even the clean unmodded dosbox version works after installing with steam.

@rr- I alredy chekced my installed drivers and they are up to date for my AMD card. Also amd recommended the version that i have installed. i also reinstalled them to make sure everything is as it should be.

i also applied your prepared build and the crash log looks different now.

specific/s_shell.c 268 SDL_main Game directory: C:\Users\bschr\Documents\TR1X
game/input/controller.c 353 M_FindController 0 controllers
specific/s_shell.c 138 S_Shell_HandleWindowResize 1920x1080+0,0 (maximized: 0)
libtrx/gfx/context.c 219 GFX_Context_SetWindowSize Window size: 1920x1080
libtrx/config/file.c 85 ConfigFile_Write Saving user settings
game/random.c 12 Random_SeedControl 7728
game/random.c 24 Random_SeedDraw 7442
libtrx/gfx/context.c 110 GFX_Context_Attach Attaching to window 05873e00
specific/s_shell.c 165 S_Shell_ShowFatalError Can't create OpenGL context: wglMakeCurrent(): Das Handle ist ungültig.
libtrx/gfx/2d/2d_renderer.c 52 GFX_2D_Renderer_Close
libtrx/gfx/3d/3d_renderer.c 95 GFX_3D_Renderer_Close

The error message now says "Can't create OpenGL context: wglMakeCurrent(): The Handle is invalid."

Again , thank you for your help.

@rr-
Copy link
Collaborator

rr- commented Oct 24, 2024

@walkawayy Yes other games working fine thats the only one at the moment that causes problems. Even the clean unmodded dosbox version works after installing with steam.

@rr- I alredy chekced my installed drivers and they are up to date for my AMD card. Also amd recommended the version that i have installed. i also reinstalled them to make sure everything is as it should be.

i also applied your prepared build and the crash log looks different now.

specific/s_shell.c 268 SDL_main Game directory: C:\Users\bschr\Documents\TR1X
game/input/controller.c 353 M_FindController 0 controllers
specific/s_shell.c 138 S_Shell_HandleWindowResize 1920x1080+0,0 (maximized: 0)
libtrx/gfx/context.c 219 GFX_Context_SetWindowSize Window size: 1920x1080
libtrx/config/file.c 85 ConfigFile_Write Saving user settings
game/random.c 12 Random_SeedControl 7728
game/random.c 24 Random_SeedDraw 7442
libtrx/gfx/context.c 110 GFX_Context_Attach Attaching to window 05873e00
specific/s_shell.c 165 S_Shell_ShowFatalError Can't create OpenGL context: wglMakeCurrent(): Das Handle ist ungültig.
libtrx/gfx/2d/2d_renderer.c 52 GFX_2D_Renderer_Close
libtrx/gfx/3d/3d_renderer.c 95 GFX_3D_Renderer_Close

The error message now says "Can't create OpenGL context: wglMakeCurrent(): The Handle is invalid."

Again , thank you for your help.

Can you please try this build? It includes small changes to the video system initialization. While I'm not certain it will help, it's worth trying. You can download it here: https://nightly.link/LostArtefacts/TRX/actions/artifacts/2097691083.zip

@Yologoofy
Copy link
Author

@rr- I just applied your latest linked build but the problem stays the same. The crash log is the following

specific/s_shell.c 269 SDL_main Game directory: C:\Users\bschr\Documents\TR1X
game/input/controller.c 353 M_FindController 1 controllers
game/input/controller.c 358 M_FindController controller 0: DualSense Wireless Controller 7 (1)
specific/s_shell.c 139 S_Shell_HandleWindowResize 640x480+0,0 (maximized: 0)
libtrx/gfx/context.c 229 GFX_Context_SetWindowSize Window size: 640x480
libtrx/config/file.c 85 ConfigFile_Write Saving user settings
game/random.c 12 Random_SeedControl 69290
game/random.c 24 Random_SeedDraw 67560
libtrx/gfx/context.c 127 GFX_Context_Attach Attaching to window 05052140
specific/s_shell.c 166 S_Shell_ShowFatalError Can't create OpenGL context: wglMakeCurrent(): Das Handle ist ungültig.
libtrx/gfx/2d/2d_renderer.c 52 GFX_2D_Renderer_Close
libtrx/gfx/3d/3d_renderer.c 95 GFX_3D_Renderer_Close

i also did a bit of research and came across the OpenGL Extensions Viewer.
im not an expert and dont know how to interpret it but it seems that my drivers really have some problems with OpenGL 2.1
since the 2.1 version is not available as the extension viewer shows.
In the last picture where i opend the drop down menu to choose the version for a rendering test the lowest version to choose is 3.0
I thought that could help a bit to identify the problem further.
You also might notice that i have an amd cpu with an integrated gpu but i disabled it because it causes some issues .
I also turned it on and tried to use the integrated gpu to run TR1X but it also didnt work.
i guess both gpus share the same drivers.

Ogl ext viewer
Ogl ext viewer2
Ogl ext viewer3

@Yologoofy
Copy link
Author

I took a deeper look into the OpenGL extension viewer and found the following:
Ogl ext viewer4

on the right side the version 1.2 is mentioned so it normaly should work?
im clueless, but it mabye makes sense to you.
i'm starting to think i should have stuck with nvidia instead of an amd graphics card

@rr-
Copy link
Collaborator

rr- commented Oct 24, 2024

Thanks – that's really helpful. I'll try to provide a patch where we dynamically switch to OpenGL 3.3 profile (which we already support) in case 2.1 didn't work, but I didn't have the time to do so today.

@Yologoofy
Copy link
Author

@rr- No problem, im not in a rush so take youre time . Im glad that youre helped me so far .
I also will post this problem in the official amd forum cause it turned out that other games that uses opengl2.1 also have problems with my drivers or my driver version in general. Counterstrike 1.6 and countrestike condition zero also dont work properly. These both games showing a blackscreen but i have the main menu music in the background for example.
i guess the compatibility of older opengl versions are a major problem of amd drivers. at least for the current drivers.
and again , thank you very very much :)

@rr-
Copy link
Collaborator

rr- commented Oct 25, 2024

@Yologoofy I've added falling back to the 3.3 core profile here: https://nightly.link/LostArtefacts/TRX/actions/artifacts/2105296415.zip

@Yologoofy
Copy link
Author

@rr- Thank you for your efforts but the problem stays the same. A blackscreen shows up and an error window says
"Can't create OpenGL context: wglMakeCurrent(): Das Handle ist ungültig."

specific/s_shell.c 269 SDL_main Game directory: C:\Users\bschr\Documents\TR1X
game/input/controller.c 353 M_FindController 0 controllers
specific/s_shell.c 139 S_Shell_HandleWindowResize 1920x1080+0,0 (maximized: 0)
libtrx/gfx/context.c 272 GFX_Context_SetWindowSize Window size: 1920x1080
libtrx/config/file.c 85 ConfigFile_Write Saving user settings
game/random.c 12 Random_SeedControl 73092
game/random.c 24 Random_SeedDraw 71226
libtrx/gfx/context.c 170 GFX_Context_Attach Attaching to window 056fe450
specific/s_shell.c 166 S_Shell_ShowFatalError Can't create OpenGL context: wglMakeCurrent(): Das Handle ist ungültig.
libtrx/gfx/2d/2d_renderer.c 55 GFX_2D_Renderer_Close
libtrx/gfx/3d/3d_renderer.c 97 GFX_3D_Renderer_Close

In addition to that i start feeling uncomfortable bothering you with that stupid problem.
If you want we can leave it like it is, that would be no problem and then i'll have to save up until i can buy an nvidia card to play my old favorite games again.
nevertheless, thank you very much for your help, i really appreciate it

@Yologoofy
Copy link
Author

I have a little update
a freind who also uses an amd card but with an older arenaline/driver version tested the official downloadable version and it worked right away.
i now will deinstall my drivers and use the older version that my friend has installed .
it might work for me aswell. will keep you up to date

@Yologoofy
Copy link
Author

So, i uninstalled my drivers (AMD Adrenalin 24.10.1) and installed an older verion (24.08.1) the same that my friends got but it still dont work for me and i have the same problem "Can't create OpenGL context: wglMakeCurrent(): The handle is invalid."
i guess its hopeless to investigate further.

@rr-
Copy link
Collaborator

rr- commented Oct 25, 2024

I think I made a mistake with the way I was initialising the OpenGL context after creating the window which apparently is illegal. Can you please try this one more build? https://nightly.link/LostArtefacts/TRX/actions/artifacts/2106011643.zip

@Yologoofy
Copy link
Author

@rr- I tried your latest linked build and the game starts , i hear the music from the intro and the main menu theme. i also can navigate the main menu but i still have a blackscreen. i guess thats a huge step forward. The crashlog looks like the following if thats intersting

specific/s_shell.c 272 SDL_main Game directory: D:\Spiele\Games\TR1X
game/input/controller.c 353 M_FindController 0 controllers
specific/s_shell.c 378 S_Shell_CreateWindow Trying GL backend 3.3
libtrx/gfx/context.c 112 GFX_Context_Attach Attaching to window 05f229b8
libtrx/gfx/context.c 135 GFX_Context_Attach OpenGL vendor string: ATI Technologies Inc.
libtrx/gfx/context.c 136 GFX_Context_Attach OpenGL renderer string: AMD Radeon RX 6750 XT
libtrx/gfx/context.c 137 GFX_Context_Attach OpenGL version string: 3.3.0 Core Profile Context 24.8.1.240822
libtrx/gfx/context.c 141 GFX_Context_Attach Shading version string: 4.60
libtrx/gfx/2d/2d_renderer.c 12 GFX_2D_Renderer_Init
libtrx/gfx/3d/3d_renderer.c 37 GFX_3D_Renderer_Init
libtrx/gfx/gl/sampler.c 48 GFX_GL_Sampler_Parameterf glGetError: (GL_INVALID_VALUE)
specific/s_shell.c 141 S_Shell_HandleWindowResize 1280x720+0,0 (maximized: 0)
libtrx/gfx/context.c 215 GFX_Context_SetWindowSize Window size: 1280x720
libtrx/config/file.c 85 ConfigFile_Write Saving user settings
game/random.c 12 Random_SeedControl 81173
game/random.c 24 Random_SeedDraw 78937
libtrx/gfx/context.c 227 GFX_Context_SetDisplaySize Display size: 0x0
libtrx/gfx/context.c 229 GFX_Context_SetDisplaySize invalid size, ignoring
libtrx/gfx/context.c 248 GFX_Context_SetRenderingMode Render mode: 0
libtrx/gfx/context.c 227 GFX_Context_SetDisplaySize Display size: 1920x1080
game/shell.c 198 Shell_Main action=5 param=0
game/gameflow.c 1026 GameFlow_InterpretSequence level_num=20 level_type=0
game/gameflow.c 1037 GameFlow_InterpretSequence seq 9 464008920
game/phase/phase.c 65 M_SetUnconditionally phase=5
game/phase/phase.c 147 Phase_Run phase start, phase=5
libtrx/gfx/3d/vertex_stream.c 143 GFX_3D_VertexStream_RenderPending Vertex buffer resize: 0 -> 240
specific/s_shell.c 141 S_Shell_HandleWindowResize 1920x1080+0,0 (maximized: 0)
libtrx/gfx/context.c 215 GFX_Context_SetWindowSize Window size: 1920x1080
libtrx/config/file.c 85 ConfigFile_Write Saving user settings
specific/s_shell.c 141 S_Shell_HandleWindowResize 1920x1080+0,0 (maximized: 0)
libtrx/gfx/context.c 215 GFX_Context_SetWindowSize Window size: 1920x1080
libtrx/config/file.c 85 ConfigFile_Write Saving user settings
game/phase/phase.c 65 M_SetUnconditionally phase=0
game/phase/phase.c 187 Phase_Run phase end, action=0, param=0
game/gameflow.c 1037 GameFlow_InterpretSequence seq 5 464008704
libtrx/engine/video.c 1858 Video_Open Playing video: fmv/core.rpl
libtrx/engine/video.c 1930 Video_Close Finished playing video: fmv/core.rpl
game/gameflow.c 1037 GameFlow_InterpretSequence seq 5 464008728
libtrx/engine/video.c 1858 Video_Open Playing video: fmv/escape.rpl
libtrx/engine/video.c 1930 Video_Close Finished playing video: fmv/escape.rpl
game/gameflow.c 1037 GameFlow_InterpretSequence seq 5 464008944
libtrx/engine/video.c 1858 Video_Open Playing video: fmv/cafe.rpl
libtrx/engine/video.c 1930 Video_Close Finished playing video: fmv/cafe.rpl
game/gameflow.c 1037 GameFlow_InterpretSequence seq 10 0
game/level.c 1094 Level_Initialise 20
game/level.c 1044 Level_Load 20 (data/title.phd)
game/inject.c 359 M_LoadFromFile data/injections/pda_model.bin queued for injection
game/inject.c 1715 Inject_Init took 0.35 ms
game/level.c 135 M_LoadTexturePages 3 texture pages
game/level.c 141 M_LoadTexturePages took 0.05 ms
game/level.c 92 M_LoadFromFile file level num: 0
game/level.c 148 M_LoadRooms 2 rooms
game/level.c 265 M_LoadRooms took 0.01 ms
game/level.c 272 M_LoadMeshBase 2972 meshes
game/level.c 278 M_LoadMeshBase took 0.01 ms
game/level.c 297 M_LoadMeshes took 0.00 ms
game/level.c 304 M_LoadAnims 6 anims
game/level.c 325 M_LoadAnims took 0.01 ms
game/level.c 332 M_LoadAnimChanges 3 anim changes
game/level.c 344 M_LoadAnimChanges took 0.01 ms
game/level.c 351 M_LoadAnimRanges 3 anim ranges
game/level.c 364 M_LoadAnimRanges took 0.00 ms
game/level.c 371 M_LoadAnimCommands 0 anim commands
game/level.c 379 M_LoadAnimCommands took 0.01 ms
game/level.c 386 M_LoadAnimBones 28 anim bones
game/level.c 393 M_LoadAnimBones took 0.00 ms
game/level.c 400 M_LoadAnimFrames 782 anim frames data
game/level.c 417 M_LoadAnimFrames 35 anim frames
game/level.c 418 M_LoadAnimFrames 216 anim frame mesh rotations
game/level.c 471 M_LoadAnimFrames took 0.02 ms
game/level.c 478 M_LoadObjects 6 objects
game/level.c 501 M_LoadObjects took 0.01 ms
game/level.c 508 M_LoadStaticObjects 0 statics
game/level.c 530 M_LoadStaticObjects took 0.00 ms
game/level.c 537 M_LoadTextures 20 textures
game/level.c 551 M_LoadTextures took 0.01 ms
game/level.c 593 M_LoadSprites took 0.01 ms
game/level.c 600 M_LoadCameras 0 cameras
game/level.c 624 M_LoadSoundEffects 0 sound effects
game/level.c 678 M_LoadBoxes took 0.00 ms
game/level.c 689 M_LoadAnimatedTextures 0 animated texture ranges
game/level.c 721 M_LoadAnimatedTextures took 0.01 ms
game/level.c 730 M_LoadItems 1 items
game/level.c 760 M_LoadItems took 0.08 ms
game/level.c 766 M_LoadDepthQ
game/level.c 768 M_LoadDepthQ took 0.00 ms
game/level.c 774 M_LoadPalette
game/level.c 791 M_LoadPalette took 0.01 ms
game/level.c 798 M_LoadCinematic 0 cinematic frames
game/level.c 825 M_LoadDemo 0 demo buffer size
game/level.c 838 M_LoadSamples 8 sample infos
game/level.c 856 M_LoadSamples 99410 sample data size
game/level.c 869 M_LoadSamples 8 samples
game/level.c 881 M_LoadSamples took 0.03 ms
game/inject.c 408 M_LoadTexturePages took 0.16 ms
game/inject.c 465 M_TextureData took 0.00 ms
game/inject.c 489 M_MeshData took 0.00 ms
game/inject.c 598 M_AnimData took 0.00 ms
game/inject.c 714 M_ObjectData took 0.00 ms
game/inject.c 751 M_SFXData took 0.00 ms
game/inject.c 1079 M_TextureOverwrites took 0.00 ms
game/inject.c 1136 M_FloorDataEdits took 0.00 ms
game/inject.c 1327 M_RoomMeshEdits took 0.00 ms
game/inject.c 1654 M_RoomDoorEdits took 0.00 ms
game/inject.c 658 M_AnimRangeEdits took 0.00 ms
game/inject.c 1695 M_ItemPositions took 0.00 ms
game/inject.c 1790 Inject_AllInjections took 0.43 ms
game/level.c 1005 M_MarkWaterEdgeVertices took 0.00 ms
game/level.c 1038 M_CalculateMaxVertices took 0.00 ms
game/level.c 941 M_CompleteSetup Maximum vertices: 80
libtrx/engine/audio_sample.c 507 Audio_Sample_LoadSingle Sample 0 loaded (13198 bytes)
libtrx/engine/audio_sample.c 507 Audio_Sample_LoadSingle Sample 1 loaded (9956 bytes)
libtrx/engine/audio_sample.c 507 Audio_Sample_LoadSingle Sample 2 loaded (15380 bytes)
libtrx/engine/audio_sample.c 507 Audio_Sample_LoadSingle Sample 3 loaded (10062 bytes)
libtrx/engine/audio_sample.c 507 Audio_Sample_LoadSingle Sample 4 loaded (14420 bytes)
libtrx/engine/audio_sample.c 507 Audio_Sample_LoadSingle Sample 5 loaded (14420 bytes)
libtrx/engine/audio_sample.c 507 Audio_Sample_LoadSingle Sample 6 loaded (3242 bytes)
libtrx/engine/audio_sample.c 507 Audio_Sample_LoadSingle Sample 7 loaded (18732 bytes)
game/level.c 981 M_CompleteSetup took 1.71 ms
game/inject.c 1815 Inject_Cleanup took 0.00 ms
game/level.c 1088 Level_Load took 2.83 ms
game/level.c 1165 Level_Initialise took 44.94 ms
game/phase/phase.c 65 M_SetUnconditionally phase=7
game/phase/phase.c 147 Phase_Run phase start, phase=7
libtrx/gfx/3d/vertex_stream.c 143 GFX_3D_VertexStream_RenderPending Vertex buffer resize: 240 -> 5040
libtrx/engine/audio_sample.c 364 M_Convert Sample 4 decoded (0 ms)
libtrx/gfx/3d/vertex_stream.c 143 GFX_3D_VertexStream_RenderPending Vertex buffer resize: 5040 -> 8160
libtrx/gfx/3d/vertex_stream.c 143 GFX_3D_VertexStream_RenderPending Vertex buffer resize: 8160 -> 8400
libtrx/config/file.c 85 ConfigFile_Write Saving user settings
libtrx/gfx/2d/2d_renderer.c 55 GFX_2D_Renderer_Close
libtrx/gfx/3d/3d_renderer.c 97 GFX_3D_Renderer_Close

@rr-
Copy link
Collaborator

rr- commented Oct 25, 2024

Thanks; what happens when you switch render_mode in your cfg/TR1X.json5 configuration file from 0 to 1?

@Yologoofy
Copy link
Author

It stays the same , i have the intro and main menu sound and i even can hear lara walking when i keep pressing enter to start a new game but my screen keeps black

@aredfan
Copy link
Collaborator

aredfan commented Oct 26, 2024

Do you still get a black screen in windowed mode? (Alt+Enter)

@Yologoofy
Copy link
Author

@aredfan yes , also in windowed mode i get a black screen

@rr-
Copy link
Collaborator

rr- commented Oct 28, 2024

Unfortunately, at this point, I'm out of ideas, but the app is running on the 3.3C profile, which means it's most likely still our fault.

@Yologoofy
Copy link
Author

As soon as i have the time i will reinstall my whole system and mabye downgrading to windows 10 again. I mabye disabled or setted up a feature thats necessary for the game to work. Otherwise i guess i could lend me a nvidia card from a friend . With my older nvidia card it worked right away after the standard installation.
Unfortunately im very busy at the moment and it will take some days untill i can do this.

As soon as i have further informations or if i get it running somehow i will keep you up to date .I think its interesting to know whats the cause of that problem
Nevertheless, a huge big THANK YOU for your support, your help, your efforts to get me the game running and for your time !!!

@rr- rr- moved this from In progress to Backlog in TRX Dev tracker Nov 1, 2024
@rr- rr- removed their assignment Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

6 participants