Chips
Posts: 194
Joined: Sat Aug 18, 2012 8:21 pm

Megadrive emulator: Picodrive v1.91 with OpenGLES

Sun Mar 29, 2015 8:56 pm

Latest picodrive from notaz is 1.91, but by default the dynarec is not activated on Linux (!) and OpenGLES upscaling is not used despite code was partly there (due to some common files with some other notaz project like psxrearmed...)

You can download a version which now support both:
http://fdarcel.free.fr/picodrive-rpi-chips-0_1.bz2
There is 2 binary inside: one for rpi1 and another one for rpi2 which enable more optimization for rpi2.

Github:
https://github.com/Chips-fr/picodrive-rpi

Now fullscreen works even under XWindow :mrgreen:
Last edited by Chips on Sun Jan 24, 2016 9:24 am, edited 4 times in total.

ChEeZeBaLL
Posts: 9
Joined: Fri Mar 27, 2015 5:12 am

Re: Megadrive emulator: Picodrive v1.91 with OpenGLES

Tue Mar 31, 2015 3:27 am

Unfortunately I get an error that says the file isn't in gzip format when I try to unpack it.

Chips
Posts: 194
Joined: Sat Aug 18, 2012 8:21 pm

Re: Megadrive emulator: Picodrive v1.91 with OpenGLES

Tue Mar 31, 2015 7:18 am

Shit, i think i make a bz2 but named it as tgz...
I think you can rename it to bz2 and unpack accordingly:
tar jxf picodrive-rpi-chips-0_1.bz2...

I will check later... :P

User avatar
DougieLawson
Posts: 35519
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Megadrive emulator: Picodrive v1.91 with OpenGLES

Tue Mar 31, 2015 9:02 am

ChEeZeBaLL wrote:Unfortunately I get an error that says the file isn't in gzip format when I try to unpack it.
Try looking at it with the file foobar.gz command or edit it with vim or try tar xavf foobar.gz (xavf lets tar try to work out what the contents are and choose the right program to unzip it).
Note: Having anything remotely humorous in your signature is completely banned on this forum. Wear a tinfoil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

itsmedoofer
Posts: 344
Joined: Wed Sep 25, 2013 8:43 am

Re: Megadrive emulator: Picodrive v1.91 with OpenGLES

Tue Mar 31, 2015 9:43 am

7ZIP extracted it OK for me on my windoze machine, took two bites at the cherry but I got to the files...

Chips
Posts: 194
Joined: Sat Aug 18, 2012 8:21 pm

Re: Megadrive emulator: Picodrive v1.91 with OpenGLES

Tue Mar 31, 2015 6:12 pm

I confirm it's a bz2.
Link has been updated and it work with the command I indicated.

User avatar
eriktheitalian
Posts: 358
Joined: Thu Feb 19, 2015 1:03 pm

Re: Megadrive emulator: Picodrive v1.91 with OpenGLES

Tue Mar 31, 2015 9:50 pm

Thanks for this good project.
I cant using enough English language. My writings can be wrong grammer.$
"in micro$oft we not trust"

ChEeZeBaLL
Posts: 9
Joined: Fri Mar 27, 2015 5:12 am

Re: Megadrive emulator: Picodrive v1.91 with OpenGLES

Wed Apr 01, 2015 9:50 pm

Works great in Arch; thanks a lot for this Chips!

User avatar
rSl
Posts: 65
Joined: Tue Jun 24, 2014 1:16 am
Location: computer

Re: Megadrive emulator: Picodrive v1.91 with OpenGLES

Tue Apr 14, 2015 3:04 pm

thank you chips for this nice port of notaz's famous picodrive!
sooo hours of fun ahead! :)

ufa
Posts: 11
Joined: Tue Jan 12, 2016 12:31 pm

Re: Megadrive emulator: Picodrive v1.91 with OpenGLES

Mon Jul 11, 2016 12:23 pm

Great work Chips.
Do you know if it will compile on a RPi3?

User avatar
QBall1977
Posts: 74
Joined: Thu Aug 09, 2012 10:06 am
Location: Hull, East Yorkshire
Contact: Website

Re: Megadrive emulator: Picodrive v1.91 with OpenGLES

Tue Apr 25, 2017 6:07 am

I BIG ask on an old thread, but any chance you could get this to work with the 'experimental' opengl drivers for Pi3b. When I try running it with those enabled I just get errors about 'already in use'.

I was going to try and recompile with sdl2, but aren't smart enough to get it to work.

Suggestions?
____________________________________________
Looking for where to start - try Kernel Panic - http://goo.gl/EEQ5J

raysaaron
Posts: 31
Joined: Sun Feb 12, 2017 4:20 am

Re: Megadrive emulator: Picodrive v1.91 with OpenGLES

Tue Apr 25, 2017 7:34 am

hi, it can't work because expirimental driver is OpenGL but THIS IS OpenGL ES

User avatar
rpdom
Posts: 14686
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Megadrive emulator: Picodrive v1.91 with OpenGLES

Tue Apr 25, 2017 7:39 am

Isn't OpenGLES a subset of OpenGL?

In which case that implies that anything written for OpenGLES version x.y will also work on OpenGL version x.y

Chips
Posts: 194
Joined: Sat Aug 18, 2012 8:21 pm

Re: Megadrive emulator: Picodrive v1.91 with OpenGLES

Wed Apr 26, 2017 1:00 pm

rpdom wrote:Isn't OpenGLES a subset of OpenGL?
Kinda yes, but at source level...

User avatar
antiriad
Posts: 131
Joined: Sun Nov 17, 2013 7:38 pm
Location: Italy
Contact: Twitter

Re: Megadrive emulator: Picodrive v1.91 with OpenGLES

Fri Dec 01, 2017 6:37 am

Hi Chips,
thank you very much for your great work!

OK, today Retroarch is a "must", but I find that stand-alone emulators are still useful for RPi. So maybe would you make a small update on Notaz/libretro versions? ;)

It's possibile to build it on RPi 3 (openGLES) for better optimization? (don't know if it has sense)

And would a stand-alone version of Genesis-plus GX be doable?

Thank you very much!

Chips
Posts: 194
Joined: Sat Aug 18, 2012 8:21 pm

Re: Megadrive emulator: Picodrive v1.91 with OpenGLES

Fri Dec 01, 2017 7:47 pm

antiriad wrote:
Fri Dec 01, 2017 6:37 am
It's possibile to build it on RPi 3 (openGLES) for better optimization? (don't know if it has sense)
I tried on uae4arm to use specific switch for pi3 but there was no noticeable gain compared with pi2 binary...
Which seems logical since for 32bits both support same opcode set... (it was definitly not the case for ARM11 vs Cortex A7)

User avatar
antiriad
Posts: 131
Joined: Sun Nov 17, 2013 7:38 pm
Location: Italy
Contact: Twitter

Re: Megadrive emulator: Picodrive v1.91 with OpenGLES

Sat Dec 02, 2017 1:19 pm

Thank you very much for your feedback.

Unfortunately I get a black full screen running the binary (both versions) on my RPi3 with Gert's VGA 666... any hint? :?

User avatar
antiriad
Posts: 131
Joined: Sun Nov 17, 2013 7:38 pm
Location: Italy
Contact: Twitter

Re: Megadrive emulator: Picodrive v1.91 with OpenGLES

Sat Dec 02, 2017 1:41 pm

Even in black screen, pressing UP and ENTER I was able to quit, so this is the verbose:

Code: Select all


Picodrive for Raspberry Pi 0.1 by Chips
plat_sdl: using 1920x1080 as fullscreen resolution
plat_sdl: overlay: fmt 59565955, planes: 1, pitch: 1280, hw: 0
warning: video overlay is not hardware accelerated, not going to use it.
input: new device #0 "sdl:keys"
input: async-only devices detected..
# drv probed binds name
0 0  y y sdl:keys
using sdl audio output driver
platform/libpicofe/readpng.c: unexpected font image size 256x230, needed 128x160
platform/libpicofe/readpng.c: unexpected selector image size 16x20, needed 8x10
found skin.txt
SDL_SetVideoMode failed: no video mode large enough for 1911x1080

Last line (SDL_SetVideoMode failed...) could be related to the fact that I'm using a Gert's VGA-666? (but at 1080p!)

Thank you

Chips
Posts: 194
Joined: Sat Aug 18, 2012 8:21 pm

Re: Megadrive emulator: Picodrive v1.91 with OpenGLES

Sat Dec 02, 2017 9:43 pm

With latest raspbian stretch i get quite some issue, but not exactly this one...
Now that i aligned with latest notaz version they are gone :)
https://github.com/Chips-fr/picodrive-rpi

Return to “Gaming”