Dingoonity.org
Dingux (Dingoo Linux) => Releases => Topic started by: ValdikSS on January 10, 2012, 11:53:06 am
-
Hello!
Here is picodrive for opendingux compiled with all optimizations and code profiling.
Enjoy!
v3 download
http://valdikss.org.ru/PicoDrive.dge
It comes with double buffering and vsync, but vsync will work only with the latest OD kernel with vsync patch.
Some benchmarking videos:
Legacy http://www.youtube.com/watch?v=0OJXrWnjWX4
OD no opts. http://www.youtube.com/watch?v=mhQM-7KDCUs
OD opts. http://www.youtube.com/watch?v=n2wazPL0R5M
Comix zone:
OD opts. 40 45 55 fps
OD no opts. 20 fps
Legacy 36 fps
-
Thanks, it would be possible to optimize Dingux too?
-
I think yes, now i'm thinking how to compile and run gcc on the dingoo to get native cflags.
And there would be picodrive v2 optimized, I got more fps again. 50 fps in comix zone now.
-
great! thanks valdikss :)
-
Even more optimizations, now 45 fps in comix zone!
http://www.mediafire.com/?a5e086tu4ziip7s
http://rghost.ru/35841196
-
respect from me man 8) G00d W0rk
-
work like a charm, good work ;)
-
Works in Legacy Dingux?
-
No, but I can compile if you want
-
Please do! That would be awesome!
-
No, but I can compile if you want
Please my friend!! ;D
-
No, but I can compile if you want
Yes, please, you'll be the hero of our forum!
-
Sure. Today i'll try to optimize it as hard as it could be (got 50 fps in comix zone but forgot how) and compile 2 versions.
-
Guys, I have good and bad news
Good news: legacy is now lightning fast. 56(optimized) vs 40 fps in comix zone, 31 vs 20 road rash 3. Should be 5-15 fps more in all games.
Bad news: opendingux is actually slower. Maybe that's because not optimal compilation flags on kernel and rootfs. Will try more.
PicoDrive_legacy_optimized.zip
http://rghost.ru/35849846
http://www.mediafire.com/?syumw98m8xa6s10
-
Guys, I have good and bad news
Good news: legacy is now lightning fast. 56 fps in comix zone.
Bad news: opendingux is actually slower. Maybe that's because not optimal compilation flags on kernel and rootfs. Will try more.
PicoDrive_legacy_optimized.zip
http://rghost.ru/35849846
http://www.mediafire.com/?syumw98m8xa6s10
It's normal, mate. Picodrive in OD has been always slower than Legacy. That why we asked for a Legacy version. Maybe with the final release of OD that could be solved. I don't know.
Thanks for the new version.
Addendum:
I've tried it with sience kernel:
60/60 fps constant Comix zone (only tried the first level)
40-50 fps Road rash 3
60/60fps first level (with dropings in the second level to 45 fps) Dynamite Headdy
Very good work, sir.
-
Thanks ValdikSS!
Just one question: do you think is there any chanche to see audio tracks support for Sega CD games?
-
Thanks ValdikSS!
Just one question: do you think is there any chanche to see audio tracks support for Sega CD games?
Sorry, I don't know.
-
Very good work thanks.
-
Guys, I have good and bad news
Good news: legacy is now lightning fast. 56(optimized) vs 40 fps in comix zone, 31 vs 20 road rash 3. Should be 5-15 fps more in all games.
Bad news: opendingux is actually slower. Maybe that's because not optimal compilation flags on kernel and rootfs. Will try more.
PicoDrive_legacy_optimized.zip
http://rghost.ru/35849846
http://www.mediafire.com/?syumw98m8xa6s10
Awesome Combo :D
-
Guys, I have good and bad news
Good news: legacy is now lightning fast. 56(optimized) vs 40 fps in comix zone, 31 vs 20 road rash 3. Should be 5-15 fps more in all games.
Bad news: opendingux is actually slower. Maybe that's because not optimal compilation flags on kernel and rootfs. Will try more.
PicoDrive_legacy_optimized.zip
http://rghost.ru/35849846
http://www.mediafire.com/?syumw98m8xa6s10
Thanks!!!! :D
-
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.
-
Hi results of these optimizations are cflags?
-
Hi results of these optimizations are cflags?
Yes, and profiling.
-
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 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
-
Thank you! I'm using these cflags, I'm actually exaggerating and using a lot more, thanks again and keep up the good work!
-
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.
-
Is anyone else experiencing cracking in sound when using Picodrive?
-
It's normal, mate. Picodrive in OD has been always slower than Legacy.
This is going to change. Really soon.
-
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 ;)
-
Not with the developer v2. version of OpenDingux :)
-
Hey, does picodrive run sega mega cd or 32x games?
-
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?
-
Got answered, thanks. ;D
But yours is a trully pertinent question xD
-
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.
-
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.
-
There is a diff inside the tarball released here (http://boards.dingoonity.org/dingux-releases/picodrive-2011-09-05-for-opendingux/), which should be applied on the sources of the initial build (those are available on openhandhelds).
-
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
-
water reflection (thanks for a hint ;)) on one of NativeOS emu.
(https://lh4.googleusercontent.com/-fKsclr2e0lY/T8PDFBHQuZI/AAAAAAAAAGg/84u1TWRReoE/s640/DSC_0584.JPG)
And water reflection on OD Picodrive.
(https://lh4.googleusercontent.com/-oNjXcaGyG04/T8PDDQBX-LI/AAAAAAAAAGY/t0KkagwH6YA/s640/DSC_0583.JPG)
Excellent speed on both cause Castlevania Bloodlines is not so demanding game.
-
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 =/
-
After more reading up about these emulators I see that these only work on the A320 and not the A380, is there any chance you might be able to get a version working on the A380 for us please? We would really love it!
-
Thanks ValdikSS, it's really faster on OD ;D
-
Hey guys, I've compiled the new Picodrive sources for the A320 (OpenDingux), I haven't tested 32x or Sega CD yet but Genesis runs ok.
DOWNLOAD! (http://www.mediafire.com/download/c6tv5gntdhw7184/picodrive1.9.1-a320.tar.gz)
-
Thank you, I try to test Mega-CD in a320.
Regards
-
Thanks for this port! I was using picodrive 1.35. ;)
Can you tell me what file format is expected for mega-cd games?
I tried SoulFeace and SonicCD, both in iso files, but none works. After I selected the iso file the emulator returns to main menu.
Thanks!
-
Thanks for this port! I was using picodrive 1.35. ;)
Can you tell me what file format is expected for mega-cd games?
I tried SoulFeace and SonicCD, both in iso files, but none works. After I selected the iso file the emulator returns to main menu.
Thanks!
mmmm I have only tested Sonic CD and is in .iso, have you tested that game in .bin? maybe the game isn't compatible with the emulator or your BIOS files are corrupted.
-
Hey guys, I've compiled the new Picodrive sources for the A320 (OpenDingux), I haven't tested 32x or Sega CD yet but Genesis runs ok.
DOWNLOAD! (http://www.mediafire.com/download/c6tv5gntdhw7184/picodrive1.9.1-a320.tar.gz)
This is total great news! Thank you so much, registered here after long time lurking just to thank you for this effort. This is the first time 32x runs in the Dingoo A320, AFAIK. Tested Knuckles Chaotix and it runs flawlessly, at least in the graphic department, though crawling at 1 fps. But I didn't use any overclock nor configured anything inside Picodrive yet. Incredible to see these news for such an old and retired gadget, yet a great one, nonetheless. Two years ago you would be much more praised for this.
Sonic 3 runs best in this version than any other emulator in the A320, native, OD or Legacy Dingux... Didn't test other games yet, but this is very promising.
-
Completely amazing. I loaded up sonic cd and it ran fantastic with cd audio. Very impressed!! Gonna try more games :)
-
This is the utimate megadrive emulator for dingo a320,this one runs super street fighter and teco cup fotball game, games that not works in previous version or dingoo smd. also runs virtua racing,but slow. Great job an!
-
Played Koei Flying Squadron and Soulstar. Again, both looked and played great. However, I did not get music in either. This is when i find it music is not supposed to play is it? LOL. It seems i don't know the difference between psg and cdda audio. Either way, this is still great stuff. love it!!
-
Thanks for this port! I was using picodrive 1.35. ;)
Can you tell me what file format is expected for mega-cd games?
I tried SoulFeace and SonicCD, both in iso files, but none works. After I selected the iso file the emulator returns to main menu.
Thanks!
Have you placed the bios files in some specific folder? Do you have any config file?
I just put the bios files in picodrive folder, and it says 'no bios files found'.
It doesnt have a menu option to set bios folder, does it?
mmmm I have only tested Sonic CD and is in .iso, have you tested that game in .bin? maybe the game isn't compatible with the emulator or your BIOS files are corrupted.
-
Have you placed the bios files in some specific folder? Do you have any config file?
I just put the bios files in picodrive folder, and it says 'no bios files found'.
It doesnt have a menu option to set bios folder, does it?
Place the bios files in /local/home/.picodrive, the names must be:
USA=us_scd1_xxxx.bin
EUR=eu_mcd1_xxxx.bin
JPN=jp_mcd1_xxxx.bin
-
Have you placed the bios files in some specific folder? Do you have any config file?
I just put the bios files in picodrive folder, and it says 'no bios files found'.
It doesnt have a menu option to set bios folder, does it?
Place the bios files in /local/home/.picodrive, the names must be:
USA=us_scd1_xxxx.bin
EUR=eu_mcd1_xxxx.bin
JPN=jp_mcd1_xxxx.bin
Thanks! It works like a charm!
Tested SonicCD, SoulFeace and Final Fight iso.
-
What I have to do to play sonic cd with music? I can't find how to do it :(
Edit: You have to use the .CUE to launch the game, I'm a noob lol. This emu is amazing, thx for your work!
-
What I have to do to play sonic cd with music? I can't find how to do it :(
Edit: You have to use the .CUE to launch the game, I'm a noob lol. This emu is amazing, thx for your work!
your not a noob, i had no idea on the cue file. Appreciate it :) I'm sure it was in the directions somewhere, but i like figuring out stuff for myself, that will teach me.
Well, I moved the bios file and started using the cue files. Amazing how much better it works LOL. And to think i was perfectly happy before. Thanks guys!!
-
What I have to do to play sonic cd with music? I can't find how to do it :(
Edit: You have to use the .CUE to launch the game, I'm a noob lol. This emu is amazing, thx for your work!
Are you using ISO with mp3 audio files?
The .CUE is a text file, right?
Where you put this file? In the same folder of the ISO file?
Can you put here the content of your .CUE file?
Thanks!
-
I'm using Iso with cue. the cue file goes in the same folder as the iso. That i'm aware of, you cannot post anything rom related as to where when and how. I do know that if you arleady have an iso, there are programs that will created cue sheets for you. Google it and you should get some results. otherwise you will have to look for the places that offer games already set this way.
-
I tried SoulFeace, but it works with no audio music.
I selected the .cue file from picodrive to run the game. This is the .cue I used:
FILE "Sol-Feace.iso" BINARY
TRACK 01 MODE1/2048
INDEX 01 00:00:00
POSTGAP 00:02:00
FILE "Sol-Feace 02.mp3" MP3
TRACK 02 AUDIO
PREGAP 00:02:00
INDEX 01 00:00:00
FILE "Sol-Feace 03.mp3" MP3
TRACK 03 AUDIO
INDEX 01 00:00:00
FILE "Sol-Feace 04.mp3" MP3
TRACK 04 AUDIO
INDEX 01 00:00:00
FILE "Sol-Feace 05.mp3" MP3
TRACK 05 AUDIO
INDEX 01 00:00:00
FILE "Sol-Feace 06.mp3" MP3
TRACK 06 AUDIO
INDEX 01 00:00:00
FILE "Sol-Feace 07.mp3" MP3
TRACK 07 AUDIO
INDEX 01 00:00:00
FILE "Sol-Feace 08.mp3" MP3
TRACK 08 AUDIO
INDEX 01 00:00:00
FILE "Sol-Feace 09.mp3" MP3
TRACK 09 AUDIO
INDEX 01 00:00:00
FILE "Sol-Feace 10.mp3" MP3
TRACK 10 AUDIO
INDEX 01 00:00:00
FILE "Sol-Feace 11.mp3" MP3
TRACK 11 AUDIO
INDEX 01 00:00:00
FILE "Sol-Feace 12.mp3" MP3
TRACK 12 AUDIO
INDEX 01 00:00:00
FILE "Sol-Feace 13.mp3" MP3
TRACK 13 AUDIO
INDEX 01 00:00:00
FILE "Sol-Feace 14.mp3" MP3
TRACK 14 AUDIO
INDEX 01 00:00:00
FILE "Sol-Feace 15.mp3" MP3
TRACK 15 AUDIO
INDEX 01 00:00:00
FILE "Sol-Feace 16.mp3" MP3
TRACK 16 AUDIO
INDEX 01 00:00:00
FILE "Sol-Feace 17.mp3" MP3
TRACK 17 AUDIO
INDEX 01 00:00:00
FILE "Sol-Feace 18.mp3" MP3
TRACK 18 AUDIO
INDEX 01 00:00:00
Any thoughts?
-
I will try to test sol feace later. I honestly have no idea how cue sheets work, thats for people smarter than me. I will do my best to get back to you on that.
-
If the CUE says...
FILE "asdkl?.iso" BINARY
TRACK 01 MODE1/2048
INDEX 01 00:00:00
POSTGAP 00:02:00
FILE "asdkl?02.mp3" MP3
TRACK 02 AUDIO
PREGAP 00:02:00
INDEX 01 00:00:00
...then the name of the ISO must be "asdkl?.iso" and the first track name must be "asdkl?02.mp3", I hope you understands me, my English skills are crappy.
-
sol-feace works for me, this is what my cue file looks like:
FILE "SOL-FEACE (U).BIN" BINARY
TRACK 01 MODE1/2352
INDEX 01 00:00:00
TRACK 02 AUDIO
PREGAP 00:02:00
INDEX 01 00:35:64
TRACK 03 AUDIO
INDEX 01 00:47:16
TRACK 04 AUDIO
INDEX 00 01:02:00
INDEX 01 01:03:43
TRACK 05 AUDIO
INDEX 01 01:20:03
TRACK 06 AUDIO
INDEX 00 04:00:00
INDEX 01 04:01:44
TRACK 07 AUDIO
INDEX 00 06:57:00
INDEX 01 06:58:65
TRACK 08 AUDIO
INDEX 00 08:59:00
INDEX 01 09:00:60
TRACK 09 AUDIO
INDEX 01 14:43:57
TRACK 10 AUDIO
INDEX 01 17:22:22
TRACK 11 AUDIO
INDEX 01 21:55:51
TRACK 12 AUDIO
INDEX 01 23:47:26
TRACK 13 AUDIO
INDEX 01 26:55:26
TRACK 14 AUDIO
INDEX 01 32:22:28
TRACK 15 AUDIO
INDEX 01 34:56:67
TRACK 16 AUDIO
INDEX 01 37:49:11
TRACK 17 AUDIO
INDEX 01 41:31:26
TRACK 18 AUDIO
INDEX 01 43:08:42
-
If the CUE says...
FILE "asdkl?.iso" BINARY
TRACK 01 MODE1/2048
INDEX 01 00:00:00
POSTGAP 00:02:00
FILE "asdkl?02.mp3" MP3
TRACK 02 AUDIO
PREGAP 00:02:00
INDEX 01 00:00:00
...then the name of the ISO must be "asdkl?.iso" and the first track name must be "asdkl?02.mp3", I hope you understands me, my English skills are crappy.
Renamed files, editted the cue:
FILE "Sol-Feace.iso" BINARY
TRACK 01 MODE1/2048
INDEX 01 00:00:00
POSTGAP 00:02:00
FILE "Sol-Feace02.mp3" MP3
TRACK 02 AUDIO
PREGAP 00:02:00
INDEX 01 00:00:00
FILE "Sol-Feace03.mp3" MP3
TRACK 03 AUDIO
....
But still no music in game.... :(
HercTNT, I think you have a .bin file, because of your cue. It is a copy of the original cd:
FILE "SOL-FEACE (U).BIN" BINARY
TRACK 01 MODE1/2352
INDEX 01 00:00:00
TRACK 02 AUDIO
PREGAP 00:02:00
I have a different set, a .iso for track 1 and a lot of mp3 files...
-
I have no idea if that can be converted or not. your gonna have to search for a differnt file set if you can't get yours to work. Not sure what else to do. Good luck.
-
Some more tests:
I used a .iso file and .wav for music, and SoulFeace runs with music. The .cue is as follow:
CATALOG 0000000000000
FILE "Sol-Feace (1992)(Sega)(NTSC)(US)(Track 01 of 18)[!].iso" BINARY
TRACK 01 MODE1/2048
INDEX 01 00:00:00
FILE "Sol-Feace (1992)(Sega)(NTSC)(US)(Track 02 of 18)[!].wav" WAVE
TRACK 02 AUDIO
PREGAP 00:02:00
INDEX 01 00:00:00
...
I tested also a .bin file of Caddilacs and Dinossaurs. The music works, but is failing, it would be better without sound. The .cue is the following:
FILE "Cadillacs.BIN" BINARY
TRACK 01 MODE1/2352
INDEX 01 00:00:00
TRACK 02 AUDIO
PREGAP 00:02:00
INDEX 01 61:37:20
So, I got music using .wav files. And also got music using .bin file. But cannot make it work using .mp3 files.
And after doing a lot of tests I give up...
I beg if someone else got sound using .mp3 files, please post here the content of your .cue file.
Thanks!
-
I can't see this release anymore in Notaz website http://notaz.gp2x.de/pico.php
I am almost sure it was there once.
Why would it be removed?
-
I compiled the latest (i.e. from git) picodrive for opendingux, because 1.91 wouldn't play piers solar properly, but it was fixed somewhere around 1.93. You can find it here: https://gofile.io/?c=4FEJoN
-
Amazing, i will test this out when i repair my a320. glad to see a new development for it. Thank you!! I have repair parts on the way so hopefully it won't take to long.
-
I compiled the latest (i.e. from git) picodrive for opendingux, because 1.91 wouldn't play piers solar properly, but it was fixed somewhere around 1.93. You can find it here: https://gofile.io/?c=4FEJoN
Could you please re-upload this? It seems to be gone already... :'(
-
I compiled the latest (i.e. from git) picodrive for opendingux, because 1.91 wouldn't play piers solar properly, but it was fixed somewhere around 1.93. You can find it here: https://gofile.io/?c=4FEJoN
Could you please re-upload this? It seems to be gone already... :'(
Sorry, should have uploaded it somewhere better. I will try to add it to the open handhelds repo tonight for you and post back.
-
Hey Munchausen.
Why don't you upload the file right here? There is an option called "Attachments and other options" right underneath the box I'm typing into right now ;)
Thanks in advance!
-
Hmm apparently openhandhelds is broken (can't upload) and the max file size here is 512kb.
I struggled to find somewhere to upload but I think this should work https://pyra-handheld.com/boards/resources/picodrive-1-93-opendingux.4558/
Sorry for the delay, I forgot about it and just remembered
-
Thanks for the upload!
Too bad that it still doesn't play Game Gear ROMs. I was hoping that by v.1.93 it might have been implemented. But no. There doesn't seem to be any decent Game Gear emulators for OpenDingux.... At least none with decent display options :(
-
Hmm what is a good gamegear emulator that might work? I could try to port something else.
I am surprised it doesn't support it. I opened an issue on the picodrive github https://github.com/notaz/picodrive/issues/108
-
A decent Game Gear emulator for OD would be great. I mean, there is dingux-sms, which works kinda alright. But the thing is: GG's native resolution is just too tiny on the Dingoo display, and the stretched video modes look awfully choppy/uneven/pixelated. An emulator with a good scaler - something like the "Ayla 1.5x Upscaler" on OhBoy - that would be something!