You are not logged in.

#1 2022-02-04 09:01:16

CatTowne
Member
Registered: 2022-02-03
Posts: 6

No sound 27"iMac Radeon RX 470/480 / 570/580/590] DigitalStereo (HDMI)

Hi Everyone,

I have a fresh install of Arch on a mid-2017 27" iMac, and everything works great except there is no sound for HDMI or Analog.  The result appears to be the same even with other Arch-based distros.

Here are my outputs:

inxi -Faz:

System:
  Kernel: 5.15.19-1-lts x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
    root=UUID=d8442b9f-6097-4044-a3a3-202f0b50685a rw rootflags=subvol=@
    loglevel=3 quiet
  Desktop: KDE Plasma 5.23.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
    vt: 1 dm: SDDM Distro: Arch Linux
Machine:
  Type: Laptop System: Apple product: iMac18,3 v: 1.0
    serial: <superuser required> Chassis: type: 9 v: Mac-BE088AF8C5EB4FA2
    serial: <superuser required>
  Mobo: Apple model: Mac-BE088AF8C5EB4FA2 v: iMac18,3
    serial: <superuser required> UEFI: Apple v: 428.0.0.0.0 date: 06/16/2020
CPU:
  Info: model: Intel Core i5-7500 bits: 64 type: MCP arch: Kaby Lake
    family: 6 model-id: 0x9E (158) stepping: 9 microcode: 0xEA
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB
    desc: 1x6 MiB
  Speed (MHz): avg: 3122 high: 3431 min/max: 800/3800 scaling:
    driver: intel_pstate governor: powersave cores: 1: 3431 2: 3325 3: 2307
    4: 3426 bogomips: 27199
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
    mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
    IBRS_FW, STIBP: disabled, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    vendor: Apple driver: amdgpu v: kernel bus-ID: 01:00.0 chip-ID: 1002:67df
    class-ID: 0300
  Device-2: Apple FaceTime HD Camera (Built-in) type: USB driver: uvcvideo
    bus-ID: 1-5:4 chip-ID: 05ac:8511 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.org 1.21.1.3 compositor: kwin_x11 driver:
    loaded: modesetting alternate: ati,fbdev,vesa
    resolution: <missing: xdpyinfo>
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a170
    class-ID: 0403
  Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
    driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 1002:aaf0
    class-ID: 0403
  Sound Server-1: ALSA v: k5.15.19-1-lts running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.44 running: yes
Network:
  Device-1: Broadcom BCM43602 802.11ac Wireless LAN SoC vendor: Apple
    driver: brcmfmac v: kernel bus-ID: 03:00.0 chip-ID: 14e4:43ba
    class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  Device-2: Broadcom NetXtreme BCM57766 Gigabit Ethernet PCIe driver: tg3
    v: kernel port: N/A bus-ID: 04:00.0 chip-ID: 14e4:1686 class-ID: 0200
  IF: enp4s0f0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Broadcom Bluetooth USB Host Controller type: USB
    driver: btusb,hid-generic,usbhid bus-ID: 1-6:5 chip-ID: 05ac:8296
    class-ID: fe01
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 957.59 GiB used: 9.52 GiB (1.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Apple model: SSD SM0032L
    size: 26.08 GiB block-size: physical: 4096 B logical: 4096 B
    speed: 15.8 Gb/s lanes: 2 type: SSD serial: <filter> rev: DXZ77A0Q
    temp: 28.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Apple model: HDD ST1000DM003
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
    speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: AQ04
    scheme: GPT
Partition:
  ID-1: / raw-size: 931.02 GiB size: 931.02 GiB (100.00%)
    used: 9.52 GiB (1.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 500 MiB size: 499.7 MiB (99.94%)
    used: 296 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 931.02 GiB size: 931.02 GiB (100.00%)
    used: 9.52 GiB (1.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var raw-size: 931.02 GiB size: 931.02 GiB (100.00%)
    used: 9.52 GiB (1.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 7.66 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 41.0 C mobo: N/A gpu: amdgpu temp: 42.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 219 Uptime: 1h 44m wakeups: 0 Memory: 7.66 GiB
  used: 2.27 GiB (29.6%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1114 lib: 240 Shell: Zsh v: 5.8
  running-in: konsole inxi: 3.3.12

aplay -IL:

null
    Discard all samples (playback) or generate zero samples (capture)
pipewire
    PipeWire Sound Server
front:CARD=PCH
    Front output / input
surround21:CARD=PCH
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=HDMI,DEV=0
    HDA ATI HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA ATI HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA ATI HDMI, HDMI 2
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 3
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
    HDA ATI HDMI, HDMI 4
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=5
    HDA ATI HDMI, HDMI 5
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=6
    HDA ATI HDMI, HDMI 6
    HDMI Audio Output

sudo fuser -v /dev/snd/*:

                                 USER        PID ACCESS COMMAND
/dev/snd/controlC1:  strcat         685 F.... pulseaudio
                                 strcat       6309 F.... alsamixer

pacmd list-cards:

1 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_01_00.1>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "1"
                alsa.card_name = "HDA ATI HDMI"
                alsa.long_card_name = "HDA ATI HDMI at 0x92660000 irq 60"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:01:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1002"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
                device.product.id = "aaf0"
                device.product.name = "Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]"
                device.string = "1"
                device.description = "Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
                output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
                output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
                output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
                output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (priority 5700, available: no)
                output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (priority 600, available: no)
                output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (priority 600, available: no)
                output:hdmi-stereo-extra6: Digital Stereo (HDMI 7) Output (priority 5700, available: no)
                output:hdmi-surround-extra6: Digital Surround 5.1 (HDMI 7) Output (priority 600, available: no)
                output:hdmi-surround71-extra6: Digital Surround 7.1 (HDMI 7) Output (priority 600, available: no)
                off: Off (priority 0, available: unknown)
        active profile: <off>
        ports:
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
                  No sound 27"iMac Radeon RX 470/480 / 570/580/590] DigitalStereo (HDMI)      properties:
                                device.icon_name = "video-display"
                hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-5: HDMI / DisplayPort 6 (priority 5400, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-6: HDMI / DisplayPort 7 (priority 5300, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"

pacmd list-sinks:

1 sink(s) available.
  * index: 0
        name: <auto_null>
        driver: <module-null-sink.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 1000
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max request: 375 KiB
        max rewind: 375 KiB
        monitor source: 0
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
        module: 13
        properties:
                device.description = "Dummy Output"
                device.class = "abstract"
                device.icon_name = "audio-card"

pacman -Qs Sound Firmware:

local/sof-firmware 2.0-1
    Sound Open Firmware

pacman -Qi sof-firmware:

Name            : sof-firmware
Version         : 2.0-1
Description     : Sound Open Firmware
Architecture    : x86_64
URL             : [url]https://www.sofproject.org/[/url]
Licenses        : custom:BSD  custom:ISC
Groups          : None
Provides        : None
Depends On      : None
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 12.81 MiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Fri 24 Dec 2021 09:06:36 PM EST
Install Date    : Thu 03 Feb 2022 01:26:18 AM EST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

ls -1 /usr/lib/firmware/intel | grep sof:

sof
sof-tplg
sof-tplg-v2.0
sof-v2.0

I added options snd-hda-intel model=imac27 to both files with reboot:

/etc/modprobe.d/sound.conf
/etc/modprobe.d/alsa-base.conf

All of the output profiles for Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] in Pavucontrol are listed as (unplugged) & (unavailable).  And there is no Analog output option.  I have tried some of the suggestions from the forums here, but can't seem to find a solution.  So I wanted to reach out and see if I might be missing anything.  After installing alsa-tools, I tried looking into the hdajackretask suggestion, but am unsure how to proceed to test that out.
Goes without saying that I'd be super grateful for any help/input/insight into this :-)
It's got some awesome sound hardware that just feels wasted stuck only working in Apple-jail ;'D

Last edited by CatTowne (2022-02-06 04:45:26)

Offline

#2 2022-02-04 10:09:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,292

Re: No sound 27"iMac Radeon RX 470/480 / 570/580/590] DigitalStereo (HDMI)

Please use bbcode code tags instead of markdown attempts for outputs.

Unless you have external monitors you're unlikely to look for HDMI fixes. Your aplay -lL is the inxi output again, post

sudo dmesg | grep -iE 'snd|sof'

as well. There's no point to having two modprobe files with the same content, the only thing that matters is that it ends in .conf the rest of the name is irrelevant. However for an initial test I suggest you remove both files, reboot and start from a clean standard slate.

If you're unlucky you have one of the models that's currently still simply broken: https://bbs.archlinux.org/viewtopic.php?id=233449 but let's not get ahead of ourselves.

Last edited by V1del (2022-02-04 10:20:22)

Offline

#3 2022-02-06 05:01:28

CatTowne
Member
Registered: 2022-02-03
Posts: 6

Re: No sound 27"iMac Radeon RX 470/480 / 570/580/590] DigitalStereo (HDMI)

Hey!  Thank you for the quick response, and also pointing that out for the formatting.  I was wondering how to get it to display correctly :-)

Okay, so I took those lines out of both those files and rebooted.  Did you mean to delete them entirely?  I'm still new to Linux, so I apologize if I am not understanding some things about what happens with .conf files.  I had just seen that as a solution anywhere I could find others with same problem.  But honestly, I have no idea how they work ;'D

And no, there are no ext. monitors, just the all-in-one iMac unit itself.  Are the HDMI outputs something necessary?  I do have an older 27" iMac that has a similar setup, except it still has an analog output option that actually works.  But it doesn't seem like this one has it for whatever reason.  Before any Linux installs, the sound was fantastic when on MacOS.  But obviously, would rather not have to run MacOS just to get sound out of it, lol

Here is my output for

sudo dmesg | grep -iE 'snd|sof'

:

[    0.184437] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.214250] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.214251] software IO TLB: mapped [mem 0x0000000079900000-0x000000007d900000] (64MB)
[    6.187572] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    6.187611] snd_hda_intel 0000:01:00.1: Force to non-snoop mode
[    6.469245] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    6.540638] snd_hda_codec_cs8409 hdaudioC0D0: autoconfig for CS8409: line_outs=2 (0x24/0x25/0x0/0x0/0x0) type:speaker
[    6.540641] snd_hda_codec_cs8409 hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    6.540643] snd_hda_codec_cs8409 hdaudioC0D0:    hp_outs=1 (0x2c/0x0/0x0/0x0/0x0)
[    6.540644] snd_hda_codec_cs8409 hdaudioC0D0:    mono: mono_out=0x0
[    6.540645] snd_hda_codec_cs8409 hdaudioC0D0:    inputs:
[    6.540645] snd_hda_codec_cs8409 hdaudioC0D0:      Internal Mic=0x45
[    6.540646] snd_hda_codec_cs8409 hdaudioC0D0:      Mic=0x3c

Yes, I had read through that post several times & tried to make sense about what to try.  When you say broken, do you mean the model in general, or that this particular one might be broken, like a defect or something?
Thanks again so much for your help! :-)

Offline

#4 2022-02-06 13:03:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,292

Re: No sound 27"iMac Radeon RX 470/480 / 570/580/590] DigitalStereo (HDMI)

HDMI is normally not used for any integrated audio, but may be if you attach multiple monitors/a beamer or whatever.

From this snippet "something" is being recognized at least. Your aplay -lL output looks truncated, post the full thing, or at least aplay -l and amixer -c0 #or 1 just the card that isn't hdmi according to the aplay -l index

By broken I mean that the audio driver that is attempted at being used plain doesn't work properly for this particular mac model in which case you'd not be able to get audio.

Offline

#5 2022-02-06 13:53:09

CatTowne
Member
Registered: 2022-02-03
Posts: 6

Re: No sound 27"iMac Radeon RX 470/480 / 570/580/590] DigitalStereo (HDMI)

Okay, that was the only output I had for the

aplay -IL

;'D

Is there another way I should be typing it?

And then, just so I understand you correctly, post the output for either,

amixer -c0

or,

amixer -c1

?

Offline

#6 2022-02-06 16:14:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,292

Re: No sound 27"iMac Radeon RX 470/480 / 570/580/590] DigitalStereo (HDMI)

Ah also only see it now, it's a lower case -l "as in the lower case -L" and not a uppercase I.

yes amixer -c0 or amixer -c1 depending on which corresponds to the integrated card

Offline

#7 2022-02-07 03:29:31

CatTowne
Member
Registered: 2022-02-03
Posts: 6

Re: No sound 27"iMac Radeon RX 470/480 / 570/580/590] DigitalStereo (HDMI)

Ah!  Okay, HAHA That definitely should make a difference smile

aplay -lL :

null
    Discard all samples (playback) or generate zero samples (capture)
pipewire
    PipeWire Sound Server
front:CARD=PCH
    Front output / input
surround21:CARD=PCH
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=HDMI,DEV=0
    HDA ATI HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA ATI HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA ATI HDMI, HDMI 2
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 3
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
    HDA ATI HDMI, HDMI 4
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=5
    HDA ATI HDMI, HDMI 5
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=6
    HDA ATI HDMI, HDMI 6
    HDMI Audio Output
**** 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
card 1: HDMI [HDA ATI HDMI], device 12: HDMI 6 [HDMI 6]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

(

amixer -c0

didn't yield anything), so

amixer -c1

:

Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',4
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',5
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',6
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

Can you show me what you mean about the something being recognized?  Sorry, this is all so new, but want to learn :-)

Offline

#8 2022-02-07 08:20:58

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,292

Re: No sound 27"iMac Radeon RX 470/480 / 570/580/590] DigitalStereo (HDMI)

The "problem" here is that there's only a HDMI card 1, it should  have an analog card on card 0. It does setup something otherwise the hdmi card would land on 0 not 1 but can't actually allocate a real device for some reason.

Do you still have any file in /etc/modprobe.d that would try to manipulate snd_hda_intel state?  On googling I found: https://github.com/davidjo/snd_hda_macbookpro which might be a bit more involved to setup properly and not even sure whether that would currently still work on recent kernels.

Last edited by V1del (2022-02-07 08:24:23)

Offline

#9 2022-02-07 09:24:05

CatTowne
Member
Registered: 2022-02-03
Posts: 6

Re: No sound 27"iMac Radeon RX 470/480 / 570/580/590] DigitalStereo (HDMI)

Yeah, I also thought that was weird (WAYYY before ever really diving into possible fixes associated with alsa/jack/pulse)... simply because I have another, older 27" iMac with quite similar specs.  And that one actually has no problem doing internal analog speaker output, also across multiple Linux distributions.

So far not with this one.

Okay, so are you saying try to do:

git clone https://github.com/davidjo/snd_hda_macbookpro

and then just compile what they have there?

In answer to question about

/etc/modprobe.d/sound.conf

&

/etc/modprobe.d/alsa-base.conf

No, there are no lines in either file.  They exist, but are just empty.  I only created them to try the model entry options.  Should I remove them overall?

Last edited by CatTowne (2022-02-07 09:34:36)

Offline

#10 2022-02-11 08:13:30

CatTowne
Member
Registered: 2022-02-03
Posts: 6

Re: No sound 27"iMac Radeon RX 470/480 / 570/580/590] DigitalStereo (HDMI)

Okay, wow, Thank You!

Found a solution from here: https://github.com/egorenar/snd-hda-codec-cs8409

Had more clarification from here: https://github.com/davidjo/snd_hda_macb … -962586032

The original driver from https://github.com/davidjo/snd_hda_macbookpro didn't work for the 5.15 kernel, so that other one from egorenar filled in the gaps. 

There is at least analog output now, it's a bit low & lacks some of the punch I remember these speakers having, but hey!  It's sound!  Maybe in the future, there will be more ways to tweak that

Thank you again SOOOOOOOO MUCH !!!!!!!!!!!! big_smile

Offline

Board footer

Powered by FluxBB