Bug#759786: Bug is in intel drm, not gdm3, bug is still present.
John Hughes
john at calva.com
Mon Jan 26 17:23:12 UTC 2015
Well, I spoke too soon - it doesn't work with 3.14.1-3, the problem is
still present.
I'm now convinced that it's a kernel bug - in the intel driver.
Often, when I try to change the Gnome "primary" display from the
built-in lvds panel to the external (HDMI) monitor I get errrors like:
[ 111.840599] [drm:intel_dp_start_link_train] *ERROR* too many full
retries, give up
[ 112.053452] [drm:intel_dp_start_link_train] *ERROR* too many full
retries, give up
[ 112.061261] [drm:intel_dp_start_link_train] *ERROR* too many full
retries, give up
[ 112.069045] [drm:intel_dp_start_link_train] *ERROR* too many full
retries, give up
[ 112.076858] [drm:intel_dp_start_link_train] *ERROR* too many full
retries, give up
[ 112.084674] [drm:intel_dp_start_link_train] *ERROR* too many full
retries, give up
[ 112.092458] [drm:intel_dp_start_link_train] *ERROR* too many full
retries, give up
[ 112.092625] [drm:intel_dp_complete_link_train] *ERROR* failed to
train DP, aborting
[ 112.121420] [drm:cpt_verify_modeset] *ERROR* mode set failed: pipe A
stuck
And, on occasion:
[ 296.173419] ------------[ cut here ]------------
[ 296.173498] WARNING: CPU: 2 PID: 1341 at
/build/linux-CMiYW9/linux-3.16.7-ckt2/drivers/gpu/drm/i915/intel_display.c:3324
intel_crtc_wait_for_pending_flips+0x165/0x170 [i915]()
[ 296.173503] Modules linked in: binfmt_misc bnep cpufreq_stats
cpufreq_powersave cpufreq_userspace cpufreq_conservative qmi_wwan
cdc_wdm usbnet joydev tpm_infineon qcserial option usb_wwan usbserial
arc4 iTCO_wdt iTCO_vendor_support uvcvideo ecb iwldvm
x86_pkg_temp_thermal videobuf2_vmalloc videobuf2_memops
snd_hda_codec_hdmi intel_powerclamp mac80211 intel_rapl videobuf2_core
coretemp v4l2_common snd_hda_codec_realtek kvm_intel videodev
snd_hda_codec_generic kvm media psmouse pcspkr serio_raw btusb iwlwifi
bluetooth 6lowpan_iphc rtsx_pci_ms i2c_i801 memstick snd_hda_intel
snd_hda_controller cfg80211 snd_hda_codec snd_hwdep snd_pcm_oss
snd_mixer_oss sony_laptop snd_pcm rfkill snd_timer battery tpm_tis snd
tpm evdev soundcore processor ac mei_me shpchp mei lpc_ich loop fuse
parport_pc ppdev lp parport
[ 296.173593] autofs4 ext4 crc16 mbcache jbd2 sha256_ssse3
sha256_generic algif_skcipher af_alg dm_crypt dm_mod raid0 md_mod sg
sd_mod crc_t10dif crct10dif_generic crct10dif_pclmul crct10dif_common
crc32_pclmul crc32c_intel ghash_clmulni_intel rtsx_pci_sdmmc mmc_core
aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ahci
libahci libata scsi_mod i915 ehci_pci i2c_algo_bit xhci_hcd ehci_hcd
drm_kms_helper r8169 mii drm rtsx_pci mfd_core usbcore i2c_core
usb_common thermal button video thermal_sys
[ 296.173662] CPU: 2 PID: 1341 Comm: Xorg Not tainted 3.16.0-4-amd64 #1
Debian 3.16.7-ckt2-1
[ 296.173666] Hardware name: Sony Corporation VPCZ22AGX/VAIO, BIOS
R1010H5 07/28/2011
[ 296.173670] 0000000000000009 ffffffff81507263 0000000000000000
ffffffff81065847
[ 296.173677] 0000000000000000 ffff88025291e000 ffff880252f18210
ffff880252b2f800
[ 296.173683] ffff880252b2f800 ffffffffa021fe85 0000000000000000
ffff88009636d370
[ 296.173690] Call Trace:
[ 296.173703] [<ffffffff81507263>] ? dump_stack+0x41/0x51
[ 296.173713] [<ffffffff81065847>] ? warn_slowpath_common+0x77/0x90
[ 296.173745] [<ffffffffa021fe85>] ?
intel_crtc_wait_for_pending_flips+0x165/0x170 [i915]
[ 296.173754] [<ffffffff810a5940>] ? prepare_to_wait_event+0xf0/0xf0
[ 296.173782] [<ffffffffa0222fd0>] ?
intel_crtc_disable_planes+0x30/0x1a0 [i915]
[ 296.173809] [<ffffffffa0223555>] ? ironlake_crtc_disable+0x45/0x910
[i915]
[ 296.173831] [<ffffffffa00aeb5a>] ? drm_modeset_lock+0x2a/0xd0 [drm]
[ 296.173840] [<ffffffff8150bace>] ? mutex_lock+0xe/0x2a
[ 296.173868] [<ffffffffa0224817>] ? intel_crtc_update_dpms+0x67/0x90
[i915]
[ 296.173897] [<ffffffffa0228419>] ? intel_connector_dpms+0x59/0x70 [i915]
[ 296.173921] [<ffffffffa00a5fd6>] ?
drm_mode_obj_set_property_ioctl+0x396/0x3b0 [drm]
[ 296.173942] [<ffffffffa00a601e>] ?
drm_mode_connector_property_set_ioctl+0x2e/0x40 [drm]
[ 296.173962] [<ffffffffa00958b7>] ? drm_ioctl+0x1c7/0x5b0 [drm]
[ 296.173976] [<ffffffff812b4c88>] ? lockref_put_or_lock+0x48/0x80
[ 296.173984] [<ffffffff811bb44f>] ? dput+0x1f/0x170
[ 296.173990] [<ffffffff811b7d2f>] ? do_vfs_ioctl+0x2cf/0x4b0
[ 296.173997] [<ffffffff8108314c>] ? task_work_run+0x9c/0xd0
[ 296.174003] [<ffffffff811b7f91>] ? SyS_ioctl+0x81/0xa0
[ 296.174010] [<ffffffff8150d5ea>] ? int_signal+0x12/0x17
[ 296.174016] [<ffffffff8150d32d>] ?
system_call_fast_compare_end+0x10/0x15
[ 296.174021] ---[ end trace a16743e82932155b ]---
[ 296.553911] ------------[ cut here ]------------
[ 296.553986] WARNING: CPU: 2 PID: 1341 at
/build/linux-CMiYW9/linux-3.16.7-ckt2/drivers/gpu/drm/i915/intel_display.c:953
ironlake_crtc_disable+0x90/0x910 [i915]()
[ 296.553991] pipe_off wait timed out
[ 296.553993] Modules linked in: binfmt_misc bnep cpufreq_stats
cpufreq_powersave cpufreq_userspace cpufreq_conservative qmi_wwan
cdc_wdm usbnet joydev tpm_infineon qcserial option usb_wwan usbserial
arc4 iTCO_wdt iTCO_vendor_support uvcvideo ecb iwldvm
x86_pkg_temp_thermal videobuf2_vmalloc videobuf2_memops
snd_hda_codec_hdmi intel_powerclamp mac80211 intel_rapl videobuf2_core
coretemp v4l2_common snd_hda_codec_realtek kvm_intel videodev
snd_hda_codec_generic kvm media psmouse pcspkr serio_raw btusb iwlwifi
bluetooth 6lowpan_iphc rtsx_pci_ms i2c_i801 memstick snd_hda_intel
snd_hda_controller cfg80211 snd_hda_codec snd_hwdep snd_pcm_oss
snd_mixer_oss sony_laptop snd_pcm rfkill snd_timer battery tpm_tis snd
tpm evdev soundcore processor ac mei_me shpchp mei lpc_ich loop fuse
parport_pc ppdev lp parport
[ 296.554077] autofs4 ext4 crc16 mbcache jbd2 sha256_ssse3
sha256_generic algif_skcipher af_alg dm_crypt dm_mod raid0 md_mod sg
sd_mod crc_t10dif crct10dif_generic crct10dif_pclmul crct10dif_common
crc32_pclmul crc32c_intel ghash_clmulni_intel rtsx_pci_sdmmc mmc_core
aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ahci
libahci libata scsi_mod i915 ehci_pci i2c_algo_bit xhci_hcd ehci_hcd
drm_kms_helper r8169 mii drm rtsx_pci mfd_core usbcore i2c_core
usb_common thermal button video thermal_sys
[ 296.554140] CPU: 2 PID: 1341 Comm: Xorg Tainted: G W
3.16.0-4-amd64 #1 Debian 3.16.7-ckt2-1
[ 296.554144] Hardware name: Sony Corporation VPCZ22AGX/VAIO, BIOS
R1010H5 07/28/2011
[ 296.554148] 0000000000000009 ffffffff81507263 ffff8802535f3cc8
ffffffff81065847
[ 296.554154] ffff880252f10000 ffff8802535f3d18 0000000000000000
ffff880252b2fb38
[ 296.554159] ffff880252b2fb40 ffffffff810658ac ffffffffa027d7da
ffff880200000018
[ 296.554165] Call Trace:
[ 296.554177] [<ffffffff81507263>] ? dump_stack+0x41/0x51
[ 296.554186] [<ffffffff81065847>] ? warn_slowpath_common+0x77/0x90
[ 296.554192] [<ffffffff810658ac>] ? warn_slowpath_fmt+0x4c/0x50
[ 296.554229] [<ffffffffa02235a0>] ? ironlake_crtc_disable+0x90/0x910
[i915]
[ 296.554252] [<ffffffffa00aeb5a>] ? drm_modeset_lock+0x2a/0xd0 [drm]
[ 296.554262] [<ffffffff8150bace>] ? mutex_lock+0xe/0x2a
[ 296.554291] [<ffffffffa0224817>] ? intel_crtc_update_dpms+0x67/0x90
[i915]
[ 296.554323] [<ffffffffa0228419>] ? intel_connector_dpms+0x59/0x70 [i915]
[ 296.554349] [<ffffffffa00a5fd6>] ?
drm_mode_obj_set_property_ioctl+0x396/0x3b0 [drm]
[ 296.554370] [<ffffffffa00a601e>] ?
drm_mode_connector_property_set_ioctl+0x2e/0x40 [drm]
[ 296.554391] [<ffffffffa00958b7>] ? drm_ioctl+0x1c7/0x5b0 [drm]
[ 296.554404] [<ffffffff812b4c88>] ? lockref_put_or_lock+0x48/0x80
[ 296.554411] [<ffffffff811bb44f>] ? dput+0x1f/0x170
[ 296.554417] [<ffffffff811b7d2f>] ? do_vfs_ioctl+0x2cf/0x4b0
[ 296.554423] [<ffffffff8108314c>] ? task_work_run+0x9c/0xd0
[ 296.554429] [<ffffffff811b7f91>] ? SyS_ioctl+0x81/0xa0
[ 296.554435] [<ffffffff8150d5ea>] ? int_signal+0x12/0x17
[ 296.554441] [<ffffffff8150d32d>] ?
system_call_fast_compare_end+0x10/0x15
[ 296.554445] ---[ end trace a16743e82932155c ]---
xrandr shows my connected displays as:
Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 8192 x 8192
eDP1 connected (normal left inverted right x axis y axis)
1920x1080 59.94 + 59.93 40.00
1680x1050 59.95 59.88
1600x1024 60.17
1400x1050 59.98
1280x1024 60.02
1440x900 59.89
1280x960 60.00
1360x768 59.80 59.96
1152x864 60.00
1024x768 60.00
800x600 60.32 56.25
640x480 59.94
VGA2 disconnected (normal left inverted right x axis y axis)
HDMI2 connected primary 1920x1200+0+0 (normal left inverted right x axis
y axis) 519mm x 324mm
1920x1200 59.95*+
1920x1080 60.00 59.94
1680x1050 59.88
1400x1050 59.95
1280x1024 60.02
1440x900 59.90
1280x960 60.00
1280x800 59.91 1
1280x720 60.00 59.94
1024x768 60.00
800x600 60.32 56.25
720x480 60.00 59.94
640x480 60.00 59.94
DP1 disconnected (normal left inverted right x axis y axis)
"eDP1" seems to be the laptop display.
More information about the pkg-gnome-maintainers
mailing list