Skip to contentSkip to conversation

Intel audio controller: Loss of HDMI output between kernel versions

DISCUSSION Joel Roth 1 participant 1 message Jan 7, 2024

lore
Share & tools
lore

Joel Roth

author
#0 lore raw

Will be grateful for any suggestions.

My soundcard as reported by lspci:

00:1f.3 Audio device: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 30)

I use the asoundrc below to route audio to both the analog output and the HDMI connector.

With Debian kernel 6.0.0-6-amd64 I get sound at both outputs. With version 6.0.1-10-amd64 there is no HDMI output.

pcm.hdmi_out {
type hw
card 0
device 7
}
pcm.analog {
type hw
card 0
device 0
}

pcm.hdmi_dmix {
    type dmix
    ipc_key 1024
    ipc_perm 0666 # allow other users
    slave.pcm "hdmi_out"
    slave {
        period_time 0
        period_size 1024
        buffer_size 4096
        channels 2 # must match bindings
    }
    bindings {
        0 0
        1 1
    }
}
pcm.analog_dmix {
    type dmix
    ipc_key 2048
    ipc_perm 0666 # allow other users
    slave.pcm "analog"
    slave {
        period_time 0
        period_size 1024
        buffer_size 4096
        channels 2 # must match bindings
    }
    bindings {
        0 0
        1 1
    }
}

pcm.!default {
type asym
playback.pcm "out"
}

# Multi

pcm.out {
    type plug
    slave.pcm {
        type multi
        slaves {
            a { channels 2 pcm hdmi_dmix }
            b { channels 2 pcm analog_dmix }
        }
        bindings {
            0 { slave a channel 0 }
            1 { slave a channel 1 }
            2 { slave b channel 0 }
            3 { slave b channel 1 }
        }
    }
    ttable [
        [ 1 0 1 0 ]   # left  -> a.left,  b.left
        [ 0 1 0 1 ]   # right -> a.right, b.right
    ]
}
Signature · 1 line
Joel Roth