A Machine with Intel GPU and a plugged AMD card will hang as read certain codec as HDMI/DP monitor without audio output is plugged in intel gpu.

Bug #1870003 reported by Yuan-Chen Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
Confirmed
High
Unassigned
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Note: in bionic, it will cause login from graphic console to hang for a quite long time, most likely will failed in the end.

To reproduce:

HW: a machine with intel GPU and plugged AMD card.
A HDMI/DP monitor without audio output plugged into intel GPU.
TLP is installed with certain aggressive config.
Please refer to the tlp config is: LP: #1869999

try to "cat /proc/asound/card0/codec#2"

it will hang for long time (like 30 seconds) and kernel will output lots of log like:

[ 30.476204] snd_hda_intel 0000:00:0e.0: azx_get_response timeout, switching to polling mode: last cmd=0x20bf8100
[ 31.488128] snd_hda_intel 0000:00:0e.0: No response from codec, disabling MSI: last cmd=0x20bf8100
[ 169.630066] snd_hda_codec_hdmi hdaudioC0D2: Unable to sync register 0x2f0d00. -11
[ 420.027224] snd_hda_codec_hdmi hdaudioC0D2: Unable to sync register 0x2f0d00. -11
[ 422.051178] snd_hda_intel 0000:00:0e.0: azx_get_response timeout, switching to single_cmd mode: last cmd=0x20170503
[ 422.051383] azx_single_wait_for_response: 3 callbacks suppressed
[ 422.084088] snd_hda_codec_hdmi hdaudioC0D2: Unable to sync register 0x2f0d00. -5
...
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.13
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: gdm 1387 F.... pulseaudio
 /dev/snd/controlC1: gdm 1387 F.... pulseaudio
DistributionChannelDescriptor:
 # This is the distribution channel descriptor for the OEM CDs
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-bionic-amd64-20180608-47+beaver-osp1-sanbernardino+X106
DistroRelease: Ubuntu 18.04
InstallationDate: Installed on 2020-04-01 (0 days ago)
InstallationMedia: Ubuntu 18.04 "Bionic" - Build amd64 LIVE Binary 20180608-09:38
IwConfig:
 lo no wireless extensions.

 wlp0s12f0 no wireless extensions.

 enp2s0 no wireless extensions.
MachineType: Dell Inc. Wyse 5070 Extended Thin Client
Package: linux-oem-osp1 5.0.0.1046.49
PackageArchitecture: amd64
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-1046-oem-osp1 root=UUID=92c21a5d-dea7-4377-b26e-c7c0edccc25b ro mem_sleep_default=deep quiet splash vt.handoff=1
ProcVersionSignature: Ubuntu 5.0.0-1046.51-oem-osp1 5.0.21
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-5.0.0-1046-oem-osp1 N/A
 linux-backports-modules-5.0.0-1046-oem-osp1 N/A
 linux-firmware 1.173.9
Tags: bionic
Uname: Linux 5.0.0-1046-oem-osp1 x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 01/08/2020
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.5.0
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.5.0:bd01/08/2020:svnDellInc.:pnWyse5070ExtendedThinClient:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct3:cvr:
dmi.product.family: Wyse Thin Client 5000 Series
dmi.product.name: Wyse 5070 Extended Thin Client
dmi.product.sku: 080C
dmi.sys.vendor: Dell Inc.

tags: added: originate-1864966
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote : Dependencies.txt

apport information

tags: added: apport-collected bionic
description: updated
Changed in oem-priority:
status: New → Confirmed
importance: Undecided → High
description: updated
description: updated
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1870003

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
description: updated
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote : AlsaInfo.txt

apport information

description: updated
description: updated
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote : CRDA.txt

apport information

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote : Dependencies.txt

apport information

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote : Lspci.txt

apport information

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote : Lsusb.txt

apport information

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote : ProcEnviron.txt

apport information

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote : ProcModules.txt

apport information

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote : RfKill.txt

apport information

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote : UdevDb.txt

apport information

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote : WifiSyslog.txt

apport information

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.