NULL

L4T Ubuntu - A fully featured linux on your switch

Discussion in 'Switch - Exploits, Custom Firmwares & Soft Mods' started by bylaws, Apr 28, 2019.

  1. SnkXIII

    SnkXIII Member

    Newcomer
    1
    May 1, 2019
    Netherlands
    I get that, in fact I find myself telling people this quite a lot I just don't see it happening, so I apologise. I'll remember in future that it can always happen "just because".
     
  2. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    2
    May 20, 2019
    United States
    While, we could probably port those mini distro's to the switch, using l4t(really it wouldnt be that hard, as nes/snes dont use any real video card acceleration, you dont have to mess with that, but you would have to compile the whole thing, so you would need the og build enviornment, if you wanted a 1:1 os for the switch. That being said, as a proof of concept, I say go big, or go home. Bring a first to the table. Bylaws got (L4T, power delivery, touchscreen fixes, etc), I got first on netflix support.... which if you look at the time stamps, I had for like a year., I could keep going, but the idea is to do expand on what is there already in new and interesting directions..... Not go backwards. I even have ideas for getting netflix, and amazon working on L4T. This wouldnt include kodi though. (I liked kodi as a front end, because I could remap the volume buttons for brightness, and use the joystick to adjust volume. Made a great media player on the go.)
     
  3. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    2
    May 20, 2019
    United States
    Double post erase this.
     
    Last edited by Gavin_Darkglider, Jun 12, 2019
  4. ZeroFX

    ZeroFX GBAtemp Regular

    Member
    3
    Jun 18, 2018
    United Kingdom
    [​IMG]
    There you have it, stressed, waited 5min, stressed again.

    Edit: Oh, fully stock paste (never opened), official dock.
     
    Last edited by ZeroFX, Jun 13, 2019
    Eduba likes this.
  5. bylaws
    OP

    bylaws GBAtemp Regular

    Member
    6
    Dec 11, 2018
    United Kingdom
    Can you try out of dock discharging
     
  6. ZeroFX

    ZeroFX GBAtemp Regular

    Member
    3
    Jun 18, 2018
    United Kingdom
    [​IMG]
    [​IMG]
    first w/o oc
    last with oc.
     
    Eduba likes this.
  7. UnicornsOnLSD

    UnicornsOnLSD Newbie

    Newcomer
    1
    Feb 22, 2019
    United Kingdom
    For anyone getting "failed to submit command buffer" on Vulkan Dolphin, turn "use fullscreen" on in the graphics settings :)
     
  8. ZeroFX

    ZeroFX GBAtemp Regular

    Member
    3
    Jun 18, 2018
    United Kingdom
    @bylaws does this kernel has kvm virtualization enabled? I tried to use with qemu but nope, or maybe switch cant handle/doesnt support it so its a no go?
     
  9. trohn_javolta

    trohn_javolta Member

    Newcomer
    1
    Aug 9, 2018
    Antigua and Barbuda
  10. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    2
    May 20, 2019
    United States
    The module is in the kernel, so it should work. I do know there are issues with some versions of qemu. One of the many issues I ran in to trying to cross compile gentoo for the switch.
    As developers we focus on one piece at a time. Kodi uses all of the pieces, but mainly video card support, so if that is supported, then kodi will work.
     
  11. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    2
    May 20, 2019
    United States
    Quick Update on Gentoo4Tegra. I currently have openGL,Vulkan, and audio support. I am still having issues with GLES/GLES2, and havnt even gotten started on openmax support. That being said, I think the base build is far enough along, that I would be expecting a release soon. I still have to test dock support, and I wrote an eselect module for easy dock profile changing(Meaning that if you didnt like the default dock handler script, you put yours in a folder, and now you can switch between them with one command, and dont need to worry about messing with the system.) I plan on writing a udc handler as well, but that wont happen until I build my boot chain/kernel(Currently using same bootchain as l4t, as I am not sure about the sc7fw file, and where to get that. Once my discord invite is not expired(Not sure why that is, I will ask about that, also curious about the tlk branch of coreboot, but that is more dev stuff. lol)

    This build will come with a lot of specific instructions, and is considered proof of concept, and not finished. I just want to get it out there so other people can build upon it as well. And who knows, when I get bored, I might try porting other distros that support arm64. those might be easier, since I probably dont have to compile them all from the ground up. lol.
     
    ZeroFX, uyjulian, Watermelonz and 3 others like this.
  12. Goffrier

    Goffrier GBAtemp Regular

    Member
    3
    Dec 19, 2018
    United States
    so im using this to host a private mc server for my friend the problem is that i can only allocate 1gb of ram in java for the server higher results in:
    mc@mc-laptop:~/minecraft$ java -Xmx2024M -Xms2024M -jar minecraft_server.jar nogui
    OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000081800000, 2122317824, 0) failed; error='Not enough space' (errno=12)
    #
    # There is insufficient memory for the Java Runtime Environment to continue.
    # Native memory allocation (mmap) failed to map 2122317824 bytes for committing reserved memory.
    # An error report file with more information is saved as:
    # /home/mc/minecraft/hs_err_pid14546.log
     
  13. BruhBoy

    BruhBoy Member

    Newcomer
    1
    May 3, 2019
    United States
    So does this ban your switch if you go online to the Nintendo firmware without 90 dns.? Meaning can I boot Ubuntu then (if I wanted to) restart the switch into hekate and boot original firmware without getting banned?
     
  14. Refriger8tor

    Refriger8tor GBAtemp Regular

    Member
    3
    Sep 2, 2013
    United States
    A kitchen near you.
    You won't get banned. It never connects to Nintendo's servers
     
    Gavin_Darkglider likes this.
  15. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    2
    May 20, 2019
    United States
    Personally, I think if you are worried about getting banned, hekate probably isnt the best way to boot stock. Any thing past 7.x(I think) requires sept, and exosphere to generate keys. I am not sure if after this it jumps to the stock trustzone or not. I didnt look, but I think the safest way to boot stock is to coldboot with out autorcm. As far as linux goes, I dont even think it l4t even sees the on board mmc that the stock system uses, so no data is ever stored to your switch.
     
  16. globalc

    globalc Newbie

    Newcomer
    1
    Jun 14, 2019
    Japan
    Yes. I am running Fedora30 userland with the L4T kernel, and LXDE as window manager.
    Also the EL8 userland works, but there is not yet CentOS8. Fedora27 and later work, so CentOS7 userland should also do.

    I looked into compiling the L4T kernel sources on Fedora30. It comes with GCC9, but the tegra patches in the L4T kernel sources do not play well with that GCC. My notes on Fedora30/switch are public on the internet, I can not post the link here because of the newbie status.
     
    Gavin_Darkglider likes this.
  17. deurk

    deurk Member

    Newcomer
    1
    Feb 14, 2017
    France
    Wonderful, I'll have a look. Fluxcoil?
     
  18. globalc

    globalc Newbie

    Newcomer
    1
    Jun 14, 2019
    Japan
    Yep, that one.
     
  19. RiceAlex

    RiceAlex Newbie

    Newcomer
    1
    May 6, 2019
    China
    Turn on swap
     
  20. Goffrier

    Goffrier GBAtemp Regular

    Member
    3
    Dec 19, 2018
    United States
    how

    — Posts automatically merged - Please don't double post! —

    @RiceAlex
     
  21. Refriger8tor

    Refriger8tor GBAtemp Regular

    Member
    3
    Sep 2, 2013
    United States
    A kitchen near you.
    There's a guide in the first post of the application install help thread linked in the OC
     
Loading...