batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
1.96k stars 512 forks source link

No sound from internal speakers on iMac 27'' 2017 #12518

Open vinda53 opened 1 week ago

vinda53 commented 1 week ago

Batocera build version

41-dev-c9333f672e 2024/09/26 00:31

Your architecture

iMac 27'' 2017 - i5 7500

Your Graphic Processor Unit(s) (GPU)

Radeon Pro 570

Issue description

No sound out of internal speakers on iMac 27'' 2017

Detailed reproduction steps

Sound works perfectly when booted in to Ventura or Windows. Batocera being booted off SD card on USB 3.1 dongle. Did get some sound out of a bluetooth connection, but was quiet and choppy.

Windows reports the audio card as being Cirrus Logic CS8409 AB16.

Alsa Mixer within Batocera reports Card: HDA Intel PCH Chip: Cirrus Logic CS8409 "This sound device does not have any controls"

In the audio output there is only Auto or Dummy Output In the audio profile there is Auto or HDA ATI HDMI Pro Audio. Changing to the ATI profile does not make a difference, even after reboot and then trying all of the outputs that then appear in the Audio Output menu option.

Details of any attempts to fix this yourself

I have tried the standard fixes as outlined at https://wiki.batocera.org/audio_issues The batocera build has sound on other x86 devices (Dell Optiplex 3040). Changed audio profile, rebooted and tested all outputs. Tried the different sound options in Kodi, same at Batocera, no sound out of any option.

Details of any modifications you have made to Batocera.

I tried the modifications as outlined in https://wiki.batocera.org/audio_issues but reverted them back when they didn't work. No other modifications apart from Themes.

Logs and data

No response

Tovarichtch commented 1 week ago

Please share support file.

vinda53 commented 1 week ago

batocera-support-20240927080825.tar.gz As requested, thanks.

dmanlfc commented 3 days ago

The Linux kernel needs to better support this chipset. Unfortunately there is not a lot we can do just yet.

vinda53 commented 2 days ago

That's a shame. Thanks for looking in to it though. The iMac would be an emulation beast if this was rectified. I have spotted someone else doing some work with a Linux driver (https://github.com/davidjo/snd_hda_macbookpro), but although I'm tech savvy, I'm not that great with Linux unfortunately. Not sure if this helps or not. Thanks though.