

royk
Members-
Posts
254 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Everything posted by royk
-
Try to format the disk so you've got 1 ext4 partition and install with armbian-install. Choose no when it asks if you want to install/update the bootloader to MTD. Check if you've got the overlay sata in /boot/dtb/rockchip/overlay In case the filename is orangepi-5-sata.dtbo then in armbianEnv.txt you should have the following lines: overlay_prefix=orangepi-5 overlays=sata
-
[GUIDE] Kodi on Orange Pi 5 with GPU Hardware Acceleration and HDMI Audio
royk replied to adr3nal1n27's topic in Orange Pi 5
@hammsandwich21 For FFmpeg there are only 16 commits: https://github.com/FFmpeg/FFmpeg/compare/master...JeffyCN:FFmpeg:master For Kodi I reverted this commit to keep HDR working: https://github.com/xbmc/xbmc/pull/23116/commits/e278e3a4b990d5de7afe9642b6b39c7eeff999bb But I'm not sure if that's still necessary. -
@Alejandro Pinar Ruiz Where do you see 10-15% I see 1.4% I guess the 12% system load is only a snapshot.
-
[GUIDE] Kodi on Orange Pi 5 with GPU Hardware Acceleration and HDMI Audio
royk replied to adr3nal1n27's topic in Orange Pi 5
@hammsandwich21 This one should build fine, I had Kodi build from the master repository of 4-11-23, had to edit one or a few things (not sure). In a few minutes I will add that link in this post. FFmpeg 6 https://mega.nz/file/K5oESSoa#bbuzHfFCqqNYdbl8b2aZ32SAb3S89pTU3ZBQRYjJZbE How I build it: configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1+rkmpp20300327 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-opencl --enable-opengl --enable-sdl2 --enable-librsvg --enable-libdc1394 --enable-libdrm --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libdrm --enable-rkmpp --enable-version3 --disable-libopenh264 --disable-vdpau --enable-shared --enable-version3 --disable-doc --enable-libaribb24 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc --enable-libsmbclient Kodi 21a: https://mega.nz/file/q4gFULjT#AgD0S-H0UCkoQKMAj0nV0W6ULWYNuBpSH3m9TJra87s Not sure which options I chose but you could find them in the cmakecache CMakeCache.txt -
[GUIDE] Kodi on Orange Pi 5 with GPU Hardware Acceleration and HDMI Audio
royk replied to adr3nal1n27's topic in Orange Pi 5
@hammsandwich21 Wait a minute I could upload the source of ffmpeg 6 I use -
[GUIDE] Kodi on Orange Pi 5 with GPU Hardware Acceleration and HDMI Audio
royk replied to adr3nal1n27's topic in Orange Pi 5
@hammsandwich21 I would try without "-DWITH_FFMPEG=/usr/bin/ffmpeg -DENABLE_OPENGL=ON" HDR movies do only play on GBM (with the right settings in Kodi) so you might want to enable that one too. Although with the Mali blob driver I was able to play HDR on Wayland as SDR. ffmpeg: --enable-omx ??? -
@CryBaby Seems to be true for this specific chip indeed. Explanation: https://techblog.willshouse.com/2015/01/07/how-to-tell-if-pl-2303hx-pl-2303-is-3-3v-or-5v/ That something works doesn't always mean that it's good, I've seen people connecting 5v to 3.3v pins, (probably something between 4 and 4.5v) and didn't have problems for a few months and eventually it broke. But you're right about the PL-2303HX.
-
@CryBaby Could you explain why? Because when I set my TTL adapter to 5v there is 5v on the rx and tx pins, since you connect at least gnd and tx or rx......
-
Orange PI5 - WiringOP - Interrupt NOT WORKING, How can it be activated ?
royk replied to elsabz's topic in Orange Pi 5
@elsabz After setting "gpio export 46 in" and "gpio export 54 in" I can see it counts interrupts when I connect it to ground. test.c -
Orange PI5 - WiringOP - Interrupt NOT WORKING, How can it be activated ?
royk replied to elsabz's topic in Orange Pi 5
@elsabz You could try to run first: "gpio export 92 out" -
@ArmBoy1988 You'll need one @3.3v there is also voltage on the data pins. To only read the serial data you only need to connect 2 wires OPI. Adapter Gnd - gnd TX - RX I don't think that the UART pins are 5v tolerant.
-
Orange PI5 - WiringOP - Interrupt NOT WORKING, How can it be activated ?
royk replied to elsabz's topic in Orange Pi 5
I don't have experiences with wiringpi in c code, but did you look at the examples and do you use the "next" branch for the library? https://github.com/orangepi-xunlong/wiringOP/tree/next/examples -
@ArmBoy1988 This one should do https://www.amazon.ca/DSD-TECH-SH-U09F-Adapter-Featuring/dp/B07K76Q2DX/
-
@going TBH I don't know how he did test it, I assumed he connected a monitor via HDMI. I've never tested it with 4 cores isolated because isolating core 5 and 7 is good enough. This is the result of a test I did with Wayland and xwayland and isolcpus=5,7 (connected with HDMI) https://forum.linuxcnc.org/18-computer/48079-can-the-opi5-be-configured-to-run-lcnc?start=40#268426 With XFCE It shall be around the same but the graphics acceleration will be worse. Without isolating cpus the latency will be around 20 uS With the 6.2 kernel I've tried with XFCE, it worked well, but its hw support is still in progress: https://forum.linuxcnc.org/18-computer/48079-can-the-opi5-be-configured-to-run-lcnc?start=120#270027 A bit off-topic but read someone from this forum was busy creating a rt-kernel for a s922 sbc, the s9xx kernel did also work fine for a s912 tv-box (connected with HDMI): https://forum.linuxcnc.org/18-computer/39371-results-of-latency-test-list-of-computers-tested-for-use-with-linuxcnc?start=330#270625
-
Yes I've compiled a few rt kernels and it does work pretty well. To use the legacy kernel you really don't want to patch it yourself, some parts are patched many versions ahead and some parts are left behind. But there luckily is an already by Rockchip rt patched kernel. You only need to use the right config and add the dtb to make it work. I've made a patch for it so you could make your own, a bit messy but works very well (at least for LinuxCNC). https://mega.nz/folder/zhwVyJBK#iWqElAfYL21Rn08PmB55DA You want to use it for music? DJ-ing? It depends on what you exactly need for that, the 5.10.x kernel has a lot of issues with usb audio interfaces, this seems to be fixed since 5.15 or 5.16, my Motu M4 is unusable with it but you could try yours. If you want to use USB audio interface as input and output I recommend to use a newer kernel version, the rt patches over the 6.2 kernel from balbes150 his github did compile without problems, compare the kernel config with the 5.10.x rt kernel but keep the pancsf module. The 6.2 kernel I didn't upload but should have it somewhere laying around. The armbian build system has issues with local versions, the rt patches adds that so you'll need to remove that. Results with the 5.10.x kernel: https://forum.linuxcnc.org/18-computer/48079-can-the-opi5-be-configured-to-run-lcnc?start=170#271679
-
Yup packaging looks good indeed, ordered one too so I could use the "old" one for LinuxCNC (great machine for it). Would've been better if it had a 12v dc input, atm I'm using a 5v 4a usb c adapter, it seems like this is giving me sporadic issues. Hopefully this isn't the case with the OPi5+. Otherwise power direct on the pins worked fine. I hesitated to buy the NanoPC-T6 which has a nice case (20,-) and 12v input, but it doesn't have MTD and no choice to buy without emmc. @Avatar Ng Did you buy a case/heatsink with it?
-
AetherSx2 - OpenGL is not supported. Only OpenGL 3.0 was found
royk replied to djdiegodj's topic in Orange Pi 5
https://github.com/ptitSeb/gl4es/tree/master Should be in the repo of amazingfate sudo apt install libgl4es -
@balbes150Yes I know I meant it's on the image, not that it has to be. I like your images a lot but assumed he downloaded the "official" Armbian version. @ArmBoy1988 You could find balbes150 his images with EFI bootloader in his topic.
-
@ArmBoy1988Yes it will pick the first partition. You don't have to do anything special when you use the installer. When you edit the partitions after the installation you'll need to change the UUID in ArmbianEnv.txt en fstab.
-
@ArmBoy1988 You don't need a boot partition, this is only on the image for the sd-card. The partition created for Armbian has to be the first partition and you should install the bootloader to MTD indeed.
-
armbian-install to NVME (Samsung 960 Pro) not working
royk replied to Peter Hauck's topic in Orange Pi 5
I'd once problems after setting the alignment to 4k after setting it back to 512 it did work as it should, although this was when I dd copied an image to the nvme so I don't know if it applies when you install it via armbian-install. https://carlosfelic.io/misc/how-to-switch-your-nvme-ssd-to-4kn-advanced-format/ -
[GUIDE] Kodi on Orange Pi 5 with GPU Hardware Acceleration and HDMI Audio
royk replied to adr3nal1n27's topic in Orange Pi 5
@Al.DYou could search these things with for example "apt search Kodi repo" Then: sudo apt install ..... For Kodi Matrix you would need to compile one with gles2 support, on the GitHub of Kodi you could find instructions. -
At least the PWM fan works fine with the thermal governor on step_wise. Are you sure that you've the overlay files in the right folder? Or did you also activate other overlays that use the same pin?
-
Perhaps this site will help: https://techwiser.com/fix-bluetooth-device-doesnt-auto-connect-in-linux/ Maybe you need to reset the keyboard since it's paired with macbook?