Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[V40][Moonlight] Sound delay on Orange Pi 5 #12594

Open
ameer4 opened this issue Oct 5, 2024 · 5 comments
Open

[V40][Moonlight] Sound delay on Orange Pi 5 #12594

ameer4 opened this issue Oct 5, 2024 · 5 comments

Comments

@ameer4
Copy link

ameer4 commented Oct 5, 2024

Batocera build version

40

Your architecture

Orange Pi 5

Your Graphic Processor Unit(s) (GPU)

Orange Pi 5

Issue description

On default installation HDMI sound don't work unless I choose hdmi device ( ROCKCHIP-HDMI0HDMI/DISPLAY PORT )
See issue: #8598

Now, when streaming my PC through moonlight the audio is delayed.
I don't know if related or not, but the issue don't happen with other OS on Orange Pi 5 (including Android image)

Any tips?

Also, what the kernel version in v40?

Detailed reproduction steps

Fresh v40 on sd card, with moonlight installed & paired to local PC through wired lan.

Details of any attempts to fix this yourself

No response

Details of any modifications you have made to Batocera.

Nothing

Logs and data

No response

@dmanlfc
Copy link
Collaborator

dmanlfc commented Oct 8, 2024

Currently there is no hardware acceleration for the rk3588 boards. We would need to patch in support somehow.

@dmanlfc
Copy link
Collaborator

dmanlfc commented Oct 12, 2024

@ameer4
Copy link
Author

ameer4 commented Oct 12, 2024

try this v41 build - https://drive.google.com/drive/folders/1EKOxP5oulsHTm7rDCIYpeOf98eKzRaCE?usp=drive_link

Thanks for follow up.
I tested it, the delay actually system wide, with every game (only tested moonlight earlier) now I tested the free installed game. There is still delay.

I think it related to how it handle sound in HDMI, since out of the box auto doesn't enable sound in my TV (TCL).

Side note: since this is kernel 6, can you includes new drivers for some WiFi 6 dongles? specifically for me ( chipset: mt7921 , ID 0e8d:7961 MediaTek Inc. Wireless_Device ) it does not work yet.

Other orange pi 5 Ubuntu desktop distro like
https://github.com/Joshua-Riek/ubuntu-rockchip/
Support it, how can I inject the drivers? Possible?

@dmanlfc
Copy link
Collaborator

dmanlfc commented Oct 12, 2024

my rk3588 boards don't have these delays you're talking about, at all... maybe your tv needs some sound calibration.

@ameer4
Copy link
Author

ameer4 commented Oct 12, 2024

I currently have 2 os (Joshua Ubuntu 24 on m2 & Batocera on SD card) both supposedly same kernel (6.1)
Removing sd card & rebooting to Ubuntu with everything as it is, zero delay on Ubuntu.
But as you said earlier it may relate to hardware acceleration since maybe my TV add something to the mix like some audio codecs that need to be disabled so the TV ignore it.

I need more time to check tv settings, I'll update if I knew something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants