Closed JFLim1 closed 3 months ago
With b07-dev? I noticed this issue with the installer but I am not sure what’s causing this issue with pacman as the same configuration works on an existing system.
You can set SigLevel = Never to the repository
Update: Just reflash the image
With b07-dev?
No. Use it on an existing Archlinuxarm image following the prescribed instructions:
Direct trust
import my signing key:
sudo pacman-key --recv-keys B669E3B56B3DC918 sudo pacman-key --lsign B669E3B56B3DC918
add the following session in your /etc/pacman.conf:
[experimental] Server = https://github.com/kwankiu/archlinux-installer-rock5/releases/download/experimental
I suppose the headers is not required if just wanted to test Panthor. Below installation command is sufficient get "panthor" working?
sudo pacman -S linux-aarch64-rockchip-bsp6.1-joshua-panthor-git mesa-panfrost-git
With b07-dev?
No. Use it on an existing Archlinuxarm image following the prescribed instructions:
Direct trust import my signing key: sudo pacman-key --recv-keys B669E3B56B3DC918 sudo pacman-key --lsign B669E3B56B3DC918 add the following session in your /etc/pacman.conf: [experimental] Server = https://github.com/kwankiu/archlinux-installer-rock5/releases/download/experimental
I suppose the headers is not required if just wanted to test Panthor. Below installation command is sufficient get "panthor" working?
sudo pacman -S linux-aarch64-rockchip-bsp6.1-joshua-panthor-git mesa-panfrost-git
Hmm, interesting because i had this working on existing system, you can set SigLevel= Never and it should work.
you can set SigLevel= Never and it should work
Hi @kwankiu , Thanks. This did the trick to install "headers".
But when I tried to install "mesa-panfrost-git" encountered dependency error: "mesa-panfork-git required by mpv-git"
sudo pacman -S mesa-panfrost-git
resolving dependencies...
looking for conflicting packages...
:: mesa-panfrost-git-r185439.bfafaa944e3-1 and mesa-panfork-git-r164484.120202c6757-2 are in conflict (mesa-libgl). Remove mesa-panfork-git? [y/N] Y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing mesa-panfork-git breaks dependency 'mesa-panfork-git' required by mpv-git
Does mpv-git works with "mesa-panfrost-git" with vpu hw acceleration?
My device is Opi5-Plus.
Umm I don’t see Mesa is dependency of mpv-git
@hbiyik any idea?
@JFLim1 this repository will no longer be updated. Please check out the new repository: https://github.com/kwankiu/PKGBUILDs/releases/tag/experimental
Hi @kwankiu,
Thank you for the new repo.
Force install "mesa-panfrost-git" with:
sudo pacman -S mesa-panfrost-git -dd
Installation was successful. mpv-git works with vpu hw acceleration but with a twist on inux-aarch64-rockchip-bsp6.1-joshua-panthor-git.
With /etc/mpv/mpv.conf:
# hwdec=rkmpp
hwdec=auto
# Specify default video output.
#vo=gpu
vo=gpu-next
# Use X11 backend, its much faster than wayland
gpu-context=x11egl
# This is required, removing will increase droped frames
vf-add=fps=60:round=near
#10-bit/HDR decoding is broken without this.
vf-add=scale_rkrga=force_yuv=auto
# 10-bit/HDR decoding is broken without this
vf-add=scale_rkrga=force_yuv=auto
# Limit Resolution up to 2160p/60 Only
ytdl-format=bestvideo[height<=?2160][fps<=?60]+bestaudio/best
With "gpu-context=x11egl" enabled mpv-git will "stutter" (not smooth) for video with resolution greater than 1080/60 and at times have artifacts.
With mesa-panfork-git and kernel-5.10.160 or kernel-6.1.43 (non-panthor), "gpu-context=x11egl" actually improve video performance with significant reduction in frames dropped or no frames dropped when streaming Youtube 4K/60.
If comment out #gpu-context=x11egl, mpv-git with kernel-6.1.43-joshua-panthor 1080/60 smoothly but on 4K/60 have reasonably high dropped frames.
[jfl@opi5plus ~]$ mpv https://www.youtube.com/watch?v=7PIji8OubXU
mpv: /usr/lib/libxkbcommon.so.0: no version information available (required by mpv)
(+) Video --vid=1 (*) (vp9 3840x2160 60.000fps)
(+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
File tags:
Uploader: 8K Earth
Channel_URL: https://www.youtube.com/channel/UChB3UnDddahXU7FKZXmpzMA
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[ffmpeg/video] vp9_rkmpp: An invalid frame was output by a decoder. This is a bug, please report it.
Error while decoding frame (hardware decoding)!
Using hardware decoding (rkmpp).
rga_api version 1.10.0_[8]
AO: [pipewire] 48000Hz stereo 2ch floatp
VO: [gpu-next] 3840x2160 drm_prime[p010]
AV: 00:12:15 / 00:12:16 (100%) A-V: 0.000 Dropped: 1414 Cache: 0.0s
Exiting... (End of file)
[jfl@opi5plus ~]$
Did not install "chromium-mpp" to test vpu hw acceleration on Chromium-mpp. Currently using normal Chromium Version 123.0.6312.86..
Edit: With CPU and GPU Governors set to performance. mpv-git dropped frames reduces significantly.
echo performance | sudo tee /sys/bus/cpu/devices/cpu[046]/cpufreq/scaling_governor /sys/class/devfreq/fb000000.gpu/governor
Sorry to have trouble you. Earlier had used:
sudo echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
Which did not seems to resolve the high drop frames with 4K/60 Youtube videos.
Hi @kwankiu,
Tried to install
linux-aarch64-rockchip-bsp6.1-joshua-panthor-git-6.1.43.r1266140.c30a5f70a982-1 linux-aarch64-rockchip-bsp6.1-joshua-panthor-git-headers-6.1.43.r1266140.c30a5f70a982-1
But encountered error:
Packages (2) linux-aarch64-rockchip-bsp6.1-joshua-panthor-git-6.1.43.r1266140.c30a5f70a982-1 linux-aarch64-rockchip-bsp6.1-joshua-panthor-git-headers-6.1.43.r1266140.c30a5f70a982-1
Total Download Size: 10.80 MiB Total Installed Size: 253.79 MiB