Demo bug? Error allocating virtual memory.
by Kyle · in General Discussion · 11/15/2005 (11:33 pm) · 3 replies
I'm getting a "Error allocating virtual memory" message box when I load the demo. I think for me its because of an unusal hardware setup. I've got two graphics cards in this machine; a Voodoo3 PCI and a GeForce FX 5200. The AGP card is what I would like it to use but because of the way systems initalize cards the PCI card is setup as device zero. So when directx applications blindly assume adapter zero is the one I want to use its trying to mess with the voodoo card. Heres a small clipping of my log:
//-------------------------- 11/15/2005 -- 17:29:07 -----
Processor Init:
AMD Athlon, ~1.47 Ghz
(timed at roughly 1.46 Ghz)
FPU detected
MMX detected
3DNow detected
SSE detected
Math Init:
Installing Standard C extensions
Installing Assembly extensions
Installing FPU extensions
Installing MMX extensions
Installing 3DNow extensions
Installing SSE extensions
Input Init:
keyboard0 input device created.
mouse0 input device created.
DirectInput enabled.
--------- Loading MODS ---------
Loading compiled script demo/main.cs.
Loading compiled script common/main.cs.
Missing file: common/defaults.cs!
Loading compiled script demo/client/defaults.cs.
Loading compiled script demo/server/defaults.cs.
Missing file: demo/client/prefs.cs!
Missing file: demo/server/prefs.cs!
--------- Parsing Arguments ---------
--------- Initializing MOD: Common ---------
Loading compiled script common/client/canvas.cs.
Loading compiled script common/client/audio.cs.
--------- Initializing MOD: Torque Demo ---------
Loading compiled script demo/client/init.cs.
Loading compiled script demo/server/init.cs.
Loading compiled script demo/data/init.cs.
Loading compiled script demo/data/terrains/highplains/propertyMap.cs.
--------- Initializing MOD: Torque Demo Server ---------
Loading compiled script common/server/audio.cs.
Loading compiled script common/server/server.cs.
Loading compiled script common/server/message.cs.
Loading compiled script common/server/commands.cs.
Loading compiled script common/server/missionInfo.cs.
Loading compiled script common/server/missionLoad.cs.
Loading compiled script common/server/missionDownload.cs.
Loading compiled script common/server/clientConnection.cs.
Loading compiled script common/server/kickban.cs.
Loading compiled script common/server/game.cs.
Loading compiled script demo/server/scripts/commands.cs.
Loading compiled script demo/server/scripts/centerPrint.cs.
Loading compiled script demo/server/scripts/game.cs.
--------- Initializing MOD: Torque Demo Client ---------
Loading compiled script demo/client/ui/customProfiles.cs.
Loading compiled script common/client/message.cs.
Loading compiled script common/client/mission.cs.
Loading compiled script common/client/missionDownload.cs.
Loading compiled script common/client/actionMap.cs.
Loading compiled script common/editor/editor.cs.
Loading compiled script common/editor/particleEditor.cs.
Loading compiled script common/client/scriptDoc.cs.
Video Init:
Accelerated OpenGL display device not detected.
Accelerated D3D device not detected.
Voodoo 2 display device not detected.
"OpenGL" display device not found!
"OpenGL" display device not found!
"D3D" display device not found!
"Voodoo2" display device not found!
Loading compiled script common/ui/defaultProfiles.cs.
Loading compiled script common/ui/GuiEditorGui.gui.
This shouldn't happen: glGenTextures
This shouldn't happen: glBindTexture
This shouldn't happen: glTexImage2D
This shouldn't happen: glTexParameteri
This shouldn't happen: glTexParameteri
This shouldn't happen: glTexParameteri
This shouldn't happen: glTexParameteri
This shouldn't happen: glGenTextures
This shouldn't happen: glBindTexture
This shouldn't happen: glTexImage2D
This shouldn't happen: glTexParameteri
This shouldn't happen: glTexParameteri
...
Any help on this would be nice. I'm trying to get this demo going.
-Kyle
//-------------------------- 11/15/2005 -- 17:29:07 -----
Processor Init:
AMD Athlon, ~1.47 Ghz
(timed at roughly 1.46 Ghz)
FPU detected
MMX detected
3DNow detected
SSE detected
Math Init:
Installing Standard C extensions
Installing Assembly extensions
Installing FPU extensions
Installing MMX extensions
Installing 3DNow extensions
Installing SSE extensions
Input Init:
keyboard0 input device created.
mouse0 input device created.
DirectInput enabled.
--------- Loading MODS ---------
Loading compiled script demo/main.cs.
Loading compiled script common/main.cs.
Missing file: common/defaults.cs!
Loading compiled script demo/client/defaults.cs.
Loading compiled script demo/server/defaults.cs.
Missing file: demo/client/prefs.cs!
Missing file: demo/server/prefs.cs!
--------- Parsing Arguments ---------
--------- Initializing MOD: Common ---------
Loading compiled script common/client/canvas.cs.
Loading compiled script common/client/audio.cs.
--------- Initializing MOD: Torque Demo ---------
Loading compiled script demo/client/init.cs.
Loading compiled script demo/server/init.cs.
Loading compiled script demo/data/init.cs.
Loading compiled script demo/data/terrains/highplains/propertyMap.cs.
--------- Initializing MOD: Torque Demo Server ---------
Loading compiled script common/server/audio.cs.
Loading compiled script common/server/server.cs.
Loading compiled script common/server/message.cs.
Loading compiled script common/server/commands.cs.
Loading compiled script common/server/missionInfo.cs.
Loading compiled script common/server/missionLoad.cs.
Loading compiled script common/server/missionDownload.cs.
Loading compiled script common/server/clientConnection.cs.
Loading compiled script common/server/kickban.cs.
Loading compiled script common/server/game.cs.
Loading compiled script demo/server/scripts/commands.cs.
Loading compiled script demo/server/scripts/centerPrint.cs.
Loading compiled script demo/server/scripts/game.cs.
--------- Initializing MOD: Torque Demo Client ---------
Loading compiled script demo/client/ui/customProfiles.cs.
Loading compiled script common/client/message.cs.
Loading compiled script common/client/mission.cs.
Loading compiled script common/client/missionDownload.cs.
Loading compiled script common/client/actionMap.cs.
Loading compiled script common/editor/editor.cs.
Loading compiled script common/editor/particleEditor.cs.
Loading compiled script common/client/scriptDoc.cs.
Video Init:
Accelerated OpenGL display device not detected.
Accelerated D3D device not detected.
Voodoo 2 display device not detected.
"OpenGL" display device not found!
"OpenGL" display device not found!
"D3D" display device not found!
"Voodoo2" display device not found!
Loading compiled script common/ui/defaultProfiles.cs.
Loading compiled script common/ui/GuiEditorGui.gui.
This shouldn't happen: glGenTextures
This shouldn't happen: glBindTexture
This shouldn't happen: glTexImage2D
This shouldn't happen: glTexParameteri
This shouldn't happen: glTexParameteri
This shouldn't happen: glTexParameteri
This shouldn't happen: glTexParameteri
This shouldn't happen: glGenTextures
This shouldn't happen: glBindTexture
This shouldn't happen: glTexImage2D
This shouldn't happen: glTexParameteri
This shouldn't happen: glTexParameteri
...
Any help on this would be nice. I'm trying to get this demo going.
-Kyle
#2
As for the cross post, I had searched the website looking for someone with a similar problem and found the post over in "Game: Marble Blast and Marble Blast Gold >> Customer Support". I only realized where it was after making my post. I was unsure if I should leave the post under that specific game (that had nothing to do with my problem) or to make a post here. No worries though its all working and everythings good.
For people who have this problem and have VIA chipset you might recommend them to goto http://www.viaarena.com/?PageID=2 and update these drivers as well as their graphics card drivers.
On one last note I was very impressed with the engine guys. Pretty awesome work.
-Kyle
11/18/2005 (12:15 pm)
Stephen Zepp Stangely enough I got my problem fixed; turned out to be a driver problem. Not the usual suspect though, I had to download some drivers for my AGP controller. Apparently there was some issue there :)As for the cross post, I had searched the website looking for someone with a similar problem and found the post over in "Game: Marble Blast and Marble Blast Gold >> Customer Support". I only realized where it was after making my post. I was unsure if I should leave the post under that specific game (that had nothing to do with my problem) or to make a post here. No worries though its all working and everythings good.
For people who have this problem and have VIA chipset you might recommend them to goto http://www.viaarena.com/?PageID=2 and update these drivers as well as their graphics card drivers.
On one last note I was very impressed with the engine guys. Pretty awesome work.
-Kyle
#3
Change "Init Display first" in your BIOS setup from PCI to AGP.
11/19/2005 (9:01 am)
Another thing you can do to make your AGP card be card Zero:Change "Init Display first" in your BIOS setup from PCI to AGP.
Torque 3D Owner Stephen Zepp
That is your root issue. Torque is not detecting a graphics card it can use.
This is either due to you having an extremely old graphics card that does not in fact use a D3D or OpenGL standard that Torque can work with, or a video card driver issue. If your card -should- support one of the modes above, look about for a different driver set.