Aggiorna README.md

This commit is contained in:
Fabio 2025-08-26 22:15:02 +08:00
parent f769b55b90
commit 89cf3f7686

View file

@ -1,20 +1,20 @@
# Mesa 25.2 on RK3588 (Mali G610) in Debian 12 # Mesa 25.2 on RK3588 (Mali G610) in Debian 12
## -- 01 Setup AmazingFate Panfork-Mesa repo for mali-g610-firmware 01 ## 01 Setup AmazingFate Panfork-Mesa repo for mali-g610-firmware 01
### 1A: import gpg key and use it to sign repo ### 1A: import gpg key and use it to sign repo
''' ```
wget -qO - https://download.opensuse.org/repositories/home:/amazingfate:/panfork-mesa/Debian_12/Release.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/panfork-mesa.gpg wget -qO - https://download.opensuse.org/repositories/home:/amazingfate:/panfork-mesa/Debian_12/Release.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/panfork-mesa.gpg
''' ```
### 1B: Add Repo to apt sources & update ### 1B: Add Repo to apt sources & update
''' ```
echo "deb https://download.opensuse.org/repositories/home:/amazingfate:/panfork-mesa/Debian_12/ /" | sudo tee /etc/apt/sources.list.d/panfork-mesa.list echo "deb https://download.opensuse.org/repositories/home:/amazingfate:/panfork-mesa/Debian_12/ /" | sudo tee /etc/apt/sources.list.d/panfork-mesa.list
sudo apt update sudo apt update
''' ```
### 1C: Install firmware ### 1C: Install firmware
@ -27,7 +27,7 @@ sudo apt update
sudo rm -rf /etc/apt/trusted.gpg.d/panfork-mesa.gpg sudo rm -rf /etc/apt/trusted.gpg.d/panfork-mesa.gpg
## -- 02 Enable Debian Experimental Repo for recent Mesa Packages 02 ## 02 Enable Debian Experimental Repo for recent Mesa Packages 02
sudo nano /etc/apt/sources.list sudo nano /etc/apt/sources.list
@ -56,26 +56,26 @@ Remove the following and update apt...
sudo apt update sudo apt update
## -- 03 Add rockchip-multimedia Ubuntu Repo to Apt 03 -- ## 03 Add rockchip-multimedia Ubuntu Repo to Apt 03 --
''' ```
echo "deb [arch=arm64] https://ppa.launchpadcontent.net/liujianfeng1994/rockchip-multimedia/ubuntu jammy main" | sudo tee /etc/apt/sources.list.d/rockchip-multimedia.list echo "deb [arch=arm64] https://ppa.launchpadcontent.net/liujianfeng1994/rockchip-multimedia/ubuntu jammy main" | sudo tee /etc/apt/sources.list.d/rockchip-multimedia.list
''' ```
### 3A: Download Key and add convert to gpg ### 3A: Download Key and add convert to gpg
''' ```
curl -o rockchip-multimedia.asc "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8065BE1FC67AABDE" curl -o rockchip-multimedia.asc "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8065BE1FC67AABDE"
gpg --dearmor rockchip-multimedia.asc gpg --dearmor rockchip-multimedia.asc
sudo mv rockchip-multimedia.asc.gpg /etc/apt/keyrings/rockchip-multimedia.gpg sudo mv rockchip-multimedia.asc.gpg /etc/apt/keyrings/rockchip-multimedia.gpg
''' ```
### 3B: Add PPA Repo and update ### 3B: Add PPA Repo and update
''' ```
echo "deb [arch=arm64 signed-by=/etc/apt/keyrings/rockchip-multimedia.gpg] https://ppa.launchpadcontent.net/liujianfeng1994/rockchip-multimedia/ubuntu jammy main" | sudo tee /etc/apt/sources.list.d/rockchip-multimedia.list echo "deb [arch=arm64 signed-by=/etc/apt/keyrings/rockchip-multimedia.gpg] https://ppa.launchpadcontent.net/liujianfeng1994/rockchip-multimedia/ubuntu jammy main" | sudo tee /etc/apt/sources.list.d/rockchip-multimedia.list
sudo apt update sudo apt update
''' ```
### 3C: Install packages ### 3C: Install packages
@ -88,7 +88,7 @@ sudo apt update
sudo apt update sudo apt update
## -- 04 Optimize XFCE/Xorg and Reboot 04 -- ## 04 Optimize XFCE/Xorg and Reboot 04 --
### 4A: Open default xorg config ### 4A: Open default xorg config
@ -97,7 +97,7 @@ sudo apt update
Add the following... Add the following...
''' ```
Section "Device" Section "Device"
Identifier "Mali-G610" Identifier "Mali-G610"
Driver "modesetting" Driver "modesetting"
@ -106,7 +106,7 @@ Section "Device"
Option "PageFlip" "on" # Reduces tearing Option "PageFlip" "on" # Reduces tearing
Option "TearFree" "true" # Xfce-specific anti-tearing Option "TearFree" "true" # Xfce-specific anti-tearing
EndSection EndSection
''' ```
### 4B: Add XFCE Specific tweaks ### 4B: Add XFCE Specific tweaks
@ -115,7 +115,7 @@ EndSection
Add the following... Add the following...
''' ```
Section "Extensions" Section "Extensions"
Option "COMPOSITE" "Enable" Option "COMPOSITE" "Enable"
EndSection EndSection
@ -123,7 +123,7 @@ EndSection
Section "ServerFlags" Section "ServerFlags"
Option "AutoAddGPU" "off" # Prevents duplicate GPU detection Option "AutoAddGPU" "off" # Prevents duplicate GPU detection
EndSection EndSection
''' ```
### 4C: Reboot ### 4C: Reboot