![]() |
Integrated Video Game Emulators - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +---- Forum: RetroPlayer Development (https://forum.kodi.tv/forumdisplay.php?fid=194) +---- Thread: Integrated Video Game Emulators (/showthread.php?tid=146711) |
RE: Integrated Video Game Emulators - drivesoslow - 2013-03-09 FYI latest git as of today is segfaulting on me http://www.xbmclogs.com/show.php?id=3179 I have libretroplayer2 pulled to a different directory and it builds and runs no problem I have pulled libretroplayer3 to clean directories multiple times and always with this same result I'm stepping back through the libretroplayer3 commits to see if I can find when it started. Currently I am back as far as 4293a7c98c and still segfaulting. I noticed that there are people running the newest branch on Windows no problem but has anyone successfully compiled and ran it on Linux? UPDATE: I applied this change from the main XBMC branch and it seems to have fixed the crash: https://github.com/xbmc/xbmc/commit/2eed73dcc63ac81638ba9d6093f369bc0baf2683 and my joysticks work now! RE: Integrated Video Game Emulators - garbear - 2013-03-09 man, nice find! can you upload a debug log of your working joysticks? full disclosure, I can't remember if I've actually run the linux joystick code I wrote ![]() RE: Integrated Video Game Emulators - drivesoslow - 2013-03-09 Sure here is the log: http://www.xbmclogs.com/show.php?id=3250 Here is my current ~/.xbmc/userdata/keymaps/joystick.Logitech.RumblePad.2.xml: http://www.xbmclogs.com/show.php?id=3252 Also are you going to integrate Final Burn Alpha from the libretro project? https://github.com/libretro/fba-libretro I know you said you are working on the audio and I just want to let you know that my audio fluctuates between supper choppy and perfect. When I run third part programs through launchers I know they tend to run slower than if XBMC wasn't running and I assume this is because XBMC is still rendering things in the background. Is that the case now with the build in emulators or does it actually stop the GUI from rendering menus and whatnot in the background? RE: Integrated Video Game Emulators - BLKMGK - 2013-03-09 Ya' know if people get this excited over SDL and Wayland support I think someone ought to submit Garbear's branch too ![]() Garbear I'm compiling fine right now but had no chance to test. I'm a Git novice and will leave it for now but if you think I ought to change the way I pulled the code I'll do it. I didn't kill off python yet either. Small words slowly for the noob ![]() RE: Integrated Video Game Emulators - drivesoslow - 2013-03-09 If it segfaults when you compile look at the patch to fix it: https://github.com/xbmc/xbmc/commit/2eed73dcc63ac81638ba9d6093f369bc0baf2683 Just manually apply the changes Never mind the patch has been applied to the branch now RE: Integrated Video Game Emulators - N3MIS15 - 2013-03-09 Got it compiled on linux. The audio glitch/lag is happening less frequently than the retroplayer2 branch and axis works (except for buttons getting stuck). Here is the log: http://www.xbmclogs.com/show.php?id=3258 And my xbox360 controller needs a different keymap than the default so here it is just in case you need it for debugging: http://paste2.org/p/3097187 RE: Integrated Video Game Emulators - garbear - 2013-03-10 drivesoslow: XBMC is a heavy application, so there will always be some performance loss while it's running. To get technical: I replaced the DVDPlayer core with my custom RetroPlayer core (hence the branch name), and this is basically transparent to XBMC - both XBMC and skins see it as playing video. Fullscreen videos cause XBMC to drop into a non-gui, performance-focused mode, which is used by my core as well. The GUI, especially the homescreen, is largely software-composed, so RetroPlayer might actually be faster than an emulator w/ XBMC minimized in the background. Unfortunately, we might need a bit more A/V streamlining for this to happen. To conform to the libretro API *and* be rendered to hardware by XBMC, audio may be buffered and resampled more than once (reason for the delay) and I do lossy color-conversion from RGB to YUV422 (Maister has a patch for YUV444, which helps, but direct RGB (note to self: investigate DVD overlays) is still the goal). I'm currently working on audio. I have DirectSound < 50ms delay. WASAPI is getting close, and ALSA is a complete mess. The RetroPlayer used to handle input processing, which was a messy hackjob with hooks splurged all over the place, but I wrote a new joystick abstraction to isolate the input processing (still surprised it works ![]() drivesoslow: Haha way ahead of you on the patch. Thanks again for pointing it out (would been a week or two before I lost some hair rebasing again). FBA is 32-bit only, so both win32 and linux 32-bit repos but no linux x86_64. RE: Integrated Video Game Emulators - garbear - 2013-03-10 N3MIS15 sticky buttons is fixed in 8e606d9a2f66d2fc9d123d494bf4dc5f05b7c27c keep the bug reports coming! RE: Integrated Video Game Emulators - xceph - 2013-03-10 Great job garbear! Sorry I committed to work and then dropped off the face of the earth... Been doing 85 hr work weeks for last 3 weeks now ![]() RE: Integrated Video Game Emulators - celedhrim - 2013-03-10 Hello, Thanks Garbear for your great work , this is for me the last xbmc killer feature I need ! Althought I'm using openelec on the tv , I have au shared librairy with my windows station and I build from your git just to see it running. If someone else would give it a try , I provide the binary here http://celed.ielf.org/retroplayer/ Enjoy testing ! (I'm french , sorry for my bad english !) edit by garbear: Code: This is a 3rd-party build of XBMC built on 2013-03-10. Support is RE: Integrated Video Game Emulators - matt77303 - 2013-03-10 very new to linux, could somebody tell me step by step how to get this complied. either with a clean install of ubuntu minimalx64 or a working copy of frodo installed of the official cd release. Thanks Matt RE: Integrated Video Game Emulators - garbear - 2013-03-10 https://github.com/garbear/xbmc/blob/retroplayer3/docs/README.ubuntu replace `git clone git://github.com/xbmc/xbmc.git xbmc` with `git clone git://github.com/garbear/xbmc.git xbmc` if it doesn't work start another thread, this is a development thread not a cry for help thread RE: Integrated Video Game Emulators - drivesoslow - 2013-03-10 (2013-03-10, 17:48)matt77303 Wrote: very new to linux, could somebody tell me step by step how to get this complied. Code: git clone git://github.com/garbear/xbmc.git retroplayer RE: Integrated Video Game Emulators - matt77303 - 2013-03-10 Thanks RE: Integrated Video Game Emulators - BLKMGK - 2013-03-10 Will he also need to add the --enable-joystick switch? I compile with ./bootstrap; ./configure --enable-airplay --enable-joystick; make -j4 |