Jump to content

royk

Members
  • Posts

    246
  • Joined

  • Last visited

Everything posted by royk

  1. You actually don't need to create a virtual machine, you could also do it within Armbian, the rk3588 is fast enough with enough cooling
  2. @martivo Remember that with that hack you could still only pass 2 channels. You could get 5.1 if it's a compressed DTS or ac3 file, multichannel PCM won't work. Maybe a HDMI splitter an option? It might even work to put the audio through the second HDMI port.
  3. Use the version compiled for the panfork drivers and run it in Wayland. Do you have the "--use-gl=egl" flag added in /etc/chrome-browser/default?
  4. True I can't understand that either, would think that installing LIRC and pointing it to the the right gpio pin should be enough. Perhaps because of the way it is built-in. Nice project, would like to know if you could make it work. I think I'll look into the LIRC option next weekend. I'm using the Armbian image with opi5 config and the options are really there, but you could easily read over it. I thought Device drivers is one of the latest options and then somewhere in the middle Remote controller support. It could be that it's because I'd enabled some media support options for my dvb tuner Edit: sorry I misread your comment, I thought you ment the options of the kernel config .
  5. There is by default a Rockchip IR receiver module installed, but seems only to work with with the remote codes hardcoded in the module, just had a quick test that didn't work: https://forum.odroid.com/viewtopic.php?f=215&t=44671 LIRC would be a better option indeed and you can find it under "Device drivers" --> Remote controller support. When you enable the driver you'll get more options, probably you would need "GPIO IR remote control" and the right decoder for your remote. There should also be made a dtb overlay, here they made it work for the Odroid m1: https://forum.odroid.com/viewtopic.php?p=350183#p350183
  6. Multichannel PCM over ARC will not work indeed but it could do DTS and AC3 passthrough. To make that work you've to set the profile of pulseaudio at stereo and enable passthrough (ouput devices --> advanced options) and enable passthrough in Kodi. It seems like that pulseaudio transcodes DTS-HD to DTS, so that should work work over ARC. AAC multichannel audio however will not be transcoded so that's why you'll only hear front-left and front-right. It might be easier to connect the OPI5 directly to the amp and set pulseaudio and kodi at 5.1 to let Kodi decode and send the MPCM to your amp. This way all multichannel audio files should work. Nice! Do you install the whole image every time? Wouldn't the following command be enough to install the fixes for rk3588? sudo apt update && sudo apt install linux-dtb-legacy-rockchip-rk3588 linux-headers-legacy-rockchip-rk3588 linux-image-legacy-rockchip-rk3588 linux-libc-dev linux-source-5.10.110-legacy-rockchip-rk3588 linux-u-boot-orangepi5-legacy @adr3nal1n27 I suspect that editing your post is only possible within a certain time, moderators still could do of course, but might be better to ask when there is more material to add.
  7. @martivoIn case you use pulseaudio you could edit the mapping with "sudo nano /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf" and search for [Mapping hdmi-surround] I used to change that mapping to: front-left,front-right,front-center,lfe,rear-left,rear-right but I would say when you don´t hear the voices that lfe is at the place of front center, so you might want to try to only swap the front-center and lfe. For testing you could use: https://www2.iis.fraunhofer.de/AAC/ChID-BLITS-EBU.mp4 After saving the mapping "pulseaudio -k && pulseaudio -D" @adr3nal1n27 I only did some copy/paste work of especially @amazingfate and @Efe Çetin their work and from my .bash_history file with a lot of useless steps😀 I think Igor, amazingfate and Efe Çetin should earn most of the credits But this manual is indeed a good starting point👍 Instead of ubuntu-desktop I'm pretty sure a lot of people would prefer Gnome or KDE which should also work with Wayland, but I haven´t test that yet to know the exact steps. It should also be possible to start a Wayland/GBM session from lightdm, but somehow I couldn´t make that work, perhaps a setting in a config file that I was missing. If someone knows how to do that it might be a nice add on for this manual. After looking at the defaults of GDM3 I saw that the setting "WaylandEnable=true" is most likely not needed.
  8. You could install the kernel from the debs folder, output/debs/linux-image... Mr Hacker😀 When you update the kernel from the apt repository you will loose the WiFi driver again. To build only the kernel as in the manual: ./compile.sh BUILD_ONLY=kernel KERNEL_CONFIGURE=yes BOARD=orangepi5 BRANCH=legacy
  9. https://github.com/armbian/build#getting-started Build the kernel with the MT76x2U driver, it's disabled by default.
  10. @nickdude22How did you install the kernel after you compiled it?
  11. @haajeeGreat that you've got it working. No need to encode in Chromium, you only have to decode. Without acceleration you would have a full cpu load while watching a 4k video and missing frames.
  12. @sbcnewbieI expect the stable version will come around 11-12-2023 11:53am You bought the wrong product to let everything work straight out of the box. It's a new SoC, it's actually amazing that most of the things already work. Advice: Keep checking till it's ready or read a bit more and make it work. By just reading these 4 pages you should have enough information to begin. If something doesn't work somehow, you could ask for help including the details of what you've done.
  13. @Marvin RöschOne step further with passthrough audio, DTS and AC3 is working now, except the newer formats like Dolby Atmos, DTS:X, DTS-HD, it plays noise with these formats. In Pulseaudio you need to set it on stereo profile to show AC3,DTS,E-AC3 passthrough options. Kodi started with alsa does show the dts-hd and atmos passthrough options but do not work. Anyone an idea? What I did: sudo nano /usr/share/alsa/cards/HDMI-OUT.conf # configuration for HDMI connection which just expose the # audio out device <confdir:pcm/hdmi.conf> HDMI-OUT.pcm.hdmi.0 { @args [ CARD DEVICE CTLINDEX AES0 AES1 AES2 AES3 ] @args.CARD { type string } @args.DEVICE { type integer } @args.CTLINDEX { type integer } @args.AES0 { type integer } @args.AES1 { type integer } @args.AES2 { type integer } @args.AES3 { type integer } type hw card $CARD } sudo nano /usr/share/alsa/cards/aliases.conf rockchip-hdmi0 cards.HDMI-OUT Info I found from
  14. @AluveitieGreat that you've got it booting. You're right, I had set the UUID of nvme0n1p2 in armbianEnv.txt which (now I understand) overrides the setting in boot.scr.
  15. @mrkev CEC does work here, at least when I type "cec-ctl --playback" my tv recognizes a playback device. Kodi doesn't show it as input device yet, I guess I should recompile it with that option set.
  16. @Marvin Rösch Are you sure you've got hardware acceleration? When you play a video in Kodi and press o you could see if the hardware of software decoder is in use. AFAIK it only works under gbm (direct login to Kodi Dekstop environment), in Wayland I'm getting a black screen but the the audio does play, in X11 there is no acceleration. I see I forgot to mention that in Kodi you need to set: Setting --> Player --> Videos: Allow using DRM decoder - On, Allow hardware acceleration with DRM PRIME - On, Render method - Direct to Plane.
  17. @zjd Only setting the bootenv didn't work for me, but ArmbianEnv.txt seems to be the better place to set that indeed. For me it begun to boot after also change the line where it searches the boot UUID of the first partition of the sd-card/mmc. After writing the image you didn't have to edit these lines?
  18. @dirathea Perhaps this site will help? https://learningpenguin.net/2018/01/30/install-realtek-rtl8812au-wifi-driver-linux/amp/ I think this is not really a specific Orange pi 5 thing. It would be better to ask this in the right section and then give more details about what you did when you got that error message.
  19. @zjd Did you try it the way as I did? Just write the Armbian image to the nvme, edit the boot.cmd and compile.
  20. @haajee I had also some difficulties to get video hw acceleration in Chromium and Kodi, but now it's all working, even hdr10 and hdr8 do work in Kodi (gbm) by renaming the dtb overlay files from rock 5b to rk3588-..... What I did to make it work: (perhaps some of the latest steps were not necessary, I was clueless) sudo add-apt-repository ppa:liujianfeng1994/panfork-mesa sudo add-apt-repository ppa:liujianfeng1994/rockchip-multimedia sudo nano /etc/rc.local echo dec > /dev/video-dec0 chown root:video /dev/video-dec0 chmod 0660 /dev/video-dec0 echo enc > /dev/video-enc0 chown root:video /dev/video-enc0 chmod 0660 /dev/video-enc0 sudo nano /etc/udev/rules.d/11-rockchip-multimedia.rules KERNEL=="mpp_service", MODE="0660", GROUP="video" KERNEL=="rga", MODE="0660", GROUP="video" KERNEL=="system-dma32", MODE="0666", GROUP="video" KERNEL=="system-uncached-dma32", MODE="0666", GROUP="video" RUN+="/usr/bin/chmod a+rw /dev/dma_heap" sudo ln -s /lib /usr/lib64 cd /usr/lib64/ && sudo ln -s aarch64-linux-gnu/libv4l2.so.0.0.0 libv4l2.so sudo apt-get update && sudo apt dist-upgrade sudo apt install chromium-browser=$(apt-cache show chromium-browser|grep Version|grep rkmpp|cut -d " " -f2) chromium-codecs-ffmpeg-extra=$(apt-cache show chromium-browser|grep Version|grep rkmpp|cut -d " " -f2) libv4l-rkmpp v4l-utils sudo nano /etc/chromium-browser/default CHROMIUM_FLAGS="--use-gl=egl" You might need to replace the existing one, not sure about that wget https://github.com/JeffyCN/rockchip_mirrors/raw/libmali/firmware/g610/mali_csffw.bin sudo mv mali_csffw.bin /lib/firmware/ For hw acceleration you need to use gbm or wayland. The easiest way I found was installing ubuntu-desktop. sudo apt install ubuntu-desktop Then add add the following line to /etc/gdm3/custom.conf WaylandEnable=true After that I had still no acceleration with videos in Chromium, then I tried some things, probably a lot of unnecessary stuff. I'd installed almost all the ffmpeg related things from the added repository and mesa-vulkan-drivers primus-vk libgles2-mesa libd3dadapter9-mesa As I said most likely not all necessary but this worked for me Now I can watch 4k videos on YouTube with Chromium with around 15% cpu load. Kodi only displays video with GBM (run Kodi from Login screen after copying it to wayland) sudo mv /usr/share/xsessions/kodi.desktop /usr/share/wayland-sessions/kodi-wayland.desktop For HDR in Kodi under gbm I renamed in /boot/dtb/rockchip/overlay/ rock-5b-radxa-display-10hd.dtbo --> rk3588-display-10hd.dtbo rock-5b-radxa-display-8hd.dtbo --> rk3588-display-8hd.dtbo Now the HDR sign on my tv came up, The only things I would really have working is audio passthrough in Kodi and cec, so if anyone knows what has to be done for that I would really like to know. I've got multichannel audio working however, so I can live without it for a while. I'm really glad how quick all these things are working by all the hard work of the developers, thank you
  21. What I did to make it boot from NVME Boot from sd-card with the NVME inserted Install the bootloader to mtdblock Write the downloaded Armbian image to the NVME with BalenaEtcher Mount the boot partition of the nvme Edit boot.cmd and replace bold words in these lines: setenv rootdev "/dev/nvme0n1p1" # get PARTUUID of first partition on SD/eMMC the boot script was loaded from if test "${devtype}" = "nvme"; then part uuid nvme ${devnum}:1 partuuid; fi Then save and compile: sudo mkimage -C none -A arm64 -T script -d boot.cmd boot.scr Shutdown and remove the sd-card
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines