Views: 6,698,122 Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 03-28-24 04:58 PM
Guest:

0 users reading Framerate dropping while recording | 1 bot

Main - General - Framerate dropping while recording Hide post layouts | New reply


validopinionhaver
Posted on 10-24-20 06:54 PM Link | #2616
Hi!

Recently I have been trying to record gameplay, but every time I hit record, the framerate noticeably drops, and I'm wondering if there's a fix for this.

For reference, I am recording using OBS and I'm playing Pokemon Black.

Arisotura
Posted on 10-24-20 06:55 PM Link | #2617
moving this to a more fitting forum.

anyway, recorders might use more CPU than your computer can spare when running melonDS, resulting in a framerate drop.

____________________
Kuribo64

PoroCYon
Posted on 10-24-20 06:56 PM Link | #2618
that or, if you're lucky, it's only your OS scheduler messing things up. you could try upping the priority of the melonDS process, and try switching to a less CPU-intensive encoder on the OBS side

Sorer
Posted on 10-24-20 08:07 PM Link | #2619
There is an issue if MelonDS is not focused then it will cause frame drops.
Maybe how OBS interacts with it is similar.

Arisotura
Posted on 10-24-20 08:25 PM Link | #2620
Posted by Sorer
There is an issue if MelonDS is not focused then it will cause frame drops.

I'd be interested to know the specifics behind this if it's true, because it doesn't make much sense to me...

____________________
Kuribo64

Generic aka RSDuck
Posted on 10-24-20 08:27 PM (rev. 2 of 10-24-20 08:28 PM) Link | #2621
Posted by Arisotura
I'd be interested to know the specifics behind this if it's true, because it doesn't make much sense to me...

it's just that the Windows scheduler gives defocused graphical applications less cpu time, because if you don't focus them, you probably aren't interested in seeing what's happening in them at fullspeed.

____________________
Take me to your heart / never let me go!

"clearly you need to mow more lawns and buy a better pc" - Hydr8gon

PoroCYon
Posted on 10-24-20 08:29 PM Link | #2622
Posted by Generic aka RSDuck
it's just that the Windows scheduler gives defocused graphical applications less cpu time, because if you don't focus them, you probably aren't interested in seeing what's happening in them at fullspeed.


either that, or the "window idle" event firing less often for the same reason (if that's being used to run a main loop iteration, but I'm not sure about the latter)

Generic aka RSDuck
Posted on 10-24-20 08:40 PM Link | #2623
Posted by PoroCYon
either that, or the "window idle" event firing less often for the same reason (if that's being used to run a main loop iteration, but I'm not sure about the latter)

the emulation happens from it's own thread which should be independent from the drawing events

I worked on a networked graphical application before, so to test it I needed to run two instances at once. There was a bug which puzzled me for a long time: the interpolation of the received state was super stuttery. Then I figured out that the defocused application was running at a very low framerate, which explained everything. Of course in this case it's mostly about GPU scheduling (idk how much is done by Windows and how much is done by the drivers here) which is different.

Another thing I noticed is that the Windows scheduler seems to give two visible instances of melonDS next to each (so one has to be defocused) equal CPU time (idk how smart it is exactly, maybe it even factor in whether a window is visible or not).

____________________
Take me to your heart / never let me go!

"clearly you need to mow more lawns and buy a better pc" - Hydr8gon

guajolocombo666
Posted on 08-12-21 07:14 PM Link | #4214
Hey guys, im having a similar problem. but the issue is that the game plays normally while recording, but when i watch the recording its slowed and laggy, anyone knows how to fix? or what can i do? its OBS as well


Main - General - Framerate dropping while recording Hide post layouts | New reply

Page rendered in 0.025 seconds. (2048KB of memory used)
MySQL - queries: 27, rows: 92/92, time: 0.013 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.