← Back to team overview

desktop-packages team mailing list archive

[Bug 1531845] [NEW] Xorg freeze

 

Public bug reported:

I have multiple freezes per day, since a couple of months. I have gone
back to Ubuntu 14.04, 15.04, same result. I have bought a new graphics
card (went from GEforce460 to GEforce970), no change. I have a new cpu
and motherboard, same result.

What I see is that in System Monitor, CPU2 or CPU3 (there's 12, only 2 or 3 go to 100% during freeze) goes to 100% and stays there for 5 or more minutes. All other CPUs are at less than 5%. In the "processes" tab no processes use significant CPU. But when I go to a shell (ctrl-alt-F2) and type "top", I see Xorg taking ~50% CPU and 2.4% memory. 
I can trigger this by starting Android Studio. Sometimes it happens in Gedit loading a large file, or in a shell window. I tried different versions of AS, different versions of Gradle, tried Oracle java instead of openjdk, no change.  Most of the times, Firefox also freezes after a short while, then everything freezes. The freeze does stop, after a maximum of 15 minutes. Sometimes, I need to do a hard reboot. 

First time I saw this "one cpu at 100%" was in August of 2014, which may be when I first used Android Studio and Gradle. Unfortunately, going back to Eclipse and ant is not an option. 
This takes about an hour of my time every day, so I'm willing to put a lot of effort in solving this.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: xorg 1:7.7+7ubuntu4
ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
Uname: Linux 4.2.0-23-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module  352.63  Sat Nov  7 21:25:42 PST 2015
 GCC version:  gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2)
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
BootLog:
 
CurrentDesktop: Unity
Date: Thu Jan  7 13:12:34 2016
DistUpgraded: Fresh install
DistroCodename: wily
DistroVariant: ubuntu
GpuHangFrequency: Continuously
GpuHangReproducibility: Yes, I can easily reproduce it
GpuHangStarted: Since before I upgraded
GraphicsCard:
 NVIDIA Corporation GM206 [GeForce GTX 960] [10de:1401] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:3205]
InstallationDate: Installed on 2015-12-13 (24 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
MachineType: MSI MS-7881
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-23-generic.efi.signed root=UUID=eea1d4c7-5f21-40a5-b73d-fed6b0a48f69 ro noprompt persistent quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/20/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1.70
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: X99S XPOWER AC (MS-7881)
dmi.board.vendor: MSI
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1.70:bd03/20/2015:svnMSI:pnMS-7881:pvr1.0:rvnMSI:rnX99SXPOWERAC(MS-7881):rvr1.0:cvnMSI:ct3:cvr1.0:
dmi.product.name: MS-7881
dmi.product.version: 1.0
dmi.sys.vendor: MSI
version.compiz: compiz 1:0.9.12.2+15.10.20151015-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.64-1
version.libgl1-mesa-dri: libgl1-mesa-dri 11.0.2-1ubuntu4
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 11.0.2-1ubuntu4
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.17.2-1ubuntu9.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.2-1ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.5.0+git20150819-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20150808-0ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu3
xserver.bootTime: Thu Jan  7 13:11:54 2016
xserver.configfile: default
xserver.devices:
 input        Power Button         KEYBOARD, id 6
 input        Power Button         KEYBOARD, id 7
 input        Logitech USB Optical Mouse MOUSE, id 8
 input        AT Translated Set 2 keyboard KEYBOARD, id 9
xserver.errors:
 
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 
xserver.version: 2:1.17.2-1ubuntu9.1

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug freeze ubuntu wily

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

Title:
  Xorg freeze

Status in xorg package in Ubuntu:
  New

Bug description:
  I have multiple freezes per day, since a couple of months. I have gone
  back to Ubuntu 14.04, 15.04, same result. I have bought a new graphics
  card (went from GEforce460 to GEforce970), no change. I have a new cpu
  and motherboard, same result.

  What I see is that in System Monitor, CPU2 or CPU3 (there's 12, only 2 or 3 go to 100% during freeze) goes to 100% and stays there for 5 or more minutes. All other CPUs are at less than 5%. In the "processes" tab no processes use significant CPU. But when I go to a shell (ctrl-alt-F2) and type "top", I see Xorg taking ~50% CPU and 2.4% memory. 
  I can trigger this by starting Android Studio. Sometimes it happens in Gedit loading a large file, or in a shell window. I tried different versions of AS, different versions of Gradle, tried Oracle java instead of openjdk, no change.  Most of the times, Firefox also freezes after a short while, then everything freezes. The freeze does stop, after a maximum of 15 minutes. Sometimes, I need to do a hard reboot. 

  First time I saw this "one cpu at 100%" was in August of 2014, which may be when I first used Android Studio and Gradle. Unfortunately, going back to Eclipse and ant is not an option. 
  This takes about an hour of my time every day, so I'm willing to put a lot of effort in solving this.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: xorg 1:7.7+7ubuntu4
  ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
  Uname: Linux 4.2.0-23-generic x86_64
  NonfreeKernelModules: nvidia
  .proc.driver.nvidia.registry: Binary: ""
  .proc.driver.nvidia.version:
   NVRM version: NVIDIA UNIX x86_64 Kernel Module  352.63  Sat Nov  7 21:25:42 PST 2015
   GCC version:  gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2)
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  BootLog:
   
  CurrentDesktop: Unity
  Date: Thu Jan  7 13:12:34 2016
  DistUpgraded: Fresh install
  DistroCodename: wily
  DistroVariant: ubuntu
  GpuHangFrequency: Continuously
  GpuHangReproducibility: Yes, I can easily reproduce it
  GpuHangStarted: Since before I upgraded
  GraphicsCard:
   NVIDIA Corporation GM206 [GeForce GTX 960] [10de:1401] (rev a1) (prog-if 00 [VGA controller])
     Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:3205]
  InstallationDate: Installed on 2015-12-13 (24 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  MachineType: MSI MS-7881
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-23-generic.efi.signed root=UUID=eea1d4c7-5f21-40a5-b73d-fed6b0a48f69 ro noprompt persistent quiet splash vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  Title: Xorg freeze
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/20/2015
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 1.70
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: X99S XPOWER AC (MS-7881)
  dmi.board.vendor: MSI
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: MSI
  dmi.chassis.version: 1.0
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1.70:bd03/20/2015:svnMSI:pnMS-7881:pvr1.0:rvnMSI:rnX99SXPOWERAC(MS-7881):rvr1.0:cvnMSI:ct3:cvr1.0:
  dmi.product.name: MS-7881
  dmi.product.version: 1.0
  dmi.sys.vendor: MSI
  version.compiz: compiz 1:0.9.12.2+15.10.20151015-0ubuntu1
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.64-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 11.0.2-1ubuntu4
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 11.0.2-1ubuntu4
  version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
  version.xserver-xorg-core: xserver-xorg-core 2:1.17.2-1ubuntu9.1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.2-1ubuntu1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.5.0+git20150819-0ubuntu1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20150808-0ubuntu4
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu3
  xserver.bootTime: Thu Jan  7 13:11:54 2016
  xserver.configfile: default
  xserver.devices:
   input        Power Button         KEYBOARD, id 6
   input        Power Button         KEYBOARD, id 7
   input        Logitech USB Optical Mouse MOUSE, id 8
   input        AT Translated Set 2 keyboard KEYBOARD, id 9
  xserver.errors:
   
  xserver.logfile: /var/log/Xorg.0.log
  xserver.outputs:
   
  xserver.version: 2:1.17.2-1ubuntu9.1

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


Follow ups