L4T Ubuntu - A fully featured linux on your switch

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

  1. ZeroFX

    ZeroFX Eh. What?

    Member
    4
    Jun 18, 2018
    Japan
    Some place in
    I see, good job!
     
  2. parkerlreed

    parkerlreed Member

    Newcomer
    1
    Sep 6, 2018
    United States
    Sweet! Looking forward to trying it out.
     
  3. Kirby567fan

    Kirby567fan GBAtemp Regular

    Member
    5
    Jan 6, 2018
    Morocco
    Is this anbox?
     
  4. Jackson98

    Jackson98 GBAtemp Regular

    Member
    3
    Aug 8, 2017
    Australia
    Sorry for the noob question(Im a linux novice admittedly ;P), but can I ask what differences one can expect running Gentoo instead of Ubuntu? I did a quick browse myself and it sparked my interest reading Gentoo is meant to be better for performance and has less bloatware? Does this mean in theory Dolphin, retroarch, web browsers & apps/utilities in general will get a better performance running through Gentoo? Any other large differences? Possibly less user friendly in certain ways etc... Any of your words of wisdom would be revered greatly.
     
  5. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    Yes and no. It will be just as optimized as lakka, and more optimized than L4T-Ubuntu. Performance is subjective to the app, and most of the emulators in lakka have been given special attention, to get the best performance from them. As far as major differences, it is a lot less user friendly, at the moment no video acceleration works(openGL/GLES are both running swrast, and I havnt tried to test Cuda or Vulkan yet), even though I have installed the driver(This problem was expected though. lol) Mainly, gentoo on the switch was one of those things that reddit users said would be cool, but noone would probably do. I have been running it for years, so putting together the kodi build wasnt that bad, other than I did it in an emulator, which took 3 months to compile. :( This base build I did in L4T Ubuntu, and took 3 days. Huge difference. lol

    No, that is pure android(I think)
     
    Jackson98 and parkerlreed like this.
  6. Techjunky90

    Techjunky90 GBAtemp Fan

    Member
    6
    Apr 7, 2017
    United States
    It's android running natively
     
    essm1988 likes this.
  7. vitxo

    vitxo Newbie

    Newcomer
    2
    May 9, 2019
    Spain
    No offense. But this thread is from l4t ubuntu. If you want to talk about your gentoo compilation, do it in your thread.
     
  8. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    Offense Taken, considering I was answering a question. And that thread is for a different build all together, that has nothing to do with l4t. if you want to get on me, someone who has been answering questions, and helping people, with both l4t ubuntu, my current build, and my 32 bit gentoo for netflix, I think you can get off your high horse, and either post something useful, or shut the fuck up. No one asked you. Sure, maybe I should start another thread, for this information, but I am not ready to release the base build yet, so that will only come with people expecting a release, which isnt happening until I get the basic hardware working fully. Which is getting there, I have working OpenGL, Now onto GLESv1/GLESv2, then Cuda, then OpenMax/V4L2. It is a work in progress, and people keep asking, so I will keep answering. On top of that, this is bylaws thread, and if he had an issue with it, he would have mentioned it before you, and wouldnt have been giving pointers on getting the graphics stack to work with this kernel. Which he did in this thread.
     
    Djakku, Watermelonz, Mouser X and 7 others like this.
  9. Nasedase

    Nasedase Advanced Member

    Newcomer
    3
    Jul 30, 2008
    United States
    Florida
    got most things up and running but i was unable to get my usb storage devices and usb to ethernet adapter working. Storage devices weren't being read at all in fdisk. Any advice?
     
  10. ZeroFX

    ZeroFX Eh. What?

    Member
    4
    Jun 18, 2018
    Japan
    Some place in
    Hey lvl 1 3 posts, likely a troll, this is not only l4t ubuntu thread, because every progress that is made in any other distro can be used for this one and every other, this is linux friendo, and is awesome having more people working on it. What's your contributions to this? Or are you just a leecher?

    This is not a "L4T linux competition".
     
    Last edited by ZeroFX, Jun 10, 2019
  11. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    The usb host mode only works if the switch is connected to the official dock. It should work out of the box, but I have not tested that yet. I am still working on building my base system, and the dock support is the last thing on my list for that.
     
    Watermelonz likes this.
  12. tansoftware

    tansoftware Member

    Newcomer
    2
    Apr 15, 2019
    Canada
    Holy Crap !!! I think I wet my pants :-P

    But correct if I'm wrong, the first demo video showed audio & interent working but without gfx hardware acceleration. So now you got the hardware accel working, but there's an issue with audio output and WIFI connectivity ? Or is that only when docking ?
     
    Last edited by tansoftware, Jun 11, 2019
  13. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    The first teaser had no hardware acceleration, no cpu frequency scaling, and no audio. All of these things come with L4T kernel, the real trick, as I am finding with my gentoo build is getting the driver package to work properly. I got opengl working, but gles broke my window manager, and since my other laptop broke, I need to rebuild my hard drive, which will take a few days, but I am going to try and work on both at once. lol. ;) The one problem with having a fully optimized system, is that nothing works when you switch from AMD to Intel. lol. Now I have to rebuild my computer as well. lol. Good thing I generally dont have anything better to do.
     
    parkerlreed likes this.
  14. bylaws
    OP

    bylaws GBAtemp Regular

    Member
    6
    Dec 11, 2018
    United Kingdom
    I don't have any issues with you posting gentoo update here :)
     
  15. trohn_javolta

    trohn_javolta Member

    Newcomer
    1
    Aug 9, 2018
    Antigua and Barbuda
    :O:toot::sad:
    Omg, this is awesome! I'm gonna put my nvidia shield tv on ebay. :rofl2:
    Plz keep us updated guys, if you have a release candidate and make a new thread, plz. post it here so we can follow.
     
  16. Hamdan

    Hamdan GBAtemp Regular

    Member
    3
    Dec 14, 2018
    Pakistan
    I agree regular updates on both of your progress would very well be appreciated! It would also pave way for further feedback from the switch-linux hacking community!
    With everything else happening in the switch scene, pegaswitch, free emunand and now android, this really increases the hype!:bow::D:bow::toot:
     
    Last edited by Hamdan, Jun 11, 2019
    Gavin_Darkglider likes this.
  17. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    So, quick update on l4t gentoo, it works, but I installed the wrong version of mesa, so gles breaks linking. :( Working on fixing that now, but I also need to rebuild gentoo on my new laptop, as the CPU is intel, and my os is optimized for a specific amd processor, none of the apps run. :( I should be able to do both at the same time, so expect the base build in a week or so, or at least once I figure out the graphics stack completely.

    A few notes on the progress though, for anyone else who might want to attempt to port l4t to their favorite distro:

    1. Compiler used matters. Do not compile your system with GCC version that is more than 7.3.x if you do, you get a lot of linking errors when it comes to the video card drivers, and they wont work. Learned this the hard way. lol.

    2. Xorg server needs to be 1.19.6. Anything more or less, and the graphics driver wont work. For GLESv1/v2 you need to have mesa 18.3.1 or else the GLES headers dont match the nvidia driver, and compilation/linking fails. As for cuda/openmax, I havnt gotten to that yet, but I am sure there is going to be some issue there, that I havnt even thought of yet. lol.

    3. Get the 32.1 driver pack for the jetson nano, and have fun manually linking the files into you lib dir. I am working on a script that will do this for you, but it is a work in progress at best, as I havnt completely figured it out yet. lol.

    I look forward to seeing other distros ported over to l4t ubuntu. Happy Hacking people. ;)
     
    Last edited by Gavin_Darkglider, Jun 11, 2019
    globalc, hippy dave and ZachyCatGames like this.
  18. tansoftware

    tansoftware Member

    Newcomer
    2
    Apr 15, 2019
    Canada
    @bylaws

    Will you posting your progress for Android here ? Or is there another thread we can follow and contribute to ?
     
  19. lifajucejo

    lifajucejo Member

    Newcomer
    3
    Jun 7, 2018
    Canada
    -
     
    Last edited by lifajucejo, Jun 12, 2019
  20. avoy

    avoy Newbie

    Newcomer
    1
    Jun 11, 2019
    United States
    Before I ask my question, I want to preface this with some information. I have applied all patches, and even loaded into L4T twice, did an update and upgrade and installed some other things. I was able to reboot it only once and get into L4T after this.
    Question:
    Has anyone ran into the problem where they are having issues with booting? I have gotten into L4T, ran updates and upgrade as well as installed zsh, a few other things and moved some py scripting stuff I have been messing with over (doesn't mess with anything system related.) and I cannot seem to get the switch to boot into L4T again. I've tried restarting it 5-10 times (as stated in this thread multiple times, and probably over 20 at this point) and I can get the L4T readme to be recognized on my PC, but the switch remains with a black screen. Any ideas? I am sure I have missed something in the 80+ pages here, so I apologize if I missed something that covers this issue.

    Thanks :)

    EDIT: To this, I can still SSH in over usb, but it takes around 45 seconds to make a connection, and another 3-4 to recognize a command and spit to stdout.
    EDIT2: Demo gods have spared me, and the next reset I tried worked. To anyone else that gets this error, just keep restarting my guy, youll get there eventually lol
     
    Last edited by avoy, Jun 11, 2019
Quick Reply
Draft saved Draft deleted
Loading...