Ubuntu 22.04 with 3D GPU & Hardware Accelerated Video Playback

image.jpg


Project Page

https://github.com/Joshua-Riek/ubuntu-rockchip

Download Link: Here

Write with Etcher to a micro-sd card and boot.

You will need a USB Keyboard to type in the wifi password until an onscreen keyboard is available.


Ubuntu
Set up Sound
Go to Settings - Sound and change it to the last sound option instead of headphones to get sound.


Netflix/Disney+
To watch Netflix or Disney+ open the Terminal app and copy, paste the following then press Enter.

chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS aarch64 15359.58.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.134 Safari/537.36"


Chromium browser will then open and be spoofed as a ChromeOS browser that supports Netflix.
Open Netflix.com and login.
Use an airmouse, bluetooth remote or USB wireless PC mouse to click on the bottom right square to make the video window fullscreen.


Kodi
Install Kodi by running the following command in Terminal
sudo apt install ubuntu-desktop kodi

Log out of Ubuntu
On the Login screen, click on your username.
At the bottom right corner, click on the square and change it to Kodi Wayland
Now login with your password
It will boot to Kodi
To boot to Ubuntu again, click the bottom right square and change it back to Ubuntu.


Change Kodi Settings

  •                 From within Kodi go to Settings -> Player -> Videos go to the bottom left corner of the screen and change it from Standard to Expert.
  •                 From within Kodi go to Settings -> Player -> Videos, Playback, and change Adjust display refresh rate to “On start/stop”
  •                 From within Kodi go to Settings -> Player -> Videos, Processing, enable "Allow using DRM PRIME decoder" and "Allow hardware acceleration with DRM PRIME". And set "PRIME Render Method" to "Direct To Plane"
  •                 From within Kodi goto Settings -> System -> Display, and change the resolution to 1920x1080p for better speed but not needed.
  •                 From within Kodi goto Settings -> System -> Audio, and change the Audio output device to “Built in Audio Digital Stereo (HDMI), the last item”