[REL] Dummy D3D DLL's that draws nothing in 3D mode
-
I am not an expert so I dont quite understand what is this about…does this increase FPS?
No m8 this is a try to make the 3d view not to be displayed.
Why?
For Servers mostly.
Most cheap Servers for Hosting are virtual ones but they don’t have powerful VGA so they end up to 1-2 FPS in 3d, so they are a nogo for playing the role of Falcon Server. On the other hand having the Falcon server in 2D causes synch problems and there is no indication by the dev’s that this will change any soon.So with this approach they try to say to the DX engine not to display what has to be calculated for GFX.
I believe this can be done easier by the code it’s self in a tricky hack way then this approach but using the same logic…
But let’s see what miracles those guys can work out…
-
and there is no indication by the dev’s that this will change any soon.
AFAIK … no change.
-
It works except that Mesa doesn’t wanna display anything even with unmodded d3d -> opengl translation.
Crash bugs are gone (thanks Khronik for testing). I’m making an opengl32.dll for truly headless servers, with everything but displaying pixels emulated
-
will the FPS counter work-display?
-
With FRAPS maybe
-
Most cheap Servers for Hosting are virtual ones but they don’t have powerful VGA so they end up to 1-2 FPS in 3d, so they are a nogo for playing the role of Falcon Server.
I can have between 5 to 10 FPS on mine and it’s working well as a dedicated Falcon Server …
-
I can have between 5 to 10 FPS on mine and it’s working well as a dedicated Falcon Server …
lol maybe u think off…
Unselect all eyecandy
kill all unneeded services
kill all unneeded startup programs
set resolution 800x600
when u enter 3d from the server switch to view ~ or 1, that way u get the most of him as for FPS… our server which is mid pc runs with above 80FPS…
Don’t leave Teamviewer or VNC or whatever u use to remote control the server on… eats bw and resources… -
Are you sure that every variables (MP or not) are well initialized (Server and clients sides) by using such host method (nothing draw in 3D) ?
BB
-
It’s just screen stuff that isn’t drawn. Surfaces, VBOs etc. are emulated to the full extent.
Stupid mesa 9 crashes with EXCEPTION_ILLEGAL_INSTRUCTION as if something was misaligned in glGetColorTableParameterivEXT…
-
Even with high server FPS, having the server do 3D is a waste of cycles… Not to mention power/heat consumption.
-
Even with high server FPS, having the server do 3D is a waste of cycles… Not to mention power/heat consumption.
U r not serious now. Right?
-
He is correct. A server does not require 3D mode. This is problem with Falcon4, not BMS exactly.
-
So, after reading this thread, am I correct to assume it doesn’t work yet? I am trying to follow you guys and learn about this, and I know it is hard to be specific about what you are doing, so I won’t bother you with that. I will be patient :munch:
But, in the mean time, once this works, what would be a bare minimum for a PC to run as a server in the 2-D server mode?
I have a PC sitting here with a DX38BT MB, E8400 3.0 CPU, 8800GT GC and 8GB of Memory. Would that suffice? -
No, 2D won’t work. Has to be 3D, fake or not.
It doesn’t work yet. MinGW has %u printf bug that crashes the image.
Found a workaround, but yesterday almost fell asleep on the keyboard and HOTAS.
PS using editbin to switch to console subsystem for BMS Really helps.
-
So, after reading this thread, am I correct to assume it doesn’t work yet? I am trying to follow you guys and learn about this, and I know it is hard to be specific about what you are doing, so I won’t bother you with that. I will be patient :munch:
But, in the mean time, once this works, what would be a bare minimum for a PC to run as a server in the 2-D server mode?
I have a PC sitting here with a DX38BT MB, E8400 3.0 CPU, 8800GT GC and 8GB of Memory. Would that suffice?It will be perfect for server. In 3d u will get above 90FPS (800x600, all eyecandy off, set to ~ view)
-
OK, I think it starting to make some sense. In short, the 2-D Server is still FUBAR. This is 3-D server work in progress to stop it from drawing all of the 3-D objects, and improve it’s operation?
I know, I know, hit me in the head with a hammer :uham:
I think I just answered my own question……
-
yes u did… lol
-
-
I have a feeling that dllwrap is breaking stuff up. To test it, I’m building mingw and wine without dllwrap usage. Also switched to i686-w64-mingw32 profile instead of i686-pc-mingw32.
-
http://ananke.laggygamerz.com/falcon/falcon-bms-wined3d-null.7z
Please someone sanity check.