sudo archlinux-java set java-10-openjdk
should work, then install again, it will continue from where it failed
sudo archlinux-java set java-10-openjdk
should work, then install again, it will continue from where it failed
Compiletime about three hours
works fine !
option -noconfirm stopps removal of kodi-matrix-mpp-git
Thanks for your help
Uli
yeah it take some time because it build every binary addon,
but the next update will be 15mins max. only the first build takes time.
by the way, i found some bugs in agr
tool. so you need to update the tool with
python -m pip install https://github.com/hbiyik/agr/archive/master.zip --break-system-packages --force-reinstall
when updated, the tool can self update itself with below command, so you dont need to issue above command anymore once updated.
agr update --agr
Just a question,
will there an update for a newer version of repo 7ji
chromium-mpp-git be.
Regards
Uli
we are discussing here:
both him and myself are a little bit tired by maintaining those, from my pov, maintaining the binary distribution is also another pain, but we will see.
UPDATE:
kodi-nexus-mpp-git
and and kodi-binary-addons-git
packages are now completely separated.Now first time building of kodi takes 45mins, update build takes about 5 minutes
first time building of kodi-binary-addons-git takes 2.5 hours, update build takes around 10 mins.
@Uli_Beling i think you are the only one, if you have previous built kodi, you need uninstall pacman -R kodi-nexus-mpp-git
and reinstall with kodi-nexus-mpp-git
to get updates, because the package names are changed a bit.
moonlight-qt-git
package since the fix for ffmpeg-rockchip
is merged to upstream moonlight. You can use AUR to install moonlight-qt-git
package instead of agr
to update agr:
agr update --agr
to update the system
agr update
It also won’t let me build kodi from AGR even after clearing all my previous builds. I will try the Java fix you mentioned earlier.
::Java fix worked and kodi installed successfully
good, i am working on an update to agr which will provide at least 5x speed improvement. currently it is meant to just work, now i need to make it faster
Does anyone of you guys know a working image with kernel 6.x and hdmi output ?
Radxa , Armbian , Bredos , ARCH ?
regards
Uli
Is there a fix for Firefox? Its the only browser I noticed that freezes/crashes. Librewolf is the alternative I use for now
With the new ffmpeg-rockchip support for firefox is dropped.
Also firefox is getting really slow lately so i kinda lost my appetite to make it work.
But
There is below hack i managed to work out only for h264, but this is ugly and not covering all formats, and ff is slow.
I might work on it i also have some other ideas but, currently you can just use chromium-mpp
There seems to be some issue with hardware decoding not working with ffmpeg-rockchip when playing videos from youtube using mpv+yt-dlp. Local files do work and mpv+yt-dlp hardware decoding works with ffmpeg-mpp.
Did you check the wiki? You need to do flag mpv to use rkmpp qith new ffmpeg-rockchip. It should be few posts above.
Maybe consider adding a section on how to modify mpv.conf
. Many users have become accustomed to the fact that rkmpp has higher priority than software decoder, but they don’t know that this is actually a hack.
Yes, I have put the hwdec=rkmpp etc. flags to mpv.conf. The decoding just fails if trying to play youtube videos. And when using ffmpeg-mpp I have actually deprioritized the hardware codecs from ffmpeg-mpp source because they were giving problems with firefox, and using vd=h264_rkmpp_decoder… parameter to force their use with mpv, as for some reason using hwdec=rkmpp then with ffmpeg-mpp causes mpv to freeze at the end of the video, requiring killing it.
Lines from verbose log that seem to have some relevance to the issue:
[vd] Container reported FPS: 30.000000
[vd] Codec list:
[vd] h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vd] h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
[vd] h264_qsv (h264) - H264 video (Intel Quick Sync Video acceleration)
[vd] h264_rkmpp (h264) - Rockchip MPP (Media Process Platform) H264 decoder
[vd] Opening decoder h264
[vd] Looking at hwdec h264_rkmpp-rkmpp…
[vo/gpu] Loading hwdec drivers for format: ‘drm_prime’
[vo/gpu] Loading hwdec driver ‘drmprime’
[vo/gpu/drmprime] using EGL dmabuf interop
[vo/gpu/drmprime] Using DRM device: /dev/dri/renderD128
[ffmpeg] AVHWDeviceContext: Opened DRM device /dev/dri/renderD128: driver rockchip version 3.0.0.
[vo/gpu] Loading hwdec driver ‘drmprime-overlay’
[vo/gpu/drmprime-overlay] Failed to retrieve DRM fd from native display.
[vo/gpu] Loading failed.
[vd] Trying hardware decoding via h264_rkmpp-rkmpp.
[vd] Using underlying hw-decoder ‘h264_rkmpp’
[ffmpeg] h264_mp4toannexb: The input looks like it is Annex B already
[vd] Pixel formats supported by decoder: drm_prime nv12
[vd] Codec profile: Main (0x4d)
[vd] Hardware decoding of this stream is unsupported?
[vd] Requesting pixfmt ‘nv12’ from decoder.
[ffmpeg/video] h264_rkmpp: Format nv12 chosen by get_format().
[ffmpeg/video] h264_rkmpp: Created a RKMPP hardware device
[vd] Selected codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[ffmpeg] detected 8 logical cores
[vf] User filter list:
[vf] scale_rkrga (scale_rkrga.00)
[cplayer] Starting playback…
[ffmpeg/video] h264_rkmpp: Decoder could not get packet, retrying
[ffmpeg/video] h264_rkmpp: Decoder flushing
[vd] Attempting next decoding method after failure of h264_rkmpp-rkmpp.
[vd] Skipping previously attempted hwdec: h264_rkmpp-rkmpp
[vd] Using software decoding.
Could you send the whole command of mpv so that i can try to reproduce?
[ffmpeg/video] h264_rkmpp: Format nv12 chosen by get_format().
This looks suspicous, should have been drm prime
It seems that the problem only appears with live streams (and maybe recently ended live streams before the standard formats become available).
For example:
mpv --config=no --hwdec=rkmpp --vd-lavc-o=afbc=on --vf=scale_rkrga=force_yuv=8bit --ytdl-format=95/94 “https://youtu.be/BJ3Yv572V1A”
thanks for the feedback, reproduced the error, i think this might be related to recent update of mpp, let me work on it if there is an easy fix.
dmesg
Feb 12 20:14:25 alarm rtkit-daemon[782]: Supervising 0 threads of 0 processes of 0 users.
Feb 12 20:14:25 alarm rtkit-daemon[782]: Supervising 0 threads of 0 processes of 0 users.
Feb 12 20:14:25 alarm rtkit-daemon[782]: Supervising 0 threads of 0 processes of 0 users.
Feb 12 20:14:25 alarm rtkit-daemon[782]: Failed to look up client: No such file or directory
Feb 12 20:14:28 alarm kernel: mpp_rkvdec2 fdc48100.rkvdec-core: resetting...
Feb 12 20:14:28 alarm kernel: mpp_rkvdec2 fdc48100.rkvdec-core: reset done
Feb 12 20:14:28 alarm kernel: mpp_rkvdec2 fdc38100.rkvdec-core: resetting...
Feb 12 20:14:28 alarm kernel: mpp_rkvdec2 fdc38100.rkvdec-core: reset done
Feb 12 20:14:28 alarm kernel: mpp_rkvdec2 fdc48100.rkvdec-core: resetting...
Feb 12 20:14:28 alarm kernel: mpp_rkvdec2 fdc48100.rkvdec-core: reset done
Feb 12 20:14:28 alarm kernel: mpp_rkvdec2 fdc38100.rkvdec-core: resetting...
Feb 12 20:14:28 alarm kernel: mpp_rkvdec2 fdc38100.rkvdec-core: reset done
Feb 12 20:14:28 alarm kernel: mpp_rkvdec2 fdc48100.rkvdec-core: resetting...
Feb 12 20:14:28 alarm kernel: mpp_rkvdec2 fdc48100.rkvdec-core: reset done
Feb 12 20:14:28 alarm kernel: mpp_rkvdec2 fdc38100.rkvdec-core: resetting...
Feb 12 20:14:28 alarm kernel: mpp_rkvdec2 fdc38100.rkvdec-core: reset done
ffmpeg
[ffmpeg/video] vp9_rkmpp: Received a 'errinfo' frame
[ffmpeg/video] vp9_rkmpp: Decoder could not get packet, retrying
[ffmpeg/video] vp9_rkmpp: Decoder could not get packet, retrying
[ffmpeg/video] vp9_rkmpp: Wrote 2576 bytes to decoder
[ffmpeg/video] vp9_rkmpp: Received a 'errinfo' frame
[ffmpeg/video] vp9_rkmpp: Decoder could not get packet, retrying
[ffmpeg/video] vp9_rkmpp: Decoder could not get packet, retrying
[ffmpeg/video] vp9_rkmpp: Wrote 2089 bytes to decoder
[ffmpeg/video] vp9_rkmpp: Received a 'errinfo' frame
[ffmpeg/video] vp9_rkmpp: Decoder could not get packet, retrying
[ffmpeg/video] vp9_rkmpp: Decoder could not get packet, retrying
[ffmpeg/video] vp9_rkmpp: Wrote 2569 bytes to decoder
[ffmpeg/video] vp9_rkmpp: Received a 'errinfo' frame
[ffmpeg/video] vp9_rkmpp: Decoder failed to get frame: -542398533
to reproduce
mpv --msg-level=ffmpeg=trace --profile=fast --config=no --hwdec=rkmpp https://www.youtube.com/watch?v=aqz-KE-bpKQ
happens on vp9 decoder with pther files as well
even crashes the kernel
https://github.com/rockchip-linux/mpp/commit/5cb29df8d369e0d0b42797a7132d365820fd4046 is the culprit.