Open misiak1989 opened 7 years ago
The issue also demonstrates itself when the videos are played using other applications (tested by playing http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_30mb.mp4 in "Videos" application). Sometimes the sound and video freeze no matter if I switch the audio device back to internal speaker, sometimes the sound continues, but the video remain frozen.
dmesg shows nothing related to audio.
Attaching parts copied from systemlog that could be related to the issue (or not).
What's interesting from my point of view:
upon startup, the "input: Intel HDMI/DP LPE Audio HDMI/DP,pcm={0,1,2}" devices get mapped to "/devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/inputXXX" where "XXX" is either {6,7,8} or {7,8,9} or {8,9,10} (a bit random, don't know what it depends on), however it gets followed by "LPE base" setting etc that seem to have consistent values between rebots.
The last lines of file are from the exact moment when the hdmi audio failed and froze the video and audio streams. It says "protocol-native.c: Failed to push data into queue" multiple times. It also states multiple times "UPower-Linux-WARNING **: energy 25,555250 bigger than full 25,544750" around that statement, but I don't know if it's related to that or what it really means...
The syslog parts are available as pastebins too (I copied them that way from gpd pocket to my other laptop that I'm using now) - https://pastebin.com/AjnJuHna and https://pastebin.com/g2BwGuRC
Also created issue #22 that I found out during debugging.
HDMI audio output not working is a general Cherry Trail device issue, seen on all CHT devices out there. The kernel bits are in place, but some pulse-audio patches are necessary. Some people are working on this, there is a PA bug open for this somewhere but I've failed to find it.
I've found the PA bug where this is discussed: https://bugs.freedesktop.org/show_bug.cgi?id=100488
Ubuntu 16.04.3 (ubuntu-16.04.3-desktop-amd64_gpdpocket_2017-08-29.iso), updated to:
In the sound settings, as soon as I choose "Analog Output Intel HDMI/DP LPE Audio", it freezes both video and audio playback in browser (I only tested the browser sound output, but clicking "Test sound" also does not play via HDMI). Steps to reproduce:
I haven't checked the behavior in other applications (e.g. VLC), but will do that and report back if it's the same and if there are any related syslog entries or other kernel/alsa/pulseaudio/whatever messages written anywhere.