Difference between revisions of "Template:UbuntuJammyDesktop-WithHDMI"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
 
(updated by API)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
===Disable Automatic Login===
 +
Edit the /etc/gdm3/custom.conf file, set AutomaticLoginEnable to false:
 +
<syntaxhighlight lang="bash">
 +
[daemon]
 +
AutomaticLoginEnable = false
 +
</syntaxhighlight>
 
===WiFi Connection===
 
===WiFi Connection===
 
====Gui====
 
====Gui====
Line 6: Line 12:
  
 
===Test OpenGL ES===
 
===Test OpenGL ES===
You can test it by clicking on the Terminator icon to start a commandline utility in the System Tools and run the following commands:
+
First, change the CPU governor to performance:
 +
<syntaxhighlight lang="bash">
 +
sudo sh -c 'echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor'
 +
sudo sh -c 'echo performance > /sys/devices/system/cpu/cpufreq/policy4/scaling_governor'
 +
sudo sh -c 'echo performance > /sys/devices/system/cpu/cpufreq/policy6/scaling_governor'
 +
</syntaxhighlight>
 +
Start glmark2-es2-wayland:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
glmark2-es2-wayland
 
glmark2-es2-wayland
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
===Chromium web browser===
 +
====GPU====
 +
Chromium web browser has enabled hardware acceleration by default, supports WebGL, and can view hardware acceleration details by entering the URL chrome://gpu, as shown below:<br />
 +
[[File:rk35xx-ubuntu-chromium-gpu.png|frameless|400px]]
 +
====VPU====
 +
Play a video in the browser, then use fuser on the command line to view the mpp device node to confirm that the vpu interface is being called:
 +
<syntaxhighlight lang="bash">
 +
pi@FriendlyElec:~$ fuser /dev/mpp_service
 +
/dev/mpp_service:    3258
 +
</syntaxhighlight>
 +
If there is no content output from the fuser command, it means software decoding.
 +
 +
====Check Supported Hardware Decoding Formats====
 +
Enter about://gpu in your browser's address bar and scroll to the bottom of the page to view the "Video Acceleration Information" table. <br />
 +
After playing a video, enter about://media-internals in your browser's address bar to check if hardware decoding was enabled for the most recent playback. <br />

Latest revision as of 02:58, 22 September 2023

1 Disable Automatic Login

Edit the /etc/gdm3/custom.conf file, set AutomaticLoginEnable to false:

[daemon]
AutomaticLoginEnable = false

2 WiFi Connection

2.1 Gui

Click on the icon on the top right in the FriendlyDesktop's main window, select your wanted WiFi hotspot and proceed with prompts

2.2 Console

Please visit: Use NetworkManager to configure network settings

3 Test OpenGL ES

First, change the CPU governor to performance:

sudo sh -c 'echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor'
sudo sh -c 'echo performance > /sys/devices/system/cpu/cpufreq/policy4/scaling_governor'
sudo sh -c 'echo performance > /sys/devices/system/cpu/cpufreq/policy6/scaling_governor'

Start glmark2-es2-wayland:

glmark2-es2-wayland

4 Chromium web browser

4.1 GPU

Chromium web browser has enabled hardware acceleration by default, supports WebGL, and can view hardware acceleration details by entering the URL chrome://gpu, as shown below:
Rk35xx-ubuntu-chromium-gpu.png

4.2 VPU

Play a video in the browser, then use fuser on the command line to view the mpp device node to confirm that the vpu interface is being called:

pi@FriendlyElec:~$ fuser /dev/mpp_service
/dev/mpp_service:     3258

If there is no content output from the fuser command, it means software decoding.

4.3 Check Supported Hardware Decoding Formats

Enter about://gpu in your browser's address bar and scroll to the bottom of the page to view the "Video Acceleration Information" table.
After playing a video, enter about://media-internals in your browser's address bar to check if hardware decoding was enabled for the most recent playback.