[Kernel-packages] [Bug 1550779] Re: [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun

2019-04-27 Thread Behrang
I think this issue has been affecting me for a few years now but I just
recently started to look into it.

My current system is Ubuntu 19.04 but this issue was present even when I
was using 18.04 and 18.10 and even before that.

OS: Ubuntu 19.04
CPU: Intel Core i7 6700
Graphics (integrated only): HD Graphics 530 (Skylake GT2)

Anyway, from time to time only one of my monitors turn on. When that
happens `dmesg | grep i915` prints this:

```
➜  ~ dmesg -e | grep i915
[  +0.000545] i915 :00:02.0: vgaarb: changed VGA decodes: 
olddecodes=io+mem,decodes=io+mem:owns=io+mem
[  +0.000627] [drm] Finished loading DMC firmware i915/skl_dmc_ver1_27.bin 
(v1.27)
[  +0.003052] [drm] Initialized i915 1.6.0 20181204 for :00:02.0 on minor 0
[  +0.36] snd_hda_intel :00:1f.3: bound :00:02.0 (ops 
i915_audio_component_bind_ops [i915])
[  +0.47] i915 :00:02.0: fb0: inteldrmfb frame buffer device
[  +0.249846] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe 
A FIFO underrun

➜  ~ dmesg -T | grep i915
[Sat Apr 27 17:47:08 2019] i915 :00:02.0: vgaarb: changed VGA decodes: 
olddecodes=io+mem,decodes=io+mem:owns=io+mem
[Sat Apr 27 17:47:08 2019] [drm] Finished loading DMC firmware 
i915/skl_dmc_ver1_27.bin (v1.27)
[Sat Apr 27 17:47:09 2019] [drm] Initialized i915 1.6.0 20181204 for 
:00:02.0 on minor 0
[Sat Apr 27 17:47:09 2019] snd_hda_intel :00:1f.3: bound :00:02.0 (ops 
i915_audio_component_bind_ops [i915])
[Sat Apr 27 17:47:09 2019] i915 :00:02.0: fb0: inteldrmfb frame buffer 
device
[Sat Apr 27 17:47:09 2019] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] 
*ERROR* CPU pipe A FIFO underrun
```

When I switch to Wayland, sometimes none of my monitors turn on at all. Once 
when both turned on, I turned off one
and tried to turn it back on again, but it went into energy saving mode. Then 
`dmesg` was showing this:


```
➜  ~ dmesg -T | grep i915
[Sat Apr 27 18:14:17 2019] i915 :00:02.0: vgaarb: changed VGA decodes: 
olddecodes=io+mem,decodes=io+mem:owns=io+mem
[Sat Apr 27 18:14:17 2019] [drm] Finished loading DMC firmware 
i915/skl_dmc_ver1_27.bin (v1.27)
[Sat Apr 27 18:14:18 2019] [drm] Initialized i915 1.6.0 20181204 for 
:00:02.0 on minor 0
[Sat Apr 27 18:14:18 2019] snd_hda_intel :00:1f.3: bound :00:02.0 (ops 
i915_audio_component_bind_ops [i915])
[Sat Apr 27 18:14:18 2019] i915 :00:02.0: fb0: inteldrmfb frame buffer 
device
[Sat Apr 27 18:14:56 2019] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] 
*ERROR* CPU pipe B FIFO underrun

➜  ~ dmesg -e | grep i915
[  +0.000664] i915 :00:02.0: vgaarb: changed VGA decodes: 
olddecodes=io+mem,decodes=io+mem:owns=io+mem
[  +0.000861] [drm] Finished loading DMC firmware i915/skl_dmc_ver1_27.bin 
(v1.27)
[  +0.016298] [drm] Initialized i915 1.6.0 20181204 for :00:02.0 on minor 0
[  +0.47] snd_hda_intel :00:1f.3: bound :00:02.0 (ops 
i915_audio_component_bind_ops [i915])
[  +0.47] i915 :00:02.0: fb0: inteldrmfb frame buffer device
[ +23.689059] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe 
B FIFO underrun

```

I have attached the complete dmesg output in case that might help.

** Attachment added: "dmesg.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1550779/+attachment/5259448/+files/dmesg.txt

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

Title:
  [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A
  FIFO underrun

Status in linux package in Ubuntu:
  Confirmed
Status in xorg-server package in Ubuntu:
  Incomplete

Bug description:
  Upgraded linux-image-extra-4.2.0-30-generic I see graphic glitches,
  looks like the graphic buffer gets screwed up

  - funny repetition's patterns  (back in time glitches)
  - black screen (<1sec)
  - graphic errors  

  I can influence the severity of the issue with switching windows and
  using certain programs, e.g. Google Maps in chrome causes this issue
  reproducibly

  dmesg  | grep i915
  [2.726864] [drm] Initialized i915 1.6.0 20150522 for :00:02.0 on 
minor 0
  [2.792005] [drm] GMBUS [i915 gmbus dpb] timed out, falling back to bit 
banging on pin 5
  [3.471092] i915 :00:02.0: fb0: inteldrmfb frame buffer device
  [3.471093] i915 :00:02.0: registered panic notifier
  [9.573129] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU 
pipe A FIFO underrun
  [9.574847] [drm:intel_set_pch_fifo_underrun_reporting [i915]] *ERROR* 
uncleared pch fifo underrun on pch transcoder A
  [9.574895] [drm:intel_pch_fifo_underrun_irq_handler [i915]] *ERROR* PCH 
transcoder A FIFO underrun

  linux-image-extra-4.2.0-27-generic works find

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: xorg 1:7.7+7ubuntu4
  ProcVersionSignature: Ubuntu 4.2.0-30.36-generic 4.2.8-ckt3
  Uname: Linux 4.2.0-30-generic x86_64
  .tmp.unity.support

[Kernel-packages] [Bug 1490349] Re: 15:10 and 16.04: bluetoothd reports "Not enough handles to register service" at start

2016-07-16 Thread Behrang
This affects me too:

$ journalctl  | grep -i bluetooth
Jul 16 16:58:40 machine kernel: Bluetooth: Core ver 2.21
Jul 16 16:58:40 machine kernel: Bluetooth: HCI device and connection manager 
initialized
Jul 16 16:58:40 machine kernel: Bluetooth: HCI socket layer initialized
Jul 16 16:58:40 machine kernel: Bluetooth: L2CAP socket layer initialized
Jul 16 16:58:40 machine kernel: Bluetooth: SCO socket layer initialized
Jul 16 16:58:40 machine kernel: Bluetooth: HCI UART driver ver 2.3
Jul 16 16:58:40 machine kernel: Bluetooth: HCI UART protocol H4 registered
Jul 16 16:58:40 machine kernel: Bluetooth: HCI UART protocol BCSP registered
Jul 16 16:58:40 machine kernel: Bluetooth: HCI UART protocol LL registered
Jul 16 16:58:40 machine kernel: Bluetooth: HCI UART protocol ATH3K registered
Jul 16 16:58:40 machine kernel: Bluetooth: HCI UART protocol Three-wire (H5) 
registered
Jul 16 16:58:40 machine kernel: Bluetooth: HCI UART protocol Intel registered
Jul 16 16:58:40 machine kernel: Bluetooth: HCI UART protocol BCM registered
Jul 16 16:58:40 machine kernel: Bluetooth: HCI UART protocol QCA registered
Jul 16 16:58:41 machine kernel: Bluetooth: hci0: Bootloader revision 0.0 build 
2 week 52 2014
Jul 16 16:58:41 machine kernel: Bluetooth: hci0: Device revision is 5
Jul 16 16:58:41 machine kernel: Bluetooth: hci0: Secure boot is enabled
Jul 16 16:58:41 machine kernel: Bluetooth: hci0: OTP lock is enabled
Jul 16 16:58:41 machine kernel: Bluetooth: hci0: API lock is enabled
Jul 16 16:58:41 machine kernel: Bluetooth: hci0: Debug lock is disabled
Jul 16 16:58:41 machine kernel: Bluetooth: hci0: Minimum firmware build 1 week 
10 2014
Jul 16 16:58:41 machine kernel: Bluetooth: hci0: Found device firmware: 
intel/ibt-11-5.sfi
Jul 16 16:58:41 machine NetworkManager[898]:   [1468652321.0800] Loaded 
device plugin: NMBluezManager 
(/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.so)
Jul 16 16:58:41 machine kernel: Bluetooth: hci0: Failed to send firmware data 
(-38)
Jul 16 16:58:43 machine kernel: Bluetooth: hci0 command 0xfc05 tx timeout
Jul 16 16:58:47 machine kernel: Bluetooth: hci0: Reading Intel version 
information failed (-19)
Jul 16 16:58:48 machine systemd[1]: Starting Bluetooth service...
Jul 16 16:58:48 machine bluetoothd[1482]: Bluetooth daemon 5.37
Jul 16 16:58:48 machine bluetoothd[1482]: Starting SDP server
Jul 16 16:58:48 machine systemd[1]: Started Bluetooth service.
Jul 16 16:58:48 machine systemd[1]: Reached target Bluetooth.
Jul 16 16:58:48 machine systemd[1]: bluetooth.target: Unit not needed anymore. 
Stopping.
Jul 16 16:58:48 machine systemd[1]: Stopped target Bluetooth.
Jul 16 16:58:48 machine kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Jul 16 16:58:48 machine kernel: Bluetooth: BNEP filters: protocol multicast
Jul 16 16:58:48 machine kernel: Bluetooth: BNEP socket layer initialized
Jul 16 16:58:48 machine bluetoothd[1482]: Bluetooth management interface 1.10 
initialized
Jul 16 16:58:48 machine kernel: Bluetooth: hci0: Bootloader revision 0.0 build 
2 week 52 2014
Jul 16 16:58:48 machine kernel: Bluetooth: hci0: Device revision is 5
Jul 16 16:58:48 machine kernel: Bluetooth: hci0: Secure boot is enabled
Jul 16 16:58:48 machine kernel: Bluetooth: hci0: OTP lock is enabled
Jul 16 16:58:48 machine kernel: Bluetooth: hci0: API lock is enabled
Jul 16 16:58:48 machine kernel: Bluetooth: hci0: Debug lock is disabled
Jul 16 16:58:48 machine kernel: Bluetooth: hci0: Minimum firmware build 1 week 
10 2014
Jul 16 16:58:48 machine kernel: Bluetooth: hci0: Found device firmware: 
intel/ibt-11-5.sfi
Jul 16 16:58:50 machine kernel: Bluetooth: hci0: Waiting for firmware download 
to complete
Jul 16 16:58:50 machine kernel: Bluetooth: hci0: Firmware loaded in 1679702 
usecs
Jul 16 16:58:50 machine kernel: Bluetooth: hci0: Waiting for device to boot
Jul 16 16:58:50 machine kernel: Bluetooth: hci0: Device booted in 11770 usecs
Jul 16 16:58:50 machine kernel: Bluetooth: hci0: Found Intel DDC parameters: 
intel/ibt-11-5.ddc
Jul 16 16:58:50 machine kernel: Bluetooth: hci0: Applying Intel DDC parameters 
completed
Jul 16 16:58:50 machine kernel: Bluetooth: hci0: Setting Intel event mask 
failed (-16)
Jul 16 16:58:50 machine bluetoothd[1482]: Failed to obtain handles for "Service 
Changed" characteristic
Jul 16 16:58:50 machine bluetoothd[1482]: Not enough free handles to register 
service
Jul 16 16:58:50 machine bluetoothd[1482]: Error adding Link Loss service
Jul 16 16:58:50 machine bluetoothd[1482]: Not enough free handles to register 
service
Jul 16 16:58:50 machine bluetoothd[1482]: Not enough free handles to register 
service
Jul 16 16:58:50 machine bluetoothd[1482]: Not enough free handles to register 
service
Jul 16 16:58:50 machine bluetoothd[1482]: Current Time Service could not be 
registered
Jul 16 16:58:50 machine bluetoothd[1482]: gatt-time-server: Input/output error 
(5)
Jul 16 16:58:50 machine bluetoothd[1482]: Not enough free handles to register 
service
Jul 16 16:58:50 machin