Question Update on Hardware Video Decoder ?

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by Vaskie, Aug 28, 2018.

  1. Vaskie
    OP

    Vaskie Member

    Newcomer
    3
    Nov 21, 2016
    I am fairly new to the Switch scene so take it easy on me.

    I have been reading on emulation on the Switch as well as Moonlight (Play PC games on other devices), and the reason that performance is not where it needs to be seems to be lack of hardware video decoder. Is it something that is being actively worked on, is it gonna be just a question of time or are people giving up on it ?
     
    linuxaresisagaysob likes this.
  2. OkazakiTheOtaku

    OkazakiTheOtaku no thanks, I don't want a custom title

    Member
    8
    Jul 20, 2016
    Japan
    127.0.0.1
    There is a fork of LibNX with hardware rendering, but it doesn't look like it's ready for prime-time yet.
     
  3. Vaskie
    OP

    Vaskie Member

    Newcomer
    3
    Nov 21, 2016
    What is preventing hardware rendering from being a thing though ?

    Is it just a question of time, or it's a lot more complicated than that.

    I am fairly interested for Moonlight as it would make PC games playable on the Switch, as well as higher quality emulation.
     
  4. OkazakiTheOtaku

    OkazakiTheOtaku no thanks, I don't want a custom title

    Member
    8
    Jul 20, 2016
    Japan
    127.0.0.1
    Drivers need to be worked out. Lots of the Switch is well-known parts, which is why we have hardware rendering on Linux. But the OS is less documented.
     
    Vorde likes this.
  5. Rahkeesh

    Rahkeesh GBAtemp Fan

    Member
    4
    Apr 3, 2018
    United States
    Does libNX 3D acceleration have much to do with video decoding?

    Also last post I saw by someone porting moonlight, actually complained about the homebrew network drivers having some errors that prevented handshaking with Nvidia.
     
  6. OkazakiTheOtaku

    OkazakiTheOtaku no thanks, I don't want a custom title

    Member
    8
    Jul 20, 2016
    Japan
    127.0.0.1
    My bad. I got the two confused. I apologize.
     
  7. DaniPoo

    DaniPoo GBAtemp Advanced Fan

    Member
    4
    Jan 2, 2013
    I think you mean support for hardware accelerated graphics?
    This is what is needed for certain performance boost in many hombrew apps.

    I mean it's probably possible to create a CPU based video decoder that handles playback of various videos formats and this is something I believe is in the works.
    A hardware video decoder sounds even more promising for playing videos but that would require harware accelerated graphics (I believe) which we don't currently have.
     
  8. Rahkeesh

    Rahkeesh GBAtemp Fan

    Member
    4
    Apr 3, 2018
    United States
    OP kind of confused them.

    Moonlight is a program for streaming recorded renders from an Nvidia card to a device and sending inputs back from that device to the PC. Basically letting other devices emulate an Nvidia shield and letting you play your PC games via something like a smartphone or Vita on Wifi. Hardware video decoding could help with that, although I don't know if it would be required. As I said, seems to be some network issue to deal with first.

    OP also mentioned emulators, which need 3D acceleration to run systems like PSP, N64, etc, because the available retroarch cores are OpenGL ones. (Of course if Moonlight was working, you could probably run PC emus that way.)

    Accessing these functions could be closely related for all I know, but they are different functions.
     
    Last edited by Rahkeesh, Aug 28, 2018
  9. Vorde

    Vorde GBAtemp Regular

    Member
    4
    Jul 8, 2015
    Canada
    I'm going to go out on a limb here and sound like an idiot. Do we need custom drivers to be written as to not use the officially leaked SDK, or are we needing someone to write a graphics layer API like what happened with PS Vita?
     
  10. The_Provider

    The_Provider Member

    Newcomer
    2
    Nov 29, 2016
    United States
    We want someone to write graphics drivers for the switch so we evade piracy from using the one from the official SDK
     
  11. kofman13

    kofman13 GBAtemp Regular

    Member
    3
    Sep 29, 2011
    United States
    sorry to hijack. I am waiting for my SX PRO to come in the mail and will be starting to use homebrew i was mainly interested in one day being able to emulate popular consoles on the switch including Gameboy, GBA, SNES, PSX, so it seems n64 and PSX don't work because of the issue talked about here. But what about the 2d ones? are any emulators currently playable and performing well on switch homebrew?
     
  12. Vorde

    Vorde GBAtemp Regular

    Member
    4
    Jul 8, 2015
    Canada
    It seems like things all the way from arcade games and games GBA and under would work aside from 3D titles
     
  13. DaniPoo

    DaniPoo GBAtemp Advanced Fan

    Member
    4
    Jan 2, 2013
    Playstation games works rather well even without hardware acceleration for graphics. Im playing the Final Fantasy 7,8 and 9 at pretty much full speed on RetroNX.
    But that's where it ends. N64 and beyond will most likely not be playable at a decent speed without GPU support.
     
  14. kofman13

    kofman13 GBAtemp Regular

    Member
    3
    Sep 29, 2011
    United States
    Do you think its possible some day though? i know these things sometimes take years to reach really good performance
     
  15. Bellebite2000

    Bellebite2000 GBAtemp Regular

    Member
    2
    Jul 31, 2018
    Afghanistan
    Some people also believe that Jesus will come back. We can all just hope and pray.
     
    Vorde likes this.
  16. DaniPoo

    DaniPoo GBAtemp Advanced Fan

    Member
    4
    Jan 2, 2013
    When (and if) we get HW acceleration and someone takes advantage of this I have no doubt that n64 emulation at full speed will possible.
    Heck maybe even Gamecube (given that it runs quite well on the nvidie shield), but it all boils down to human effort.
     
    Vorde likes this.
  17. JimmyCall

    JimmyCall Member

    Newcomer
    2
    Jul 17, 2018
    Australia
    At worse someone might need to disassemble the Hulu app or monitor its conversation with the video chip to find out some modes and settings. Nvidia most likely already has some documentation on the abilities and codes.
     
  18. kofman13

    kofman13 GBAtemp Regular

    Member
    3
    Sep 29, 2011
    United States
    i feel like the switch is sooooo popular someone will eventually do it (one day)
     
Loading...