[Bug 1757299] Re: [Dell OptiPlex 755] xorg hangs

2018-03-23 Thread Christopher M. Penalver
** Description changed:

- The problem is that my GUI stops responding after launching a few
- applications, and is correlated to high CPU utilization of xorg.
+ The problem is that after launching a few applications, the GUI may
+ become unresponsive, although this is not consistently reproducible.
+ When the GUI is unresponsive, it is correlated to high CPU utilization
+ of xorg.
  
- An example reproduction scenario:
- launched startx,
- launched an xterm via twm,
- launched another xterm via the first,
- launched tmux,
- launched firefox-esr, bluetooth-manager, and pavucontrol,
- maximized the xterm running tmux
+ An example reproduction scenario is launch the following in order, and 
quickly:
+ startx
+ xterm via twm
+ another xterm via the first xterm
+ tmux
+ firefox-esr
+ bluetooth-manager
+ pavucontrol
  
- xorg stopped responding, ctl-alt-Fn don't respond either
+ While the above are launching, maximize the xterm running tmux, and the
+ GUI immediately becomes unresponsive. For example, Ctrl+Alt+Fn don't
+ respond.
  
- logged in via ssh, attached to tmux, launched htop, copied htop output,
- in which you can see xorg consuming lots of cpu.
+ After this, I logged in via ssh, attached to tmux, launched htop, copied
+ htop output, which shows xorg at 94.6 CPU%.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: xserver-xorg 1:7.7+19ubuntu4
  ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
  Uname: Linux 4.15.0-10-generic x86_64
  ApportVersion: 2.20.8-0ubuntu10
  Architecture: amd64
  BootLog:
   Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
    * Starting AppArmor profiles   
  [ OK ]
    * Restoring resolver state...   
  [ OK ]
  CompositorRunning: None
  Date: Tue Mar 20 17:15:16 2018
  DistUpgraded: Fresh install
  DistroCodename: bionic
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Intel Corporation 82Q35 Express Integrated Graphics Controller [8086:29b2] 
(rev 02) (prog-if 00 [VGA controller])
     Subsystem: Dell OptiPlex 755 [1028:0211]
     Subsystem: Dell OptiPlex 755 [1028:0211]
  JournalErrors:
   -- Logs begin at Fri 2018-02-23 08:59:47 CST, end at Tue 2018-03-20 17:14:39 
CDT. --
   Mar 20 17:01:37 hostname pulseaudio[1099]: [pulseaudio] module-alsa-card.c: 
Failed to find a working profile.
   Mar 20 17:01:37 hostname pulseaudio[1099]: [pulseaudio] module.c: Failed to 
load module "module-alsa-card" (argument: "device_id="0" 
name="pci-_00_1b.0" card_name="alsa_card.pci-_00_1b.0" 
namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no 
deferred_volume=yes use_ucm=yes 
card_properties="module-udev-detect.discovered=1""): initialization failed.
   Mar 20 17:01:37 hostname pulseaudio[1099]: [pulseaudio] backend-ofono.c: 
Failed to register as a handsfree audio agent with ofono: 
org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided 
by any .service files
   Mar 20 17:01:37 hostname pulseaudio[1109]: [pulseaudio] pid.c: Daemon 
already running.
  MachineType: Dell Inc. OptiPlex 755
  ProcEnviron:
   LC_TIME=en_DK.utf8
   TERM=screen
   PATH=(custom, no user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz ro 
root=UUID=22e7c84a-a416-43e9-ae9d-ee0119fc3894 panic=30
  SourcePackage: xorg
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/30/2008
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A10
  dmi.board.name: 0PU052
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 15
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA10:bd04/30/2008:svnDellInc.:pnOptiPlex755:pvr:rvnDellInc.:rn0PU052:rvr:cvnDellInc.:ct15:cvr:
  dmi.product.name: OptiPlex 755
  dmi.sys.vendor: Dell Inc.
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.90-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 17.3.3-0ubuntu1
  version.libgl1-mesa-glx: libgl1-mesa-glx 17.3.3-0ubuntu1
  version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.10.0-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20171229-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

** Summary changed:

- [Dell OptiPlex 755] xorg hangs
+ [Dell OptiPlex 755] Intermittently GUI hangs with high xorg CPU% after 
launching applications

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1757299

Title:
  [Dell OptiPlex 755] Intermittently GUI hangs with high xorg CPU% after
  launching applications

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1757299] Re: [Dell OptiPlex 755] xorg hangs

2018-03-23 Thread Christopher M. Penalver
gregrwm:

>"i am not asking for help."

If you are not expecting this bug to be fixed (i.e. not asking for a
developer to help), then feel free to mark this report Status Invalid.
Otherwise, please refrain from "smart alec" remarks, as it doesn't
motivate developers to want to fix bugs you report.

Despite this, allow me to clarify a previously asked question:
After reproducing the problem, if you SSH in and only kill processes that are 
not xorg, which processes do you have to kill until your GUI begins to be 
responsive again?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1757299

Title:
  [Dell OptiPlex 755] xorg hangs

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1757299] Re: [Dell OptiPlex 755] xorg hangs

2018-03-23 Thread gregrwm
i am not asking for help.  this is a bug report.  i am reporting a bug.
if there is useful information i can gather i am happy to do so.

4) the steps in the description of this bug were performed in fairly
rapid succession, so several apps were busy starting up.  The lockup
occurred instantly after maximizing the xterm.  6) killing Xorg freed
the terminal.  3) it is not consistently reproducible.  Under xenial it
happens watching videos (Bug #1744429).  Since installing bionic, videos
haven't tripped it so far.  This bug report describes an occurrence that
didn't involve a video.

5) here is what htop looks like right after logging in, launching
startx, 2 xterms, and htop:

0  [ 0.0%] Tasks: 37; 1 running 
 [0/0]
1  [ 0.0%] Load average: 0.12 0.30 0.15 
 
Mem[   122M/1.90G] Time: 15:54:56   
 
Swp[ 0K/1.86G]  
 
  PID START USER   VIRT   RES  NI CPU%   TIME+  S Command   
 
1 15:51 root   155M  8996   1  0.0  0:01.92 S /sbin/init
 
  253 15:51 root  86576 18424   0  0.0  0:01.16 S 
/lib/systemd/systemd-journald  
  543 15:51 syslog 252M  4576   0  0.0  0:00.99 S /usr/sbin/rsyslogd -n 
 
  828 15:52 g  242M 23468   0  0.0  0:00.53 S /usr/lib/xorg/Xorg 
-nolisten tcp :0 vt1
  278 15:51 root  47348  5788   0  0.0  0:00.51 S 
/lib/systemd/systemd-udevd 
  549 15:51 root   280M  6952   0  0.0  0:00.12 S 
/usr/lib/accountsservice/accounts-daemon
  769 15:53 g 29276  7588   0  0.0  0:00.09 S -bash 
 
  980 15:54 root  61440  4228   0  0.0  0:00.09 S sudo -H -uG -s
 
  953 15:54 g 29308  7452   0  0.0  0:00.08 S -bash 
 
  893 15:52 g 28304  6432   0  0.0  0:00.06 S bash  
 
 1005 15:54 root  28136  6464   0  0.0  0:00.06 S /bin/bash 
 
  550 15:51 root   417M  9020   0  0.0  0:00.05 S /usr/sbin/ModemManager
 
  551 15:51 messagebu 50088  4664   0  0.0  0:00.05 S /usr/bin/dbus-daemon 
--system --address=
  871 15:52 g 86456 10504   0  0.0  0:00.05 S xterm 
 
  890 15:52 g 86456 10464   0  0.0  0:00.05 S xterm -bg black -fg white 
-rightbar -xrm
  834 15:52 g 46120  5524   0  0.0  0:00.04 S x-window-manager  
 
F1Help  F2Setup F3SearchF4FilterF5Tree  F6SortByF7Nice -F8Nice +F9Kill  F10Quit

here is what htop looks like while quiescent after several hours of use:

0  [|||  5.3%] Tasks: 55; 1 running 
  [0/0]
1  [|||  4.6%] Load average: 0.00 0.04 0.07 
  
Mem[||1.11G/1.90G] Time: 15:22:36   
  
Swp[ 0K/1.86G]  
  
  PID START USER   VIRT   RES  NI CPU%   TIME+  S Command   
  
 1231 07:07 g 2605M  707M   0  0.7 30:52.86 S 
/usr/lib/firefox-esr/plugin-container -gr
 1119 07:06 g 2385M  431M   0  7.3 12:13.72 S 
/usr/lib/firefox-esr/firefox-esr
  883 07:05 g  348M 54372   0  0.0  1:39.51 S /usr/lib/xorg/Xorg 
-nolisten tcp :0 vt1 -
 1051 07:06 g 1049M 10372 -11  0.0  1:31.19 S /usr/bin/pulseaudio 
--start --log-target=
 1027 07:06 g  535M 41720   0  0.0  1:10.72 S pavucontrol   
  
 1023 07:06 g  832M 58800   0  0.0  0:10.06 S /usr/bin/python3 
/usr/bin/blueman-manager
 1058 07:06 g 70784  6520   0  0.0  0:03.05 S xclock -geometry --1+-4 
-fg green -bg bla
1 06:51 root   155M  9016   0  0.0  0:02.93 S /sbin/init
  
  925 07:05 g 86456 10456   0  0.0  0:02.80 S xterm 
  
 2600 15:18 root  28044  5228   0  0.7  0:01.45 R htop  
  
  889 07:05 g 46120  5704   0  0.0  0:01.38 S x-window-manager  
  
  253 06:52 root  86568 16580   0  0.0  0:01.13 S 
/lib/systemd/systemd-journald   
  544 06:52 syslog 252M  4508   0  0.0  0:01.06 S /usr/sbin/rsyslogd -n 
  
  280 06:52 root  47580  5940   0  0.0  0:00.55 S 
/lib/systemd/systemd-udevd  
 1070 07:06 g  648M 51880   0  0.0  0:00.43 S /usr/bin/python3 
/usr/bin/blueman-applet
  518 06:52 root   280M  7192   0  0.0  0:00.41 S 
/usr/lib/accountsservice/accounts-daemon
F1Help  F2Setup F3SearchF4FilterF5Tree  F6SortByF7Nice -F8Nice +F9Kill  F10Quit

-- 
You received this bug notification because you are a 

[Bug 1757299] Re: [Dell OptiPlex 755] xorg hangs

2018-03-23 Thread Christopher M. Penalver
gregrwm, in order to help you, please review all of the following, and
answer all questions:

1) Regarding all the reports you mentioned, they are useless as they
don't contain useful information to root cause and solve. Hence, it is
most helpful if you keep focus on this one report, versus making new
reports, or constantly referencing others.

2) Please don't apport-collect or attach more apport-collect files.

3) Regarding the Bug Description, is this consistently reproducible
using your steps?

4) Regarding the Bug Description, how long does it take from "maximized
the xterm running tmux" to your GUI stops responding, seconds, minutes,
etc.?

5) Immediately after logging in, without doing anything else what is the
idle CPU utilization (htop results)?

6) After reproducing the problem, if you SSH in and kill processes,
which processes do you have to kill until your GUI begins to be
responsive again?

** Changed in: xorg (Ubuntu)
   Importance: Undecided => Low

** Changed in: xorg (Ubuntu)
   Status: New => Incomplete

** Description changed:

+ The problem is that my GUI stops responding after launching a few
+ applications, and is correlated to high CPU utilization of xorg.
+ 
+ An example reproduction scenario:
  launched startx,
  launched an xterm via twm,
  launched another xterm via the first,
  launched tmux,
  launched firefox-esr, bluetooth-manager, and pavucontrol,
  maximized the xterm running tmux
  
  xorg stopped responding, ctl-alt-Fn don't respond either
  
- logged in via ssh, attached to tmux, launched htop, copied htop output, in 
which you can see xorg consuming lots of cpu.
- noticed twm no longer running
- launched ubuntu-bug xserver-xorg
- answered its question re display manager log files
- i left it printing endless periods for over an hour
- 
- killed xorg
- launched startx again
- started a second ubuntu-bug xserver-xorg
- answered its questions re display manager log files and additional debugging 
work
- 
- noticed the first ubuntu-bug xserver-xorg is no longer printing periods
- answered its questions re additional debugging work and Send problem report
- 
- attached copy of htop output
+ logged in via ssh, attached to tmux, launched htop, copied htop output,
+ in which you can see xorg consuming lots of cpu.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: xserver-xorg 1:7.7+19ubuntu4
  ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
  Uname: Linux 4.15.0-10-generic x86_64
  ApportVersion: 2.20.8-0ubuntu10
  Architecture: amd64
  BootLog:
-  Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
-   * Starting AppArmor profiles    
+  Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
+   * Starting AppArmor profiles   
  [ OK ]
-   * Restoring resolver state...    
+   * Restoring resolver state...   
  [ OK ]
  CompositorRunning: None
  Date: Tue Mar 20 17:15:16 2018
  DistUpgraded: Fresh install
  DistroCodename: bionic
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
-  Intel Corporation 82Q35 Express Integrated Graphics Controller [8086:29b2] 
(rev 02) (prog-if 00 [VGA controller])
-Subsystem: Dell OptiPlex 755 [1028:0211]
-Subsystem: Dell OptiPlex 755 [1028:0211]
+  Intel Corporation 82Q35 Express Integrated Graphics Controller [8086:29b2] 
(rev 02) (prog-if 00 [VGA controller])
+    Subsystem: Dell OptiPlex 755 [1028:0211]
+    Subsystem: Dell OptiPlex 755 [1028:0211]
  JournalErrors:
-  -- Logs begin at Fri 2018-02-23 08:59:47 CST, end at Tue 2018-03-20 17:14:39 
CDT. --
-  Mar 20 17:01:37 hostname pulseaudio[1099]: [pulseaudio] module-alsa-card.c: 
Failed to find a working profile.
-  Mar 20 17:01:37 hostname pulseaudio[1099]: [pulseaudio] module.c: Failed to 
load module "module-alsa-card" (argument: "device_id="0" 
name="pci-_00_1b.0" card_name="alsa_card.pci-_00_1b.0" 
namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no 
deferred_volume=yes use_ucm=yes 
card_properties="module-udev-detect.discovered=1""): initialization failed.
-  Mar 20 17:01:37 hostname pulseaudio[1099]: [pulseaudio] backend-ofono.c: 
Failed to register as a handsfree audio agent with ofono: 
org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided 
by any .service files
-  Mar 20 17:01:37 hostname pulseaudio[1109]: [pulseaudio] pid.c: Daemon 
already running.
+  -- Logs begin at Fri 2018-02-23 08:59:47 CST, end at Tue 2018-03-20 17:14:39 
CDT. --
+  Mar 20 17:01:37 hostname pulseaudio[1099]: [pulseaudio] module-alsa-card.c: 
Failed to find a working profile.
+  Mar 20 17:01:37 hostname pulseaudio[1099]: [pulseaudio] module.c: Failed to 
load module "module-alsa-card" (argument: "device_id="0" 
name="pci-_00_1b.0" card_name="alsa_card.pci-_00_1b.0" 
namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no 
deferred_volume=yes use_ucm=yes 
card_properties="module-udev-detect.discovered=1""): initialization 

[Bug 1757299] Re: [Dell OptiPlex 755] xorg hangs

2018-03-23 Thread Christopher M. Penalver
** Summary changed:

- xorg hangs
+ [Dell OptiPlex 755] xorg hangs

** Tags added: bios-outdated-a22

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1757299

Title:
  [Dell OptiPlex 755] xorg hangs

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs