Audio passthrough interrupted periodically
Hello Guys, I'm trying to setup Kodi audio passthrough (DTS -> alsa -> R9 FURY X HDMI -> Onkyo TX-NR676) using wayland, sway and 2-monitor configuration.
I created a report for Kodi developers and we figured out that most probably it's something wrong with amdgpu: forum.kodi.tv. So I followed the bugreport preparation guidelines and captured some debug information for you: set drm.debug=0x7, restarted the workstation and reproduced issue on kodi-wayland with debug enabled for both monitors.
I pressed "g" key when heard the issue start and end - you can find in kodi.log "HandleKey: g" (ignore the first one, it was a bad run).
* Monitor:
* drop - 2019-11-30 14:13:03.920 T:139828816126080 DEBUG: HandleKey: g (0xf047) pressed, action is
* restore - 2019-11-30 14:13:05.838 T:139828816126080 DEBUG: HandleKey: g (0xf047) pressed, action is
* drop - 2019-11-30 14:13:29.142 T:139828816126080 DEBUG: HandleKey: g (0xf047) pressed, action is
* restore - 2019-11-30 14:13:31.292 T:139828816126080 DEBUG: HandleKey: g (0xf047) pressed, action is
* Onkyo/Projector:
* drop - 2019-11-30 14:14:05.942 T:139828816126080 DEBUG: HandleKey: g (0xf047) pressed, action is
* restore - 2019-11-30 14:14:08.058 T:139828816126080 DEBUG: HandleKey: g (0xf047) pressed, action is
* drop - 2019-11-30 14:14:30.808 T:139828816126080 DEBUG: HandleKey: g (0xf047) pressed, action is
* restore - 2019-11-30 14:14:33.124 T:139828816126080 DEBUG: HandleKey: g (0xf047) pressed, action is
Both monitors are configured through wayland sway (1.2) :
output DP-3 res 1920x1080 position 0,0
output HDMI-A-1 res 1920x1080 position 1920,0
The logs are packed to archive (kern.log is quite big due to drm debug): amdgpu-191130.tar.gz.
Hopefully this information will help you to find the issue. If you need some additional info or testing - I'll be glad to help.