[Desktop-packages] [Bug 1712005] Re: External displays blank, kernel errors from i915/drm driver

2017-08-21 Thread Maketsi
Continued the battle for additional 1.5 hours.
I verified that both displays work fine when connected directly to the laptop 
(1 DP) without the HP ultraslim docking station (2 DPs) between. 

After powering off the docking station and rebooting the system for Nth
time, I finally got the pictures back. It's worth noting that the
password prompt for disk decryption was not shown on external displays,
nor the booting sequence. X11 login prompt was the first image.

It seems this was somehow affected by the docking station. Resolved for
now, but the ultimate cause stays unknown.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1712005

Title:
  External displays blank, kernel errors from i915/drm driver

Status in xorg package in Ubuntu:
  New

Bug description:
  My two external displayport connected displays worked fine until last 
thursday. After bringing my laptop to the same HP dock station three days 
later, they stayed blank no matter what.
  Displays are seen by X (other of them was powered off during the bug report) 
and detected correctly, but there is no picture.
  Displays worked with the current kernel 4.4.0-92-generic on thursday.
  Dmesg log is full of kernel errors from i915 driver, multiplied by me 
switching the monitors on and off while troubleshooting the issue.

  $ dmesg | fgrep WARNING
  [2.860874] WARNING: CPU: 0 PID: 1 at 
/build/linux-hVVhWi/linux-4.4.0/arch/x86/mm/ioremap.c:198 
__ioremap_caller+0x2c5/0x380()
  [  109.067969] WARNING: CPU: 2 PID: 78 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_dp_mst.c:493 
intel_dp_destroy_mst_connector+0xe7/0xf0 [i915]()
  [  109.384569] WARNING: CPU: 2 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
  [  110.235437] WARNING: CPU: 2 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
  [  142.534674] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
  [  196.127732] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
  [  211.875798] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
  [  273.426829] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
  [  273.728180] WARNING: CPU: 2 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
  [  274.583122] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
  [  290.154952] WARNING: CPU: 2 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
  [  301.498593] WARNING: CPU: 0 PID: 172 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
  [  326.124417] WARNING: CPU: 1 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
  [  355.932899] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
  [  356.032234] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
  [  384.356500] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
  [  384.458966] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
  [  448.277935] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
  [  448.370419] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()

  
  When enabling OR disabling the external display via Displays applet, the 
following error happens:

  [ 1782.969654] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
  [ 1782.969657] encoder's enabled state mismatch (expected 1, found 0)
  [ 1782.969658] Modules 

[Desktop-packages] [Bug 1712005] [NEW] External displays blank, kernel errors from i915/drm driver

2017-08-21 Thread Maketsi
Public bug reported:

My two external displayport connected displays worked fine until last thursday. 
After bringing my laptop to the same HP dock station three days later, they 
stayed blank no matter what.
Displays are seen by X (other of them was powered off during the bug report) 
and detected correctly, but there is no picture.
Displays worked with the current kernel 4.4.0-92-generic on thursday.
Dmesg log is full of kernel errors from i915 driver, multiplied by me switching 
the monitors on and off while troubleshooting the issue.

$ dmesg | fgrep WARNING
[2.860874] WARNING: CPU: 0 PID: 1 at 
/build/linux-hVVhWi/linux-4.4.0/arch/x86/mm/ioremap.c:198 
__ioremap_caller+0x2c5/0x380()
[  109.067969] WARNING: CPU: 2 PID: 78 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_dp_mst.c:493 
intel_dp_destroy_mst_connector+0xe7/0xf0 [i915]()
[  109.384569] WARNING: CPU: 2 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
[  110.235437] WARNING: CPU: 2 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
[  142.534674] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
[  196.127732] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
[  211.875798] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
[  273.426829] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
[  273.728180] WARNING: CPU: 2 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
[  274.583122] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
[  290.154952] WARNING: CPU: 2 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
[  301.498593] WARNING: CPU: 0 PID: 172 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
[  326.124417] WARNING: CPU: 1 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
[  355.932899] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
[  356.032234] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
[  384.356500] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
[  384.458966] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
[  448.277935] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
[  448.370419] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()


When enabling OR disabling the external display via Displays applet, the 
following error happens:

[ 1782.969654] WARNING: CPU: 3 PID: 1488 at 
/build/linux-hVVhWi/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12746 
intel_modeset_check_state+0x563/0x8a0 [i915]()
[ 1782.969657] encoder's enabled state mismatch (expected 1, found 0)
[ 1782.969658] Modules linked in: vmnet(OE) vmw_vsock_vmci_transport vsock 
vmw_vmci vmmon(OE) rfcomm bnep binfmt_misc arc4 hp_wmi sparse_keymap intel_rapl 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel iwlmvm kvm 
snd_hda_codec_hdmi mac80211 irqbypass snd_hda_codec_idt snd_hda_codec_generic 
joydev snd_hda_intel serio_raw snd_hda_codec snd_usb_audio snd_hda_core iwlwifi 
snd_usbmidi_lib snd_hwdep lpc_ich btusb btrtl input_leds snd_pcm btbcm 
rtsx_pci_ms snd_seq_midi btintel cfg80211 snd_seq_midi_event memstick bluetooth 
snd_rawmidi snd_seq snd_seq_device snd_timer snd mei_me soundcore mei shpchp 
hp_accel 8250_fintek lis3lv02d input_polldev mac_hid tpm_infineon hp_wireless 
ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 
nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4
[ 1782.969708]  nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack 

[Desktop-packages] [Bug 1551623] Re: package gconf2 3.2.6-3ubuntu6 failed to install/upgrade: dependency problems - leaving triggers unprocessed

2016-08-17 Thread Maketsi
I had this same problem, and managed to pass through it by furiously closing 
down those error windows manually during the upgrade process. It kept popping 
new ones up at least 50 times, and continued then normally.
When all the packages were upgraded, it finally popped up an error saying that 
some steps were not done and "the system may be in unstable state", without 
giving any kind of guidance on what to do next.

Manual 'apt-get upgrade' or 'apt-get dist-upgrade' didn't give any
errors or packages to upgrade, so I just rebooted. System seems to work
normally after reboot. I had to manually run 'apt-get autoremove' to get
rid of unused packages.

# apt-get upgrade gconf2
Reading package lists... Done
Building dependency tree   
Reading state information... Done
gconf2 is already the newest version (3.2.6-3ubuntu6).
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gconf in Ubuntu.
https://bugs.launchpad.net/bugs/1551623

Title:
  package gconf2 3.2.6-3ubuntu6 failed to install/upgrade: dependency
  problems - leaving triggers unprocessed

Status in gconf package in Ubuntu:
  Triaged

Bug description:
  When upgrading from 15.10 to 16.04Beta (2016-03-01), this error occured, 
alongside many others related to systemd and gnome. 
  Notice that despite all warnings and errors, finally, the system remained 
functional.

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: gconf2 3.2.6-3ubuntu6
  ProcVersionSignature: Ubuntu 4.4.0-8.23-generic 4.4.2
  Uname: Linux 4.4.0-8-generic x86_64
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  Date: Tue Mar  1 09:21:15 2016
  ErrorMessage: dependency problems - leaving triggers unprocessed
  InstallationDate: Installed on 2015-10-04 (148 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20151002)
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1
   apt  1.2.3
  SourcePackage: gconf
  Title: package gconf2 3.2.6-3ubuntu6 failed to install/upgrade: dependency 
problems - leaving triggers unprocessed
  UpgradeStatus: Upgraded to xenial on 2016-03-01 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gconf/+bug/1551623/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1560476] [NEW] intel drm stack dumps on dmesg + freezes

2016-03-22 Thread Maketsi
Public bug reported:

These DRM warnings started to appear on dmesg after moving from Ubuntu
14.04 LTS to 15.10. I can't notice anything on X usage when the messages
appear, but the system has recently freezed twice when shutting down a
VM running on Vmware workstation 11.1.3. That's why I started to monitor
the logs. No syslog messages were written about the crash itself, except
for some binary garbage. Laptop is hooked to a docking station, with two
external DP monitors.

Latest trace from syslog, 2 hours before the crash, is printed below.

Mar 22 09:00:25 gepardi kernel: [91894.923293] [ cut here 
]
Mar 22 09:00:25 gepardi kernel: [91894.923329] WARNING: CPU: 1 PID: 958 at 
/build/linux-_Kv5oI/linux
-4.2.0/drivers/gpu/drm/i915/intel_display.c:12306 check_crtc_state+0x3b3/0x440 
[i915]()
Mar 22 09:00:25 gepardi kernel: [91894.923330] crtc's computed enabled state 
doesn't match tracked e
nabled state (expected 0, found 1)
Mar 22 09:00:25 gepardi kernel: [91894.923372] Modules linked in: nls_utf8 
btrfs xor raid6_pq ufs qn
x4 hfsplus hfs minix ntfs msdos jfs xfs libcrc32c cpuid vmnet(OE) 
vmw_vsock_vmci_transport vsock vmw
_vmci vmmon(OE) rfcomm bnep arc4 intel_rapl x86_pkg_temp_thermal 
intel_powerclamp coretemp hp_wmi sp
arse_keymap iwlmvm kvm_intel kvm mac80211 snd_hda_codec_hdmi joydev 
snd_usb_audio serio_raw snd_hda_
codec_idt snd_hda_codec_generic iwlwifi btusb snd_usbmidi_lib rtsx_pci_ms 
snd_seq_midi btrtl snd_hda
_intel btbcm memstick snd_seq_midi_event snd_hda_codec cfg80211 btintel 
snd_rawmidi snd_seq snd_hda_
core lpc_ich bluetooth snd_hwdep input_leds snd_seq_device shpchp snd_pcm 
mei_me mei snd_timer snd s
oundcore hp_accel lis3lv02d input_polldev 8250_fintek tpm_infineon mac_hid 
hp_wireless parport_pc pp
dev lp parport autofs4 jitterentropy_rng drbg ansi_cprng algif_skcipher af_alg 
dm_crypt hid_generic 
usbhid hid rtsx_pci_sdmmc crct10dif_pclmul crc32_pclmul aesni_intel aes_x86_64 
lrw gf128mul glue_hel
per ablk_helper cryptd i915 psmouse e1000e ahci i2c_algo_bit libahci 
drm_kms_helper ptp rtsx_pci pps
_core drm wmi video
Mar 22 09:00:25 gepardi kernel: [91894.923389] CPU: 1 PID: 958 Comm: Xorg 
Tainted: GW  OE   
4.2.0-34-generic #39-Ubuntu
Mar 22 09:00:25 gepardi kernel: [91894.923390] Hardware name: Hewlett-Packard 
HP EliteBook 840 G1/19
8F, BIOS L71 Ver. 01.35 01/26/2016
Mar 22 09:00:25 gepardi kernel: [91894.923393]   
9a37d6b5 880097b133d8 f
fff817ebed3
Mar 22 09:00:25 gepardi kernel: [91894.923395]   
880097b13430 880097b13418 f
fff8107b986
Mar 22 09:00:25 gepardi kernel: [91894.923397]  0246 
880097b134c0 880426e74800 0
001
Mar 22 09:00:25 gepardi kernel: [91894.923397] Call Trace:
Mar 22 09:00:25 gepardi kernel: [91894.923405]  [] 
dump_stack+0x45/0x57
Mar 22 09:00:25 gepardi kernel: [91894.923410]  [] 
warn_slowpath_common+0x86/0xc0
Mar 22 09:00:25 gepardi kernel: [91894.923413]  [] 
warn_slowpath_fmt+0x55/0x70
Mar 22 09:00:25 gepardi kernel: [91894.923434]  [] ? 
intel_pipe_config_compare+0x5
eb/0xc60 [i915]
Mar 22 09:00:25 gepardi kernel: [91894.923451]  [] 
check_crtc_state+0x3b3/0x440 [i
915]
Mar 22 09:00:25 gepardi kernel: [91894.923474]  [] 
intel_modeset_check_state+0x21d
/0x6d0 [i915]
Mar 22 09:00:25 gepardi kernel: [91894.923492]  [] 
intel_crtc_set_config+0x4c7/0x5
80 [i915]
Mar 22 09:00:25 gepardi kernel: [91894.923509]  [] 
drm_mode_set_config_internal+0x
66/0x100 [drm]
Mar 22 09:00:25 gepardi kernel: [91894.923517]  [] 
restore_fbdev_mode+0xc2/0xf0 [d
rm_kms_helper]
Mar 22 09:00:25 gepardi kernel: [91894.923522]  [] 
drm_fb_helper_restore_fbdev_mod
e_unlocked+0x29/0x70 [drm_kms_helper]
Mar 22 09:00:25 gepardi kernel: [91894.923527]  [] 
drm_fb_helper_set_par+0x31/0x60
 [drm_kms_helper]
Mar 22 09:00:25 gepardi kernel: [91894.923531]  [] 
drm_fb_helper_hotplug_event+0xca/0x110 [drm_kms_helper]
Mar 22 09:00:25 gepardi kernel: [91894.923535]  [] 
drm_fb_helper_restore_fbdev_mode_unlocked+0x4c/0x70 [drm_kms_helper]
Mar 22 09:00:25 gepardi kernel: [91894.923539]  [] 
drm_fb_helper_set_par+0x31/0x60 [drm_kms_helper]
Mar 22 09:00:25 gepardi kernel: [91894.923560]  [] 
intel_fbdev_set_par+0x1a/0x60 [i915]
Mar 22 09:00:25 gepardi kernel: [91894.923562]  [] ? 
fb_set_var+0x2ef/0x460
Mar 22 09:00:25 gepardi kernel: [91894.923563]  [] 
fb_set_var+0x236/0x460
Mar 22 09:00:25 gepardi kernel: [91894.923566]  [] ? 
check_preempt_wakeup+0xfa/0x220
Mar 22 09:00:25 gepardi kernel: [91894.923569]  [] ? 
update_curr+0x79/0x150
Mar 22 09:00:25 gepardi kernel: [91894.923572]  [] 
fbcon_blank+0x312/0x360
Mar 22 09:00:25 gepardi kernel: [91894.923576]  [] 
do_unblank_screen+0xd3/0x1a0
Mar 22 09:00:25 gepardi kernel: [91894.923579]  [] 
complete_change_console+0x5d/0xe0
Mar 22 09:00:25 gepardi kernel: [91894.923581]  [] 
vt_ioctl+0x12c9/0x12f0
Mar 22 09:00:25 gepardi kernel: [91894.923593]  [] ? 
drm_dropmaster_ioctl+0x77/0x90 [drm]
Mar 22 09:00:25 gepardi kernel: