iMac 2017 sound stops working when system suspended

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
Logan
Level 1
Level 1
Posts: 4
Joined: Tue Dec 06, 2022 11:12 pm

iMac 2017 sound stops working when system suspended

Post by Logan »

I installed Linux Mint on my wife's iMac because it had become unbearably slow for her (Mint works great though!)
The only issue I ran into so far was the sound not working. Following the helpful post by SMG in the below link, I managed to get the sound working.
viewtopic.php?p=2303387#p2303387

However, she noticed that after she suspended her computer, the sound no longer worked. After a reboot it works again but that's obviously not ideal.

I would appreciate if anyone could help me troubleshoot and potentially fix the issue, although I realize Apple hardware is its own thing and it's likely no one is actively working on supporting at 2017 iMac.

It's on the 5.15.0-100 kernel.

Code: Select all

inxi -Gxxx
Graphics:
  Device-1: AMD Baffin [Radeon RX 460/560D / Pro
  450/455/460/555/555X/560/560X]
    vendor: Apple driver: amdgpu v: kernel pcie: speed: 8 GT/s lanes: 8 ports:
    active: eDP-1 empty: DP-1,DP-2,DP-3 bus-ID: 01:00.0 chip-ID: 1002:67ef
    class-ID: 0300
  Device-2: Apple FaceTime HD Camera (Built-in) type: USB driver: uvcvideo
    bus-ID: 1-5:5 chip-ID: 05ac:8511 class-ID: 0e02 serial: CCG8052038BH5DFP0
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm (40.0x22.5")
    s-diag: 1165mm (45.9")
  Monitor-1: eDP res: 3840x2160 hz: 60 dpi: 205
    size: 475x267mm (18.7x10.5") diag: 545mm (21.5")
  OpenGL: renderer: AMD Radeon RX Graphics (polaris11 LLVM 15.0.7 DRM 3.42
  5.15.0-100-generic)
    v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2 direct render: Yes

Code: Select all

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Code: Select all

journalctl -k | grep -Ei "ALSA|HDA|sof|HDMI|snd[_-]|sound|hda.codec|hda.intel"
Mar 10 21:03:53 johannah-iMac kernel: ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
Mar 10 21:03:53 johannah-iMac kernel: pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
Mar 10 21:03:53 johannah-iMac kernel: PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Mar 10 21:03:53 johannah-iMac kernel: software IO TLB: mapped [mem 0x0000000070f50000-0x0000000074f50000] (64MB)
Mar 10 21:04:02 johannah-iMac kernel: snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
Mar 10 21:04:02 johannah-iMac kernel: snd_hda_intel 0000:01:00.1: Force to non-snoop mode
Mar 10 21:04:02 johannah-iMac kernel: snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
Mar 10 21:04:02 johannah-iMac kernel: input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input18
Mar 10 21:04:02 johannah-iMac kernel: input: HDA ATI HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19
Mar 10 21:04:02 johannah-iMac kernel: input: HDA ATI HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input20
Mar 10 21:04:02 johannah-iMac kernel: input: HDA ATI HDMI HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input21
Mar 10 21:04:02 johannah-iMac kernel: input: HDA ATI HDMI HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input22
Mar 10 21:04:02 johannah-iMac kernel: input: HDA ATI HDMI HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input23
Mar 10 21:04:02 johannah-iMac kernel: snd_hda_codec_cs8409 hdaudioC0D0: autoconfig for CS8409: line_outs=2 (0x24/0x25/0x0/0x0/0x0) type:speaker
Mar 10 21:04:02 johannah-iMac kernel: snd_hda_codec_cs8409 hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Mar 10 21:04:02 johannah-iMac kernel: snd_hda_codec_cs8409 hdaudioC0D0:    hp_outs=1 (0x2c/0x0/0x0/0x0/0x0)
Mar 10 21:04:02 johannah-iMac kernel: snd_hda_codec_cs8409 hdaudioC0D0:    mono: mono_out=0x0
Mar 10 21:04:02 johannah-iMac kernel: snd_hda_codec_cs8409 hdaudioC0D0:    inputs:
Mar 10 21:04:02 johannah-iMac kernel: snd_hda_codec_cs8409 hdaudioC0D0:      Internal Mic=0x45
Mar 10 21:04:02 johannah-iMac kernel: snd_hda_codec_cs8409 hdaudioC0D0:      Mic=0x3c
meat9t
Level 1
Level 1
Posts: 8
Joined: Sat Apr 13, 2024 11:29 am

Re: iMac 2017 sound stops working when system suspended

Post by meat9t »

I had same issue but then someone gave me this link viewtopic.php?t=389383#CS8409 it may help.
Logan
Level 1
Level 1
Posts: 4
Joined: Tue Dec 06, 2022 11:12 pm

Re: iMac 2017 sound stops working when system suspended

Post by Logan »

Thank you. I've been through the suggestions in that link. As noted, it works on boot but after being suspended it stops working until it is rebooted.
User avatar
stevengarland
Level 5
Level 5
Posts: 844
Joined: Tue Mar 05, 2019 4:04 pm
Location: Michigan

Re: iMac 2017 sound stops working when system suspended

Post by stevengarland »

I surmise that you have an older computer due to the "slowdown" comment. I cannot see what version of Mint you are using. Are you using the latest version that makes sense of your computer, with the latest kernel that makes sense? It is important to be as up to date as your computer can stand as things do improve.

Sometimes on an older computer a more simple version of Mint (or any Linux available) is better due to the limitations of the base unit. You can look into this. I have an older "spare" with XFCE and it works well,
Keep It Simple Sweetheart
Logan
Level 1
Level 1
Posts: 4
Joined: Tue Dec 06, 2022 11:12 pm

Re: iMac 2017 sound stops working when system suspended

Post by Logan »

stevengarland wrote: Sun Apr 14, 2024 8:45 am I surmise that you have an older computer due to the "slowdown" comment. I cannot see what version of Mint you are using. Are you using the latest version that makes sense of your computer, with the latest kernel that makes sense? It is important to be as up to date as your computer can stand as things do improve.

Sometimes on an older computer a more simple version of Mint (or any Linux available) is better due to the limitations of the base unit. You can look into this. I have an older "spare" with XFCE and it works well,
As noted in my initial post, it is a 2017 iMac.
It is Mint 21.3 Cinnamon
As noted in the inxi output, it is running the 5.15.0-100 kernel (for the long-time-support). I did test the 6.5 at one point but it had the same issue.
Post Reply

Return to “Sound”