Open DannyArr opened 1 year ago
Move to v37 beta & try
It seems that the build for orangepi-5 is not included in v37 Beta.
[root@BATOCERA /userdata/system]# batocera-check-updates beta Installed: 36 2023/03/10 14:19 Webversion: 36 2023/03/10 14:19 Update URL: https://updates.batocera.org/orangepi-5/beta/last Branch: BETA-branch searched Used arch: orangepi-5 Status: No Update found!
@stvhay was working on it - Steve?
I thought we closed this out, but let me grab a recent beta and check it out so we don't deploy something too broken.
Is this something there is a workaround for or for my own education (Linux learner), any idea what I should look at to start investigations. Been looking into pipewire, but not sure if it's the right place to start.
The most recent betas are uniquely broken on orangepi5 and I am still troubleshooting what happened. That said I tested 36 and it was working so I’m not sure what’s happening there. I’ll let you know as soon as I find something
@DannyArr If you are willing, please try this image:
I am loading up the 36 image to see what I can do as well.
Okay just booted up the 36 image and its working as well.
Strange. I'll try to get 37 installed then soon and try again. Thanks. When I do a "batocera-audio list" what should I see?
Jumping in to give feedback, if that's ok. I too have the same problem ha mentioned above. I installed batocera-rk3588-orangepi-5-37-20230422.img, which does enable the HMDI audio options, however when selected I don't hear any audio. Also trying to load any rom after that will just hang on a black screen at some point during the load.
Hrm. This directly contradicts my experience. When selecting hdmi audio, are you actually connecting audio on the other end? The way I am testing is with a monitor and headphones on the monitor….Does audio work if you select the other audio option and plug directly into the headphone/audio jack on the board?Sent from my iPhoneOn Apr 29, 2023, at 9:23 PM, jgawronek @.***> wrote: Jumping in to give feedback, if that's ok. I too have the same problem has mentioned. I installed batocera-rk3588-orangepi-5-37-20230422.img, which does enable give the HMDI audio options, however when selected I don't hear any audio. Also trying to load any rom after that will just hang on a black screen at some point during the load.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were assigned.Message ID: @.***>
Hi, I just did a clean install of the same 37 build, and played with the settings more.
This build initially did enable this HDMOI Audio Output: ROCKCHIP-HDMIOHDMI/DISPLAY PORT 1 STEREO
With that Output selected, I was able to get HDMI audio with these options: Audio Output: ROCKCHIP-HDMIOHDMI/DISPLAY PORT 1 STEREO Audio Profile: ROCKCHIP-ES8388STEREO OUTPUT
However, after restarting Batocera through the UI, this is the only HDMI Audio Output option I'm seeing now, and not the previous one. ALSA_OUTPUT.PLATFORM-HDMIO-SOUND.PRO-OUTPUT-O
Also, after restarting, Batocera seemed to freeze during the loading screen several times, before the video splash would play. Then when it did fully load, the HDMI audio was gone and only audio profile available was now: ALSA_OUTPUT.PLATFORM-HDMIO-SOUND.PRO-OUTPUT-O are:
With these audio profiles. AUTO ROCKCHIP-DPOSTEREO OUTPUT ROCKCHIP-ES8388STEREO OUTPUT + STEREO INPUT ROCKCHIP-ES8388STEREO ROCKCHIP-ES8388PRO AUDIO ROCKCHIP-HDMI0PRO AUDIO
I've tried each one with no HDMI audio.
Hope that helps.
I only have one Orange PI 5, so cannot confirm if there's anything wrong with the HW.
Can also confirm, same issues with: orangepi-5 - 37-dev-8e4e4ea8de 2023/04/29 07:05
Works here v37 with HDMI using Auto settings for Audio Output.
I have an Orange Pi 5 16GB that I have been testing with for a few days and here's what I've found:
Started with v37 061623 on a fresh unchanged install and moved to v38 062423 with same results. All included emulators/roms would crash on start almost every time with audio set to auto, even plugged into monitors that do not support audio (I never tested headphone jack to see if there was actual audio). I only managed to get Old Towers to launch once (with audio) but it crashed just by backing out and trying again. I say crashed as I had the overlay showing core speeds and it also becomes unresponsive.
This same issue caused Batocera to crash if using the default startup video with audio; it would freeze with a blue screen and the version number most of the time. You had to unplug the HDMI and let it get to the UI before plugging it back in to change audio settings. I set it to the video without audio to fix it going forward. The video previews have never crashed it though, they either have audio or they don't depending on your settings.
Settings that worked on one TV (LG 1080p): ROCKCHIP-HDMI0PRO ROCKCHIP-ES8388STEREO OUTPUT
But taking it to another TV (TCL 4K), emulators would go back to crashing. I did eventually get HDMI audio out of it but it was only after several lockups and it was on one of the ALSA_* strange looking outputs mentioned above and then the crashes stopped.
If it does crash, I saw the same issue above with HDMI0PRO disappearing and instead there being this: ALSA_OUTPUT.PLATFORM-HDMI0-SOUND.HDMI__HW_ROCKCHIPHDMI0_SINK HDMI@ALSA_CARD.PLATFORM-HDMI0-SOUND which did not work until I changed it to AUTO, rebooted, and then I had HDMI0PRO again to select from.
When I do have proper audio output, I have very few lockups but only one has been repeatable. If I go into Gamecube and start any game, then go into config using HOTKEY+SOUTH and return to the game (doesn't matter if nothing is changed) the system will freeze, and then you will have the same ALSA options after a hard reboot.
On a Samsung 4k TV these were the only settings I could find that worked: ROCKCHIP-HDMI0HDMI/DISPLAY PORT 1 STEREO ROCKCHIP-HDMI0HDMI/DISPLAY PORT 1 STEREO
Hi all, I have almost same issue. Just no sound at all. OPi 5 connected to 4K TV Phillips 43pus7607/12. Batocera v38 beta. (I'm at work so I don't know exact build nr.) Also I am unable to pair to soundbar via bluetooth and use bluetooth audio. When I used Joshua Riek's version of Ubuntu for OPi5, I had both HDMI and Bluetooth audio working.
When I select Device / profile Output device: ROCKCHIP-HDMI0PRO Profile: ROCKCHIP-ES8388STEREO OUTPUT or ROCKCHIP-HDMI0PRO
No output and upon reboot Output audio device gets changed to: ALSA_OUTPUT.PLATFORM-HDMIO-SOUND.PRO-OUTPUT-O
Also gamecube crahses(have not tried another emulators) when sound is misconfigured.
I have verified that using 3.5mm jack with Device: ROCKCHIP-ES8388STEREO Profile: ROCKCHIPOUTPUT-ES8388STEREO OUTPUT works. So no HDMI audio on this TV for me...
Great thanks for making batocera work on OPi5. It is really comfortable when compared with compiling dolphin and flycast locally and doing all the shenanigans. This way also 6 YO kids are able to start a game. Just that audio output troubles me.
after restarting, Batocera seemed to freeze during the loading screen several times, before the video splash would play. Then when it did fully load, the HDMI audio was gone and only audio profile available was now: ALSA_OUTPUT.PLATFORM-HDMIO-SOUND.PRO-OUTPUT-O are:
The current build of v39 for 5b does this as well. No HDMI audio whatsoever, but after fooling around with settings enough, eventually some kind of HDMI profile finally appears. Selecting it, however, is a recipe for disastrous hanging on boot—even going back to "auto" after that point will blow everything up until one of the other, non-working device/profile combinations is set manually in the config file. Once the HDMI output actually becomes visible to the system, things are about to go very wrong.
Are there any 5b builds that are functional enough (working wifi and audio i?n the same build, perhaps?) to use as a daily driver? I'd be happy to switch to a known good-enough build.
/orangepi-5/stable/last/batocera-rk3588-orangepi-5-36-20230310.img.gz
Sound is available via the 3.5 jack, but getting nothing via HDMI, nor is the HDMI option available in hardware settings.
The above shows rockchiphdmi0 but the only devices that Batocera detects are the "pulse/alsa_output.platform-XXX" ones, which doesn't include HDMI. See below from "batocera-audio" command.
And this from "aplay"
Not sure if this is a pipewire issue. If there are any log files that might help, please let me know where I can find them.