[Kernel-packages] [Bug 1535048] Re: i915 driver seems to cause system crash at random

2017-11-22 Thread Tyson Tan
*** This bug is a duplicate of bug 1554613 ***
https://bugs.launchpad.net/bugs/1554613

New test result today seems to be a intel P-state related problem.
I had reverted everything to their default state, with only the following 
changes in TLP settings:

/etc/default/tlp

# Set Intel P-state performance: 0..100 (%)
# Limit the max/min P-state to control the power dissipation of the CPU.
# Values are stated as a percentage of the available performance.
# Requires an Intel Core i processor with intel_pstate driver.
CPU_MIN_PERF_ON_AC=100
CPU_MAX_PERF_ON_AC=100
CPU_MIN_PERF_ON_BAT=100
CPU_MAX_PERF_ON_BAT=100

Now the machine never crashed no matter what tricked I played against
it. This workaround seemed to work both under a normal Linux kernel and
a realtime kernel.

I guess the crash was triggered by flipping the P-state to save power.
In the previous report I was using WebGL Aquarium to do the test, which
has a rather linear stress. But later when I was using Krita, whose
stresses on the CPU comes in spikes, the old workaround failed to work.
When connecting to an external monitor, it also did not crash anyway but
I guess it was using full power all the way because of the dualview
requires that much power.

-- 
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/1535048

Title:
  i915 driver seems to cause system crash at random

Status in libdrm package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  the system crashes totally at random... sometimes after hours sometimes after 
minutes... hardware reboot is required
  no problem under windows

  before it crashes though it always screw up the video for a few
  seconds

  lspci -nnk | egrep -i 
'3d|aphics|display|nouveau|nvidia|radeon|trident|vesa|vga'; uname -a; Xorg 
-version; sudo apt-get update; sudo apt-get install mesa-utils hardinfo fbset 
nux-tools; sudo fbset -i; apt-cache show xserver-xorg | grep Version; xrandr; 
fglrxinfo; nvidia-settings -g |head -n 30 ; sudo lshw -short; sudo lshw -C 
display; dpkg -l | egrep -i 
'fgl|intel|mesa|mesa-utils|nvidia|nouveau|radeon|trident|video-ati'; cat 
/etc/lsb-release; dmesg | egrep -i 
'abort|ailed|bug|error|fail|fgl|GLX|GPU|intel|missing|nouveau|NVIDIA|radeon|segment|trident|VESA|VGA|wfb|\(EE\)|\(WW\)';
 cat /proc/cpuinfo | grep -I model; cat /var/log/Xorg.0.log | egrep -i 
'abort|ailed|bug|display|error|fail|fgl|GLX|GPU|intel|issing|nouveau|nvidia|radeon|segment|trident|VESA|VGA|wfb|\(EE\)|\(WW\)';
 sudo dmidecode|egrep 'anufact|roduct|erial|elease'; cat /etc/X11/xorg.conf; 
/usr/lib/nux/unity_support_test -p; ubuntu-support-status ; sudo lsmod
  00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ 
Integrated Graphics Controller [8086:2772] (rev 02)
  Linux box 4.3.0-5-generic #16-Ubuntu SMP Wed Dec 16 23:33:25 UTC 2015 x86_64 
x86_64 x86_64 GNU/Linux

  X.Org X Server 1.17.3
  Release Date: 2015-10-26
  X Protocol Version 11, Revision 0
  Build Operating System: Linux 3.19.0-33-generic x86_64 Ubuntu
  Current Operating System: Linux box 4.3.0-5-generic #16-Ubuntu SMP Wed Dec 16 
23:33:25 UTC 2015 x86_64
  Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.3.0-5-generic 
root=UUID=1406f1b3-ed81-4320-a7df-aba3cb5d60e6 ro quiet splash vt.handoff=7
  Build Date: 25 November 2015 04:17:13PM
  xorg-server 2:1.17.3-2ubuntu2 (For technical support please see 
http://www.ubuntu.com/support)
  Current version of pixman: 0.33.6
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
  Hit:1 http://de.archive.ubuntu.com/ubuntu xenial InRelease
  Hit:2 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease
  Hit:3 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease
  Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
  Reading package lists... Done
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  fbset is already the newest version (2.1-28).
  nux-tools is already the newest version (4.0.8+16.04.20151210-0ubuntu1).
  hardinfo is already the newest version (0.5.1-1.4ubuntu1).
  mesa-utils is already the newest version (8.3.0-1).
  The following package was automatically installed and is no longer required:
libvpx2:i386
  Use 'sudo apt autoremove' to remove it.
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  mode "1280x1024"
  geometry 1280 1024 1280 1024 32
  timings 0 0 0 0 0 0 0
  accel true
  rgba 8/16,8/8,8/0,0/0
  endmode

  Frame buffer device information:
  Name : inteldrmfb
  Address : 0xd052
  Size : 5242880
  Type : PACKED PIXELS
  Visual : TRUECOLOR
  XPanStep : 1
  YPanStep : 1
  YWrapStep : 0
  LineLength : 5120
  Accelerator : No
  Version: 1:7.7+12ubuntu1
  Screen 0: minimum 8 x 8, current 1280 x 1024, maximum 32767 x 32767
  VGA1 

[Kernel-packages] [Bug 1535048] Re: i915 driver seems to cause system crash at random

2017-11-22 Thread Tyson Tan
*** This bug is a duplicate of bug 1554613 ***
https://bugs.launchpad.net/bugs/1554613

I did a few more tests. On my system, the combination of a realtime
(lowlatency) kernel and certain tlp settings fixed the random crash.
Although the side effect was the machine can get very hot because CPU
threads cannot be turned off.

Processor: Intel® Core™ i7-6567U
Graphics: Intel® Iris Graphics 550 (Skylake GT3e)
Linux kernel: 4.11.12-1-rt16-MANJARO
TLP modified settings (/etc/default/tlp):
SCHED_POWERSAVE_ON_AC=0
ENERGY_PERF_POLICY_ON_AC=normal

Note: this combination also solved the intel 8265 bluetooth random
disconnection and reconnection failure on this machine.

All these tests were carried out on Manjaro, but I did suffered similar
problem when I was testing Ubuntu 17.10. I hope my information can be
helpful.

-- 
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/1535048

Title:
  i915 driver seems to cause system crash at random

Status in libdrm package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  the system crashes totally at random... sometimes after hours sometimes after 
minutes... hardware reboot is required
  no problem under windows

  before it crashes though it always screw up the video for a few
  seconds

  lspci -nnk | egrep -i 
'3d|aphics|display|nouveau|nvidia|radeon|trident|vesa|vga'; uname -a; Xorg 
-version; sudo apt-get update; sudo apt-get install mesa-utils hardinfo fbset 
nux-tools; sudo fbset -i; apt-cache show xserver-xorg | grep Version; xrandr; 
fglrxinfo; nvidia-settings -g |head -n 30 ; sudo lshw -short; sudo lshw -C 
display; dpkg -l | egrep -i 
'fgl|intel|mesa|mesa-utils|nvidia|nouveau|radeon|trident|video-ati'; cat 
/etc/lsb-release; dmesg | egrep -i 
'abort|ailed|bug|error|fail|fgl|GLX|GPU|intel|missing|nouveau|NVIDIA|radeon|segment|trident|VESA|VGA|wfb|\(EE\)|\(WW\)';
 cat /proc/cpuinfo | grep -I model; cat /var/log/Xorg.0.log | egrep -i 
'abort|ailed|bug|display|error|fail|fgl|GLX|GPU|intel|issing|nouveau|nvidia|radeon|segment|trident|VESA|VGA|wfb|\(EE\)|\(WW\)';
 sudo dmidecode|egrep 'anufact|roduct|erial|elease'; cat /etc/X11/xorg.conf; 
/usr/lib/nux/unity_support_test -p; ubuntu-support-status ; sudo lsmod
  00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ 
Integrated Graphics Controller [8086:2772] (rev 02)
  Linux box 4.3.0-5-generic #16-Ubuntu SMP Wed Dec 16 23:33:25 UTC 2015 x86_64 
x86_64 x86_64 GNU/Linux

  X.Org X Server 1.17.3
  Release Date: 2015-10-26
  X Protocol Version 11, Revision 0
  Build Operating System: Linux 3.19.0-33-generic x86_64 Ubuntu
  Current Operating System: Linux box 4.3.0-5-generic #16-Ubuntu SMP Wed Dec 16 
23:33:25 UTC 2015 x86_64
  Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.3.0-5-generic 
root=UUID=1406f1b3-ed81-4320-a7df-aba3cb5d60e6 ro quiet splash vt.handoff=7
  Build Date: 25 November 2015 04:17:13PM
  xorg-server 2:1.17.3-2ubuntu2 (For technical support please see 
http://www.ubuntu.com/support)
  Current version of pixman: 0.33.6
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
  Hit:1 http://de.archive.ubuntu.com/ubuntu xenial InRelease
  Hit:2 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease
  Hit:3 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease
  Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
  Reading package lists... Done
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  fbset is already the newest version (2.1-28).
  nux-tools is already the newest version (4.0.8+16.04.20151210-0ubuntu1).
  hardinfo is already the newest version (0.5.1-1.4ubuntu1).
  mesa-utils is already the newest version (8.3.0-1).
  The following package was automatically installed and is no longer required:
libvpx2:i386
  Use 'sudo apt autoremove' to remove it.
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  mode "1280x1024"
  geometry 1280 1024 1280 1024 32
  timings 0 0 0 0 0 0 0
  accel true
  rgba 8/16,8/8,8/0,0/0
  endmode

  Frame buffer device information:
  Name : inteldrmfb
  Address : 0xd052
  Size : 5242880
  Type : PACKED PIXELS
  Visual : TRUECOLOR
  XPanStep : 1
  YPanStep : 1
  YWrapStep : 0
  LineLength : 5120
  Accelerator : No
  Version: 1:7.7+12ubuntu1
  Screen 0: minimum 8 x 8, current 1280 x 1024, maximum 32767 x 32767
  VGA1 connected primary 1280x1024+0+0 (normal left inverted right x axis y 
axis) 338mm x 270mm
 1280x1024 60.02*+ 75.02
 1152x864 75.00
 1024x768 75.08 70.07 60.00
 832x624 74.55
 800x600 72.19 75.00 60.32 56.25
 640x480 75.00 72.81 66.67 60.00
 720x400 70.08
  VIRTUAL1 disconnected (normal left inverted right x axis y axis)
  The program 'fglrxinfo' can be found in the following 

[Kernel-packages] [Bug 1535048] Re: i915 driver seems to cause system crash at random

2017-11-22 Thread Tyson Tan
*** This bug is a duplicate of bug 1554613 ***
https://bugs.launchpad.net/bugs/1554613

If you were testing on a laptop without a power supply connected, there
is an additional TLP settings change:

SCHED_POWERSAVE_ON_BAT=0

-- 
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/1535048

Title:
  i915 driver seems to cause system crash at random

Status in libdrm package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  the system crashes totally at random... sometimes after hours sometimes after 
minutes... hardware reboot is required
  no problem under windows

  before it crashes though it always screw up the video for a few
  seconds

  lspci -nnk | egrep -i 
'3d|aphics|display|nouveau|nvidia|radeon|trident|vesa|vga'; uname -a; Xorg 
-version; sudo apt-get update; sudo apt-get install mesa-utils hardinfo fbset 
nux-tools; sudo fbset -i; apt-cache show xserver-xorg | grep Version; xrandr; 
fglrxinfo; nvidia-settings -g |head -n 30 ; sudo lshw -short; sudo lshw -C 
display; dpkg -l | egrep -i 
'fgl|intel|mesa|mesa-utils|nvidia|nouveau|radeon|trident|video-ati'; cat 
/etc/lsb-release; dmesg | egrep -i 
'abort|ailed|bug|error|fail|fgl|GLX|GPU|intel|missing|nouveau|NVIDIA|radeon|segment|trident|VESA|VGA|wfb|\(EE\)|\(WW\)';
 cat /proc/cpuinfo | grep -I model; cat /var/log/Xorg.0.log | egrep -i 
'abort|ailed|bug|display|error|fail|fgl|GLX|GPU|intel|issing|nouveau|nvidia|radeon|segment|trident|VESA|VGA|wfb|\(EE\)|\(WW\)';
 sudo dmidecode|egrep 'anufact|roduct|erial|elease'; cat /etc/X11/xorg.conf; 
/usr/lib/nux/unity_support_test -p; ubuntu-support-status ; sudo lsmod
  00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ 
Integrated Graphics Controller [8086:2772] (rev 02)
  Linux box 4.3.0-5-generic #16-Ubuntu SMP Wed Dec 16 23:33:25 UTC 2015 x86_64 
x86_64 x86_64 GNU/Linux

  X.Org X Server 1.17.3
  Release Date: 2015-10-26
  X Protocol Version 11, Revision 0
  Build Operating System: Linux 3.19.0-33-generic x86_64 Ubuntu
  Current Operating System: Linux box 4.3.0-5-generic #16-Ubuntu SMP Wed Dec 16 
23:33:25 UTC 2015 x86_64
  Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.3.0-5-generic 
root=UUID=1406f1b3-ed81-4320-a7df-aba3cb5d60e6 ro quiet splash vt.handoff=7
  Build Date: 25 November 2015 04:17:13PM
  xorg-server 2:1.17.3-2ubuntu2 (For technical support please see 
http://www.ubuntu.com/support)
  Current version of pixman: 0.33.6
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
  Hit:1 http://de.archive.ubuntu.com/ubuntu xenial InRelease
  Hit:2 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease
  Hit:3 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease
  Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
  Reading package lists... Done
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  fbset is already the newest version (2.1-28).
  nux-tools is already the newest version (4.0.8+16.04.20151210-0ubuntu1).
  hardinfo is already the newest version (0.5.1-1.4ubuntu1).
  mesa-utils is already the newest version (8.3.0-1).
  The following package was automatically installed and is no longer required:
libvpx2:i386
  Use 'sudo apt autoremove' to remove it.
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  mode "1280x1024"
  geometry 1280 1024 1280 1024 32
  timings 0 0 0 0 0 0 0
  accel true
  rgba 8/16,8/8,8/0,0/0
  endmode

  Frame buffer device information:
  Name : inteldrmfb
  Address : 0xd052
  Size : 5242880
  Type : PACKED PIXELS
  Visual : TRUECOLOR
  XPanStep : 1
  YPanStep : 1
  YWrapStep : 0
  LineLength : 5120
  Accelerator : No
  Version: 1:7.7+12ubuntu1
  Screen 0: minimum 8 x 8, current 1280 x 1024, maximum 32767 x 32767
  VGA1 connected primary 1280x1024+0+0 (normal left inverted right x axis y 
axis) 338mm x 270mm
 1280x1024 60.02*+ 75.02
 1152x864 75.00
 1024x768 75.08 70.07 60.00
 832x624 74.55
 800x600 72.19 75.00 60.32 56.25
 640x480 75.00 72.81 66.67 60.00
 720x400 70.08
  VIRTUAL1 disconnected (normal left inverted right x axis y axis)
  The program 'fglrxinfo' can be found in the following packages:
   * fglrx
   * fglrx-updates
  Try: sudo apt-get install 
  The program 'nvidia-settings' is currently not installed. You can install it 
by typing:
  sudo apt-get install nvidia-settings
  H/W path Device Class Description
  ===
  system Computer
  /0 bus Motherboard
  /0/0 memory 1991MiB System memory
  /0/1 processor Intel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz
  /0/100 bridge 82945G/GZ/P/PL Memory Controller Hub
  /0/100/2 display 82945G/GZ Integrated Graphics Controller
  /0/100/1b multimedia NM10/ICH7 

[Kernel-packages] [Bug 1535048] Re: i915 driver seems to cause system crash at random

2017-11-21 Thread Tyson Tan
*** This bug is a duplicate of bug 1554613 ***
https://bugs.launchpad.net/bugs/1554613

On my system:
1) the problem doesn't seem to be related to i915 firmware (which the archlinux 
report I mentioned)
2) the problem seems to be triggered by a spike in CPU/GPU stress, it can be 
triggered by two kinds of actions in particular: disk partitioning / OpenGl 
accelerated applications
3) the problem is fixed when a realtime Linux kernel is being used

I highly suspect this to be a bug in Linux power management for Skylake.

-- 
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/1535048

Title:
  i915 driver seems to cause system crash at random

Status in libdrm package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  the system crashes totally at random... sometimes after hours sometimes after 
minutes... hardware reboot is required
  no problem under windows

  before it crashes though it always screw up the video for a few
  seconds

  lspci -nnk | egrep -i 
'3d|aphics|display|nouveau|nvidia|radeon|trident|vesa|vga'; uname -a; Xorg 
-version; sudo apt-get update; sudo apt-get install mesa-utils hardinfo fbset 
nux-tools; sudo fbset -i; apt-cache show xserver-xorg | grep Version; xrandr; 
fglrxinfo; nvidia-settings -g |head -n 30 ; sudo lshw -short; sudo lshw -C 
display; dpkg -l | egrep -i 
'fgl|intel|mesa|mesa-utils|nvidia|nouveau|radeon|trident|video-ati'; cat 
/etc/lsb-release; dmesg | egrep -i 
'abort|ailed|bug|error|fail|fgl|GLX|GPU|intel|missing|nouveau|NVIDIA|radeon|segment|trident|VESA|VGA|wfb|\(EE\)|\(WW\)';
 cat /proc/cpuinfo | grep -I model; cat /var/log/Xorg.0.log | egrep -i 
'abort|ailed|bug|display|error|fail|fgl|GLX|GPU|intel|issing|nouveau|nvidia|radeon|segment|trident|VESA|VGA|wfb|\(EE\)|\(WW\)';
 sudo dmidecode|egrep 'anufact|roduct|erial|elease'; cat /etc/X11/xorg.conf; 
/usr/lib/nux/unity_support_test -p; ubuntu-support-status ; sudo lsmod
  00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ 
Integrated Graphics Controller [8086:2772] (rev 02)
  Linux box 4.3.0-5-generic #16-Ubuntu SMP Wed Dec 16 23:33:25 UTC 2015 x86_64 
x86_64 x86_64 GNU/Linux

  X.Org X Server 1.17.3
  Release Date: 2015-10-26
  X Protocol Version 11, Revision 0
  Build Operating System: Linux 3.19.0-33-generic x86_64 Ubuntu
  Current Operating System: Linux box 4.3.0-5-generic #16-Ubuntu SMP Wed Dec 16 
23:33:25 UTC 2015 x86_64
  Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.3.0-5-generic 
root=UUID=1406f1b3-ed81-4320-a7df-aba3cb5d60e6 ro quiet splash vt.handoff=7
  Build Date: 25 November 2015 04:17:13PM
  xorg-server 2:1.17.3-2ubuntu2 (For technical support please see 
http://www.ubuntu.com/support)
  Current version of pixman: 0.33.6
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
  Hit:1 http://de.archive.ubuntu.com/ubuntu xenial InRelease
  Hit:2 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease
  Hit:3 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease
  Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
  Reading package lists... Done
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  fbset is already the newest version (2.1-28).
  nux-tools is already the newest version (4.0.8+16.04.20151210-0ubuntu1).
  hardinfo is already the newest version (0.5.1-1.4ubuntu1).
  mesa-utils is already the newest version (8.3.0-1).
  The following package was automatically installed and is no longer required:
libvpx2:i386
  Use 'sudo apt autoremove' to remove it.
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  mode "1280x1024"
  geometry 1280 1024 1280 1024 32
  timings 0 0 0 0 0 0 0
  accel true
  rgba 8/16,8/8,8/0,0/0
  endmode

  Frame buffer device information:
  Name : inteldrmfb
  Address : 0xd052
  Size : 5242880
  Type : PACKED PIXELS
  Visual : TRUECOLOR
  XPanStep : 1
  YPanStep : 1
  YWrapStep : 0
  LineLength : 5120
  Accelerator : No
  Version: 1:7.7+12ubuntu1
  Screen 0: minimum 8 x 8, current 1280 x 1024, maximum 32767 x 32767
  VGA1 connected primary 1280x1024+0+0 (normal left inverted right x axis y 
axis) 338mm x 270mm
 1280x1024 60.02*+ 75.02
 1152x864 75.00
 1024x768 75.08 70.07 60.00
 832x624 74.55
 800x600 72.19 75.00 60.32 56.25
 640x480 75.00 72.81 66.67 60.00
 720x400 70.08
  VIRTUAL1 disconnected (normal left inverted right x axis y axis)
  The program 'fglrxinfo' can be found in the following packages:
   * fglrx
   * fglrx-updates
  Try: sudo apt-get install 
  The program 'nvidia-settings' is currently not installed. You can install it 
by typing:
  sudo apt-get install nvidia-settings
  H/W path Device Class Description
  ===
 

[Kernel-packages] [Bug 1535048] Re: i915 driver seems to cause system crash at random

2017-11-21 Thread Tyson Tan
*** This bug is a duplicate of bug 1554613 ***
https://bugs.launchpad.net/bugs/1554613

Here is the crach log and further discussion linked by the bug reporter on 
archlinux:
https://github.com/nisenbeck/ct-server-2016-jessie/issues/1

** Attachment added: "intel_crash.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1535048/+attachment/5012275/+files/intel_crash.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/1535048

Title:
  i915 driver seems to cause system crash at random

Status in libdrm package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  the system crashes totally at random... sometimes after hours sometimes after 
minutes... hardware reboot is required
  no problem under windows

  before it crashes though it always screw up the video for a few
  seconds

  lspci -nnk | egrep -i 
'3d|aphics|display|nouveau|nvidia|radeon|trident|vesa|vga'; uname -a; Xorg 
-version; sudo apt-get update; sudo apt-get install mesa-utils hardinfo fbset 
nux-tools; sudo fbset -i; apt-cache show xserver-xorg | grep Version; xrandr; 
fglrxinfo; nvidia-settings -g |head -n 30 ; sudo lshw -short; sudo lshw -C 
display; dpkg -l | egrep -i 
'fgl|intel|mesa|mesa-utils|nvidia|nouveau|radeon|trident|video-ati'; cat 
/etc/lsb-release; dmesg | egrep -i 
'abort|ailed|bug|error|fail|fgl|GLX|GPU|intel|missing|nouveau|NVIDIA|radeon|segment|trident|VESA|VGA|wfb|\(EE\)|\(WW\)';
 cat /proc/cpuinfo | grep -I model; cat /var/log/Xorg.0.log | egrep -i 
'abort|ailed|bug|display|error|fail|fgl|GLX|GPU|intel|issing|nouveau|nvidia|radeon|segment|trident|VESA|VGA|wfb|\(EE\)|\(WW\)';
 sudo dmidecode|egrep 'anufact|roduct|erial|elease'; cat /etc/X11/xorg.conf; 
/usr/lib/nux/unity_support_test -p; ubuntu-support-status ; sudo lsmod
  00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ 
Integrated Graphics Controller [8086:2772] (rev 02)
  Linux box 4.3.0-5-generic #16-Ubuntu SMP Wed Dec 16 23:33:25 UTC 2015 x86_64 
x86_64 x86_64 GNU/Linux

  X.Org X Server 1.17.3
  Release Date: 2015-10-26
  X Protocol Version 11, Revision 0
  Build Operating System: Linux 3.19.0-33-generic x86_64 Ubuntu
  Current Operating System: Linux box 4.3.0-5-generic #16-Ubuntu SMP Wed Dec 16 
23:33:25 UTC 2015 x86_64
  Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.3.0-5-generic 
root=UUID=1406f1b3-ed81-4320-a7df-aba3cb5d60e6 ro quiet splash vt.handoff=7
  Build Date: 25 November 2015 04:17:13PM
  xorg-server 2:1.17.3-2ubuntu2 (For technical support please see 
http://www.ubuntu.com/support)
  Current version of pixman: 0.33.6
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
  Hit:1 http://de.archive.ubuntu.com/ubuntu xenial InRelease
  Hit:2 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease
  Hit:3 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease
  Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
  Reading package lists... Done
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  fbset is already the newest version (2.1-28).
  nux-tools is already the newest version (4.0.8+16.04.20151210-0ubuntu1).
  hardinfo is already the newest version (0.5.1-1.4ubuntu1).
  mesa-utils is already the newest version (8.3.0-1).
  The following package was automatically installed and is no longer required:
libvpx2:i386
  Use 'sudo apt autoremove' to remove it.
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  mode "1280x1024"
  geometry 1280 1024 1280 1024 32
  timings 0 0 0 0 0 0 0
  accel true
  rgba 8/16,8/8,8/0,0/0
  endmode

  Frame buffer device information:
  Name : inteldrmfb
  Address : 0xd052
  Size : 5242880
  Type : PACKED PIXELS
  Visual : TRUECOLOR
  XPanStep : 1
  YPanStep : 1
  YWrapStep : 0
  LineLength : 5120
  Accelerator : No
  Version: 1:7.7+12ubuntu1
  Screen 0: minimum 8 x 8, current 1280 x 1024, maximum 32767 x 32767
  VGA1 connected primary 1280x1024+0+0 (normal left inverted right x axis y 
axis) 338mm x 270mm
 1280x1024 60.02*+ 75.02
 1152x864 75.00
 1024x768 75.08 70.07 60.00
 832x624 74.55
 800x600 72.19 75.00 60.32 56.25
 640x480 75.00 72.81 66.67 60.00
 720x400 70.08
  VIRTUAL1 disconnected (normal left inverted right x axis y axis)
  The program 'fglrxinfo' can be found in the following packages:
   * fglrx
   * fglrx-updates
  Try: sudo apt-get install 
  The program 'nvidia-settings' is currently not installed. You can install it 
by typing:
  sudo apt-get install nvidia-settings
  H/W path Device Class Description
  ===
  system Computer
  /0 bus Motherboard
  /0/0 memory 1991MiB System memory
  /0/1 processor Intel(R) Pentium(R) Dual CPU 

[Kernel-packages] [Bug 1535048] Re: i915 driver seems to cause system crash at random

2017-11-21 Thread Tyson Tan
*** This bug is a duplicate of bug 1554613 ***
https://bugs.launchpad.net/bugs/1554613

I have a machine with intel Skylake and it is suffering random reboot.
Although I'm not familiar with hardware side of things, please let me
know if there is anything I can help.

Meanwhile, the archlinux community has a similar report but they suspect i915 
firmware.
https://bugs.archlinux.org/task/53227

** Bug watch added: github.com/nisenbeck/ct-server-2016-jessie/issues #1
   https://github.com/nisenbeck/ct-server-2016-jessie/issues/1

-- 
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/1535048

Title:
  i915 driver seems to cause system crash at random

Status in libdrm package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  the system crashes totally at random... sometimes after hours sometimes after 
minutes... hardware reboot is required
  no problem under windows

  before it crashes though it always screw up the video for a few
  seconds

  lspci -nnk | egrep -i 
'3d|aphics|display|nouveau|nvidia|radeon|trident|vesa|vga'; uname -a; Xorg 
-version; sudo apt-get update; sudo apt-get install mesa-utils hardinfo fbset 
nux-tools; sudo fbset -i; apt-cache show xserver-xorg | grep Version; xrandr; 
fglrxinfo; nvidia-settings -g |head -n 30 ; sudo lshw -short; sudo lshw -C 
display; dpkg -l | egrep -i 
'fgl|intel|mesa|mesa-utils|nvidia|nouveau|radeon|trident|video-ati'; cat 
/etc/lsb-release; dmesg | egrep -i 
'abort|ailed|bug|error|fail|fgl|GLX|GPU|intel|missing|nouveau|NVIDIA|radeon|segment|trident|VESA|VGA|wfb|\(EE\)|\(WW\)';
 cat /proc/cpuinfo | grep -I model; cat /var/log/Xorg.0.log | egrep -i 
'abort|ailed|bug|display|error|fail|fgl|GLX|GPU|intel|issing|nouveau|nvidia|radeon|segment|trident|VESA|VGA|wfb|\(EE\)|\(WW\)';
 sudo dmidecode|egrep 'anufact|roduct|erial|elease'; cat /etc/X11/xorg.conf; 
/usr/lib/nux/unity_support_test -p; ubuntu-support-status ; sudo lsmod
  00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ 
Integrated Graphics Controller [8086:2772] (rev 02)
  Linux box 4.3.0-5-generic #16-Ubuntu SMP Wed Dec 16 23:33:25 UTC 2015 x86_64 
x86_64 x86_64 GNU/Linux

  X.Org X Server 1.17.3
  Release Date: 2015-10-26
  X Protocol Version 11, Revision 0
  Build Operating System: Linux 3.19.0-33-generic x86_64 Ubuntu
  Current Operating System: Linux box 4.3.0-5-generic #16-Ubuntu SMP Wed Dec 16 
23:33:25 UTC 2015 x86_64
  Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.3.0-5-generic 
root=UUID=1406f1b3-ed81-4320-a7df-aba3cb5d60e6 ro quiet splash vt.handoff=7
  Build Date: 25 November 2015 04:17:13PM
  xorg-server 2:1.17.3-2ubuntu2 (For technical support please see 
http://www.ubuntu.com/support)
  Current version of pixman: 0.33.6
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
  Hit:1 http://de.archive.ubuntu.com/ubuntu xenial InRelease
  Hit:2 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease
  Hit:3 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease
  Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
  Reading package lists... Done
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  fbset is already the newest version (2.1-28).
  nux-tools is already the newest version (4.0.8+16.04.20151210-0ubuntu1).
  hardinfo is already the newest version (0.5.1-1.4ubuntu1).
  mesa-utils is already the newest version (8.3.0-1).
  The following package was automatically installed and is no longer required:
libvpx2:i386
  Use 'sudo apt autoremove' to remove it.
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  mode "1280x1024"
  geometry 1280 1024 1280 1024 32
  timings 0 0 0 0 0 0 0
  accel true
  rgba 8/16,8/8,8/0,0/0
  endmode

  Frame buffer device information:
  Name : inteldrmfb
  Address : 0xd052
  Size : 5242880
  Type : PACKED PIXELS
  Visual : TRUECOLOR
  XPanStep : 1
  YPanStep : 1
  YWrapStep : 0
  LineLength : 5120
  Accelerator : No
  Version: 1:7.7+12ubuntu1
  Screen 0: minimum 8 x 8, current 1280 x 1024, maximum 32767 x 32767
  VGA1 connected primary 1280x1024+0+0 (normal left inverted right x axis y 
axis) 338mm x 270mm
 1280x1024 60.02*+ 75.02
 1152x864 75.00
 1024x768 75.08 70.07 60.00
 832x624 74.55
 800x600 72.19 75.00 60.32 56.25
 640x480 75.00 72.81 66.67 60.00
 720x400 70.08
  VIRTUAL1 disconnected (normal left inverted right x axis y axis)
  The program 'fglrxinfo' can be found in the following packages:
   * fglrx
   * fglrx-updates
  Try: sudo apt-get install 
  The program 'nvidia-settings' is currently not installed. You can install it 
by typing:
  sudo apt-get install nvidia-settings
  H/W path Device Class Description
  ===
 

[Kernel-packages] [Bug 1136110] Re: USB Audio Codec choppy playback

2015-11-21 Thread Tyson Tan
I thoroughly tested the patches when the bug happened to me before. The
same kind of stuttering never happened again after the fix was released.
I suppose the newer reports are not related to this bug. Please
understand not all choppy audio has the same source.

You may troubleshoot over these things:
1) Turn off Wireless and Bluetooth. CSR Bluetooth adapters are more stable. 
Broadcom to my experience is very bad at this. Realtek wifi chips are kinda 
bad, too.
2) Do not use USB hub, or make sure it is sufficiently powered (>500mA per 
port, >2A DC adapter).
3) Make sure the playback samplerate is native of the device. Pulseaudio's SRC 
could introduce stuttering. If your DAC is 48K by default and you output 44.1K 
to Pulseaudio, it can chop things up.
4) Do not use aggressive power save options in your BIOS.
5) Try plug the DAC on USB2.0 only ports, not USB3.0 ports. Many USB3.0 ports 
are running on 3rd party chips.

Hope it helps!

-- 
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/1136110

Title:
  USB Audio Codec choppy playback

Status in linux package in Ubuntu:
  Fix Released

Bug description:
  1) The release of Ubuntu using
  Ubuntu 12.10 AMD64.
  Ubuntu 13.04 AMD64, daily build as new as 20130314.

  2) The version of the package used
  linux-image-3.5.0-26-generic
  linux-image-3.5.7-03050706-generic_3.5.7-03050706.201302221435_amd64.deb
  http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5.7.6-quantal/
  linux-image-3.7.7-030707-generic_3.7.7-030707.201302111436_amd64.deb
  http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.7.7-raring/
  linux-image-3.8.0-030800rc7-generic_3.8.0-030800rc7.201302081635_amd64.deb
  http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.8-rc7-raring/

  This bug had been confirmed appearing after the following kernel upgrade step:
  v3.5.0-25 > v3.5.0-26 ~ v3.5.0-27
  v3.5.7.5 > v3.5.7.6 ~ v3.5.7.8
  v3.7.6 > v3.7.7 ~ v3.7.10
  v3.8.0-rc6 > v3.8.0-rc7 ~ v3.8.5
  The v3.9 branch has been affected since its very first release.
  v3.9-rc1, v3.9-rc2, v3.9-rc3 v3.9-rc4 are all affected.

  3) What you expected to happen
  When using a USB DAC to play audio, the audio should be played normally 
without any interruption.

  4) What happened instead
  This bug seems to affect only a certain kind of hardware, which is called 
"Asynchronous USB Digital Audio Codec (DAC)". It's said that such a DAC hosts 
the clock itself (USB Device Host). An ordinary DAC, so called "Synchronous USB 
DAC", uses the clock hosted by the mother board, which is not affected by this 
bug.

  When this bug affects an asynchronous USB DAC, the audio played by the
  DAC is constantly interrupted. The playback itself does not stop, but
  the output becomes discontinous, filling with constant crackling
  noises, destroying everything the DAC plays.

  Using CLI command grep device.buffering to get the buffer from the
  devices, those affected kernels are reporting back a different number
  to the unaffected devices. The choppy noise is very similar to the
  situation when buffer size is not correctly set.

  I have tested four USB DACs, two Asynchronous and two Synchronous.
  Only the Asynchronous ones are affected by this bug.

  Affected Devices:
  Arce MDAC5
  Arce MDAC mini
  Ayre Acoustics QB-9
  Dragonfly USB DAC
  Musical Fidelity v2 DAC

  USB Audio Streaming Controller on affected devices:
  Texas Instrument TAS1020
  http://www.ti.com/product/tas1020

  Audio DAC on affected devices:
  Texas Instruments PCM1742
  http://www.ti.com/product/pcm1742

  This bug had been confirmed appearing after the following kernel upgrade step:
  3.5.0-25 > 3.5.0-26
  3.5.7.5 > 3.5.7.6 (and all 3.5.7.x above)
  3.7.6 > 3.7.7 (and all 3.7.x above)
  3.8.0-rc6 > 3.8.0-rc7 (and all 3.8.x above)
  I used Kdiff to find the similar patches, and find the following patches 
suspicous:
  USB: XHCI: fix memory leak of URB-private data
  (appeared in 3.5.7.6/3.7.7/3.8.0-rc7)
  USB: EHCI: fix for leaking isochronous data
  (appeared in 3.7.7/3.8.0-rc7)
  usb: Prevent dead ports when xhci is not enabled
  (appeared in 3.5.7.6/3.7.7/3.8.0-rc7)
  usb: Using correct way to clear usb3.0 device's remote wakeup feature
  (appeared in 3.5.7.6/3.7.7/3.8.0-rc7)
  USB: EHCI: remove ASS/PSS polling timeout
  (appeared in 3.7.7/3.8.0-rc7)
  USB: EHCI: unlink one async QH at a time
  (appeared in 3.7.7/3.8.0-rc7)
  USB: EHCI: fix timer bug affecting port resume
  (appeared in 3.5.7.6/3.7.7/3.8.0-rc7)
  USB: EHCI: fix bug in scheduling periodic split transfers
  (appeared in 3.5.7.6/3.7.7/3.8.0-rc7)

  Hope someone can look into this bug soon!

  ---
  ApportVersion: 2.6.1-0ubuntu10
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  tysontan   2117 F pulseaudio
   /dev/snd/controlC1:  tysontan   2117 F pulseaudio
   /dev/snd/pcmC1D0p:   tysontan   2117 F...m pulseaudio
  CRDA: 

[Kernel-packages] [Bug 1136110] Re: USB Audio Codec choppy playback

2013-11-09 Thread Tyson Tan
@Andrejs
I'm using Trisquel 6.0 (Ubuntu 12.04 based) + Linux-libre 3.11.x / 3.12.0, it 
works fine for me.

-- 
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/1136110

Title:
  USB Audio Codec choppy playback

Status in “linux” package in Ubuntu:
  Fix Released

Bug description:
  1) The release of Ubuntu using
  Ubuntu 12.10 AMD64.
  Ubuntu 13.04 AMD64, daily build as new as 20130314.

  2) The version of the package used
  linux-image-3.5.0-26-generic
  linux-image-3.5.7-03050706-generic_3.5.7-03050706.201302221435_amd64.deb
  http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5.7.6-quantal/
  linux-image-3.7.7-030707-generic_3.7.7-030707.201302111436_amd64.deb
  http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.7.7-raring/
  linux-image-3.8.0-030800rc7-generic_3.8.0-030800rc7.201302081635_amd64.deb
  http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.8-rc7-raring/

  This bug had been confirmed appearing after the following kernel upgrade step:
  v3.5.0-25  v3.5.0-26 ~ v3.5.0-27
  v3.5.7.5  v3.5.7.6 ~ v3.5.7.8
  v3.7.6  v3.7.7 ~ v3.7.10
  v3.8.0-rc6  v3.8.0-rc7 ~ v3.8.5
  The v3.9 branch has been affected since its very first release.
  v3.9-rc1, v3.9-rc2, v3.9-rc3 v3.9-rc4 are all affected.

  3) What you expected to happen
  When using a USB DAC to play audio, the audio should be played normally 
without any interruption.

  4) What happened instead
  This bug seems to affect only a certain kind of hardware, which is called 
Asynchronous USB Digital Audio Codec (DAC). It's said that such a DAC hosts 
the clock itself (USB Device Host). An ordinary DAC, so called Synchronous USB 
DAC, uses the clock hosted by the mother board, which is not affected by this 
bug.

  When this bug affects an asynchronous USB DAC, the audio played by the
  DAC is constantly interrupted. The playback itself does not stop, but
  the output becomes discontinous, filling with constant crackling
  noises, destroying everything the DAC plays.

  Using CLI command grep device.buffering to get the buffer from the
  devices, those affected kernels are reporting back a different number
  to the unaffected devices. The choppy noise is very similar to the
  situation when buffer size is not correctly set.

  I have tested four USB DACs, two Asynchronous and two Synchronous.
  Only the Asynchronous ones are affected by this bug.

  Affected Devices:
  Arce MDAC5
  Arce MDAC mini
  Ayre Acoustics QB-9
  Dragonfly USB DAC
  Musical Fidelity v2 DAC

  USB Audio Streaming Controller on affected devices:
  Texas Instrument TAS1020
  http://www.ti.com/product/tas1020

  Audio DAC on affected devices:
  Texas Instruments PCM1742
  http://www.ti.com/product/pcm1742

  This bug had been confirmed appearing after the following kernel upgrade step:
  3.5.0-25  3.5.0-26
  3.5.7.5  3.5.7.6 (and all 3.5.7.x above)
  3.7.6  3.7.7 (and all 3.7.x above)
  3.8.0-rc6  3.8.0-rc7 (and all 3.8.x above)
  I used Kdiff to find the similar patches, and find the following patches 
suspicous:
  USB: XHCI: fix memory leak of URB-private data
  (appeared in 3.5.7.6/3.7.7/3.8.0-rc7)
  USB: EHCI: fix for leaking isochronous data
  (appeared in 3.7.7/3.8.0-rc7)
  usb: Prevent dead ports when xhci is not enabled
  (appeared in 3.5.7.6/3.7.7/3.8.0-rc7)
  usb: Using correct way to clear usb3.0 device's remote wakeup feature
  (appeared in 3.5.7.6/3.7.7/3.8.0-rc7)
  USB: EHCI: remove ASS/PSS polling timeout
  (appeared in 3.7.7/3.8.0-rc7)
  USB: EHCI: unlink one async QH at a time
  (appeared in 3.7.7/3.8.0-rc7)
  USB: EHCI: fix timer bug affecting port resume
  (appeared in 3.5.7.6/3.7.7/3.8.0-rc7)
  USB: EHCI: fix bug in scheduling periodic split transfers
  (appeared in 3.5.7.6/3.7.7/3.8.0-rc7)

  Hope someone can look into this bug soon!

  ---
  ApportVersion: 2.6.1-0ubuntu10
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  tysontan   2117 F pulseaudio
   /dev/snd/controlC1:  tysontan   2117 F pulseaudio
   /dev/snd/pcmC1D0p:   tysontan   2117 F...m pulseaudio
  CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 
not found.
  DistroRelease: Ubuntu 12.10
  HibernationDevice: RESUME=UUID=8545c3e2-caba-4eaa-8fa4-2fbebcc2d9bb
  InstallationDate: Installed on 2013-02-15 (14 days ago)
  InstallationMedia: Ubuntu 12.10 Quantal Quetzal - Release amd64 (20121017.5)
  IwConfig:
   eth0  no wireless extensions.

   lono wireless extensions.
  MachineType: LENOVO 0053A11
  MarkForUpload: True
  Package: linux 3.5.0.26.32
  PackageArchitecture: amd64
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=set
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-26-generic 
root=UUID=8c60a142-505f-4d74-afa0-37686558e86e ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.5.0-26.40-generic 3.5.7.6