How feasible would Dolphin port be?

Discussion in 'Switch - Hacking & Homebrew' started by bludud, Nov 11, 2017.

  1. bludud
    OP

    bludud Newbie

    Newcomer
    8
    8
    Feb 13, 2015
    United States
    Does anybody know how much work would be required to port over the Android build of Dolphin to the Switch? The Android build of Dolphin already runs on the Tegra x1 pretty well for some games, so I know at least the Switch architecture will be supported by Dolphin.

    (The Pixel C runs on the Tegra x1.)
     
    Last edited by bludud, Nov 11, 2017
  2. Kubas_inko

    Kubas_inko 3DS Hardmoder

    Member
    1,054
    287
    Feb 3, 2017
    Czech Republic
    Let's first wait for working homebrew ok?
     
  3. V-Temp

    V-Temp GBAtemp Regular

    Member
    253
    358
    Jul 20, 2017
    United States
    I'd be watchful of a couple of issues in this comparison:

    Switch has an even tighter heat envelope from the Pixel C.
    Switch runs slower than the Pixel C at peak within said envelope.

    The much lower clock on the CPU for the Switch will be a painful bottleneck for Dolphin.
     
    pandavova and nmkd like this.
  4. adrifcastr

    adrifcastr GBAtemp Advanced Maniac

    Member
    1,799
    839
    Sep 12, 2016
    Germany
    You can execute your code anytime you want
     
    bennyman123abc likes this.
  5. nmkd

    nmkd GBAtemp Regular

    Member
    176
    89
    Oct 25, 2016
    Germany
    My prediction is that we will (sooner or later) get Dolphin running, though not all games will run perfectly.

    I have a GPD Win which roughly equals a portable Switch and it can run Paper Mario and Twilight Princess with occasional framedrops, so yeah, it will probably be able to play many game but not really demanding ones.
     
  6. bludud
    OP

    bludud Newbie

    Newcomer
    8
    8
    Feb 13, 2015
    United States
    Well to be fair, I feel the question does have some serious relevance now that we're very close to having a potential Homebrew release.
     
  7. adrifcastr

    adrifcastr GBAtemp Advanced Maniac

    Member
    1,799
    839
    Sep 12, 2016
    Germany
    Rohan is released, thus we have arbitrary userland code exec
     
  8. bludud
    OP

    bludud Newbie

    Newcomer
    8
    8
    Feb 13, 2015
    United States
    So at this point I wonder what the major hurdle will be for getting Dolphin running?

    That's a shame. I knew the Switch moved the Tegra x1 to a lower clock when in portable mode, but I didn't know it was nerfed like that in docked mode as well. Would it be possible to overclock the chip in docked mode for emulation? Or does the chip not have that capability? If it does, I imagine overheating might be an issue.
     
    Last edited by bludud, Nov 11, 2017
  9. V-Temp

    V-Temp GBAtemp Regular

    Member
    253
    358
    Jul 20, 2017
    United States
    Thermodynamics.
     
  10. nmkd

    nmkd GBAtemp Regular

    Member
    176
    89
    Oct 25, 2016
    Germany
    Making it run on Switch OS (or making Android run on Switch)
     
  11. GarnetSunset

    GarnetSunset Advanced Member

    Newcomer
    77
    113
    Apr 27, 2017
    United States
    Homebrew.
     
  12. adrifcastr

    adrifcastr GBAtemp Advanced Maniac

    Member
    1,799
    839
    Sep 12, 2016
    Germany
    Already done
     
  13. nmkd

    nmkd GBAtemp Regular

    Member
    176
    89
    Oct 25, 2016
    Germany
  14. V-Temp

    V-Temp GBAtemp Regular

    Member
    253
    358
    Jul 20, 2017
    United States
    No, you don't want android. The overhead from Android on top of already pre-allocated resources would leave with you too little resources to do anything.

    No one's going to run an OS inside of an OS, that's just silly.
     
    satan89 likes this.
  15. nmkd

    nmkd GBAtemp Regular

    Member
    176
    89
    Oct 25, 2016
    Germany
    Not inside, the dream situation would be dual-boot.

    Android would totally be worth it since we already got tons of emulators on there.
     
  16. GarnetSunset

    GarnetSunset Advanced Member

    Newcomer
    77
    113
    Apr 27, 2017
    United States
    That's not homebrew that's a base for it though.
    Refer above. Gotta write a GPU driver that's efficient dinguses.
     
    V-Temp likes this.
  17. V-Temp

    V-Temp GBAtemp Regular

    Member
    253
    358
    Jul 20, 2017
    United States
    This is the 'Hello World' of homebrew, but you don't have any real API/drivers in place to then, you know, run things.

    Edit: Oop, looks like I am late.
     
  18. nmkd

    nmkd GBAtemp Regular

    Member
    176
    89
    Oct 25, 2016
    Germany
    It is homebrew.
    If the dev calls it homebrew then it's gotta be true.

    Yes, we will probably need a GPU driver/toolkit, but the definition of homebrew is unsigned code, not a GPU accelerated emulator.
     
    bennyman123abc likes this.
  19. adrifcastr

    adrifcastr GBAtemp Advanced Maniac

    Member
    1,799
    839
    Sep 12, 2016
    Germany
    Both of you don't seem to undertstand the word homebrew. Homebrew is unauthorized software on closed source systems. - any kind of unauthorized software - so therefore you can write code that prints the text string "lol dis is switchbrew ; )" And It'd be homebrew.
     
  20. V-Temp

    V-Temp GBAtemp Regular

    Member
    253
    358
    Jul 20, 2017
    United States
    No I understood, I just added what else needs to be done. Dolphin in and of itself isn't going to generate the necessary drivers. Just saying 'homebrew' in a thread as general as this sort of betrays the complexity of what actually needs to be done.

    This is more a case of semantics than anything.