L4T Ubuntu - A fully featured linux on your switch

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

  1. Lucas95

    Lucas95 Member

    Newcomer
    1
    Aug 18, 2019
    United Kingdom
    I unplugged the hdmi from my dock and plugged it back in and now it works fine
     
    Gavin_Darkglider and globalc like this.
  2. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    Ok, Since I announced this on Discord....

    I am probably going move all linux related stuff to another thread in anticipation for the release of Arch Linux(And it's derivatives) and gentoo(Which, I am doing the initial testing on the repo at the moment)

    I also have to look over GlobalC's Fedora stuff, and will put together a repository for Fedora, and other RPM based Distros.

    That basically will bring support to any of the derivitives, so L4T-Linux should become a new catagory for this site, this thread should be moved, and I can maintain questions, and fixes better.

    All of that being said, there is still a lot of support to add for Cuda, OpenMax, and TensorRT. Mainly I still need to port the debs to the other distro's, but organizing, testing, compiling, etc has kept me busy the last month or so.

    For all of those waiting on a Kali build, we havnt forgotton you, but Kali has no arm64 repo that I could find. that being said, I will be pushing a prebuilt BlackArch System for you guys. You want Kali, then get to talking to the Kali devs for an Arm64 Version, and I will port it as well(Probably better option, as kali and ubuntu are basically the same under the hood)

    So, For those who were curious, The dev's and I have been hard at work to get these repo's built, tested, and put together for you all, and I am proud to announce that the initial releases are just around the corner. ;) Stay tuned, and I promise I will update this soon.
     
  3. KidCanada

    KidCanada Newbie

    Newcomer
    1
    Aug 26, 2019
    Canada
    Is there a way to do a Copy & Paste once l4t is up and running without using an external keyboard? I really don't feel like purchasing the adapter and a keyboard just so that I can paste stuff into Terminal. Are you able to right click with the joycons once connected somehow? I tried manually entering some code into terminal for the dolphin emulator but I had no luck with it.
     
  4. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    You can use the onscreen keyboard, it works if you turn it into a full keyboard, it is in the preferences. Even has F keys.
     
    avattar likes this.
  5. Lucas95

    Lucas95 Member

    Newcomer
    1
    Aug 18, 2019
    United Kingdom
    still having issues with l4t, cant get livepatch to work, keeps saying "failed to setup livepatch, try again"
     
    Last edited by Lucas95, Aug 26, 2019
  6. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    That would probably be because the kernel doesnt support it. ;) Build a new kernel, with support, and I bet it starts working. You would also probably need to build a modular kernel. @bell07 has been working on one for Gentoo.
     
    avattar likes this.
  7. Lucas95

    Lucas95 Member

    Newcomer
    1
    Aug 18, 2019
    United Kingdom
    ok il give that a try, not gonna lie l4t ubuntu is the first version of linux ive ever tried, ive always been a mac user so im completely new to this, il have to do some research on building kernels
     
  8. SwordfishII

    SwordfishII Newbie

    Newcomer
    1
    Aug 30, 2019
    United States
    I tried installing the "noob" version a couple times in different cards and never got it to boot. No idea why I did that since it really isn't much easier.

    Upon getting the switchroot image and the 1.5 update (cause why not be bleeding edge,) it boots no problem on a card that only black screened before.

    Other items I noticed:
    1. Touching the top menu doesn't work. Like ever.
    2. Uninstalling stuff via the software menu (like libreoffice) while connected to a network resulted in it reinstalling after it uninstalled. No idea why. Disconnected and it worked.
    3. Sudo apt-get upgrade looks like it says almost everything is no longer required and can be autoremoved. This can't be normal.....
    4. Touchscreen freezes up on me randomly.


    Haven't tried playing with joycons yet and still need to resize the partition and add a swap file.

    Any one have directions to dual boot atmosphere? Seems like another boot folder on the same fat32 would conflict. Unless hekate can recognize another fat32 partition?
     
  9. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    1. Because touchscreen resolution is off by about 10px, this can be fixed in dtb, but you will need to recompile it.
    2. I dont know, seems like a weird ubuntu issue.
    3. It should install the new version of the app, assuming that something depends on it still. So, a library shouldnt be removed, unless nothing depends on it.
    4. Touch screen fixes from android arent great, as the problem isnt the driver, but the fact there are 4 different touch screens from factory(not including after market replacements) that all have different firmware files, that our driver doesnt use. it is a known issue, and will be fixed, eventually.
    Building l4t kernel is about as non standard a kernel build as you can get. There is a script on gitlab, that automates the process a bit. ;) You will still need to configure it though, as it by default sets the ubuntu options. Should be simple enough to add support for live patching.
     
    SwordfishII and tabzer like this.
  10. SwordfishII

    SwordfishII Newbie

    Newcomer
    1
    Aug 30, 2019
    United States
    Forgot to ask, and traveling, do bluetooth keyboards connect as is?
     
  11. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    Yes, any hid device that was supported at the time of linux-4.9 kernel should work out of the box, assuming the driver was built into the kernel. Most hid devices are fairly generic, so should just work.
     
    SwordfishII and Watermelonz like this.
  12. marloneyworld

    marloneyworld Newbie

    Newcomer
    1
    Sep 7, 2019
    United States
    Hello, can you tell me how do I install lutris and winehq on this nintendo switch linux?
     
  13. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    Lutris is python dependent, so it should be as simple as installing the dependencies, and then installing it. I dont know if ubuntu has it in their repos though. Wine can be installed, but it is not an emulator, so you would need arm64 binaries. You could try wrapping it in qemu, but that would be slow, and make most games/apps unusable.
     
Loading...