Need help with any SMBX game-related issues? Ask your questions here.
Moderator: Userbase Moderators
|
|
|
|
-
Nate
- Shy Guy

- Posts: 7
- Joined: Tue May 08, 2018 10:32 pm
Postby Nate » Thu Apr 09, 2020 7:11 pm
Always when I'm going to test a level the game crashes after the loading screen. It works well when using legacy engine. What could It be ?
|
|
|
|
|
|
|
|
|
-
Emral
- Cute Yoshi Egg

- Posts: 9891
- Joined: Mon Jan 20, 2014 12:58 pm
- Flair: Phoenix
Postby Emral » Fri Apr 10, 2020 4:03 am
Crashes as in 'stops responding' or as in 'window just disappears' or as in 'there is an error message and then it closes'?
If it's the first, it's still loading.
If it's the second, it sounds like you're running out of memory.
If it's the third, I would like to see the error message.
|
|
|
|
|
|
|
|
|
-
Nate
- Shy Guy

- Posts: 7
- Joined: Tue May 08, 2018 10:32 pm
Postby Nate » Fri Apr 10, 2020 6:23 pm
Enjl wrote: ↑Fri Apr 10, 2020 4:03 am
Crashes as in 'stops responding' or as in 'window just disappears' or as in 'there is an error message and then it closes'?
If it's the first, it's still loading.
If it's the second, it sounds like you're running out of memory.
If it's the third, I would like to see the error message.
It says the game stopped working and then It close.
|
|
|
|
|
|
|
|
|
-
cato
- Volcano Lotus

- Posts: 564
- Joined: Thu Aug 24, 2017 3:06 am
- Flair: Koishi enjoyer
-
Contact:
Postby cato » Mon Jul 19, 2021 9:45 am
Enjl wrote: ↑Fri Apr 10, 2020 4:03 am
Crashes as in 'stops responding' or as in 'window just disappears' or as in 'there is an error message and then it closes'?
If it's the first, it's still loading.
If it's the second, it sounds like you're running out of memory.
If it's the third, I would like to see the error message.
What is the cause of "running out of memory"?
In my case, it seems like the problem that the "level tester window just disappears" happens at random intervals. After getting a checkpoint, after entering another section, when idling, and sometimes during the menu to change start locations etc.
And when that happens, the tester stops "running in the background".
|
|
|
|
|
|
|
|
|
-
Hoeloe
- Phanto

- Posts: 1465
- Joined: Sat Oct 03, 2015 6:18 pm
- Flair: The Codehaus Girl
- Pronouns: she/her
Postby Hoeloe » Mon Jul 19, 2021 2:46 pm
"Running out of memory" is exactly what it sounds like. Your computer doesn't have enough memory to load everything.
Also you probably shouldn't have bumped a thread more than a year old.
|
|
|
|
|
|
|
|
|
-
Emral
- Cute Yoshi Egg

- Posts: 9891
- Joined: Mon Jan 20, 2014 12:58 pm
- Flair: Phoenix
Postby Emral » Tue Jul 20, 2021 1:33 am
Hoeloe wrote: ↑Mon Jul 19, 2021 2:46 pm
Also you probably shouldn't have bumped a thread more than a year old.
The bump is no issue cause they also experience the problem.
But yeah, your RAM is insufficient and SMBX cannot allocate enough resources to load the additional resources that happen when graphics from a new section are loaded, or when a sound effect is played.
|
|
|
|
|
|
|
|
|
-
Wohlstand
- Chargin' Chuck

- Posts: 2008
- Joined: Tue Feb 11, 2014 4:44 pm
- Flair: [ˈvoːlˌʃtant], 狐エンジニア
- Pronouns: he/him
-
Contact:
Postby Wohlstand » Sat Jul 31, 2021 7:21 pm
The fact that SMBX 1.3 requires at least 650 MB RAM to be loaded completely, but when using custom graphics and music, it may eat up to 1 GB and even more. SMBX2 uses 200~300 MB RAM while working, but seems the problem is not because of RAM: the GPU and its video memory. SMBX 1.3 doesn't use GPU at all, it loads everything into the RAM completely, it has no optimizations at all. SMBX2 loads the stuff into the GPU instead of the RAM and has some optimizations to reduce the RAM usage, but it fails in another case, or there is some I can't reproduce at my machine with the RTX 2060. Just in a case, please try to open the Test->LunaTester menu and set the "Disable OpenGL" flag is enabled, and then, try to run the test again, will it crash or not?
Anyway, which hardware specs you do have? (use Super+R key combo and type the "dxdiag" command and press OK, the popped up dialog will show you hardware specs) I mean, which RAM size you do have? Which video card model you do have?
P.S. As a control test, you may try to run the TheXTech engine to see how it will work on your machine (how to run it with Editor, manual is here), it also does use the GPU while working and it also has the big doze of optimizations made with an effort to get it to work on shitty phones and weak boards, and if you really have troubles with the GPU, you'll get the similar crash here too.
|
|
|
|
|
|
|
|
|
-
cato
- Volcano Lotus

- Posts: 564
- Joined: Thu Aug 24, 2017 3:06 am
- Flair: Koishi enjoyer
-
Contact:
Postby cato » Sun Aug 01, 2021 7:07 am
Tried Disable OpenGL. It lags occasionally.
Processor: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 CPUs), ~2.6GHz
Memory: 32768MB RAM
Card name: NVIDIA GeForce RTX 2080 with Max-Q Design
I also checked the GPU via Task Manager. I have a total of 24GB GPU. Pretty sure it is not my PC fault, since it is a gaming PC.
Perhaps it is not enough memory allocated to SMBX tester? Does closing other programs like Google, Discord help? Or do I have to manually set priorities?
|
|
|
|
|
|
|
|
|
-
Wohlstand
- Chargin' Chuck

- Posts: 2008
- Joined: Tue Feb 11, 2014 4:44 pm
- Flair: [ˈvoːlˌʃtant], 狐エンジニア
- Pronouns: he/him
-
Contact:
Postby Wohlstand » Sun Aug 01, 2021 7:13 am
cato wrote: ↑Sun Aug 01, 2021 7:07 am
Perhaps it is not enough memory allocated to SMBX tester?
That's pretty mysterious because the game does use the same RAM as it gets ran separately. I have a think that probably some side software gets an attempt to inject into the running game (such as antiviruses?) but I do have 16 GM RAM, Intel Core i5-4590, and RTX 2060, and the game works perfectly in both modes. And the game works even I do have dozen stuff in the background (browser, Thunderbird, Discord, Telegram, development environments (Qt Creator and JetBrain IDEs for various purposes), also some VM running too)
Also, keep the note that all 32-bit applications (such as SMBX2) were limited to use up to 2 (or 1) GB RAM, and they won't use/allocate more than this limit, 64-bit applications don't have such limits.
|
|
|
|
|
|
|
|
|
-
cato
- Volcano Lotus

- Posts: 564
- Joined: Thu Aug 24, 2017 3:06 am
- Flair: Koishi enjoyer
-
Contact:
Postby cato » Sun Aug 01, 2021 9:19 am
Wohlstand wrote: ↑Sun Aug 01, 2021 7:13 am
That's pretty mysterious because the game does use the same RAM as it gets ran separately. I have a think that probably some side software gets an attempt to inject into the running game (such as antiviruses?)
Not sure if it is related, but when testing level from the editor, the window name for the SMBX tester reads "Super Mario Bros. X2 - (2.0.0 b4) (Software Renderer).
|
|
|
|
|
|
|
|
|
-
Wohlstand
- Chargin' Chuck

- Posts: 2008
- Joined: Tue Feb 11, 2014 4:44 pm
- Flair: [ˈvoːlˌʃtant], 狐エンジニア
- Pronouns: he/him
-
Contact:
Postby Wohlstand » Sun Aug 01, 2021 9:23 am
cato wrote: ↑Sun Aug 01, 2021 9:19 am
"Super Mario Bros. X2 - (2.0.0 b4) (Software Renderer).
The fact the "Software Renderer" appears, means the game works with disabled OpenGL (as I was told you to do at the Test/LunaTester menu). You can try work in both modes:
- Set "Disable OpenGL" on, and run the game, you'll see "Software Renderer" and the game will use software renderer
- Set "Disable OpenGL" off, and run the game, you'll don't see "Software Renderer", and if you do see this label even you kept OpenGL enabled, that means you have a local problem with video drivers and the game won't use the GPU properly.
Also, please try to measure at the task manager how much the game will eat RAM at your end until it will crash. I mean, will it really eat so much up to 1 GB RAM, or it was crashed with using of 250 MB and lesser. Then, this means there is a mysterious error in the game itself, or there is some external software that distorts the work of the game.
|
|
|
|
|
|
|
|
|
-
cato
- Volcano Lotus

- Posts: 564
- Joined: Thu Aug 24, 2017 3:06 am
- Flair: Koishi enjoyer
-
Contact:
Postby cato » Fri Aug 13, 2021 8:47 am
Wohlstand wrote: ↑Sun Aug 01, 2021 9:23 am
Also, please try to measure at the task manager how much the game will eat RAM at your end until it will crash. I mean, will it really eat so much up to 1 GB RAM, or it was crashed with using of 250 MB and lesser. Then, this means there is a mysterious error in the game itself, or there is some external software that distorts the work of the game.
The tester died at around 250MB. I can't seem to find the relationship of what can cause the warningless crash. To what I know, vanilla levels (without Lunalua) are completely safe. Levels with just one main lua file are also okay. However, to levels where there are a lot of lua content (such as custom NPCs, gameplay plug-ins like rooms.lua, spawn zones), only some of them actually crashed.
|
|
|
|
|
Return to “Help and Support”
Users browsing this forum: Semrush [Bot] and 1 guest
|