VOGONS


First post, by Saleck

User metadata
Rank Newbie
Rank
Newbie

Hello 😀 I'm new here so I apologize if I've posted this in the wrong place.
I have managed to get Dosbox Daum up and running but what I'd like to know is how to set it up so I get a constant 60 FPS at all times.

I've been doing some tests with fraps and noticed that the FPS, if nothing is happening on screen, will hover at about 7-8 FPS whilst if something is moving on screen, it will go up to 60 which is what I've set up for in the dosbox.conf.

Ideally, I would like to set Dosbox Daum up so that it does not dip to low framerates on no on-screen activity. Is this possible or is it down to the game Dosbox is playing and is uncontrollable?

Thank you.

Reply 1 of 9, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

So... You want DOSBox to display the same thing sixty times a second?

Perhaps you could try changing the "output=" line in DOSBox.conf.

Reply 2 of 9, by leileilol

User metadata
Rank l33t++
Rank
l33t++

I think IIRC there was an update to the Direct3D patch that forces screen updates. Dunno if the daum build integrated that.

apsosig.png
long live PCem

Reply 3 of 9, by Saleck

User metadata
Rank Newbie
Rank
Newbie
Jorpho wrote:

So... You want DOSBox to display the same thing sixty times a second?

Perhaps you could try changing the "output=" line in DOSBox.conf.

I do but also Steam appreciates it very much.
The Steam Overlay functions very poorly at low framerates. The reason I wondered if it was possible to lock it to 60 is so that the steam overlay can function fluidly in Direct3D and, if possible, OpenGL output modes.

I have tried changing the "output=" line in the conf file. Most of the OpenGL modes will actually freeze up the Steam Overlay if there is no on-screen activity. I've found Direct3D to have the least amount of problems.

leileilol wrote:

I think IIRC there was an update to the Direct3D patch that forces screen updates. Dunno if the daum build integrated that.

That would be an amazing option if its available. Unfortunately, I am no coder and have almost no experience when it comes to reading code and compiling things. I'll just have to wait for it to be added if it hasn't been done so already.

Thanks for the information, it's greatly appreciated 😀

Reply 4 of 9, by robertmo

User metadata
Rank l33t++
Rank
l33t++

why do you want constant 60fps?

Reply 5 of 9, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
robertmo wrote:

why do you want constant 60fps?

Saleck wrote:

The Steam Overlay functions very poorly at low framerates. The reason I wondered if it was possible to lock it to 60 is so that the steam overlay can function fluidly in Direct3D and, if possible, OpenGL output modes.

Reply 6 of 9, by bloodbat

User metadata
Rank Oldbie
Rank
Oldbie

Why do you want the Steam overlay while using DosBox?
Anyway...
I don't think it's possible due to the way DosBox (Daum or else) draws its frames...DosBox doesn't really redraw the whole screen (it's quite efficient that way) so...if nothing changes, there's really nothing to draw, so, no need to keep drawing at 60 fps.

Reply 7 of 9, by leileilol

User metadata
Rank l33t++
Rank
l33t++
gulikoza wrote:

edit: the next version of the patch will also support forcing full updates from the shader, so the alpha-feedback shaders (as posted by leileilol above) will work correctly.

relevant because this will also stop the 'steam overlay is slow' problem.

As for this "why do you need that"...... ever had some chatty friends on Steam?

apsosig.png
long live PCem

Reply 8 of 9, by bloodbat

User metadata
Rank Oldbie
Rank
Oldbie

Yeah...that's why I tend to appear offline, don't like to be bothered while gaming.

Reply 9 of 9, by gulikoza

User metadata
Rank Oldbie
Rank
Oldbie

Newest Daum build (May 2013) does not have the new D3D patch yet, probably the next version will. With the new patch it is possible to force full screen updates through shader by inserting:

bool forceupdate : FORCEUPDATE = true;

into the shader .fx. You could use point.fx shader with the above line to force D3D to do 60fps (or whatever the emulated refresh is). Only the screen is redrawn, not the whole dosbox graphics subsystem, so the speed impact shouldn't be too bad.

http://www.si-gamer.net/gulikoza