Author Topic: Picodrive OD with optimizations  (Read 27935 times)

Rosenkranz

  • *
  • Posts: 114
Re: Picodrive OD with optimizations
« Reply #20 on: January 11, 2012, 11:54:27 pm »
Thank you! It really is much faster :). I only have problems with sound. In Mortal Kombat 2 and 1 i have music in the menu but when the fight starts there is no sound. And in MK1 i have glitching background. I had problems with disappearing sound in some other games, but i think that is a problem with my Open Dingux.

Re: Picodrive OD with optimizations
« Reply #21 on: January 12, 2012, 04:08:58 pm »
Hi results of these optimizations are cflags?
[email protected]
User flpstr (old flpstrquerendoumdingoo!!!) forum dingoobr

ValdikSS (OP)

  • *
  • Posts: 57
Re: Picodrive OD with optimizations
« Reply #22 on: January 12, 2012, 06:35:50 pm »
Hi results of these optimizations are cflags?
Yes, and profiling.

Re: Picodrive OD with optimizations
« Reply #23 on: January 12, 2012, 07:19:09 pm »
I could cite the new cflags? I'm doing tests with other emulators, but with the cflags I used did not increase much.
Thanks
[email protected]
User flpstr (old flpstrquerendoumdingoo!!!) forum dingoobr

ValdikSS (OP)

  • *
  • Posts: 57
Re: Picodrive OD with optimizations
« Reply #24 on: January 12, 2012, 07:24:02 pm »
I could cite the new cflags? I'm doing tests with other emulators, but with the cflags I used did not increase much.
Thanks
I used
-O3 -march=mips32 -mtune=mips32r2 -fomit-frame-pointer -fsigned-char -ffast-math -G0 -mno-mips16 -pipe \
 -falign-functions -falign-loops -falign-labels -falign-jumps -fexpensive-optimizations \
 -fsingle-precision-constant -finline -finline-functions -fstrict-aliasing \
 -fno-strength-reduce -funsafe-math-optimizations -mbranch-likely -funroll-loops \
 -fprofile-use

But that's overkill. Probably you have to use

-O3 -ffast-math -march=mips32 -mtune=mips32r2  \
 -G0 -mno-mips16 -fno-inline \
 -fno-strength-reduce -fsingle-precision-constant -fsigned-char

Take a look at -fprofile-generate and -fprofile-use. First, compile with -fprofile-generate. Then run it on device with GCOV_PREFIX set somewhere on SD. Play some games(better to play minimum 2 different games), change some settings, just like you benchmarking it. Then you'll get some files in your GCOV_PREFIX. Copy it to your sources dir and build with -fprofile-use

Re: Picodrive OD with optimizations
« Reply #25 on: January 12, 2012, 07:32:57 pm »
Thank you! I'm using these cflags, I'm actually exaggerating and using a lot more, thanks again and keep up the good work!
[email protected]
User flpstr (old flpstrquerendoumdingoo!!!) forum dingoobr

pcercuei

  • ***
  • Posts: 1427
    • My devblog
Re: Picodrive OD with optimizations
« Reply #26 on: January 12, 2012, 07:51:00 pm »
Thank you! I'm using these cflags, I'm actually exaggerating and using a lot more, thanks again and keep up the good work!

Beware, more 'optimization' flags won't necessarily result in a better performance. Some games / emus actually run better when compiled with -O2 rather than -O3, for instance.

Rosenkranz

  • *
  • Posts: 114
Re: Picodrive OD with optimizations
« Reply #27 on: January 12, 2012, 09:14:09 pm »
Is anyone else experiencing cracking in sound when using Picodrive?

pcercuei

  • ***
  • Posts: 1427
    • My devblog
Re: Picodrive OD with optimizations
« Reply #28 on: January 22, 2012, 04:00:26 pm »
It's normal, mate. Picodrive in OD has been always slower than Legacy.

This is going to change. Really soon.

ValdikSS (OP)

  • *
  • Posts: 57
Re: Picodrive OD with optimizations
« Reply #29 on: January 22, 2012, 08:42:52 pm »
It's normal, mate. Picodrive in OD has been always slower than Legacy.

This is going to change. Really soon.
Well, it's already changed  ;)

pcercuei

  • ***
  • Posts: 1427
    • My devblog
Re: Picodrive OD with optimizations
« Reply #30 on: January 22, 2012, 08:57:06 pm »
Not with the developer v2. version of OpenDingux :)

Cruz

  • *
  • Posts: 34
Re: Picodrive OD with optimizations
« Reply #31 on: January 24, 2012, 11:37:01 am »
Hey, does picodrive run sega mega cd or 32x games?
-Cruz- was here d=(^_^)=b

CREATICA

  • *
  • Posts: 195
Re: Picodrive OD with optimizations
« Reply #32 on: January 28, 2012, 10:27:30 am »
Hey, does picodrive run sega mega cd or 32x games?


Actually, the question would be like this: now that Genesis emulation is nearly flawless (in Legacy of course), would it be possible to have 32x games emulation on Dingoo?

Cruz

  • *
  • Posts: 34
Re: Picodrive OD with optimizations
« Reply #33 on: January 28, 2012, 12:58:21 pm »
Got answered, thanks. ;D

But yours is a trully pertinent question xD
-Cruz- was here d=(^_^)=b

dmitry_smagin

  • *
  • Posts: 420
Re: Picodrive OD with optimizations
« Reply #34 on: February 26, 2012, 06:11:24 pm »
ValdikSS,
did you post somewhere modified sources of Picodrive? I'd like to see the changes you've made to make Picodrive work on OD. Your help is appreciated, thanks.
GCW-Zero prototype, Dingoo a320, Ritmix rzx-50, Dingoo a380, Xperia Play

ValdikSS (OP)

  • *
  • Posts: 57
Re: Picodrive OD with optimizations
« Reply #35 on: February 26, 2012, 06:36:05 pm »
ValdikSS,
did you post somewhere modified sources of Picodrive? I'd like to see the changes you've made to make Picodrive work on OD. Your help is appreciated, thanks.
I didn't modify the sources, just compilation flags.

pcercuei

  • ***
  • Posts: 1427
    • My devblog
Re: Picodrive OD with optimizations
« Reply #36 on: February 26, 2012, 11:17:37 pm »
There is a diff inside the tarball released here, which should be applied on the sources of the initial build (those are available on openhandhelds).

ValdikSS (OP)

  • *
  • Posts: 57
Re: Picodrive OD with optimizations
« Reply #37 on: May 27, 2012, 11:37:35 pm »
v3 OD update.
Used latest Ayla's patch which adds double buffering and vsync for OD and recompiled with -mtune=xlr.
Vsync will work only on the latest OD kernel with vsync patch
http://valdikss.org.ru/PicoDrive.dge
« Last Edit: May 28, 2012, 12:30:44 pm by ValdikSS »

K-77

  • * Former Staff
  • Posts: 343
Re: Picodrive OD with optimizations
« Reply #38 on: May 28, 2012, 07:30:45 pm »
water reflection (thanks for a hint ;)) on one of NativeOS emu.



And water reflection on OD Picodrive.



Excellent speed on both cause Castlevania Bloodlines is not so demanding game.
« Last Edit: May 29, 2012, 09:56:02 am by kowkar77 »

benmerrick3d

  • *
  • Posts: 36
Re: Picodrive OD with optimizations
« Reply #39 on: May 29, 2012, 09:24:52 am »
Hey,

I think I know the answer is no, but is there any way to get this working on native firmware on the A380? The emulator on there is soo slow and we are having problems trying to open the back of the A380 to be able to put a new card in =(


We have got it open now, but cannot get the Picodrive working on the A380 yet =/
« Last Edit: June 06, 2012, 01:47:06 pm by benmerrick3d »

 

Post a new topic
Post a new topic