Created attachment 133722 [details]
I have a Lamina 2-in-1 tablet running Debian testing (buster). After an update to Linux 4.12 sound stopped working in the GNOME session, however sound is still working in GDM (I can change the volume using the volume slider in GDM's top menu, and the "plopping" sound is playing then). However inside the actual GNOME session as the regular user, PulseAudio is not running. I can see a pulseaudio process running as the GDM user with the command line:
I tried manually running it from the user session (using /usr/bin/pulseaudio --daemonize=no --log-level=debug and it seems it crashes.
I have attached the debug printout from the manual run session and the output of lspci and lsmod, which I think might give hints.
Created attachment 133723 [details]
Output from lsmod
Created attachment 133724 [details]
Output from lspci
If I start pulseaudio manually with:
/usr/bin/pulseaudio --daemonize=no --realtime=no
it doesn't crash, and the devices shows up in gnome-control-center (test sound can be played).
This is a known problem with the snd_hdmi_lpe_audio driver. Can you test the patches that were mentioned in bug 100488? Several people have reported this problem, but nobody has been very helpful with testing the patches.
The patches are known to not fix the problem entirely, but testing that the HDMI jack detection works with the patches is the first step in getting the issue resolved. So, if you can test the patches, please apply them and try running pulseaudio without the --realtime=no argument. If it crashes (or gets killed to be precise) again, provide the debug log.
I'll mark this as a duplicate of 100488, please add further comments to that bug.
*** This bug has been marked as a duplicate of bug 100488 ***