

robertoj
Members-
Posts
479 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Everything posted by robertoj
-
Is it advisable to use Wayland for trouble-free H264 acceleration? (if someone experiences flickering)
-
Did you have any success with the ili9486? I would like to use a bigger 480x320 pixel SPI LCD panel more reference: https://maker.pro/forums/threads/configuration-of-lcd-with-linux.287566/
-
How do you measure “lightness”? I use openbox, but I want to try Wayland now.
-
https://forum.armbian.com/topic/44191-orangepi-zero-lts-ili9341-tft-lcd-and-later-orangepi-zero-3/?do=findComment&comment=204672 ^ Try the DTS from this comment. You need to make the pins match the pins I define there with Dupont wires.
-
https://forum.armbian.com/topic/44191-orangepi-zero-lts-ili9341-tft-lcd-and-later-orangepi-zero-3/ See all the things I have tried to make it work with ili9341... consider using dupont wires so that you can use my dts, making the pins match electrically, and changing the driver line to "compatible = "waveshare,rpi-lcd-35"; Also get an ili9341 so that you witness that it can work.
-
How is it going with the ili9486 LCD? the armbianEnv.txt only needs the user-overlay line with the dts you are using (without the dts extension)… but seeing your progress, I am sure the armbianEnv.txt is perfect as it is now your problem might be the gpio numbers (1st and 2nd parameter in <&pio xxx xxx xxx>) and the polarity setting (3rd parameter) DO NOT ADD ANYTHING ELSE SPI RELATED
-
👍🏽 do you use “mpv filename.mp4”? And does it work all the time? Which window manager do you use? Do you use x11 or Wayland? updated: do you get scrambled video when you resize the mpv window? Try youtube-dl, to bypass the problems in the web browser
-
OrangePi Zero LTS ili9341 TFT LCD (and later OrangePi Zero 3)
robertoj replied to robertoj's topic in Allwinner sunxi
Success story for h264 hardware acceleration, thanks to Jock, NickA and Armbian https://forum.armbian.com/topic/32449-repository-for-v4l2request-hardware-video-decoding-rockchip-allwinner/?do=findComment&comment=205855 -
I had success with NickA Armbian patches, and jock’s ffmpeg-v4l2request https://forum.armbian.com/topic/32449-repository-for-v4l2request-hardware-video-decoding-rockchip-allwinner/?do=findComment&comment=205855
-
The kernel fix in NickA’s Armbian, allows ffmpeg-v4l2 play 1080p with hardware acceleration, under X11 (openbox wm), with “mpv filename.mp4” I git-cloned his repo, selected orangepizero3, changed nothing, kept all his repo’s patches, chose bookworm minimal, Linux edge 6.7.12 i installed lightdm and xorg, then jock’s package repo for ffmpeg-v4l2requedt, then installed mpv (official bookworm package). the 720p and 1080p videos played fine, with 5% cpu It is weird for me update: to play in a screen not being used by x11, like a LCD TFT, use ctrl-alt-f2 to switch the keyboard into the tty in the LCD Play any low res video with vlc, then quit it (I see that mpv can't play without this previous step, for me) Play with mpv --vo=drm --video-connector=2.SPI-1 yourvideo.mp4 many thanks to both!!
-
Maybe you can use devmem2 so you can manipulate registers from a userspace application, like some legendary developers did in the past I also worked updating the patches needed to bring TV out to the orange pi zero with newer kernels. Maybe it can be a reference. https://github.com/robertojguerra/orangepi-zero-full-setup/blob/main/README2.md https://forum.armbian.com/topic/6582-orange-pi-zero-h2h3-tv-out-on-mainline-working/ https://linux-sunxi.org/images/2/24/H616_User_Manual_V1.0_cleaned.pdf
-
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.
-
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?
-
Thank you Nick, If I git-clone your Armbian 24.11.0, and select orangepizero3, will your new patches be included also?
-
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?]
-
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
-
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
-
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.
-
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
-
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...
-
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