•     Please make sure you check the Support FAQ and relevant Guides before you create a new thread in this section!

Technical Issue jaMME crash

Posts
556
Likes
495
Roughly every 5th demo (it can vary, but mostly 5th) I play in jaMME crashes it. It can either freeze it when i click "Play Demo", freeze on the loading screen, freeze on the loading screen and make it turn white, crash with the message "VM Create on UI Failed" in the external console window, or show an in-game message window with the message "vm create on cgame failed" (if you play the demo again after this in-game message it would freeze). There are no crash logs for this crash, only the external console messages are shown sometimes (the last screenshot might be another issue):
Screenshot_1.png

Screenshot_2.png

Screenshot_3.png

Screenshot_4.png

Screenshot_5.png
This issue wasn't there before, two months ago, when I made my last video in 2016. It might have been caused by the patch 1.4.4.
 
Posts
556
Likes
495
What version of jaMME are you using?
Latest version (1.10).
So each demo increased the use of RAM by 150 MB? Were you testing demos from different maps and with different models? If so, then it's expected - those got loaded and stayed in the cache. And still the game did not reached 4 GB limit anyways.
Yes, different maps and different models. Seems then that my laptop cannot handle more than 1 GB of jaMME/JKA, although it has 4 GB of RAM; or maybe it's some other problem. I don't know why it is so.
 
Posts
556
Likes
495

ent

Movie Battles II Team
Posts
848
Likes
390
Is there a way to disable that caching that causes such high memory usage?
No.
If you are not capturing anything or not using any kind of blur (motion, dof) or just watching, then you may set mme_workMegs to 2 (128 MB default). Setting 0 is not recommended.
I think "vid_restart" command can clear some cached memory but not sure.
 
Posts
556
Likes
495
I've fixed this issue of memory rising so high. I forgot to add jamme.exe to the list of my NVIDIA GPU, which means it was running on my integrated Intel HD Graphics 4000. Now when it's switched to NVIDIA GeForce GT 710M, the memory usage never goes above 300 MB. However, now I have the same problem as @TeKilla. Namely, after playing 10 demos, the game would show an in-game notice of "Error: VM_Create on cgame failed" when the 11th demo is played. If you try playing a demo again after that in-game notice, the game would crash with this error:
Capture.PNG
Full external console text:
entoredas sabered by4RITNEY SPEARSssisted bySE-6 ouse Droidg HEAD mbodisconnected
Philipas riddled by/ 1st | ne Cptssisted by/91st |Crtus| Sgt0FOAFhieas rocketed byhey've got air supportentored ma
<entar Medic - Side Corridor>
4RITNEY SPEARShas been forgiven by entored
<entar Troops - Side Corridor>
entored aha
<entar Medic - Side Corridor>
-11-.I. 7Hope it is human delusion
entaras riddled byGrssisted by/ 1st | ne CptNot recording a demo.
emo has failed to save
VM_CreateLegacy: uix86.dll
succeeded
DISCONNECTED
Demo file: demos/0047.dm_26
Com_sprintf: Output length 4 too short, require 5 bytes.
Com_sprintf: Output length 4 too short, require 5 bytes.
Opened mmedemos/0047.mme, which has 81 seconds and 2465 frames
VM_CreateLegacy: uix86.dll
succeeded
VM_CreateLegacy: cgamex86.dll
succeeded
CGAME: Initializing Unhandled Exception Filter
ARNING: Client and Server versions don't match: Client Movie Battles II V1.4.4 - Server Movie Battles II V1.4.3
ARNING: reused image gfx/hud/message_on with mixed glWrapClampMode parm
WARNING: shader 'textures/system/slick' has lightmap but no lightmap stage!
...loaded 7601 faces, 2444 meshes, 302 trisurfs, 0 flares
ARNING: reused image gfx/hud/w_icon_blaster with mixed mipmap parm
ARNING: reused image gfx/hud/w_icon_blaster with mixed allowPicmip parm
ARNING: reused image gfx/hud/w_icon_blaster with mixed glWrapClampMode parm
RE_RegisterModel: NULL name
WARNING: No Weather Zones Encountered
execing mmedemos.cfg
Nathan the Whiteentered the game
Enkoentered the game
o d e bad_mouse)entered the game
entered the game
Dalo Lornentered the game
Jony Broentered the game
tentered the game
WavOpen:failed sound/weapons/blaster/fire.wav no data
o d e bad_mouse) ofl
Not recording a demo.
emo has failed to save
VM_CreateLegacy: uix86.dll
succeeded
DISCONNECTED
Demo file: demos/0048.dm_26
Com_sprintf: Output length 4 too short, require 5 bytes.
Com_sprintf: Output length 4 too short, require 5 bytes.
Opened mmedemos/0048.mme, which has 168 seconds and 5059 frames
VM_CreateLegacy: uix86.dll
succeeded
VM_CreateLegacy: cgamex86.dll
succeeded
CGAME: Initializing Unhandled Exception Filter
ARNING: reused image gfx/hud/message_on with mixed glWrapClampMode parm
...loaded 8513 faces, 1063 meshes, 36 trisurfs, 0 flares
ARNING: reused image gfx/hud/w_icon_blaster with mixed mipmap parm
ARNING: reused image gfx/hud/w_icon_blaster with mixed allowPicmip parm
ARNING: reused image gfx/hud/w_icon_blaster with mixed glWrapClampMode parm
RE_RegisterModel: NULL name
execing mmedemos.cfg
hey've got air support km too fast
hey've got air support at
ayPeaceentered the game
PERESVETentered the game
Szkaradentered the game
arry otterentered the game
entered the game
ull Metall ackentered the game
enqentered the game
ssassin Droidentered the game
hinobientered the game
illercannentered the game
JVS.rothgar.SL]entered the game
uffinentered the game
o d e entered the game
hey've got air supportentered the game
flowentered the game
biwans Mullet i guys :)
ssassin Droid ello
WavOpen:failed sound/weapons/blaster/fire.wav no data
PRsO Shilling worshipperconnected
biwans Mullet ows it going?
{DN} he Metaconnected
ell to his death o d e as thrown to their doom byhey've got air support o d e ow what gay
biwans Mullet ow soldier thats fucking offensive
biwans Mullet an you turn it down a notch?
Server: Status] TV is now enabled.

biwans Mullet here are gay people in 2016
enqas sabered byarry otterayPeaceas bludgeoned byuffinSzkaradas shot byhinobi o d e ekas shot threw me to hole
hinobias sniped byssassin Droid o d e hat am I supposed to say
biwans Mullet oesnt fucking matter try not being a stupid biggot next time
biwans Mullet k bye
biwans Mullet IGNORED
ssassin Droidas riddled byillercannillercannas killed byhey've got air supportbiwans Mullet )
o d e ou are retard this is the internet
as sabered byarry otterssisted byPERESVETbiwans Mullet oes that mean you can be a biggot?
{DN} he Meta OOK AT ALL THE SHIT I GIVE
biwans Mullet IDNT THINK SO
biwans Mullet GNORED
hey've got air supportas sabered byPERESVETssisted byuffinull Metall ackas sabered byarry otterssisted byJVS.rothgar.SL]aieconnected
Not recording a demo.
emo has failed to save
VM_CreateLegacy: uix86.dll
succeeded
DISCONNECTED
Demo file: demos/0049.dm_26
Com_sprintf: Output length 4 too short, require 5 bytes.
Com_sprintf: Output length 4 too short, require 5 bytes.
Opened mmedemos/0049.mme, which has 169 seconds and 5114 frames
VM_CreateLegacy: uix86.dll
succeeded
VM_CreateLegacy: cgamex86.dll
succeeded
CGAME: Initializing Unhandled Exception Filter
ARNING: reused image gfx/hud/message_on with mixed glWrapClampMode parm
...loaded 5208 faces, 33 meshes, 105 trisurfs, 0 flares
ARNING: reused image gfx/hud/w_icon_blaster with mixed mipmap parm
ARNING: reused image gfx/hud/w_icon_blaster with mixed allowPicmip parm
ARNING: reused image gfx/hud/w_icon_blaster with mixed glWrapClampMode parm
RE_RegisterModel: NULL name
execing mmedemos.cfg
lackshirt lotta obi wans
o d e ofl
WavOpen:failed sound/weapons/blaster/fire.wav no data
Not recording a demo.
emo has failed to save
VM_CreateLegacy: uix86.dll
succeeded
DISCONNECTED
Demo file: demos/0055.dm_26
Com_sprintf: Output length 4 too short, require 5 bytes.
Com_sprintf: Output length 4 too short, require 5 bytes.
Opened mmedemos/0055.mme, which has 143 seconds and 5679 frames
VM_CreateLegacy: uix86.dll
succeeded
VM_CreateLegacy: cgamex86.dll
succeeded
CGAME: Initializing Unhandled Exception Filter
ARNING: Client and Server versions don't match: Client Movie Battles II V1.4.4 - Server Movie Battles II V1.4.3
ARNING: reused image gfx/hud/message_on with mixed glWrapClampMode parm
...loaded 16015 faces, 2916 meshes, 112 trisurfs, 0 flares
ARNING: reused image gfx/hud/w_icon_blaster with mixed mipmap parm
ARNING: reused image gfx/hud/w_icon_blaster with mixed allowPicmip parm
ARNING: reused image gfx/hud/w_icon_blaster with mixed glWrapClampMode parm
RE_RegisterModel: NULL name
execing mmedemos.cfg
Nrank adPlayer vian
OD_vi. IGGER
OD_vi. IGGER
OD_vi. IGGER
uieentered the game
tsobikentered the game
Shakespear's Sisterentered the game
enoMandalorianhief]entered the game
OD_viI]entered the game
feffereakentered the game
o d e bad_mouse)entered the game
apMaksimusentered the game
akeentered the game
Padawan(bad_mouse)entered the game
rat(bad_imagination)entered the game
k u l zentered the game
obbad_brain)entered the game
Nrank adPlayerentered the game
esus Christentered the game
3aTn17kentered the game
Felentered the game
3lei0dgerentered the game
WavOpen:failed sound/weapons/blaster/fire.wav no data
mp3read, samplerate change?!?!?!
OD_vi. IGGER
3aTn17kas executed for teamkilling too much.akeas sabered by3aTn17k<obbad_brain) Coming - Side Corridor>
OD_vi. IGGER
<uie Being Flanked - Federation Room>
3aTn17khas been forgiven by ake
uie YLO REN KILL PALPY?
uie HAT FILM IS THAT?
<obbad_brain) Negative - Generator Shaft>
obbad_brain)as sabered byOD_viI]ake dk
enoMandalorianhief] enny hill
o d e bad_mouse)as sabered byOD_viI]OD_viI]as rocketed by o d e bad_mouse)OD_vi. IGGER
OD_viI] el
OD_vi. IGGER
o d e bad_mouse) OFL
k u l z ofl
3lei0dgeras shot byfeffereakobbad_brain) ol
Felas blasted byPadawan(bad_mouse)enoMandalorianhief]as sabered by k u l z o d e bad_mouse) t's ShakespearE
Not recording a demo.
emo has failed to save
VM_CreateLegacy: uix86.dll
succeeded
DISCONNECTED
Demo file: demos/0057.dm_26
Com_sprintf: Output length 4 too short, require 5 bytes.
Com_sprintf: Output length 4 too short, require 5 bytes.
Opened mmedemos/0057.mme, which has 84 seconds and 2543 frames
VM_CreateLegacy: uix86.dll
succeeded
VM_CreateLegacy: cgamex86.dll
failed!
*******************
ERROR: VM_Create on cgame failed
********************
VM_CreateLegacy: uix86.dll
succeeded
DROPPED
SoundOpen:Filename is empty
Demo file: demos/0058.dm_26
Com_sprintf: Output length 4 too short, require 5 bytes.
Com_sprintf: Output length 4 too short, require 5 bytes.
Opened mmedemos/0058.mme, which has 171 seconds and 6653 frames
VM_CreateLegacy: uix86.dll
succeeded
VM_CreateLegacy: cgamex86.dll
failed!
*******************
ERROR: VM_Create on cgame failed
********************
VM_CreateLegacy: uix86.dll
failed!
recursive error after: VM_Create on cgame failed
Notice that glGetError isn't appearing any more either when I switched the game to use the NVIDIA graphics card.

This leaves me with the conclusion that this issue was caused either by the patch 1.4.4, the newer NVIDIA drivers, or the fact that we have been running outdated (patch 1.4.3) demos on a newer patch (1.4.4), as the issue wasn't there when I played non-outdated demos before the patch 1.4.4 and before I updated to one of the newer NVIDIA drivers.

UPDATE: I've just tried playing 22 of this patch's demos (7 different demos x 3 times + 1), and it didn't crash. It seems that playing outdated demos causes the problem.
 

DaloLorn

Movie Battles II Team Retired
Posts
408
Likes
261
Hmm. Intel graphics was causing trouble, you say... this may come in handy while chasing my own crashes down. (Or it may mislead me, but I guess the answer to that will become apparent when I get the chance to dig into it...)
 
Posts
556
Likes
495
Hmm. Intel graphics was causing trouble, you say... this may come in handy while chasing my own crashes down. (Or it may mislead me, but I guess the answer to that will become apparent when I get the chance to dig into it...)
If you mean this: Technical Issue - Game crashes on map change, it's probably not related to Intel graphics. Although I switched the game to use my NVIDIA graphics, I still crash on map change. This time, though, crash logs differ a little bit, although I don't know if that's substantial.
 

Attachments

  • Crash Logs.zip
    2.4 KB · Views: 290
Posts
14
Likes
13
Not to hijack your thread but I'm trying to use jamme. I've extracted it to my gamedata folder. When I try to start the start_jaMME_MBII.cmd, I get "The application was unable to start correctly (0xc000007b)." Is there some other requirement I am missing? I had to download a dll I didn't have as well. Am I supposed to have the c++ redistributable from microsoft to use this? Thanks.
 
Posts
14
Likes
13
Ok ent. I ran start_jamme_mbii.cmd and it booted this time. However, once I am in, where all the words should be are blank, and the words are all jumbled up in the top left corner of the screen? I'm able to click on stuff but have no idea what it says. Any suggestions to get it working properly? Thanks.
 

ent

Movie Battles II Team
Posts
848
Likes
390
You suppose to copy uix86.dll from mme folder to mmeMBII and cgamex86.dll from MBII folder to mmeMBII.
IIRC @LoU automated it in the launcher but not sure.
 
Posts
556
Likes
495
However, once I am in, where all the words should be are blank, and the words are all jumbled up in the top left corner of the screen? I'm able to click on stuff but have no idea what it says. Any suggestions to get it working properly?
Just choose "Demo Editor" under "Engine:" in the "Settings" of your MB2 Launcher and click "Play" in the Launcher and it will be fine.
 
Posts
14
Likes
13
Thank you to ent and Soldier. I now have a working jamme. A few questions though. I figured out how to save the demo in avi or mp4 format. The problem is if I use avi, it makes a huge size file (almost 2gb) and then breaks the video up into a 2nd video. Is there a way to reduce this file size and it not be split into 2 videos? As far as mp4 goes, the file size is much smaller which is nice. But when uploading to youtube the quality is pretty bad. Any suggestions to make the video look better? Thanks to you both.
 

ent

Movie Battles II Team
Posts
848
Likes
390
Modify value after "-crf" command in mme_pipeCommand cvar ("ffmpeg -f avi -i - -threads 0 -preset ultrafast -y -pix_fmt yuv420p -crf 23 %o.mp4 2> ffmpeglog.txt").
Lower value - higher quality and bigger size.
You won't notice differences with value less than 17. 0 - lossless compression.
Encode/H.264 – FFmpeg
 
Posts
14
Likes
13
I tried to modify the value, and when I tried to capture it didn't record anything and kept saying 0 bytes written in console. Perhaps I didn't type the command in correctly? If I wanted to set it to 18, what would I type in console to do it? Thanks.
 
Top