Audio Intel PCH card 0 disappeared in DOM0

37 views
Skip to first unread message

facethefrag

unread,
Apr 12, 2020, 12:30:25 PM4/12/20
to qubes-users
Hello
(and sorry for previous post as an answer and not new thread...)

I'm using Ques OS since 4 months and have an audio issue in DOM0 since last Wednesday (04/08/2020), and I'm unable to fix it...

Any help or advise will be welcome !
 
Issue Explanation:

Intel PCH Audio card 0 is no more present in pulseaudio GUI, only the NVIDIA HDMI audio card 1 is present.
Although hardware is OK (verified with my previous debian hard drive today).

Commands, configuration and things that may help:

    Kernel version: 4.14 (latest versions cause issue on laptop screen power off/on with Nvidia card...)
    Qubes release 4.0-8

    lspici : OK
                00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
                       Subsystem: Hewlett-Packard Company ZBook 15
                    Flags: bus master, fast devsel, latency 0, IRQ 22
                    Memory at d0330000 (64-bit, non-prefetchable) [size=16K]
                    Capabilities: <access denied>
                    Kernel driver in use: pciback
                --
                01:00.1 Audio device: NVIDIA Corporation GK106 HDMI Audio Controller (rev a1)
                    Subsystem: Hewlett-Packard Company Device 197b
                    Flags: bus master, fast devsel, latency 0, IRQ 17
                    Memory at d0000000 (32-bit, non-prefetchable) [size=16K]
                    Capabilities: <access denied>
                    Kernel driver in use: snd_hda_intel

    /var/lib/alsa/asound.state:OK
    This file has the two cards definitions well configured (PCH & NVidia).

    journalctl parsing since January: Only one error on alsa, alsactl kernel crash on Apr08 upon shutdown command (another but beg. March so, ignored)

        Apr 08 17:54:53 dom0 systemd[1]: Stopping Manage Sound Card State (restore and store)...
        Apr 08 17:54:53 dom0 kernel: audit: type=1131 audit(1586361293.216:308): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=xen-init-dom0 comm="systemd" exe="/usr/lib/systemd/systemd" host
        Apr 08 17:54:53 dom0 kernel: audit: type=1113 audit(1586361293.216:309): pid=4353 uid=0 auid=1000 ses=2 msg='op=logout id=1000 exe="/usr/sbin/lightdm" hostname=dom0 addr=? terminal=/dev/tty1
        Apr 08 17:54:53 dom0 kernel: alsactl[1989]: segfault at 28 ip 00005f6263fbc806 sp 00007ffcff227110 error 4 in alsactl[5f6263fab000+17000]
        Apr 08 17:54:53 dom0 kernel: audit: type=1701 audit(1586361293.222:310): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=1989 comm="alsactl" exe="/usr/sbin/alsactl" sig=11 res=1
        Apr 08 17:54:53 dom0 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=xen-init-dom0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=
        Apr 08 17:54:53 dom0 audit[4353]: USER_LOGOUT pid=4353 uid=0 auid=1000 ses=2 msg='op=logout id=1000 exe="/usr/sbin/lightdm" hostname=dom0 addr=? terminal=/dev/tty1 res=success'
        Apr 08 17:54:53 dom0 audit[1989]: ANOM_ABEND auid=4294967295 uid=0 gid=0 ses=4294967295 pid=1989 comm="alsactl" exe="/usr/sbin/alsactl" sig=11 res=1

    From alsa-info.sh:

        Loaded ALSA modules               : snd_hda_intel
        Soundcards recognised by ALSA : 1 [NVidia          ]: HDA-Intel - HDA NVidia   (HDA-Intel  HDA Intel PCH not present)

        Amixer output only sees Card hw:1 'Nvidia'
        Alsactl output only presents NVidia card 1 controls, not the PCH card 0 ones

       
        !!ALSA/HDA dmesg
        !!--------------

        [   33.223400] Already setup the GSI :17
        [   33.223410] snd_hda_intel 0000:01:00.1: Disabling MSI
        [   33.223414] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
        [   33.241080] snd_hda_codec_idt hdaudioC0D0: autoconfig for 92HD91BXX: line_outs=1 (0xa/0x0/0x0/0x0/0x0) type:line
        [   33.241082] snd_hda_codec_idt hdaudioC0D0:    speaker_outs=1 (0xd/0x0/0x0/0x0/0x0)
        [   33.241084] snd_hda_codec_idt hdaudioC0D0:    hp_outs=1 (0xb/0x0/0x0/0x0/0x0)
        [   33.241085] snd_hda_codec_idt hdaudioC0D0:    mono: mono_out=0x0
        [   33.241086] snd_hda_codec_idt hdaudioC0D0:    inputs:
        [   33.241088] snd_hda_codec_idt hdaudioC0D0:      Mic=0xc
        [   33.241089] snd_hda_codec_idt hdaudioC0D0:      Internal Mic=0x11
        [   33.241091] snd_hda_codec_idt hdaudioC0D0:      Line=0xf
        [   33.480372] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input20
        [   33.480458] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input21
        [   33.480526] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input22
        [   33.588662] Adding 11931644k swap on /dev/mapper/qubes_dom0-swap.  Priority:-2 extents:1 across:11931644k SSFS
        [   34.289114] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
        [   34.289373] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
        [   34.289582] input: HDA Intel PCH Dock Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card0/input18
        [   34.289785] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input19

        [   34.479079] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input23

        => dmesg, soundcard 0 PCH is detected...


Thank's fore any support!
Kind regards,
Fred.



awokd

unread,
Apr 13, 2020, 7:25:46 PM4/13/20
to qubes...@googlegroups.com
facethefrag:
> Hello
> (and sorry for previous post as an answer and not new thread...)
>
> I'm using Ques OS since 4 months and have an audio issue in DOM0 since last
> Wednesday (04/08/2020), and I'm unable to fix it...
>
> Any help or advise will be welcome !
>
> Issue Explanation:
>
> Intel PCH Audio card 0 is no more present in pulseaudio GUI, only the
> NVIDIA HDMI audio card 1 is present.
> Although hardware is OK (verified with my previous debian hard drive today).

Possibly try an older kernel in dom0? See
https://www.qubes-os.org/doc/software-update-dom0/#changing-default-kernel
if needed.

--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

FredGarr

unread,
Apr 15, 2020, 7:00:23 AM4/15/20
to qubes...@googlegroups.com
On 4/14/20 1:25 AM, 'awokd' via qubes-users wrote:
Possibly try an older kernel in dom0? See
https://www.qubes-os.org/doc/software-update-dom0/#changing-default-kernel
if needed.

Hi awokd,

Thank you for your suggestion.
In fact I already tried with latest kernel 4.19.107 for Qubes 4.0 rather than an older kernel, but this had no effect on the issue...

kind regards

Fred.


    

facethefrag

unread,
Apr 17, 2020, 4:00:13 AM4/17/20
to qubes-users
[SOLVED]

Hi everyone,

Found what caused the issue, I inadvertently moved the Audio PCH PCI device in the selected devices on sys-usb Qube....
This was what caused the Alsa kernel crash at power down (only one time), and why after Dom0 was then unable to connect to the Audio card.

Best regards,
Fred.
Reply all
Reply to author
Forward
0 new messages