I recently upgraded from 12.04 to 14.04. Since the upgrade I have been having
issues with X freezing after the screen enters power saving. The issue did not
occur in 12.04. If I boot up a raring or saucy kernel, the issue does not
occur. The 3.13 trusty, and 3.16 utopic kernels are affected. It also occured
when I tested the latest mainline drm-intel-next and utopic-rc kernels.
Symptoms:
After waking the screen from power saving/screensaver, the primary display wakes
but X stops responding to input (the mouse cursor can still move, but clicking
has no effect). Secondary display does not wake.
Frequency/conditions:
Occurs almost every time the screen enters power saving (possibly DPMS issue?)
When did you first notice it:
Immediately after upgrading to 14.04
The issue does NOT occur when running these older kernels:
linux-image-3.8.0-42-generic (3.8.0-42.62~precise1)
linux-image-3.11.0-24-generic (3.11.0-24.42~precise1)
The issue does occur when running these kernels:
linux-image-3.16.0-997-generic (3.16.0-997.201407120342)
linux-image-3.16.0-031600rc5-generic (3.16.0-031600rc5.201407131735)
linux-image-3.16.0-3-generic (3.16.0-3.8)
linux-image-3.13.0-32-generic (3.13.0-32.56)
Additional notes:
I have a hybrid Intel/Nvidia GPU model (Nvidia optimus), however the error
occurs whether or not I have invoked the discrete Nvidia card.
I am running the most recent BIOS for my system.
When running the 3.11 saucy kernel I still see error messages in dmesg after
entering power saving, however X does not freeze.
I recently upgraded from 12.04 to 14.04. Since the upgrade I have been having
issues with X freezing after the screen enters power saving. The issue did not
occur in 12.04. If I boot up a raring or saucy kernel, the issue does not
occur. The 3.13 trusty, and 3.16 utopic kernels are affected. It also occured
when I tested the latest mainline drm-intel-next and utopic-rc kernels.
Symptoms:
After waking the screen from power saving/screensaver, the primary display wakes
but X stops responding to input (the mouse cursor can still move, but clicking
has no effect). Secondary display does not wake.
Frequency/ conditions:
Occurs almost every time the screen enters power saving (possibly DPMS issue?)
When did you first notice it:
Immediately after upgrading to 14.04
I followed the suggestions at this URL and tested a few kernels: /wiki.ubuntu. com/X/Troublesh ooting/ Freeze
https:/
The issue does NOT occur when running these older kernels: image-3. 8.0-42- generic (3.8.0- 42.62~precise1) image-3. 11.0-24- generic (3.11.0- 24.42~precise1)
linux-
linux-
The issue does occur when running these kernels: image-3. 16.0-997- generic (3.16.0- 997.20140712034 2) image-3. 16.0-031600rc5- generic (3.16.0- 031600rc5. 201407131735) image-3. 16.0-3- generic (3.16.0-3.8) image-3. 13.0-32- generic (3.13.0-32.56)
linux-
linux-
linux-
linux-
Additional notes:
I have a hybrid Intel/Nvidia GPU model (Nvidia optimus), however the error
occurs whether or not I have invoked the discrete Nvidia card.
I am running the most recent BIOS for my system.
When running the 3.11 saucy kernel I still see error messages in dmesg after
entering power saving, however X does not freeze.
dmesg errors:
[ 4087.958566] WARNING: CPU: 6 PID: 1331 at /build/ buildd/ linux-3. 13.0/drivers/ gpu/drm/ i915/intel_ display. c:9237 intel_modeset_ check_state+ 0x62d/0x780 [i915]() codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer parport_pc ppdev lp hid_generic uvcvideo usbhid videobuf2_vmalloc videobuf2_memops intel_rapl videobuf2_core x86_pkg_ temp_thermal mei_me intel_powerclamp mei videodev hid iwlwifi snd dell_laptop dell_wmi coretemp dcdbas sparse_keymap wmi soundcore kvm_intel cfg80211 kvm parport joydev mac_hid lpc_ich serio_raw dm_crypt ses enclosure usb_storage i915 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul i2c_algo_bit glue_helper ablk_helper drm_kms_helper cryptd drm psmouse r8169 ahci libahci mii video cb4>] dump_stack+ 0x45/0x56 6cd>] warn_slowpath_ common+ 0x7d/0xa0 73c>] warn_slowpath_ fmt+0x4c/ 0x50 33d>] intel_modeset_ check_state+ 0x62d/0x780 [i915] 525>] intel_set_ mode+0x25/ 0x30 [i915] dcb>] intel_crtc_ set_config+ 0x7ab/0x9a0 [i915] ebd>] drm_mode_ set_config_ internal+ 0x5d/0xe0 [drm] da7>] drm_mode_ setcrtc+ 0xf7/0x5e0 [drm] c22>] drm_ioctl+ 0x502/0x630 [drm] d10>] do_vfs_ ioctl+0x2e0/ 0x4c0 df4>] ? vtime_account_ user+0x54/ 0x60 f71>] SyS_ioctl+0x81/0xa0 87f>] tracesys+0xe1/0xe6 pipe_config_ compare] *ERROR* mismatch in has_dp_encoder (expected 1, found 0) buildd/ linux-3. 13.0/drivers/ gpu/drm/ i915/intel_ display. c:9310 check_crtc_ state+0x255/ 0x340 [i915]() codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer parport_pc ppdev lp hid_generic uvcvideo usbhid videobuf2_vmalloc videobuf2_memops intel_rapl videobuf2_core x86_pkg_ temp_thermal mei_me intel_powerclamp mei videodev hid iwlwifi snd dell_laptop dell_wmi coretemp dcdbas sparse_keymap wmi soundcore kvm_intel cfg80211 kvm parport joydev mac_hid lpc_ich serio_raw dm_crypt ses enclosure usb_storage i915 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul i2c_algo_bit glue_helper ablk_helper drm_kms_helper cryptd drm psmouse r8169 ahci libahci mii video cb4>] dump_stack+ 0x45/0x56 6cd>] warn_slowpath_ common+ 0x7d/0xa0 73c>] warn_slowpath_ fmt+0x4c/ 0x50 0ab>] ? intel_pipe_ config_ compare+ 0x60b/0xae0 [i915] 8c5>] check_crtc_ state+0x255/ 0x340 [i915] fcb>] intel_modeset_ check_state+ 0x2bb/0x780 [i915] 525>] intel_set_ mode+0x25/ 0x30 [i915] dcb>] intel_crtc_ set_config+ 0x7ab/0x9a0 [i915] ebd>] drm_mode_ set_config_ internal+ 0x5d/0xe0 [drm] da7>] drm_mode_ setcrtc+ 0xf7/0x5e0 [drm] c22>] drm_ioctl+ 0x502/0x630 [drm] d10>] do_vfs_ ioctl+0x2e0/ 0x4c0 df4>] ? vtime_account_ user+0x54/ 0x60 f71>] SyS_ioctl+0x81/0xa0 87f>] tracesys+0xe1/0xe6
[ 4087.958571] encoder's hw state doesn't match sw tracking (expected 1, found 0)
[ 4087.958574] Modules linked in: bbswitch(OF) ipt_REJECT xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack iptable_filter ip_tables x_tables pci_stub vboxpci(OF) vboxnetadp(OF) vboxnetflt(OF) vboxdrv(OF) bnep rfcomm bluetooth binfmt_misc arc4 iwldvm mac80211 snd_hda_codec_hdmi snd_hda_
[ 4087.958682] CPU: 6 PID: 1331 Comm: Xorg Tainted: GF W O 3.13.0-32-generic #57-Ubuntu
[ 4087.958686] Hardware name: Dell Inc. Dell System XPS L502X/0NJT03, BIOS A12 09/07/2012
[ 4087.958690] 0000000000000009 ffff880220445b68 ffffffff8171bcb4 ffff880220445bb0
[ 4087.958698] ffff880220445ba0 ffffffff810676cd ffff880220445c20 0000000000000001
[ 4087.958705] ffff88022d517800 ffff88022d517af8 ffff88022ccc2800 ffff880220445c00
[ 4087.958712] Call Trace:
[ 4087.958728] [<ffffffff8171b
[ 4087.958737] [<ffffffff81067
[ 4087.958743] [<ffffffff81067
[ 4087.958783] [<ffffffffa0175
[ 4087.958817] [<ffffffffa0175
[ 4087.958851] [<ffffffffa0175
[ 4087.958893] [<ffffffffa006e
[ 4087.958929] [<ffffffffa0071
[ 4087.958956] [<ffffffffa0062
[ 4087.958975] [<ffffffff811cf
[ 4087.958983] [<ffffffff8109d
[ 4087.958992] [<ffffffff811cf
[ 4087.959002] [<ffffffff8172c
[ 4087.959007] ---[ end trace e81d86e8a034e409 ]---
[ 4087.959048] [drm:intel_
[ 4087.959052] ------------[ cut here ]------------
[ 4087.959085] WARNING: CPU: 6 PID: 1331 at /build/
[ 4087.959089] pipe state doesn't match!
[ 4087.959091] Modules linked in: bbswitch(OF) ipt_REJECT xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack iptable_filter ip_tables x_tables pci_stub vboxpci(OF) vboxnetadp(OF) vboxnetflt(OF) vboxdrv(OF) bnep rfcomm bluetooth binfmt_misc arc4 iwldvm mac80211 snd_hda_codec_hdmi snd_hda_
[ 4087.959183] CPU: 6 PID: 1331 Comm: Xorg Tainted: GF W O 3.13.0-32-generic #57-Ubuntu
[ 4087.959186] Hardware name: Dell Inc. Dell System XPS L502X/0NJT03, BIOS A12 09/07/2012
[ 4087.959189] 0000000000000009 ffff8802204458a8 ffffffff8171bcb4 ffff8802204458f0
[ 4087.959196] ffff8802204458e0 ffffffff810676cd ffff8802328ed6e0 ffff880220445970
[ 4087.959202] ffff88022d517800 ffff8802328ed000 ffff88022d517b28 ffff880220445940
[ 4087.959208] Call Trace:
[ 4087.959217] [<ffffffff8171b
[ 4087.959224] [<ffffffff81067
[ 4087.959230] [<ffffffff81067
[ 4087.959263] [<ffffffffa0166
[ 4087.959293] [<ffffffffa0167
[ 4087.959327] [<ffffffffa0174
[ 4087.959357] [<ffffffffa0175
[ 4087.959386] [<ffffffffa0175
[ 4087.959417] [<ffffffffa006e
[ 4087.959448] [<ffffffffa0071
[ 4087.959472] [<ffffffffa0062
[ 4087.959487] [<ffffffff811cf
[ 4087.959493] [<ffffffff8109d
[ 4087.959501] [<ffffffff811cf
[ 4087.959509] [<ffffffff8172c
[ 4087.959513] ---[ end trace e81d86e8a034e40a ]---