Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, alibaba, TipmyPip), 1,144 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
"Can't open video device"? #40262
01/29/05 05:36
01/29/05 05:36
Joined: Jan 2005
Posts: 2
E
ecg_xandrath Offline OP
Guest
ecg_xandrath  Offline OP
Guest
E

Joined: Jan 2005
Posts: 2
Hey all, been working with GameStudio for a while now and I just recently (a few weeks ago) ran into a problem. It started intermittently and now happens every time i try to test my game from sed. The error I get is "Error E1242: Can't open video device".

It seems to happen before any of my code is run. Here is the logfile I used -Diag to generate (stuff in brackets is stuff I removed):

Log of A6 engine 6.31.4 run at Fri Jan 28 15:27:44 2005
[username] on Windows NT/2000/XP version 5.1 Build 2600
Options main.wdl -sv -cl -nx 512 -d Map_1 -d team_1 -d debug_skipgspy -d mplaysv -Diag

App C:\Program Files\GStudio6\bin\acknex.exe in D:\WORKING\main\
MM mixer opened
CD audio device opened
DSOUND device opened
DINPUT interface opened3D GameStudio © Conitec . Dieburg . San Diego . www.3dgamestudio.com
A6 engine - professional release V6.31.4 - Nov 18 2004
Development version - NOT FOR DISTRIBUTION

C:\Program Files\GStudio6\ackutl.dll -> [registration info]

Mouse found
SB Live! Audio [DF80] opened
SAPPHIRE RADEON 9600 ATLANTIS pure T&L device 1ff9 detected
D3D device SAPPHIRE RADEON 9600 ATLANTIS 1ff9 selected
Loading MAIN.WDL...
joined..........................................................................
................................................................................
................................................................................
................................................................................
..................................................
Script MAIN.WDL compiled
Starting server... [servername and ip address] initialized
debug.dll opened
364 objects
D3D_Init Window: 800x600x16 failed
D3D_Init Window: 640x480x16 failed
D3D_Init Window: 1024x768x16 failed
Error E1242: Can't open video device
Program aborted
Close level,DLL,objects
Free input,path,funcs,panels,defs,syns,views,strings,vars..ok
Free sounds,bmaps,fonts,hash,defs1,script..ok
Close dx,multimedia,connection,engine,video,nexus..ok
A6 engine - professional release V6.31.4 - Nov 18 2004
Development version - NOT FOR DISTRIBUTION
3D GameStudio © Conitec . Dieburg . San Diego . www.3dgamestudio.com


I have the latest video drivers...any thoughts?

-Xandrath

Last edited by ecg_xandrath; 01/29/05 05:37.
Re: "Can't open video device"? [Re: ecg_xandrath] #40263
01/29/05 05:55
01/29/05 05:55
Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
slacer Offline
Expert
slacer  Offline
Expert

Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
This happens to me if I am low of memory.
If I close some other applications running currently - it works fine.

But in your case your nexus is set to 512 MB...

So I guess it has to do with your nexus, amount of ram and amount of virtual ram.

Solution?
Try to reduce your nexus. Your clients don't have 1 gig of RAM

-- slacer

Re: "Can't open video device"? [Re: slacer] #40264
01/29/05 06:10
01/29/05 06:10
Joined: Jan 2005
Posts: 2
E
ecg_xandrath Offline OP
Guest
ecg_xandrath  Offline OP
Guest
E

Joined: Jan 2005
Posts: 2
Rock. Thanks. I lowered my nexus to 256 and everything runs. I thought it might involve memory but even after restarts and such I would get the error. Meh, I can return to dev work, I'm ecstatic. Thanks again.

Re: "Can't open video device"? [Re: slacer] #40265
01/29/05 07:35
01/29/05 07:35
Joined: Jul 2004
Posts: 328
The Netherlands
JvsJGameDesign Offline
Senior Member - banned
JvsJGameDesign  Offline
Senior Member - banned

Joined: Jul 2004
Posts: 328
The Netherlands
What does nexus mean?
(Srry, I am dutch...)


Re: "Can't open video device"? [Re: JvsJGameDesign] #40266
01/31/05 01:41
01/31/05 01:41
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
the memory in mb reserved by your game. everything above 80 is far too much for normal games.

Re: "Can't open video device"? [Re: Joey] #40267
01/31/05 16:24
01/31/05 16:24
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
In Antwort auf:

the memory in mb reserved by your game. everything above 80 is far too much for normal games.




erm, excuse me, but there are much games that use FAAAAAAAAAAAAAAAAAAAAAR more than 80 nexus.... Sims2, Tribes, Anarchy Online, Halo, Soldner, Unreal 2.......

Even my game uses 420 MB of nexus!


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: "Can't open video device"? [Re: Michael_Schwarz] #40268
01/31/05 17:53
01/31/05 17:53
Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
slacer Offline
Expert
slacer  Offline
Expert

Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
Well Michael,

you might think about splitting your game a bit.
Otherwise some of your customers machines will start to constantly use swap space.
Which degrades the performance, which won't look good for your game.

Your game needs
420 MB at runtime
+ operating system
+ whatever the client has running all the time (ICQ, mail, ...)

It really doesn't matter if it runs fine on your machine only

-- slacer

Re: "Can't open video device"? [Re: slacer] #40269
02/01/05 15:57
02/01/05 15:57
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
But it also works fine on my beta-testers machines


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1