No HDMI Audio on Acer AspireRevo R3610

  • nopb01 As mentioned in the link, post a log from latest LE 12 Generic-Legacy nightly.

    Please provide a full debug log.

    How to post a log (wiki)

    1. Enable debugging in Settings>System Settings>Logging
    2. Restart Kodi
    3. Replicate the problem
    4. Generate a log URL (do not post/upload logs to the forum)

    use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link
  • I tried to boot the 11.95.1 test image (which isn't public yet) on an old Xtreamer Ultra2 board; this is ION (Atom + GT520M) and the first obvious problem was that it failed to boot into Kodi as the card IDs are selecting the latest nVidia driver instead of the ancients and no longer supported 340.108 one needed for the GT520.

    An educated hunch confirmed that at an update last September where the python script we run to extract new card IDs from the latest driver also appended a load of legacy card IDs causing the wrong driver to be selected at runtime. The workaround for this is creating /storage/.config/udev.rules.d/96-nvidia.rules with the following to override the embedded one:

    Bash
    ACTION!="add|change", GOTO="end_video"
    SUBSYSTEM=="pci", ATTR{class}=="0x030000", ATTR{vendor}=="0x10de", GOTO="subsystem_pci"
    GOTO="end_video"
    
    LABEL="subsystem_pci"
    GOTO="configure_nvidia-legacy"
    
    LABEL="configure_nvidia-legacy"
    ENV{xorg_driver}="nvidia", TAG+="systemd", ENV{SYSTEMD_WANTS}+="[email protected]"
    GOTO="end_video"

    Xorg (and thus Kodi) now started and after adding a NAS source and selecting the HDMI card output, I was able to play 1080p media with 2.0 audio output (2.0 is the max possible on the 10" test LCD that I used).

    I've flagged the issue with card ID's to colleagues so it can be investigated and fixed, but I wasn't able to replicate no-audio. It does however prove that audio issues people might have are either device or perhaps card specific and not a general "ION audio is broken" problem which is how the current posts read.

  • Sadly, in my case the audio problem continues to present itself with no resolution.

    Can you say something about your audio chip? Or open the box, and make a hi-res photo with all chips. So you and chewitt could compare ION hardware.

    To me it looks like the driver doesn't offer any usable sample rate:

    Code
    Feb 10 19:42:50.883122 LibreELEC kernel: perf: interrupt took too long (2730 > 2500), lowering kernel.perf_event_max_sample_rate to 73200
    Feb 10 19:42:51.643620 LibreELEC iwd[412]: wiphy_estimate_data_rate() failed
    Feb 10 19:42:51.645612 LibreELEC iwd[412]: wiphy_estimate_data_rate() failed
    Feb 10 19:42:51.645612 LibreELEC iwd[412]: wiphy_estimate_data_rate() failed
    Feb 10 19:42:51.645612 LibreELEC iwd[412]: wiphy_estimate_data_rate() failed
    Feb 10 19:43:08.987290 LibreELEC kernel: perf: interrupt took too long (3798 > 3412), lowering kernel.perf_event_max_sample_rate to 52500
    Feb 10 19:43:45.921340 LibreELEC kernel: perf: interrupt took too long (4876 > 4747), lowering kernel.perf_event_max_sample_rate to 40800

    chewitt Which sample rate is in use on your setup? Maybe your setup can play an unusual sample rate (40800Hz, see log snippet), but the setup of paperbackwriter can't.

  • Kernel performance (perf) sampling has nothing to do with this, and MCP7A is the ION chip type (not an audio chip).

    Please install the multimedia tools add-on which includes "alsamixer" and check the HDMI card output is not muted or at zero. This is not the same as the volume control and mute function in the Kodi GUI.

  • I've separated ION posts to provide more clarity, and more attention to this topic.

    At your ALSA device list three devices have the same display name "HDA NVidia" (Analog, S/PDIF and HDMI). Seems like you or the system (naming confusion) have picked the wrong device:

    Code
    2024-02-10 19:42:37.553 T:924     debug <general>: CActiveAESink::OpenSink - ALSA Initialized:
    2024-02-10 19:42:37.553 T:924     debug <general>:   Output Device : HDA NVidia
    2024-02-10 19:42:37.553 T:924     debug <general>:   Sample Rate   : 44100
    2024-02-10 19:42:37.553 T:924     debug <general>:   Sample Format : AE_FMT_S32NE
    2024-02-10 19:42:37.553 T:924     debug <general>:   Channel Count : 2
    2024-02-10 19:42:37.553 T:924     debug <general>:   Channel Layout: FL, FR
    2024-02-10 19:42:37.553 T:924     debug <general>:   Frames        : 464
    2024-02-10 19:42:37.553 T:924     debug <general>:   Frame Size    : 8