WIP melonDS for Switch

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by Hydr8gon, Sep 17, 2018.

  1. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    19
    Jan 17, 2013
    Mexico
    Did I read it right?!
    Is this a Switch-compatible dynarec for melonDS?! :O
     
  2. DiscostewSM

    DiscostewSM GBAtemp Guru

    Member
    13
    Feb 10, 2009
    United States
    Sacramento, California
    Personally, I'd rather have the option of not requiring Android to do things, which is why melonDS has my interest.
     
  3. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    19
    Jan 17, 2013
    Mexico
    Agree 100%
    To me using other OS's in a system like the Switch is just a dumb idea.
    It's easier to just get the emus and roms in the phone and that's it.

    But I prefer having proper homebrew made for the console's original OS.
    Not only does it give the system its iwn unique feel, but it also shows how many interesting and skilled people can be when developing software based on the system's specs and libraries.
    And add to that the fact that you can have almost the entire Nintendo legacy in it (excluding 3DS and Dolphin, and a couple WiiU games not yet ported for DX versions), and it's just amazing.


    All in all, I am always delighted to see the development of an app/emu and how it evolves, and this is a clear example of that :)
     
  4. ZachyCatGames

    ZachyCatGames GBAtemp Addict

    Member
    9
    Jun 19, 2018
    United States
    Hell
    I wouldn’t say other OS’s are dumb, they do have some huge advantages, like the proper nvgpu drivers in L4T are really nice to have. But usually if there’s a homebrew version of something and it works decently I’ll choose it over the linux version of it
     
    Dartz150 likes this.
  5. Rahkeesh

    Rahkeesh GBAtemp Advanced Fan

    Member
    6
    Apr 3, 2018
    United States
    Sounds like a medium overclock would easily handle this. That's great news, and easy to stomach if the GPU is mostly idle.

    So you just need a built-in overclock (hooking into sys-clk?) and you're good.
     
    DogParty likes this.
  6. doctorgoat

    doctorgoat GBAtemp Advanced Fan

    Member
    4
    Jun 3, 2015
    United States
    What about more challenging titles to run like FF4 or SaGa 2? I've got no problem with overclocking a bit, considering at least one game goes to higher clocking for performance
     
  7. crow132

    crow132 GBAtemp Regular

    Member
    5
    Jan 19, 2016
    Saint Helena
    is not a dumb idea, and you can always have the option to boot multiple OS

    you should respect the hard job of those who port other OS to the switch for us who find it really useful
     
    Dartz150 likes this.
  8. catlover007

    catlover007 GBAtemp Regular

    Member
    7
    Oct 23, 2015
    Germany
    I haven't tried many games, but I think through high overclocking most 2d games and light 3d games reach full speed (most of the time). Still I target no overclock, especially since there's still a lot of potential for optimisation.

    I'm currently optimising 2d graphics, since every game uses them and outside of loading screens they're the bottleneck currently. The next thing on my list are further CPU dynarec optimisations, to eliminate the performance drops during loading screens and other cpu intense situations. At this point hopefully most 2d games will run more or less flawlessly. The next step would be 3d optimisation, we'll see when we get there.
     
    Last edited by catlover007, Aug 20, 2019
  9. Billy Acuña

    Billy Acuña GBAtemp Addict

    Member
    11
    Oct 10, 2015
    Mexico
    @StapleButter is texture dumping/replacement on your todo list? I think the DS does pretty good at polycount and lighting effects, but I think something should be done with those low-res textures :)
     
  10. Mouser X

    Mouser X Advanced Member

    Newcomer
    4
    Aug 26, 2009
    United States
    If I haven't given my 2 cents yet, let me just say "Thank You!" for not abandoning this project. Apparently Drastic is nice, but I intend to run HOS/Atmosphere most of the time. So being able to play NDS games without having to reboot is awesome! I really look forward to playing Tetris DS and Solatorobo with seperable controllers (seriously. The fact that the Switch has mountable/removable controllers is a major selling point for me!).

    So, for everyone involved, thank you! This is awesome. :)
     
    catlover007 likes this.
  11. catlover007

    catlover007 GBAtemp Regular

    Member
    7
    Oct 23, 2015
    Germany
    Texture replacement would require a texture cache, which would also be an optimisation both the sw and the ogl renderer. It was mentioned a few times in the past, but there are currently no plans for anyone to implement it. If I ever get to the point where I optimise the 3d rendering, a texture cache would probably be something I would try.

    Still texture replacement would require some additional work and would probably be left out for the sw renderer, since it's more focussed on accuracy and performance wouldn't be great either.
     
  12. StapleButter

    StapleButter 'New Member' registered since 2009. Fuck yea.

    Member
    10
    Dec 5, 2009
    France
    texture cache and replacement is something that is planned, as well as xBRZ filtering and other fancy shit :)

    but, y'know how this goes, I need to actually get there. and maybe understand how xBRZ filtering works and how I can apply it where I want.

    interesting. I'd like to learn more about why the 2D GPU runs so slowly on ARM platforms. we must be hitting some pitfall specific to ARM, as my profiling sessions on x64 have shown that the main bottleneck is always CPU emulation.

    fun reminders of blargSNES, though-- I ran into the exact same issue, the PPU being the bottleneck. maybe I just suck at writing fast renderers under ARM :P


    by the way, melonDS 0.8.3 is out, check it out

    we haven't merged the JIT into it yet tho, I want to give it more testing and shit. there will be beta releases for JIT and DSi soon enough.
     
  13. tman708

    tman708 Member

    Newcomer
    1
    Aug 4, 2019
    United States
    when will 0.8.3 be out for the switch?
     
  14. RisingHopperZeroOne

    RisingHopperZeroOne Member

    Newcomer
    1
    Jul 31, 2019
    Australia
    I prefer waiting until the JIT is done so performance on the switch would be much better without needing a massive overclock.
     
    Csmrcc likes this.
  15. tman708

    tman708 Member

    Newcomer
    1
    Aug 4, 2019
    United States
    Oh okay I truly dont mind the overclock I just want playable pokemon platinum tbh is there any estimation at how far along the JIT is though?
     
  16. RisingHopperZeroOne

    RisingHopperZeroOne Member

    Newcomer
    1
    Jul 31, 2019
    Australia
    I wouldn't mind if the performance improvement is great but it isn't at the moment and the answer is soon, there will be a beta releases for it as said above.
     
    tman708 likes this.
  17. catlover007

    catlover007 GBAtemp Regular

    Member
    7
    Oct 23, 2015
    Germany
    the x64 JIT will get a beta build sooner or later. On the otherhand the ARM64 JIT(which is relevant for switch) still sleeps on my computer and probably will continue to do so for some time. While not running 3d graphics(which haven't got any optimisations since the last time) all games I tried ran fullspeed, except for loading screens, where the cpu utilitisation jumps to 100%. So there're more JIT optimisations needed, esp. since I want to get some headroom for 3d games.
     
    ShadowOne333 likes this.
  18. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    19
    Jan 17, 2013
    Mexico
    That sounds awesome :)
    I can't wait for the JIT to evolve and melonDS as well.
    Having DS emulation on the Switch would be an awesome addition.
     
    Mouser X likes this.
  19. Hydr8gon
    OP

    Hydr8gon Dragon Trainer

    Member
    8
    Dec 15, 2014
    Canada
    I can release a 0.8.3 build if people want, but aside from a few bug fixes most of the changes won't affect the Switch build.
     
    yyoossk and angelhp like this.
  20. yyoossk

    yyoossk Advanced Member

    Newcomer
    5
    Oct 18, 2017
    Japan
    Please!
    I can not wait
    sorry for my poor english
     
Quick Reply
Draft saved Draft deleted
Loading...