Jump to content

robertoj

Members
  • Posts

    365
  • Joined

  • Last visited

Everything posted by robertoj

  1. The orange pi zero with the latest armbian can output analog TV The other zeros (3, 2W) can't (with Linux) It would be great if new developers can find the android code and port it to Linux.
  2. Excuse me if this has been answered already, but I can't turn on HDMI in my Orange Pi zero 3, when using a self-built armbian I get HDMI with a community image (from one of the armbian mirrors), and I have the 3 linux modules related to HDMI in the /lib/modules, in my new armbian Maybe I am missing a dts or dtbo?
  3. Nick A has some new linux patches that are related to ffmpeg: https://forum.armbian.com/topic/29794-how-to-install-armbian-in-h618/?do=findComment&comment=205709
  4. Thank you Nick, If I git-clone your Armbian 24.11.0, and select orangepizero3, will your new patches be included also?
  5. You are right jock I tried my bananapi m2 zero, playing a 240p H264 mp4 with the HDMI output. With mpv, the rendering is scaled full screen, at 3 fps and the cpu is 100% With mplayer, the 240p shows as 240p, 24fps (1/4 the height of my LCD) and the cpu is 25% with mplayer, a 360p video plays also, with 35% cpu 720p and 1080p videos are played very choppy with mpv and mplayer It turns out i was never using hardware acceleration in my H3 boards Next I will try with the orange pi zero 3... with kernel 6.6.31, where I could play in my 240p LCD, but in my HDMI LCD this time ...I can play 1080p video smoothly in the tty, but the cpu is at 100% in 1 core I finished compiling ffmpeg-v4l2request from https://github.com/Kwiboo/FFmpeg in my orangepi zero 3, under 6.10.9, but still could not play to my 240p LCD [can someone tell me how to activate HDMI in the orange pi zero 3, in an arbian OS which I built myself?]
  6. Hmm... maybe I was wrong in the suggestion of "sudo apt show ..."... At this moment, I don't really know how to check whether a package is installed or not. Please check that. Can you also edit your post, using the "Spoiler" (eye) button, to hide the long dmesg text. That's all I know... maybe try compiling ffmpeg within your running ARM set top box... see my starting ideas here: https://forum.armbian.com/topic/32449-repository-for-v4l2request-hardware-video-decoding-rockchip-allwinner/?do=findComment&comment=205614
  7. I will test again with my banana pi m2 zero (my only H3 SBC with HDMI)... I am currently trying to build ffmpeg, but there's always a compilation error somewhere 🤣
  8. Regarding these lines: cs-gpios = <&pio 2 5 0>,<&pio 7 9 0>; /*PH5=CS0 for lcd, PH9=CS1 for touch*/ reset-gpios = <&pio 0 8 1>; /* PC15 */ dc-gpios = <&pio 0 5 0>; /* PC5*/ interrupts = <2 7 2>; /* high-to-low edge triggered */ pendown-gpio = <&pio 2 7 0>; Make sure that you make the comments match with the actual DTS code, for example PH5=<&pio 7 5 0>, because H=7 Also according to the gpio formula, C=2. Also insert some initial comment lines at the top, summarizing the pinout you discovered for the orange pi zero 3, to show your intermediate work You are very close. All those spi1.0, spi1.1 dmesg messages indicate that there's no conflict internally in the CPU, but probably the one or a few IOs are connected to the incorrect pin(s). Another thing to try is change "reset-gpios = <&pio 0 8 1>" to "reset-gpios = <&pio 0 8 0>" because sometimes different kernel modules handle the polarity in the opposite way than it is expected. Also try changing "compatible = "ilitek,ili9486";" to "compatible = "waveshare,rpi-lcd-35";" and look at the example in https://mjmwired.net/kernel/Documentation/devicetree/bindings/display/ilitek,ili9486.yaml to find the little differences in parameters. Keep googling this forum for ili9486, maybe someone did it already
  9. I was successful with banana pi m2 zero and orange pi zero (same H3 chip), without your ffmpeg-v4l2request... just with official armbian packages.
  10. Vitya... you should only have ffmpeg-v4l2request (ffmpeg with the v4l2-request patches), and NOT the Debian official ffmpeg (without the patches). And your "apt show ffmpeg" shows that you may have BOTH.
  11. We dont know any other linux that can output TV out from the h618 chip Orange pi zero with a current armbian OS, can output analog TV
  12. If you start with the old image with linux 6.6.31 and: It will update everything except the kernel (remains in 6.6.31) And mpv, mplayer continue working with h264 hardware acceleration When trying the newest kernel version 6.10.9, it didn't work for me: mplayer didn't work either I will try compiling and installing ffmpeg from source...
  13. Hello People who are enjoying h264 acceleration, can you share the result of: $ uname -r $ mpv -V $ ffmpeg -V $ apt show mpv $ apt show ffmpeg (or ffmpeg-v4l2request) command line needed to start playing with mpv
  14. Fortunately, I was able to upload this file: Armbian_community_24.8.0-trunk.6_Orangepizero3_bookworm_current_6.6.31_minimal.img.xz https://drive.google.com/file/d/1nlvUPLOdIz706EWWv4c2BzPQxkzilZHG/view?usp=drive_link If anyone has a similar file for the orange pi zero 2w, please share it too I found that mpv.deb remains the same version from armbian 24.8 to 24.11 (from may to october 2024)... and the only thing that got upgraded is linux 6.6.31 to 6.6.54 Freezing the kernel in 6.6.31 could be a good move too I also just finished compiling armbian with the latest kernel... I will try this next time I can.
  15. If anyone needs h264 acceleration in opiz3, it is possible quickly with a version of Armbian from mid 2024, as shown in this thread: https://forum.armbian.com/topic/32449-repository-for-v4l2request-hardware-video-decoding-rockchip-allwinner/?do=findComment&comment=205516 (in opi zero, h264 is already possible with official debian debs) There are a few suggestions to make it work in the latest Armbian... I am bumping this thread because I have limited time with my opiz3, but you may be able to do it (and share). More references of success: https://forum.armbian.com/topic/31848-cant-use-ffmpeg-hardware-accelration-v4l2-orange-pi-4-lts/?do=findComment&comment=175688 ^ Actually, if you see that link, you will see a way to compile your own Armbian image, with some linux patches that allow ffmpeg-v4l2request do its work.
  16. I confirm that ffmpeg-v4l2request works for opiz3, with OS image Armbian_community_24.8.0-trunk.6_Orangepizero3_bookworm_current_6.6.31_minimal.img.xz I started with the freshly booted OS image, added my DTS for ili9341 SPI LCD (see other thread in community-allwinner), rebooted, and followed all the steps in the original post. The final steps to play an mp4 in tty: Also works with mplayer (more efficient) Next up, I try again with the latest armbian OS image Please ask what information I can get from my working setup, and see what's the roadblock in the latest armbian Update: I confirm that the ffmpeg-v4l2request package is not working for the latest armbian Armbian_community_24.11.0-trunk.351_Orangepizero3_bookworm_current_6.6.54_minimal mplayer does not work either I can only think of using apt to install an older mpv.deb (+dependencies), if starting from the newest Armbian OS... Or forcing apt to never upgrade the mpv.deb and related deb dependencies, if I start with the older Armbian OS As a temporary measure, only needed while ffpmeg gets the patches officially, and the Debian servers include that new version too, right? Reference: https://unix.stackexchange.com/questions/242014/how-to-install-the-previous-version-of-a-deb-package-and-pin-it Another thing to try is to compile an Armbian image (latest), with bleeding edge linux kernel, as I see success for other people in Linux 6.7 https://forum.armbian.com/topic/29794-how-to-install-armbian-in-h618/?do=findComment&comment=204697 Jock, if I want to build my own ffmpeg with v4l2-request, is this a good recommendation? "You also need to build with --enable-v4l2-request --enable-libudev" https://artemis.sh/2023/03/06/ffmpeg-v4l2-requests-4.4.3.html
  17. https://github.com/jonathan-gatard/ili9486-xpt2046/tree/main use this for inspiration
  18. The last reported success was with Debian Bookworm, in a comment from July 23... can you repeat the experiment with an OS image from before that date? (I don't have access to my orange pi zero 3 for a few days)
  19. I see that you didnt change any gpios. You must change them... what are the pins in the orange pi zero 3 that will control the lcd? (you must have the LCD schematic) If you try my original DTS, without having a screen like mine, do you get these 2 files? /dev/fb0 /dev/input/event0 According to this https://mjmwired.net/kernel/Documentation/devicetree/bindings/display/ilitek,ili9486.yaml You must use the line: compatible = "waveshare,rpi-lcd-35", "ilitek,ili9486";
  20. Starting with the DTS that worked for me in the orange pi zero 3, with ili9341: https://forum.armbian.com/topic/44191-orangepi-zero-lts-ili9341-tft-lcd-and-later-orangepi-zero-3/?do=findComment&comment=204672 My DTS is for a customized set of pins that works for me, and it is different than/from the waveshare set of pins. You need to change: * file name change to: ili9486-ads7846-spi1.dts * gpio pin selections everywhere in the DTS * "adafruit,yx240qv29" should be "ilitek,ili9486" * change "rotation" to "rotate" * change "reset-gpios = <&pio N N 0>;" to "reset-gpios = <&pio N N 1>; Then sudo armbian-add-overlay ili9486-ads7846-spi1.dts Reboot (does anyone know the correct DRM driver for ili9486?)
  21. Thank you, but I was referring to the 1 DTS that enables the ili9341, ads7846 and pwm-backlight, just in case you made a last change that you didn't mention.
  22. Hello Ivano Can you control the backlight? If so, can you share your whole DTS? (opiz2w)
  23. Hello all, I tried the apt repo install instructions in the first post... but it seems that my armbian bookworm is still installing its own .deb package and not the one from the apt.undo.it repo Is there an obvious step that I am missing? What version of mpv should I have if I installed successfully? Thank you in advance!! (my target is orange pi zero 3) P.S. I see that the debian repo (through my web browser) does not provide mpv.deb, but Ubuntu Jammy does... does this mean that the armbian-bookworm mpv.deb does not need the patches? I also see that the available debs are 11 months old... perhaps if you could point to some instructions that work, we could do it ourselves and share the outcome.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines