Author |
Message |
geoslake
Rookie
Joined: Tue Jun 28, 2005 1:33 pm Posts: 16
|
Thanks for this great emu.
2 questions :
- it uses 100% cpu all the time, would it be possible to change this ? (in turbo mode it renders 760fps, so it should use much less).
- "rip audio to ogg" is greyed out, any idea ?
thanks
|
Thu Aug 13, 2009 10:24 am |
|
 |
AamirM
Regen Developer
Joined: Sun Feb 17, 2008 8:01 am Posts: 533
|
1) Why do you want to change this? If it is changed then you will get jumpy/stuttering video and sound (because we cannot predict exactly for how long the emulator should go into sleep).
2) This feature has not been implemented yet. So it is disabled. It will be added in a future version for sure.
Also, 760 FPS?  . You've got a core i7 or something? I did not expect that it could go that fast. (I usually get about 180-190 FPS most of the time).
|
Thu Aug 13, 2009 11:35 am |
|
 |
geoslake
Rookie
Joined: Tue Jun 28, 2005 1:33 pm Posts: 16
|
Well, I didn't notice such problems in other emulators.
E8400. Maybe the fps display wasn't accurate.
Cheers
|
Thu Aug 13, 2009 6:10 pm |
|
 |
AamirM
Regen Developer
Joined: Sun Feb 17, 2008 8:01 am Posts: 533
|
Well, I can add such a feature but one will have to calibrate the sleep time for better results.
Nope, its accurate. I just wasn't expecting it to go that fast.
|
Thu Aug 13, 2009 6:17 pm |
|
 |
Kettenhund
New Member
Joined: Wed Apr 23, 2008 12:35 pm Posts: 3
|
the new version runs fine now. thanks.
and yeah, i'm running on an AMD cpu (Athlon64 3500+) 
|
Thu Aug 13, 2009 6:19 pm |
|
 |
Exophase
Hazed
Joined: Mon Apr 28, 2008 10:54 pm Posts: 77
|
Lower power consumption and heat generation is one reason, but also if you spin all the time you're going to be overusing at least some amount CPU time that other processes could be using.
Since vsync appears at deterministic intervals and I assume you're waiting for it, you can predict when it'll next happen. You can't guarantee that a wait will take no more than the amount requested, but you can wait for a big chunk where you feel confident that the overshoot and granularity won't cause you to miss the next vsync, and then spin for the remainder. You can do some runtime tests to determine these parameters.
I still find it rather shocking that operating systems don't make a wait for vsync function more accessible (where it would of course put the process to sleep).
|
Thu Aug 13, 2009 10:28 pm |
|
 |
kode54
Zealot
Joined: Wed Jul 28, 2004 3:31 am Posts: 1140
|
You could do what my port of QuickNES does. It regulates by sound output, and if the sound output buffer is at least half full, it also regulates by vsync. So, I guess there is room for some video stuttering if the sound lags behind.
(I also use WaveOut to allow for varied packet sizes, in case one frame has +/- 1 sample due to rounding. Although I suppose there's little chance of that, I just like to play it safe anyway.)
|
Fri Aug 14, 2009 12:16 am |
|
 |
AamirM
Regen Developer
Joined: Sun Feb 17, 2008 8:01 am Posts: 533
|
Full list of changes:
As always, download from here
|
Sun Aug 16, 2009 7:42 pm |
|
 |
geoslake
Rookie
Joined: Tue Jun 28, 2005 1:33 pm Posts: 16
|
Thanks for the update. My report :
Cpu saving mode seems to work, but here it uses 65 % cpu (E8400), so you must have an 32 core cpu
No choice for ogg quality ?
Sound is all fucked up in both cdrom games i tried (valis 3 & f1-circus special) (continuous saw wave or something).
Display is horribly blocky; nothing like magic engine with interpolation and 25% scanlines, with same setup. Games look like 100x50 resolution
(mess has the same problem, don't understand why)
Cheers
|
Mon Aug 17, 2009 8:42 am |
|
 |
AamirM
Regen Developer
Joined: Sun Feb 17, 2008 8:01 am Posts: 533
|
No, I have a single core CPU. Here is a screenshot even:  This isn't CDRWin or Nero burning/ripping software you know  . The ripped ogg is good enough IMO. But I may add that option as well but not anytime soon. Thanks for the report, I'll check it out as soon as possible.
Hearing this for the first time. Just enable the interpolation plugin  .
|
Mon Aug 17, 2009 5:41 pm |
|
 |
funkyass
"God"
Joined: Tue Jul 27, 2004 11:24 pm Posts: 1128
|
why not add an option to send audio to stdout so people can use any encoder they want?
_________________ Does [Kevin] Smith masturbate with steel wool too?
- Yes, but don’t change the subject.
|
Mon Aug 17, 2009 7:43 pm |
|
 |
AamirM
Regen Developer
Joined: Sun Feb 17, 2008 8:01 am Posts: 533
|
Oh, it can rip audio into raw WAV files as well. Then you can encode to anything you want. Plus adding support to rip to other formats can easily be added with a hack (but I don't know why people would want that).
|
Mon Aug 17, 2009 8:21 pm |
|
 |
funkyass
"God"
Joined: Tue Jul 27, 2004 11:24 pm Posts: 1128
|
you have a settings collection that specifies the encoder program, and the encoder's arguments.
how is that a hack?
_________________ Does [Kevin] Smith masturbate with steel wool too?
- Yes, but don’t change the subject.
|
Mon Aug 17, 2009 9:20 pm |
|
 |
geoslake
Rookie
Joined: Tue Jun 28, 2005 1:33 pm Posts: 16
|
Well, okay, but here, it's 65-75% (i just re-checked) Thanks
It is enabled of course, but it seems it has no effect.
None of the Kega fusion plugins work, by the way.
Here is a screenshot :
Please note that the aspect ratio (set to "none" here) tends to default itself to 3/2, if I change anything regarding display.
|
Tue Aug 18, 2009 3:05 pm |
|
 |
AamirM
Regen Developer
Joined: Sun Feb 17, 2008 8:01 am Posts: 533
|
Nope. But you can put any encoder in place of "oggenc.dll" and have it export a function with signature "int convert_ogg(const char *in_file, HWND unused)" that converts the given "in_file" to your favorite format with whatever settings you want  . I guess now you understand why its a hack  . Do you have vsync enabled?  Hmm...are you sure its not just you?  Try some plugin which should have visible effect (lol) like HQ4X, even MD NTSC etc...
Strange again. Do you have write permissions to the folder where you copied Turbo Engine?
|
Tue Aug 18, 2009 5:04 pm |
|
 |
geoslake
Rookie
Joined: Tue Jun 28, 2005 1:33 pm Posts: 16
|
Please note that the screenshot above is with interpolation and scanlines.
As you can see there's no interpolation.
Nope, if I do it's 100%. Do you think it could be a video driver or card issue (gf9500gt & 182.06 drivers), not supporting something, the cpu would do the job instead, hence the increased cpu usage ? They either have no fx or crash the emulator (ex : "quad (snake)").
Yes (windows xp anyway).
|
Tue Aug 18, 2009 8:33 pm |
|
 |
khiav
New Member
Joined: Mon Aug 11, 2008 1:04 pm Posts: 2
|
 Chinese(T.W) Language
VER 0.31b Chinese(T.W) Language
RC and dll file....
Download: http://ifile.it/oc4fegi
|
Thu Aug 20, 2009 2:30 pm |
|
 |
AamirM
Regen Developer
Joined: Sun Feb 17, 2008 8:01 am Posts: 533
|
Thank you very much  .
You don't mind if I put it up on my website along with your name?
Thanks again  .
|
Thu Aug 20, 2009 2:51 pm |
|
 |
khiav
New Member
Joined: Mon Aug 11, 2008 1:04 pm Posts: 2
|
|
Thu Aug 20, 2009 2:58 pm |
|
 |
escapee
Rookie
Joined: Wed Jul 04, 2007 9:21 pm Posts: 28
|
Turbo Engine crashes on start-up here. What am I missing?
WinXP SP3 etc. Nothing special going on.
|
Fri Aug 21, 2009 3:22 am |
|
 |
AamirM
Regen Developer
Joined: Sun Feb 17, 2008 8:01 am Posts: 533
|
You mean it crashes like with a "Don't Send" dialog or just opens up and closes immediately? Also, what CPU do you have?
|
Mon Aug 24, 2009 10:12 am |
|
 |
escapee
Rookie
Joined: Wed Jul 04, 2007 9:21 pm Posts: 28
|
Yes, a "Don't send" dialog. Using an AMD Athlon XP here.
|
Mon Aug 24, 2009 2:08 pm |
|
 |
AamirM
Regen Developer
Joined: Sun Feb 17, 2008 8:01 am Posts: 533
|
Hmm....Does that AthlonXP support SSE2? IIRC, AthlonXP does not support SSE2. Sorry, but SSE2 support is required to run this.
|
Mon Aug 24, 2009 3:25 pm |
|
 |
snkcube
Hero of Time
Joined: Fri Jul 30, 2004 2:49 am Posts: 2646 Location: In front of the monitor
|
You are right about that. Athlon 64 and higher supports it.
_________________ Try out CCleaner and other free software at Piriform
|
Mon Aug 24, 2009 5:30 pm |
|
 |
escapee
Rookie
Joined: Wed Jul 04, 2007 9:21 pm Posts: 28
|
Guess I didn't see the system requirements posted anywhere, figured I was missing something. Thanks.
|
Mon Aug 24, 2009 11:19 pm |
|
|