• Content Count

  • Joined

  • Last visited

About pro777

  • Rank
    Advanced Member

Recent Profile Visitors

1045 profile views
  1. jock, do you have the opportunity to publish the latest images with Armbian from your repository?
  2. jock, very thanks for Ubuntu 18.04 with LTS 5.1.7 kernel! Great work! How are things going with video and audio playback?
  3. Maybe Sorm means the link above? Then it's no secret
  4. Fine news! You are well done! Thanks! There will be time, I will tested.
  5. No OpenGL/EGL/GLES X11 drivers available at this time for S912 SoC. Hardware rendering via GLES fbdev, as well hardware decoding video and audio is used in the player c2play. Look at this message.
  6. At the moment, unfortunately, I'm not ready to do it yet. But it is possible to assemble the missing packages in the form of archives.
  7. Hello everybody! I assembled a video player c2play, created by crashoverride, with the possibility of hardware decoding and rendering for a boxes on the S912 SOC. To achieve this, was used EGL and GLES libraries from Android, libhybris, libamcodec and ffmpeg with the support of the above library, as well kernel package with Mali driver for T820 GPU. All this was integrated into the firmware of Ubuntu Armbian 16.04 Mate Desktop, building by balbes150. You can download this firmware from here. c2play perfectly playing, both local and network video H.264 and H.265 10-bit, checked up to 4K. Declared support of MP4, MKV and AVI containers. A small help to managing the c2play from the keyboard: ESC - to finish playing, LEFT - 30 sec. back, RIGHT - 30 sec. forward, DOWN - 10 min ahead, UP - 10 min. back. SPACE - pause. To play video, open the terminal window or go to the virtual console (Ctrl-Alt-F1). enter the command: c2play <path to your video>. Or, assign c2play as the default application for the desired file type. More details here or here. In the folder /opt are deb-packages with libhybris and kernel 3.14.29 with the driver Mali. For those who want to build c2play itself, I bring links to resources on the github. Libhybris: Libamcodec: FFMPEG: c2play:
  8. What is your chip Wi-Fi?
  9. It seems that kodi and mpv need to be build from the source.. To activate hardware acceleration OpenGL ES in Debian download this firmware and deb package of libhybris for Debian. Follow the instructions listed in my post above.
  10. To obtain the hardware acceleration OpenGLES fbdev on the S912 platform, do the following: - Download the firmware of Armbian 5.44 Ubuntu Mate with the kernel 3.14, created by balbes150. - Burn the loaded image on the SD-card and and run Ubuntu Mate from the SD card. - Download the archive with the kernel 3.14 packages with the Mali driver and the archive with Mali samples and libhybris package. Install all deb packages with the 3.14 kernel from the archive. To do this, go to the unzipped folder aml-s9xx-kernel-3.14.29-with-mali-r16p0-debs, run the command: sudo dpkg -i *.deb. - Unzip the mali-hybris-s912-packages.tgz. Copy the folder etc to the root of ROOTFS partition to set permissions for the mali and ion devices, and also for configuring ld for libhybris. - Unzip the system.tgz and copy the contents to the root of ROOTFS partition (sudo tar xzvf system.tgz -C / ) - Unzip Mali-OpenGL-ES-Samples-Linux-Arm-Bin.tgz in the home directory. - Reboot system. - After reboot the system, add the armhf architecture for the system: sudo dpkg --add-architecture armhf sudo apt update sudo apt install libc6:armhf libstdc++6:armhf - Install libhybris-arm_0.1-1-opt_arm64.deb package and configure ld: sudo ldconfig. - Everything is ready for the test, run: /opt/libhybris/bin/test_glesv2. A picture should appear, as shown in the first screenshot. - To run Mali OpenGLES Samples, go to the Mali-OpenGL-ES-Samples-Linux-Arm-Bin folder and start the executable files. - Freeze the kernel update with the armbian-config.
  11. I managed to get the hardware acceleration GLES fbdev on KM8P S912 using libhybris! How to do this, I will write later.
  12. Hi everyone, I'm working on the task of using the fbdev GLES driver from Android 7.1.1 with the help of Libhybris for my KM8P on S912 for Armbian Ubuntu (Debian). In the framework of this task, I managed to build an legacy kernel 3.14.29 with the Mali driver r16p0. And also the mainline kernel 4.18-rc2 with the Mali driver r19p0. You can download the deb packages for the system update by clicking on the links above. For a start, it's enough to install the corresponding package linux-image-amlogics905x_5.44_arm64.deb for update of the system and also put mali.conf (taken from the LibreElec distributive) in the directory /lib/modprobe.d/ from the archive. sudo dpkg -i linux-image-amlogics905x_5.44_arm64.deb After the system with the 3.14 kernel is upgraded, the device /dev/mali0 appears. Unfortunately, this did not happen for the mainline kernel. It seems that the reason is that there is no description of the GPU in the device tree. I'm use gxm_q201_1g.dtb. Next, I build a package of Libhybris from git. For the 64-bit version, I used the following commands: git clone cd libhybris/hybris git clone -b halium-7.1 ./ \ --prefix=/opt/libhybris \ --build=aarch64-linux-gnu \ --host=aarch64-linux-gnu \ --target=aarch64-linux-gnu \ --with-android-headers=android-headers \ --enable-adreno-quirks \ --enable-mali-quirks \ --enable-debug \ --enable-trace \ --enable-arch=arm64 \ --enable-experimental \ --with-default-egl-platform=fbdev \ --with-default-hybris-ld-library-path=/vendor/lib:/system/lib To build the 32-bit version of Libhybris I installed two packages for cross-compilation: arm-linux-gnueabihf-gcc and arm-linux-gnueabihf-g++. And compiled with the following parameters: CC=arm-linux-gnueabihf-gcc \ CXX=arm-linux-gnueabihf-g++ \ ./ \ --prefix=/opt/libhybris \ --with-android-headers=android-headers \ --enable-adreno-quirks \ --enable-arch=arm \ --enable-experimental \ --with-default-hybris-ld-library-path=/system/lib \ --enable-debug \ --enable-trace \ --with-default-egl-platform=fbdev \ --enable-mali-quirks Next: make -j8 sudo make install Then copied the /system/lib directory from the Android firmware to the root of the file system. Running /opt/libhybris/bin/test_glesv2, unfortunately, failed: user@amlogic:/opt/libhybris/bin$ ./test_glesv2 library "" wasn't loaded and RTLD_NOLOAD prevented it test_glesv2: test_glesv2.c:117: main: Assertion `eglGetError() == EGL_SUCCESS' failed. Aborted For some reason, the system could not create a surface, test_glesv2.c, s.117: surface = eglCreateWindowSurface((EGLDisplay) display, ecfg, (EGLNativeWindowType)NULL, NULL); assert(eglGetError() == EGL_SUCCESS); assert(surface != EGL_NO_SURFACE); I hope that someone will be interested in this task and will achieve a better result.
  13. Thanks, jock. Unfortunately, this did not change the situation. I also tried to increase the frequency on i2c5 to 400 KHz - there were no messages about the timeout, but on the whole, nothing has changed dramatically.
  14. Yes, of course, I do not mind When I start the firmware with a mainline kernel, the monitor shows: "The mode is not supported" I need to then compile the kernel with the key CONFIG_DRM_LOAD_EDID_FIRMWARE.