1. 597,720

    2,497
    Front-page
    [​IMG]
    L4T Ubuntu 3.0.1
    Intro
    L4T Ubuntu is a version of Linux based on nvidia's linux for tegra project. It uses a different kernel compared to previous releases which allows it to use features not yet in mainline. Such as audio, docking support and vulkan.

    Beware, using high clocks in handheld mode will degrade your batteries capacity a lot faster than at stock clocks

    If you can't install an application check this thread, and ask all questions there https://gbatemp.net/threads/l4t-ubuntu-applcation-install-guides.537579/

    Features
    • Dock support with USB
    • Bluetooth (both controllers and audio)
    • Full Joycon Support(Excluding NFC, and IRcamera)
    • Nvidia GPU drivers - Vulkan and OpenGL
    • Audio - Headphones, speakers and over HDMI when docked.
    • Touchscreen
    • Display
    • WiFi
    • CPU frequency scaling - The CPU scales from 200mhz to 1.7ghz (what switch is binned for) depending on the load its under. Fans are adjusted to account for this
    • Full sdcard speed
    • Hardware video acceleration when using the built in videos app (means you can watch videos without battery draining massively)
    • Overclocking
    • LP0 Sleep mode
    • IMU/Ambiant Light sensor support
    • Quick Charging
    • reboot2payload
    • Minerva Memory Training
    • Support for Moonlight-QT
    Prerequisites
    • A dedicated 16GB+ sdcard
    Downloads
    Torrent Links can be found here:
    https://torrents.switchroot.org/ubuntu/

    Updates

    https://download.switchroot.org/ubu...or-switchroot-l4t-ubuntu-3.0.0-2020-03-02.zip
    1. Remove l4t-ubuntu folder and bootloader\ini\01-ubuntu.ini from fat32 partition on sdcard.
    2. Extract zip to fat32 partition on sdcard.
    3. Dump joycon pairing info in hekate.
    4. Boot.
    How to install:
    1. Download the image(Full with extra dev/cuda stuff, lite like old image) you want from the downloads section and extract.
    2. Write it to your sdcard using a program such as etcher or dd
    3. Apply any updates from the updates section in the thread, IMPORTANT as images don't EVER come with them
    4. Boot hekate and select L4T from the configs menu.
    5. Wait for around 2-4 minutes while it initially loads
    6. Go through the setup process - make sure not to dock the console in this period.
    7. Once the initial setup is finished and you are on the login screen it is advisable to reboot:
    8. Load hekate again and select L4T as a payload.
    9. Log in and open the "Disks" app
    10. Select the second partition of your sdcard and click the gears icon
    11. Choose resize and change the size to the full amount of available space.
    12. Enjoy, you now have fully featured Ubuntu on your switch!
    Bugs
    • Docking while having a ssh session open can cause the display to not turn off correctly(not sure if this still applies)
    • USB OTG - works fine in dock though
    • Vulkan is buggy in dolphin..... Use Ishuriika it works better.
    • The real time clock gets messed up in horizon (not sure if this still applies)
    • Pair (joy/pro)cons by opening the bluetooth menu in settings and pressing the + button in the bottom left corner. Then press the sync button on the controller and select its name in the pairing window. Once both joycons are paired press each of their shoulder buttons to use as one controller
    • To update the system run "sudo apt update", "sudo apt upgrade". This will apply all switch and ubuntu updates aside from kernel updates, they will be posted here if ever needed.
    • To limit cpu freq, run cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies. Find the one you want, then run: echo <freq you want> | sudo tee /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq
    • To force max freq run echo performance | sudo tee /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
    • A gui to configure overclocks and fan profiles is coming soon
    • NEW: To activate 2 ghz mode run
      Code:
      echo 1 | sudo tee /sys/kernel/tegra_cpufreq/overclock
      echo 2091000  | sudo tee /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq
      then run the command to force max freq if you want to use anything intensive.
    • To always use 2.0ghz mode copy
      Code:
      echo 1 > /sys/kernel/tegra_cpufreq/overclock
      echo  2091000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq
      
      to /etc/rc.local before the exit 0 line


    Sources
    They can all be found at https://gitlab.com/switchroot with the other kernel repos on http://nv-tegra.nvidia.com

    Use these scripts if you want to build your own kernel: https://gitlab.com/switchroot/kernel/l4t-kernel-build-scripts/tree/test

    Get firmware files from lakka-switch github and place them in /lib/firmware on the kernel build machine, or it will fail to build. You can use these scripts to build kernels for other linux distros as well.

    For what it is worth, the current kernel in the image is built without cypress-wifi, and I plan on adding a ton more modules for hardware expansion. This is still basically the same config from 1.3.1 update, with a few minor changes for new drivers.


    Credits
    Bylaws,
    Langerhans,
    Ave,
    Natinusala,
    CTCaer,
    Gavin_Darkglider,
    DanielOgorchock(Joycon drivers/joycond),
    stary2001 (reboot2payload),
    NVIDIA,
    Everyone else in switchroot - more info on that in the future.
     
    gerard3d, feral, Mar2ck and 166 others like this.
  2. Discussion (2,497 replies)

  3. bylaws

    OP bylaws GBAtemp Regular
    Member

    Joined:
    Dec 11, 2018
    Messages:
    129
    Country:
    United Kingdom
    Reserved
     
    Tyvar1, NoNAND, lordelan and 11 others like this.
  4. the_randomizer

    the_randomizer The Temp's official fox whisperer
    Member

    Joined:
    Apr 29, 2011
    Messages:
    29,843
    Country:
    United States
    Pretty cool stuff
     
  5. Memoir

    Memoir Hi, I'm Cynical!
    Member

    Joined:
    Jun 24, 2007
    Messages:
    10,036
    Country:
    United States
    Is... Is this real? Like... REALLY REAL?
     
    Tyvar1, NoNAND, Xabring and 6 others like this.
  6. hallo23

    hallo23 GBAtemp Regular
    Member

    Joined:
    Sep 13, 2009
    Messages:
    143
    Country:
    Germany
    Damn I really wanna try this out.
    Now I have to decide if I wanna sacrifice a Sd card for that >.<

    I'm really curious how good a video player works with it.
    If someone is trying this out pls test a video player for me <3 (Especially high bitrate 1080p files)
     
    Last edited by hallo23, Apr 28, 2019
    Monti64 likes this.
  7. stick267

    stick267 GBAtemp Advanced Fan
    Member

    Joined:
    Dec 17, 2018
    Messages:
    598
    Country:
    United States
    Let's goooooo. Thanks @bylaws.

    FYI Dolphin Ishiiruka works much better with Vulkan than stock Dolphin.

    https://github.com/Tinob/Ishiiruka

    To install, run this command first to get all of the dependencies for it:
    sudo apt install git cmake ffmpeg libavcodec-dev libevdev-dev libusb-1.0-0-dev libavformat-dev libswscale-dev libsfml-dev libminiupnpc-dev libmbedtls-dev curl libhidapi-dev libwxbase3.0-dev libwxgtk3.0-dev libpangocairo-1.0-0 libgtk2.0-dev libbluetooth-dev qt5-default qtbase5-private-dev libudev-dev
    Then follow the Linux Global Build instructions in the repo to compile/install.
     
    Last edited by stick267, May 1, 2019
  8. CTCaer

    CTCaer Developer
    Developer

    Joined:
    Mar 22, 2008
    Messages:
    1,154
    Country:
    Greece
    Gratz for release!
     
  9. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08
    Member

    Joined:
    Mar 17, 2010
    Messages:
    19,810
    Country:
    Norway
    Damn, this looks nice. But is it possible to customize the OC? I don't really feel comfortable OCing my Switch. At least not by that much.
    What's the FPS like?
     
    Last edited by The Real Jdbye, Apr 28, 2019
    Deleted_413010 and JavaScribe like this.
  10. Metion

    Metion Advanced Member
    Newcomer

    Joined:
    Oct 26, 2015
    Messages:
    70
    Country:
    Italy
    Thank you, i was waiting an updated linux build for a while.
    If you could use the wired joycons as a mouse it would be the perfect portable linux machine
     
    Deleted_413010 and Memoir like this.
  11. eriol33

    eriol33 GBAtemp Advanced Fan
    Member

    Joined:
    Jan 2, 2014
    Messages:
    984
    Country:
    Indonesia
    can someone check whether dolphin or cemu runs well?
     
  12. bottmint

    bottmint Advanced Member
    Newcomer

    Joined:
    Oct 28, 2017
    Messages:
    87
    Country:
    United States
    Works wonderfully! Thanks to all the contributors to this!

    From the videos I've played (docked), it runs well, amd the picture looks great! You could likely back up your card, flash the image, resize the fat 32 partition to suit your needs, amd leave some space to resize the ext4 partition once you're done with the initial setup. Horizon only looks for the first fat32/exfat partition, afaik.

    The touchscreen works fairly well.
     
    Last edited by bottmint, Apr 28, 2019
    Monti64, Metion and hallo23 like this.
  13. ZachyCatGames

    ZachyCatGames GBAtemp Addict
    Member

    Joined:
    Jun 19, 2018
    Messages:
    2,926
    Country:
    United States
    Dolphin runs decently. Running cemu isn’t possible
     
    eriol33 likes this.
  14. bylaws

    OP bylaws GBAtemp Regular
    Member

    Joined:
    Dec 11, 2018
    Messages:
    129
    Country:
    United Kingdom
    posted in info section.

    Fps is like 27in WW but if you turn emulated clock down you can get to 30 in some places
     
    Last edited by bylaws, Apr 28, 2019
  15. stick267

    stick267 GBAtemp Advanced Fan
    Member

    Joined:
    Dec 17, 2018
    Messages:
    598
    Country:
    United States
    Dolphin is solid with Vulkan. Using an earlier build, I played through Dragon Roost Cavern in Wind Waker. Usually around 25fps, but full 30fps on occasion. ~20fps pretty often inside Dragon Roost Cavern.

    Skip to ~9:00 in this video to see a few mins on Outset Island.
    https://www.dailymotion.com/video/x76a6vf
     
    Last edited by stick267, Apr 28, 2019
    Tyvar1, bonoboy, Victorum and 12 others like this.
  16. StarGazerTom

    StarGazerTom GBAtemp Addict
    Member

    Joined:
    Feb 2, 2015
    Messages:
    2,028
    Country:
    Oh FUCK! I'mma get this right now to try!

    I hope that they can figure out how to get the joycons to work while connected to the system, else it makes it a little less Portable friendly.
     
    Last edited by StarGazerTom, Apr 28, 2019
  17. Tumoche

    Tumoche GBAtemp Regular
    Member

    Joined:
    Apr 30, 2017
    Messages:
    187
    Country:
    Spain
    I have a switch with a dead screen. Will this work or I need the screen to select something somewhere?
    Edit: on the dock of course.
     
    Last edited by Tumoche, Apr 28, 2019
    SwordfishII likes this.
  18. GibboHull

    GibboHull Member
    Newcomer

    Joined:
    Apr 4, 2019
    Messages:
    25
    Country:
    United Kingdom
    I regularly use in home switching to play games, in fact it's probably what I use my switch for the most at the minute.

    Does anyone know if it would perform better if I ran the Linux moonlight client through this, especially with the sound support and video acceleration, or would I be better off just carrying on as I am?
     
  19. wiewiec

    wiewiec GBAtemp Advanced Fan
    Member

    Joined:
    Dec 24, 2015
    Messages:
    765
    Country:
    Poland
    Brilliant! Android and Linux - great stuff comes to Switch. I love it and no matter that Nintendo have it as port machine from dead Wii U.
     
  20. Techjunky90

    Techjunky90 GBAtemp Fan
    Member

    Joined:
    Apr 7, 2017
    Messages:
    487
    Country:
    United States
    So, does Kodi work using hardware acceleration?
     
  21. bottmint

    bottmint Advanced Member
    Newcomer

    Joined:
    Oct 28, 2017
    Messages:
    87
    Country:
    United States
    You need the screen for the initial setup. If you have a switch with a working screen, or can borrow one for the setup, that should work and get you to the desktop. A usb keyboard will be handy for docked mode.
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - featured, Ubuntu, switch