Bug 111391 - External Screen not working after error [drm:intel_mst_disable_dp [i915]] *ERROR* failed to update payload -22
Summary: External Screen not working after error [drm:intel_mst_disable_dp [i915]] *ER...
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: high major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: Triaged, ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-13 09:19 UTC by Marc J
Modified: 2019-11-29 19:23 UTC (History)
2 users (show)

See Also:
i915 platform: KBL
i915 features: power/suspend-resume


Attachments
Dmesg (91.51 KB, text/plain)
2019-08-13 09:19 UTC, Marc J
no flags Details
dmesg after suspend with last fedora kernel (2.17 MB, text/plain)
2019-09-16 07:41 UTC, Marc J
no flags Details
Dmesg after suspend (#2) - with fedora kernel 5.2.11-200.fc30.x86_64 (2.28 MB, text/plain)
2019-09-16 07:45 UTC, Marc J
no flags Details
Dmesg after suspend (#3) - with fedora kernel 5.3.0 rc8 (1.30 MB, text/plain)
2019-09-16 16:49 UTC, Marc J
no flags Details

Description Marc J 2019-08-13 09:19:42 UTC
Created attachment 145045 [details]
Dmesg

On a HP Zbook 17 with Fedora 29, I intend to use Intel HD Graphics 630 + Wayland + external screen for displaying. 

I apologise if I do not submit this bug correctly on the right place. I am not sure what is the right place.


The symptomes are:
At boot everything work correctly: Internal and external display are working.

I also intend to use CUDA on my NVIDIA GPU. As soon as I execute "nvidia-smi" utility, my external displays stop working. The internal display continue to work correctly. Both display are on display ports on a HP thunderbold docking station but I also tried the HDMI port on the laptop and the result is the same.  

DMESG Logs show the following:


The 2 last lines appear when executing nvidia-smi, when the external displays stop working.

I tried several versions of NVIDIA utilities

These are the installed PCI graphic card:
$ lspci -vnn | grep VGA -A 10
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 630 [8086:591b] (rev 04) (prog-if 00 [VGA controller])
	DeviceName: Onboard IGD
	Subsystem: Hewlett-Packard Company Device [103c:8270]
	Flags: bus master, fast devsel, latency 0, IRQ 153
	Memory at 1ffa000000 (64-bit, non-prefetchable) [size=16M]
	Memory at a0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 6000 [size=64]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107GLM [Quadro M1200 Mobile] [10de:13b6] (rev a2) (prog-if 00 [VGA controller])
	Subsystem: Hewlett-Packard Company Device [103c:8270]
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at df000000 (32-bit, non-prefetchable) [size=16M]
	Memory at 80000000 (64-bit, prefetchable) [size=256M]
	Memory at 90000000 (64-bit, prefetchable) [size=32M]
	I/O ports at 5000 [size=128]
	[virtual] Expansion ROM at e0000000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia

lsmod returns this:
$ lsmod 
Module                  Size  Used by
rfcomm                 90112  4
fuse                  135168  3
xt_MASQUERADE          20480  3
xt_CHECKSUM            16384  2
tun                    57344  2
bridge                208896  0
stp                    16384  1 bridge
llc                    16384  2 bridge,stp
nf_conntrack_netbios_ns    16384  1
nf_conntrack_broadcast    16384  1 nf_conntrack_netbios_ns
xt_CT                  16384  1
ip6t_rpfilter          16384  1
ip6t_REJECT            16384  2
nf_reject_ipv6         20480  1 ip6t_REJECT
ipt_REJECT             16384  6
nf_reject_ipv4         16384  1 ipt_REJECT
xt_conntrack           16384  20
ebtable_nat            16384  1
ip6table_nat           16384  1
ip6table_mangle        16384  1
ip6table_raw           16384  1
ip6table_security      16384  1
iptable_nat            16384  1
nf_nat                 49152  3 ip6table_nat,iptable_nat,xt_MASQUERADE
iptable_mangle         16384  1
iptable_raw            16384  1
iptable_security       16384  1
nf_conntrack          159744  6 xt_conntrack,nf_nat,nf_conntrack_netbios_ns,nf_conntrack_broadcast,xt_CT,xt_MASQUERADE
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
libcrc32c              16384  2 nf_conntrack,nf_nat
ip_set                 57344  0
nfnetlink              16384  1 ip_set
ebtable_filter         16384  1
cdc_mbim               20480  0
ebtables               40960  2 ebtable_nat,ebtable_filter
cdc_ncm                40960  1 cdc_mbim
ip6table_filter        16384  1
ip6_tables             32768  7 ip6table_filter,ip6table_raw,ip6table_nat,ip6table_mangle,ip6table_security
iptable_filter         16384  1
ip_tables              32768  5 iptable_filter,iptable_security,iptable_raw,iptable_nat,iptable_mangle
cmac                   16384  1
bnep                   28672  2
sunrpc                454656  1
vfat                   20480  1
fat                    86016  1 vfat
snd_usb_audio         274432  3
btusb                  57344  0
btrtl                  20480  1 btusb
btbcm                  16384  1 btusb
snd_usbmidi_lib        40960  1 snd_usb_audio
btintel                28672  1 btusb
snd_rawmidi            45056  1 snd_usbmidi_lib
uvcvideo              114688  0
bluetooth             626688  31 btrtl,btintel,btbcm,bnep,btusb,rfcomm
videobuf2_vmalloc      20480  1 uvcvideo
videobuf2_memops       20480  1 videobuf2_vmalloc
videobuf2_v4l2         28672  1 uvcvideo
cdc_ether              24576  0
videobuf2_common       57344  2 videobuf2_v4l2,uvcvideo
videodev              237568  3 videobuf2_v4l2,uvcvideo,videobuf2_common
media                  61440  5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
ecdh_generic           16384  2 bluetooth
ecc                    32768  1 ecdh_generic
nvidia              18870272  0
arc4                   16384  2
intel_rapl             28672  0
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
mei_hdcp               24576  0
mei_wdt                16384  0
coretemp               20480  0
kvm_intel             299008  0
iwlmvm                462848  0
kvm                   753664  1 kvm_intel
mac80211              974848  1 iwlmvm
snd_hda_codec_conexant    20480  1
snd_hda_codec_generic    90112  1 snd_hda_codec_conexant
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_conexant
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
snd_hda_intel          49152  6
snd_hda_codec         159744  3 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_intel
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
snd_hda_core          102400  4 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec
iwlwifi               315392  1 iwlmvm
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
ghash_clmulni_intel    16384  0
intel_cstate           16384  0
snd_seq                86016  0
snd_seq_device         16384  2 snd_seq,snd_rawmidi
intel_uncore          139264  0
joydev                 28672  0
snd_pcm               114688  5 snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
intel_rapl_perf        16384  0
hp_wmi                 16384  0
cfg80211              831488  3 iwlmvm,iwlwifi,mac80211
sparse_keymap          16384  1 hp_wmi
intel_wmi_thunderbolt    20480  0
wmi_bmof               16384  0
snd_timer              40960  2 snd_seq,snd_pcm
rtsx_pci_ms            24576  0
thunderbolt           196608  0
snd                    94208  29 snd_hda_codec_generic,snd_seq,snd_hda_codec_conexant,snd_seq_device,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_timer,snd_pcm,snd_rawmidi
memstick               20480  1 rtsx_pci_ms
rfkill                 28672  8 hp_wmi,bluetooth,cfg80211
soundcore              16384  1 snd
i2c_i801               32768  0
mei_me                 45056  2
ipmi_devintf           20480  0
ipmi_msghandler        73728  2 ipmi_devintf,nvidia
mei                   126976  5 mei_wdt,mei_hdcp,mei_me
intel_pch_thermal      16384  0
hp_accel               28672  0
pcc_cpufreq            20480  0
lis3lv02d              28672  1 hp_accel
input_polldev          20480  1 lis3lv02d
hp_wireless            16384  0
acpi_pad               40960  0
i915                 2248704  16
rtsx_pci_sdmmc         32768  0
mmc_core              180224  1 rtsx_pci_sdmmc
i2c_algo_bit           16384  1 i915
drm_kms_helper        225280  1 i915
mxm_wmi                16384  0
e1000e                286720  0
drm                   495616  9 drm_kms_helper,i915
crc32c_intel           24576  10
tg3                   188416  0
nvme                   49152  3
serio_raw              20480  0
rtsx_pci               81920  2 rtsx_pci_sdmmc,rtsx_pci_ms
nvme_core              98304  5 nvme
wmi                    36864  4 hp_wmi,intel_wmi_thunderbolt,wmi_bmof,mxm_wmi
video                  49152  1 i915
qmi_wwan               40960  0
cdc_wdm                28672  3 cdc_mbim,qmi_wwan
usbnet                 49152  4 cdc_mbim,cdc_ncm,qmi_wwan,cdc_ether
mii                    16384  1 usbnet
vfio_pci               61440  0
irqbypass              16384  2 vfio_pci,kvm
vfio_virqfd            16384  1 vfio_pci
vfio_iommu_type1       32768  0
vfio                   36864  2 vfio_iommu_type1,vfio_pci
Comment 1 Lakshmi 2019-08-14 07:17:58 UTC
Marc, how did you recover from the situation so that external monitors starts working? Reboot?
Can you reproduce this issue with drmtip (https://cgit.freedesktop.org/drm-tip) with kernel parameters drm.debug=0x1e log_buf_len=4M. If the problem persists attach the full dmesg from boot.
Comment 2 Marc J 2019-09-16 07:41:46 UTC
Created attachment 145369 [details]
dmesg after suspend with last fedora kernel
Comment 3 Marc J 2019-09-16 07:45:49 UTC
Created attachment 145370 [details]
Dmesg after suspend (#2) - with fedora kernel 5.2.11-200.fc30.x86_64

Another dmesg but still with fedora kernel as I cant install drmtip.
Comment 4 Marc J 2019-09-16 07:52:21 UTC
I currently have 2 distinct external display, both connected to thunderbolt docking station.

As I disinstalled the nvidia driver currently, the result provided is the result after suspending the laptop and wakening it again. After wakening the laptop, both external displays are off and I can't wake them.

I must reboot to recover my external display.
Comment 5 Lakshmi 2019-09-16 15:10:31 UTC
 
> Another dmesg but still with fedora kernel as I cant install drmtip.
@Marc, If not drmtip, can you try the latest kernel 5.3? 
Is this issue 100% reproducible? 

@Sujaritha, any clues from the attached logs?
Setting the component as Power/suspend-resume. Correct me if I am wrong here.
Comment 6 Marc J 2019-09-16 16:49:39 UTC
Created attachment 145381 [details]
Dmesg after suspend (#3) - with fedora kernel 5.3.0 rc8

The same symptoms happen when tipping nvidia-smi command or after suspend/resume of the laptop.

After resume both external screens remains blank.
Recovery requires rebooting.

It is 100% reproductible.

Here the dmesg on kernel 5.3.0 rc8.
Comment 7 Lakshmi 2019-09-17 07:29:08 UTC
(In reply to Marc J from comment #6)
> Created attachment 145381 [details]
> Dmesg after suspend (#3) - with fedora kernel 5.3.0 rc8
> 
> The same symptoms happen when tipping nvidia-smi command or after
> suspend/resume of the laptop.
> 
> After resume both external screens remains blank.
> Recovery requires rebooting.
> 
> It is 100% reproductible.
> 
> Here the dmesg on kernel 5.3.0 rc8.

Thanks for feedback.
Comment 8 Martin Peres 2019-11-29 19:23:16 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/intel/issues/367.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.