Emuforums.com

Go Back   Emuforums.com > Handheld Emulation > Nintendo Handhelds > DeSmuME Discussion
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read

Reply
 
Thread Tools Display Modes
Old June 30th, 2012, 08:19   #1
yeshuachrist
Registered User
 
Join Date: Apr 2010
Location: united states/pennsylvania
Posts: 130
DeSmuME 15% Speed Increase for r4292

Speed Fix!

You are removing the "path settings" from the "desmume.ini" configuration file, once this is done you will notice the speed increase. When you do this, as a proof of the speed increase, the game Golden Sun Dark Dawn will flicker at the title screen like no$gba. You are not using any frame skipping, the speed increase comes from removing the "path settings" in the config file. Example Below.

Replace your video settings with this:

[Video]
Window Rotate=0
Filter=0
Width=256
Height=384
LCDsLayout=1
LCDsSwap=2
Window Size=0
Window width=512
Window height=192
WindowPosX=203
WindowPosY=397
Display Method=1
VSync=0
Window Force Ratio=1
FrameSkip=AUTO0



You can configure all the options afterwards in Desmume r4292 no problem, including all of the video options above to your liking, just don't click on the "path settings" option or it will go back to being very slow, as it will write the "path settings", back into your config file. Heres a link to the program:

http://www.emucr.com/2012/06/desmume-jit-svn-r4292.html

The attached file has just the video portion of the config file, you must set all of your settings again, just don't touch "path settings" and you will be fine. The speed increase has worked for a few games I tested already.
Attached Files
File Type: rar desmume SPEED FIX.rar (232 Bytes, 67 views)
yeshuachrist is offline   Reply With Quote

Advertisement [Remove Advertisement]

Old June 30th, 2012, 10:54   #2
SCHUMI_4EVER
Hackin 'n Slashin
 
SCHUMI_4EVER's Avatar
 
Join Date: Jan 2007
Location: Most-expensive-Internet-on-the-Planet Land : South Africa
Posts: 26,660
Path settings have exactly NOTHING to do with performance.
__________________
Intel Core2Quad Q9550 (2.83Ghz stock) | ASUS P5Q | 2x2GB Transcend JetRam DDR2-800 | ASUS ENGTX260\HDTP\896M | Windows Vista Home Premium 64bit SP1
The Champ has retired but may his Legacy live on FOREVER !!!!
Get it right fools! The glass is HALF-EMPTY, not half-full!!!
!!! WARNING: Emulation requires a brain !!! WARNING: Emulation =/= Piracy !!!
SCHUMI_4EVER is offline   Reply With Quote

Old June 30th, 2012, 11:26   #3
Lasnap
Elven-Dragon Mage
 
Lasnap's Avatar
 
Join Date: Jul 2007
Location: USA
Posts: 1,914
Plus who knows what EMUCR has down to the program itself so we tend to stay away from that site for emulators.
__________________
Love Knows No Bounds!
Lasnap is offline   Reply With Quote

Old June 30th, 2012, 17:27   #4
yeshuachrist
Registered User
 
Join Date: Apr 2010
Location: united states/pennsylvania
Posts: 130
This does produce a speed increase, I suggest you try it for yourself. I didn't believe this was possible myself, until i stumbled on to this. The funny thing is, removing the "path settings" from the config file does.
yeshuachrist is offline   Reply With Quote

Old June 30th, 2012, 17:53   #5
KrossX
クロッスエクス
 
KrossX's Avatar
 
Join Date: Mar 2006
Location: Argentina
Posts: 3,715
He might be onto something here. There seems to be a slowdown when the folders the settings point to do not exist.

@yeshuachrist:
Do this test. Touch the path settings to have the defaults back to the INI. Then, open the INI and create all the folders that appear there. This should be "normal" speed, and I think is the same speed as removing the path settings. Then! Remove all your empty folders (or better yet, move away all folders but battery) and compare your framerate.

#EDIT: Stick to the official build. I noticed no change with it.
__________________


Last edited by KrossX; June 30th, 2012 at 22:13..
KrossX is offline   Reply With Quote

Old July 1st, 2012, 08:03   #6
yeshuachrist
Registered User
 
Join Date: Apr 2010
Location: united states/pennsylvania
Posts: 130
The moles that want to work their agenda into these alternative builds, apparently find it difficult to do, since desmume is open source, since it is written by more than one author, it is also easy to forget the amount of overwhelming work involved, in convincing a larger community 100% of the corrections to the source are incorrect, because they don't follow the pattern of low performance, we are told desmume is susposed to have, its been almost a year or about a year, since I did have the time to make a few threads about some basic changes to the configuration file of no$gba which brought about its own small speed increases, its took a while, as unexpected as it is, it is a surprise, this is a loooog sentence, I suggest the reader tries what I suggest in the first post for themselves, thanks again.

Last edited by yeshuachrist; July 1st, 2012 at 08:08..
yeshuachrist is offline   Reply With Quote

Old July 1st, 2012, 14:21   #7
SCHUMI_4EVER
Hackin 'n Slashin
 
SCHUMI_4EVER's Avatar
 
Join Date: Jan 2007
Location: Most-expensive-Internet-on-the-Planet Land : South Africa
Posts: 26,660
These settings don't affect performance and that's final. Go take your nonsense conspiracy theories elsewhere.

DeSmuME doesn't have low performance, it works perfectly fine.
__________________
Intel Core2Quad Q9550 (2.83Ghz stock) | ASUS P5Q | 2x2GB Transcend JetRam DDR2-800 | ASUS ENGTX260\HDTP\896M | Windows Vista Home Premium 64bit SP1
The Champ has retired but may his Legacy live on FOREVER !!!!
Get it right fools! The glass is HALF-EMPTY, not half-full!!!
!!! WARNING: Emulation requires a brain !!! WARNING: Emulation =/= Piracy !!!
SCHUMI_4EVER is offline   Reply With Quote

Old July 1st, 2012, 15:28   #8
KrossX
クロッスエクス
 
KrossX's Avatar
 
Join Date: Mar 2006
Location: Argentina
Posts: 3,715
There's the possibility that some of this might be triggering the JIT builds to fall back to interpreter. Since the SVN interpreter is around that percent slower than JIT, as odd as it may seem, it could very well be a bug. I'll make my own build today and test it proper.

Again, since the JIT is almost at the same performance as the official optimized release. Unless you're testing, there's no need to use it.

@yeshuachrist: Please retest with this builds http://www.mediafire.com/?vgfj7cj76s10j66

Test with normal, test with JIT. And if you still find a consistent FPS difference in your test, try to find exactly which INI entry causes it.
__________________


Last edited by KrossX; July 1st, 2012 at 17:06..
KrossX is offline   Reply With Quote

Old July 1st, 2012, 22:36   #9
xZabuzax
Registered User
 
xZabuzax's Avatar
 
Join Date: Mar 2009
Location: Dominican Republic
Posts: 491
Quote:
Originally Posted by yeshuachrist View Post
Speed Fix!

You are removing the "path settings" from the "desmume.ini" configuration file, once this is done you will notice the speed increase. When you do this, as a proof of the speed increase, the game Golden Sun Dark Dawn will flicker at the title screen like no$gba. You are not using any frame skipping, the speed increase comes from removing the "path settings" in the config file. Example Below.

Replace your video settings with this:

[Video]
Window Rotate=0
Filter=0
Width=256
Height=384
LCDsLayout=1
LCDsSwap=2
Window Size=0
Window width=512
Window height=192
WindowPosX=203
WindowPosY=397
Display Method=1
VSync=0
Window Force Ratio=1
FrameSkip=AUTO0



You can configure all the options afterwards in Desmume r4292 no problem, including all of the video options above to your liking, just don't click on the "path settings" option or it will go back to being very slow, as it will write the "path settings", back into your config file. Heres a link to the program:

http://www.emucr.com/2012/06/desmume-jit-svn-r4292.html

The attached file has just the video portion of the config file, you must set all of your settings again, just don't touch "path settings" and you will be fine. The speed increase has worked for a few games I tested already.
This trick doesn't work, just tried it. However i must admit that the Desmume build you posted "r4292" is a lot faster than the latest official build "0.9.8"

So i will say thank you for bringing to my attention that this build is way faster than "0.9.8" which was the one i was using =)

Edit:

After a bit of research i found out that the speed increase is because of a new option in the emulation settings called "Use Dynamic Recompiler"

That option makes the emulator "less accurate" and can cause glitches/problems in some games, but the speed increase is enormous. With that being said, i rather stick with this build than the official one since the Dynamic Recompiler option makes the emulator faster.
__________________
CPU: Intel(R) Core(TM)2 Duo CPU E8200 2.66GHz
GPU: BFG Tech NVIDIA GeForce GTS 250 OverClock Edition 1GB
RAM: KINGSTON 2GB 800MHz PC2-6400 DDR2
PSU: Super Flower 700W
MB: MSI G31TM-P21

Last edited by xZabuzax; July 1st, 2012 at 23:06..
xZabuzax is offline   Reply With Quote

Old September 12th, 2012, 01:11   #10
CheatMaster
Registered User
 
Join Date: Jan 2006
Posts: 2,438
Hmm,with this option "Use Dynamic Recompiler" the emu finally started to work at good speed on weak PCs.
On some games I get ~50% and more speed boost.
__________________
P4 2.8GHz,6600GT,1024 RAM

CheatMaster is offline   Reply With Quote

Old September 12th, 2012, 01:41   #11
Squall-Lionh@rt
Maybe I'm a Lion
 
Squall-Lionh@rt's Avatar
 
Join Date: Aug 2012
Location: Australia
Posts: 2,715
back when i tested jit, it was roughly 5% faster then the PGO 0.9.8 release.

wait until this is PGO
Squall-Lionh@rt is offline   Reply With Quote

Old September 12th, 2012, 10:09   #12
CrazyMax
DeSmuME coder
 
CrazyMax's Avatar
 
Join Date: Mar 2007
Location: Ukraine
Posts: 24
Squall-Lionh@rt, try this
CrazyMax is offline   Reply With Quote

Old September 12th, 2012, 10:12   #13
Squall-Lionh@rt
Maybe I'm a Lion
 
Squall-Lionh@rt's Avatar
 
Join Date: Aug 2012
Location: Australia
Posts: 2,715
thats an old revision, JIT has been merged to trunk for some time now and is far faster than it was back then
Squall-Lionh@rt is offline   Reply With Quote

Old September 12th, 2012, 10:47   #14
CheatMaster
Registered User
 
Join Date: Jan 2006
Posts: 2,438
Is there is some place from where you can get the newest rev(except from emucr)...some site lite the buidbot for pcsx2.
The newest rev from emucr is little slower than the version KrossX posted and it's from 1 July...the newest version from CrazyMax link is from 9 July
__________________
P4 2.8GHz,6600GT,1024 RAM

CheatMaster is offline   Reply With Quote

Old September 12th, 2012, 11:42   #15
Squall-Lionh@rt
Maybe I'm a Lion
 
Squall-Lionh@rt's Avatar
 
Join Date: Aug 2012
Location: Australia
Posts: 2,715
Quote:
Originally Posted by CheatMaster View Post
Is there is some place from where you can get the newest rev(except from emucr)...some site lite the buidbot for pcsx2.
The newest rev from emucr is little slower than the version KrossX posted and it's from 1 July...the newest version from CrazyMax link is from 9 July

Quote:
JIT has been merged to trunk
hence, the latest is not from july 1st........
Squall-Lionh@rt is offline   Reply With Quote

Old September 12th, 2012, 11:55   #16
CheatMaster
Registered User
 
Join Date: Jan 2006
Posts: 2,438
I mean the newest beta\rev. not the newest official.
http://sourceforge.net/projects/desmume/
The newest official is 0.9.8 which don't have that option.

The newest for download from CrazyMax link is 0.9.9(compiled on 9 July)

The newest at emucr is r4396 and is compiled today

KrossX version is compiled on 1 July and is r4292
__________________
P4 2.8GHz,6600GT,1024 RAM

CheatMaster is offline   Reply With Quote

Old September 12th, 2012, 12:21   #17
Squall-Lionh@rt
Maybe I'm a Lion
 
Squall-Lionh@rt's Avatar
 
Join Date: Aug 2012
Location: Australia
Posts: 2,715
Quote:
JIT has been merged to trunk
Quote:
Originally Posted by CheatMaster View Post
I mean the newest beta\rev. not the newest official.
Quote:
The newest at emucr is r4396 and is compiled today

Squall-Lionh@rt is offline   Reply With Quote

Old September 12th, 2012, 13:24   #18
CrazyMax
DeSmuME coder
 
CrazyMax's Avatar
 
Join Date: Mar 2007
Location: Ukraine
Posts: 24
Quote:
Originally Posted by Squall-Lionh@rt View Post
thats an old revision..
updated
CrazyMax is offline   Reply With Quote

Old November 25th, 2012, 15:57   #19
sjyune
Registered User
 
Join Date: Aug 2005
Location: Sydney
Posts: 4
@CrazyMax

True Full-screen & Double buffering option

first, thank you for releasing JIT builds..it really saved me from buying new computer...huge speed boost !

btw, any chance you will add these features (maybe through INI as advanced options) to your JIT build (for those with CRT+ArcadeVGA or cabinet users) ?
Vsync is great but too costy ...also true full-screen could provide a further boost to your JIT build

p.s. what do i need to build a JIT build ?
sjyune is offline   Reply With Quote

Old November 25th, 2012, 16:29   #20
the_randomizer
The King of Dinner
 
the_randomizer's Avatar
 
Join Date: May 2010
Location: USA
Posts: 2,653
Is this really that much faster? The day I start trusting untested beta releases is the day hell freezes over.
__________________
CPU - 3rd Gen Core i5 3570 3.4 GHz (3.8 GHz Turbo Boost)
Extensions - MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, EIST,
AVX, Hyper Threading, Intel VT-x, AES-NI, Turbo Boost 2.0, TXT, Smart Cache
GPU - MSI GeForce GTX 660 2 GB GDDR5
RAM - 8192MB DDR3 SDRAM 1333
OS - Windows 7 Professional 64-bit
HDD - Western Digital 1 TB

"If you call up your local hardware store and ask them how you can put tractor tires onto a 1990 Honda, well there's gonna be some laughter, a visit from the cops, maybe a psychiatric nurse." - Red Green
the_randomizer is online now   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 00:24.

© 2006 - 2012 Emu Forums | About Emu Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.