Jump to content

haven

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by haven

  1. of course you are right, as stated above I installed your repository for v4l2request hardware video decoding but I got stuck with the lima bug, and the pinkish videos do not satisfy me enough So after having hw decode in gstreamer, still kodi not using HW codec. The option to use DRM in settings/player is missing,so decided to rebuild kodi on my own, from repository: https://launchpad.net/~liujianfeng1994/+archive/ubuntu/rockchip-multimedia/+packages
  2. Good results with legacy kernel on Jammy! Temporarly abandoned the mpv configuration and started working on gstreamer. Now able to play and decode succesfully a 1080p video using gstreamer and hw decoder, using the following command: //install missing gst plugin apt-get install gstreamer1.0-plugins-bad //play mkv h264 file gst-launch-1.0 filesrc location=test_video.mkv ! matroskademux name=demux demux.audio_0 ! decodebin \ ! queue ! audioconvert ! pulsesink device=0 demux.video_0 ! queue ! parsebin ! mppvideodec width=1920 height=1000 ! rkximagesink Note: do not install and update packages from this repository, otherwise the X11 server will not start anymore, due to a probably buggy mesa or mali driver. sudo add-apt-repository ppa:liujianfeng1994/panfork-mesa This would overwirte the libraries hereunder: Setting up libgbm1:arm64 (23.0.4-0ubuntu1~22.04.1) ... Setting up libglapi-mesa:arm64 (23.0.4-0ubuntu1~22.04.1) ... Setting up libllvm15:arm64 (1:15.0.7-0ubuntu0.22.04.3) ... Setting up libgl1-mesa-dri:arm64 (23.0.4-0ubuntu1~22.04.1) ... Setting up libegl-mesa0:arm64 (23.0.4-0ubuntu1~22.04.1) ... Setting up libglx-mesa0:arm64 (23.0.4-0ubuntu1~22.04.1) ...
  3. yes the box is the one linked above. Now doing some test with legacy kernel on ubuntu jammy. Used armbian-config to switch to legacy kernel: 4.4.213-legacy-rockchip64 Then following instructions on: https://launchpad.net/~liujianfeng1994/+archive/ubuntu/rockchip-multimedia sudo add-apt-repository ppa:liujianfeng1994/rockchip-multimedia sudo apt update sudo apt dist-upgrade sudo apt install rockchip-multimedia-config then installed kodi from repository, seems using HW codec RKMPP but the result is bad, many frames dropped and color drift to blue. Will do some more tests.
  4. Installed the suggested package, and installation was flawless. Now able to play hw accelerated video with mpv: mpv --vo=gpu --hwdec=drm --gpu-context=x11egl --gpu-hwdec-interop=drmprime <your-video.mp4> but confirm the bug described here: Lima driver (Mali 400/450) shows a red/pink tint when video is played in X11/Wayland (see https://github.com/mpv-player/mpv/issues/12968) Using drm gives error # Hardware decoded video running on bare terminal, presentation via EGL mpv --vo=gpu --hwdec=drm --gpu-context=drm --gpu-hwdec-interop=drmprime <your-video.mp4> Able to play video with option: --drm-atomic=no but too many frames dropped and video scattering
  5. update New sd-card with Armbian Jammy 6.1.63-current-rockchip64 image with xfce desktop. Removed unused app, installed x11vnc and samba server - ok Working on LEDS: the front LCD display remains black. Downloaded, compiled and installed OpenVfd Controllers seems a FD628: # xxd -g4 /proc/device-tree/fd628_dev/fd628_gpio_clk 00000000: 0000007a 00000010 00000000 ...z........ # xxd -g4 /proc/device-tree/fd628_dev/fd628_gpio_dat 00000000: 0000007a 0000000f 00000000 ...z........ In vfd.conf using: vfd_gpio_clk='2,0x0D,0' vfd_gpio_dat='2,0x10,0' vfd_gpio_stb='2,0x0C,0' vfd_display_type='0x00,0x00,0x00,0x00' vfd_display_type .. don't know what to put here, i tried randomly some combination. Still no result, display always black, no errors in dmesg: [ 4588.555218] openvfd: loading out-of-tree module taints kernel. [ 4588.557647] OpenVFD: Version: V1.4.4 [ 4588.557675] OpenVFD: vfd_gpio_clk: #0 = 0x02; #1 = 0x0D; #2 = 0x00; [ 4588.557683] OpenVFD: vfd_gpio_dat: #0 = 0x02; #1 = 0x10; #2 = 0x00; [ 4588.557690] OpenVFD: vfd_gpio_stb: #0 = 0x02; #1 = 0x0C; #2 = 0x00; [ 4588.557699] OpenVFD: vfd_gpio0: #0 = 0x00; #1 = 0x00; #2 = 0xFF; [ 4588.557708] OpenVFD: vfd_gpio1: #0 = 0x00; #1 = 0x00; #2 = 0xFF; [ 4588.557717] OpenVFD: vfd_gpio2: #0 = 0x00; #1 = 0x00; #2 = 0xFF; [ 4588.557725] OpenVFD: vfd_gpio3: #0 = 0x00; #1 = 0x00; #2 = 0xFF; [ 4588.557733] OpenVFD: vfd_gpio_protocol: #0 = 0x00; #1 = 0x00; [ 4588.557745] OpenVFD: vfd_chars: #0 = 0x00; #1 = 0x01; #2 = 0x02; #3 = 0x03; #4 = 0x04; [ 4588.557759] OpenVFD: vfd_dot_bits: #0 = 0x00; #1 = 0x01; #2 = 0x02; #3 = 0x03; #4 = 0x04; #5 = 0x05; #6 = 0x06; [ 4588.557767] OpenVFD: vfd_display_type: #0 = 0x00; #1 = 0x00; #2 = 0x00; #3 = 0x00; [ 4588.557782] OpenVFD: Detected gpio chips: gpio0, gpio1, gpio2, gpio3, ff100000.syscon:gpio. [ 4588.557789] OpenVFD: "gpio0" chip found. base = 0, pin count = 32, pin = 13, offset = 13 [ 4588.557799] OpenVFD: "gpio0" chip found. base = 0, pin count = 32, pin = 16, offset = 16 [ 4588.557808] OpenVFD: "gpio0" chip found. base = 0, pin count = 32, pin = 12, offset = 12 [ 4588.557818] OpenVFD: Skipping vfd_gpio0 evaluation (0xFF) [ 4588.557823] OpenVFD: Skipping vfd_gpio1 evaluation (0xFF) [ 4588.557829] OpenVFD: Skipping vfd_gpio2 evaluation (0xFF) [ 4588.557837] OpenVFD: Skipping vfd_gpio3 evaluation (0xFF) [ 4588.558424] OpenVFD: Select FD628 controller [ 4588.558488] OpenVFD: SW SPI 3-wire interface intialized (LSB mode) I also don't know if the device has a green/red led for power on, which is not working. I found also the original dts files extracted from Android X88 pro 10, but idk how to read the correct address for the vfd lcd. dts_3318.tgz
  6. Hi everyone, i am impressed by the great knowledge found in this forum. I have been playing for years with a Bealik SEA I tv box with, with great results: a rooted Android system a full Ubuntu distribution 20.04 running in chroot environment kodi v17 android verrsion Recently I bought a X88 pro 10 box (4gb ram and 64gb rom) and started playing with armbian, and I will use this thread to record my progress with this box, still not working at 100% of its capabilities. Using multitool I am able to load and start images on the box, did several install and was able to boot and run: Armbian_23.11.1_Rk3318-box_jammy_current_6.1.63 Armbian_23.11.1_Rk3318-box_bookworm_current_6.1.63_xfce_desktop DietPi_ROCK64-ARMv8-Bullseye_RK3328_RK3318 <- now I'm working on this one > The box has a Mali450 GPU but i cannot run hardware decoding neither on kodi and in Xorg server. When I play an x264 movie on kodi, I see the cpu load increasing up to 100% and the video si dropping frames and shuttering. I have gone through the whole 52 pages of this thread, but seems quite old and all the indications work on debian buster armbian img, which I was unable to find buster img all around. So I stick to my bullseye distribution. Fisrt i had to downgrade kernel to legacy, and just went with apt-get: linux-dtb-legacy-rockchip64/bullseye,now 23.8.1 arm64 [installed] linux-image-legacy-rockchip64/bullseye,now 23.8.1 arm64 [installed] xserver-xorg-legacy/oldstable-security,now 2:1.20.11-1+deb11u8 arm64 [installed] uname -r 4.4.213-legacy-rockchip64 Compiled armbian-media eollowing this github: https://github.com/teacupx/armbian-media and installed: apt-get install libdrm-dev apt-get install libgbm-dev apt-get install libegl-dev Started X11 successfully, but kodi crashes. sudo apt-get install mesa-va-drivers MESA 3D wget https://archive.mesa3d.org/mesa-18.0-0-rc1.tar.gz tar xf mesa-18.0-0-rc1.tar.gz apt-get build-dep mesa
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines