L4T Ubuntu - A fully featured linux on your switch

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

  1. ZachyCatGames

    ZachyCatGames GBAtemp Addict

    Member
    9
    Jun 19, 2018
    United States
    Hell
    It probably works, touch just doesn't work very well and isn't super accurate in l4t
     
  2. parkerlreed

    parkerlreed Member

    Newcomer
    1
    Sep 6, 2018
    United States
    What is the l4tbr0 for?

    Code:
    9: l4tbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
        link/ether be:32:f0:a9:ec:19 brd ff:ff:ff:ff:ff:ff
        inet 192.168.55.1/24 brd 192.168.55.255 scope global l4tbr0
           valid_lft forever preferred_lft forever
        inet6 fe80::1/128 scope link
           valid_lft forever preferred_lft forever
        inet6 fe80::708f:ffff:fe4a:1bd2/64 scope link
           valid_lft forever preferred_lft forever
    
     
  3. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    There is an xbox emulator someone was testing and it wanted a bridge device to connect to, so the module was included in the kernel to bridge the emulator to the wifi. It was added as a request in this thread.
     
  4. phillyrider807

    phillyrider807 GBAtemp Fan

    Member
    5
    May 2, 2009
    United States
    Im surprised there's not a moonlight native app yet. Vita has one.
     
  5. ZeroFX

    ZeroFX Eh. What?

    Member
    4
    Jun 18, 2018
    Japan
    Some place in
    Vita has one, well said.
    Vita has.
     
  6. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    Assuming by native you mean for Horizon, it's because homebrew doesn't have access to hardware video encoding/decoding yet.
     
  7. Hamdan

    Hamdan GBAtemp Regular

    Member
    3
    Dec 14, 2018
    Pakistan
    Has anybody figured out exFAT mounting yet?
     
  8. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    exfat is handled in userspace using fuse driver. There is a kernel driver as well, but you will need to add that patch yourself, and then compile a kernel that includes the driver. If you do this, then you dont need the userspace fuse driver. either way it will work to mount the exfat partition.
     
  9. BryBread

    BryBread Newbie

    Newcomer
    1
    Aug 15, 2014
    United States
    Dunno if anyone has mentioned this yet, but using ulatencyd seems to have improved responsiveness pretty dramatically on my install of L4T.

    Ulatencyd is (somewhat recently) abandoned and it does throw a "system error has been detected" dialog box on startup, but it seems to work fine and doesn't need anything special to configure it.

    With ulatencyd installed, I was able to build a large project with make -j4 in the background while continuing to use the browser in the foreground. The browser loaded stuff slower obviously, but it remained responsive to my input. Although, I did end up running out of memory and my chrome extensions crashed :D

    Sorry that I don't have any firm numbers but I highly recommend you all give ulatencyd a try.
     
    Liv2MsTrb8T likes this.
  10. BryBread

    BryBread Newbie

    Newcomer
    1
    Aug 15, 2014
    United States
    In other news, got Citra building & running on L4T. Performance is predictably terrible but not as bad as I thought it would be; runs at about half speed (on the OoT intro anyway) using the performance profile (not 2ghz mode).

    [​IMG]
     
    Last edited by BryBread, Jul 13, 2019
    Refriger8tor, ShadyGame and seanp2500 like this.
  11. bitteorca

    bitteorca Member

    Newcomer
    1
    Jul 12, 2018
    United States
    Can I resize the initial 500mb partition to something higher? It always makes the SD card unreadable to my Switch when I resize it.

    I keep all my CFW files on the first partition so I need it to be at least 1.5gb. I try to take it away from the 2nd partition (the 8gb Linux partition) while adding the space back at the end of the SD card but it always says the the card is corrupt and must be formatted when I put it back in the switch. I need some assistance, is this possible? I want an SD card with enough space for retroarch games, maybe OpenMW or OpenRTC2, L4T Ubuntu, and a 29.1gb emunand. I should be good on all of this if I could just resize the first partition without it breaking.
     
    Last edited by bitteorca, Jul 13, 2019
  12. Kirby567fan

    Kirby567fan GBAtemp Regular

    Member
    4
    Jan 6, 2018
    Morocco
    Nice. Can you try a 2D game please while also enabling 2ghz?
     
  13. Mouser X

    Mouser X Advanced Member

    Newcomer
    4
    Aug 26, 2009
    United States
    The Linux partition has to be resized by a partition manager that can understand Linux partitions. There is one for Windows (search this thread), but I used gparted in Linux to repartition my SD card. Or you can download a "gparted boot disk" to boot your PC into a Linux distro specifically made for repartitioning systems.

    If you have 2 SD cards, you can do what I did. Install L4T to both SD cards. For the card you WANT L4T on, set it aside, and boot your Switch with the other L4T card. Install gparted, and insert your Switch into the Dock. Use a SD card reader attached to the dock to read/mount the card you set aside. Use gparted to resize the 2nd SD card (the one in the reader). It's worked great the 4 or so times I've done this.
     
  14. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    Or the easier option would be to create the partitions yourself, and then extract partition2 img from the full img, so everything after 500mb or so. You can use fdisk on the image file, once it is extracted, and get the correct information, then write that partition image to the p2 partition. as for p1, that isnt needed, as everything you need is in the latest kernel update package.
     
    globalc likes this.
  15. MK73DS

    MK73DS Non-commutative algebra

    Member
    6
    Feb 23, 2015
    France
    France
    Hi all. I can't get L4T to boot, I don't know what I'm doing wrong, but when I select L4T on Hekate it freezes on a black screen (backlight is on).

    Here is everything I did :
    • Download the img file from OP
    • Use dd to write it to my microSD
    • Copy hekate bootloader folder on the microSD (while keeping L4T.ini)
    • Safely remove my microSD
    • Launch Hekate
    • Select "more configs" and click on "L4T"
    My microSD is a 16GB Sandisk Extreme Plus. I also tried with a 128GB Sandisk Ultra with no success. And I also tried to apply the updates (removing boot and boot.scr and copying the update files on the microSD).

    Thank you for your help
     
  16. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    Well, if the backlight is coming on, it is booting, but there might be an issue with the sd card reader driver and your sd card. It could also be an issue with memory training. I have had some success if I rebooted to horizon before booting into linux, but that was with an sd card I know works.
     
  17. MK73DS

    MK73DS Non-commutative algebra

    Member
    6
    Feb 23, 2015
    France
    France
    Thanks for your help.
    I tried booting to Horizon and then boot into L4T but I'm still stuck on a black screen. The microSD card works fine with Horizon though, I was using it before changing to a 128GB one.
    Do you know what microSD card is known to work with L4T ?
     
  18. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    I have been using a 128gb samsung evo card, but a cheap 16gb sandisk card worked for me as well. I am not sure what the issue is here, as I dont have a way to debug it.
     
  19. bitteorca

    bitteorca Member

    Newcomer
    1
    Jul 12, 2018
    United States
    Another question. I'm trying to install i386 packages from apt-get update as I enabled 32bit architecture. none of it will download. I'm doing so because I'm going to use qemu x86 linux chroot with wine to launch x86 applications. the issue is that all the packages apt-get update tries to get spits back Ign: (which I assume stands for ignore) and a bunch of links to i386 packages from http://turul.canonical.com

    I need them though for qemu-static-i386, what do?

    my sources file in /etc/apt/sources.list.d/99-switchroot.list only lists
    "deb http://repo.switchroot.org unstable/"
    what do I have to add to get these i386 packages for QEMU+Wine?
     
  20. zarkon

    zarkon Newbie

    Newcomer
    2
    Dec 16, 2018
    Italy
    maybe it's incompatible because switch is a arm device?

    Inviato dal mio SM-N9600 utilizzando Tapatalk
     
Loading...