[SWITCH] Released L4T Ubuntu V1.3.1

The amazing Ubuntu operating system comes to Nintendo Switch with L4T Ubuntu with a new version 1.3.1

What is L4T Ubuntu

L4T Ubuntu is a Linux version based on linux of nvidia for the tegra project. It uses a different kernel than previous versions which allows it to use features not yet in the main line. As audio, docking and vulkan support.

Attention, the use of clocks in portable mode will reduce the capacity of the batteries much more quickly than with standard watches. 
If it is not possible to install an application, check this thread and ask all the questions there  https://gbatemp.net/threads / l4t-ubuntu -applcation-install-guides.537579 /

Features

  • Dock support with USB
  • Bluetooth (both controllers and audio)
  • Nvidia GPU drivers – Vulkan and OpenGL
  • Audio – Headphones, speakers and HDMI when connected.
  • Joycons and pro controllers are fully supported when they are not connected to the console
  • Touch screen
  • Display
  • Wifi
  • Resizing the CPU frequency: the CPU scales from 200 mhz to 1.7 gz (depending on the load used). The fans are adjusted to take this into account
  • Full speed of the sdcard
  • Hardware video acceleration when using the integrated video app (meaning you can watch videos without massive battery power)

Prerequisites

  • A dedicated 16 GB + sdcard

How to install

  1. Download the image from the download section and extract.
  2. Write it on your sdcard using a program as an engraver or dd
  3. Apply all updates from the updates section in the discussion, IMPORTANT as the images NEVER arrive with them
  4. Boot hekate and select L4T from the configs menu.
  5. Wait about 2-4 minutes during the initial load
  6. Go through the installation process – make sure you don’t hang up the console during this time.
  7. Once the initial configuration is finished and you are in the login screen, it is advisable to restart:
  8. Press and hold the power button for 10 seconds.
  9. Load hekate again and select L4T as payload.
  10. Sign in and open the “Dischi” app
  11. Select the second partition of your sdcard and click on the gear icon
  12. Choose resizing and change the size up to the total amount of available space.
  13. Have fun, now you have completely INSTALLED Ubuntu on your switch!

bugs

  • Wired joycons do not work (connected to the console)
  • Anchoring while opening an ssh session may cause the screen to not turn off
  • USB OTG: works well in the dock
  • Vulkan is fooled by the dolphin
  • The touch locks randomly sometimes
  • The real-time clock is messed up on the horizon

Various informations

  • Pair (JOY / pro) by opening the Bluetooth menu in the settings and pressing the + button in the lower left corner. Then press the sync button on the controller and select its name in the association window. Once both joycons are paired, press each of their buttons to use them as a single controller
  • To update the system, run “sudo apt update”, “sudo apt upgrade”. This will apply all switch and ubuntu updates as well as kernel updates, they will be published here if ever needed.
  • To limit cpu freq, run cat / sys / devices / system / cpu / cpufreq / policy0 / scaling_available_frequencies. Find what you want, then run: echo <freq you want> | sudo tee / sys / devices / system / cpu / cpufreq / policy0 / scaling_max_freq
  • To force max freq perform echo | sudo tee / sys / devices / system / cpu / cpufreq / policy0 / scaling_governor
  • A gui to configure overclocks and fan profiles is coming
  • NEW: to activate the 2 ghz mode
    echo 1  | sudo tee / sys / kernel / tegra_cpufreq / overclock
    echo 2091000   | sudo tee / sys / devices / system / cpu / cpufreq / policy0 / scaling_max_freq

    then execute the command to force max freq if you want to use something intense.

  • To always use the copy in 2.0ghz mode
    #! / bin / bash 
    echo 1  >  / sys / kernel / tegra_cpufreq / overclock
    echo   2091000  >  / sys / devices / system / cpu / cpufreq / policy0 / scaling_max_freq
     exit  0

    su /etc/rc.local (you will need root to create)

Changelog

  • 1.1:
  • Enables USB and binfmt mass storage in the kernel.
  • Fixed touch sensitivity and did not reach the bottom edge.
  • Fixed problems with joycon / procon, right stick and y-axis
  • Problems potentially solved with sdcards, if someone didn’t work before trying again, if still not then pm me.
  • 1.2:
  • Enabled ntfs, nfs, squashfs (snaps can work now), ethernet drivers in the kernel.
  • Added 2.0ghz overclock.
  • Enabled the android ashmem drivers, necessary for anbox (need arm64 ver of it and can be executed)
  • Problems potentially solved with sdcards, if someone didn’t work before trying again.
  • I am no longer in conflict with lakka.
  • Check the miscellaneous information section on how to activate the 2ghz mode.
  • 1.3
  • All iptables and bridge files enabled in the kernel.
  • Added SLEEP support (press the power button), note that the device may wake up randomly and log out if sleep is activated during login, if this happens, please enter and upload the contents of / var / log / syslog.
  • Sending on sdcards, those routes will not work anyway.
  • Recharging now takes place faster.
  • Probably more things than I remember.
  • 1.3.1
  • Reduced battery usage during sleep mode

Download

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

GBAtemp