Mir

[xmir] System graphics slow majorily after logout/login

Bug #1249513 reported by David G.
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Compiz
Expired
Undecided
Unassigned
Mir
Expired
Medium
Unassigned
Unity
Expired
Undecided
Unassigned
compiz (Ubuntu)
Expired
Undecided
Unassigned
mir (Ubuntu)
Expired
Medium
Unassigned
unity (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I am using Ubuntu 13.10 with the system compositor repos enabled and so I believe I have 0.0.15 installed. Logging out and choosing another user from the login screen (or the same previous login name) will render the system pretty useless. Drawing of graphics seems to be slow when this happens. One major issue is trying to click on the icons on the side bar. It opens very slow but then quickly wants to retract again. Bringing up programs takes an extremely long time after logging out/logging in. closing out or minimizing programs causes almost a "frame by frame" close out.

The system I am using is a Compaq DC5100 computer with Intel 910GL Graphics. This, again, only happens after logging out and then right back in...then the problems start. Let me know if you need me to run any other tests.
---
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: i386
DistroRelease: Ubuntu 13.10
GraphicsCard:
 Intel Corporation 82915G/GV/910GL Integrated Graphics Controller [8086:2582] (rev 04) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Device [103c:300d]
InstallationDate: Installed on 2013-10-19 (22 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release i386 (20131016.1)
MarkForUpload: True
Package: unity-system-compositor 0.0.1+13.10.20131015-0ubuntu1
PackageArchitecture: i386
ProcVersionSignature: Ubuntu 3.11.0-13.20-generic 3.11.6
Tags: saucy
Uname: Linux 3.11.0-13-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dip lpadmin plugdev sambashare sudo
version.libdrm: libdrm2 2.4.46-1
version.lightdm: lightdm 1.8.4-0ubuntu1
version.mesa: libegl1-mesa-dev N/A

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Hi. It sounds like the problem is that your second login is falling back to software rendering. I imagine this might happen if something has crashed after logging out of the first.

Please run this command to collect more information about your system:
    apport-collect 1249513
Ideally, please run it from the slow login when the bug is happening.

Please also take a copy of:
    ~/.xession-errors
    /var/log/Xorg.?.log
and attach them here.

Changed in mir:
status: New → Incomplete
Changed in xmir:
status: New → Incomplete
Changed in mir (Ubuntu):
status: New → Incomplete
Changed in unity-system-compositor:
status: New → Incomplete
Changed in unity-system-compositor (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

P.S. I tried it for myself (on trusty) and can't reproduce the problem.

Revision history for this message
David G. (djg9282) wrote : BootLog.txt

apport information

tags: added: apport-collected saucy
description: updated
Revision history for this message
David G. (djg9282) wrote : Dependencies.txt

apport information

Revision history for this message
David G. (djg9282) wrote : LightDMLog.txt

apport information

Revision history for this message
David G. (djg9282) wrote : LightDMLogOld.txt

apport information

Revision history for this message
David G. (djg9282) wrote : ProcEnviron.txt

apport information

Revision history for this message
David G. (djg9282) wrote : UnitySystemCompositorLog.txt

apport information

Revision history for this message
David G. (djg9282) wrote : UnitySystemCompositorLogOld.txt

apport information

Revision history for this message
David G. (djg9282) wrote : Re: System graphics slow majorily after logout/login

Xorg Log attached

Revision history for this message
David G. (djg9282) wrote :

Another xorg log

Revision history for this message
David G. (djg9282) wrote :

xsession log attached

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Hmm, the logs don't show anything going wrong.

It could still be compiz/unity7 falling back to software rendering incorrectly (which it has been known to do). This would not show up in the X or USC logs, but should be in .xsession-errors. However .xsession-errors is pretty empty compared to what it should look like.

Please run this command and attach the output here:
   pmap `pidof compiz` | grep _dri

Please also look in /var/crash/ for crash files. And if you find a relevant one, please turn it into a bug report by running:
   ubuntu-bug /var/crash/XXX.crash

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Again, please only run the commands from the slow login.

Revision history for this message
David G. (djg9282) wrote :

I ran the pmap command but it came up with "usage" instructions as if it didn't understand what I was asking it to do. Nothing relevant was found in the crash logs.

Revision history for this message
David G. (djg9282) wrote :

I don't know how accurate it is but system monitor is showing high cpu usage at idle. High being above 85% steadily. Idle under another session without the graphics problem is showing a high of 13%

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Yes the high CPU usage almost confirms you are stuck in software rendering mode. So that's expected.

Please try the pmap command again, remembering to use back-tick characters (next to the 1 key):
    pmap `pidof compiz` | grep _dri

Please also try to take another copy of .xsession-errors from during the slow session. Because that's the log which will explain the fallback to software rendering.

Revision history for this message
David G. (djg9282) wrote :

Output from the above command:

b4dae000 320K r-x-- /usr/lib/i386-linux-gnu/dri/i915_dri.so
b4dfe000 4K r---- /usr/lib/i386-linux-gnu/dri/i915_dri.so
b4dff000 4K rw--- /usr/lib/i386-linux-gnu/dri/i915_dri.so

The xsession log is showing the same output as the above attached one.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. Was that command run _during_ the slow session? The "i915_dri.so" means you have hardware acceleration (!?)

Revision history for this message
David G. (djg9282) wrote :

Yes, it was done during the slow session.

Changed in mir:
status: Incomplete → New
Changed in unity-system-compositor:
status: Incomplete → New
Changed in xmir:
status: Incomplete → New
Changed in mir (Ubuntu):
status: Incomplete → New
Changed in unity-system-compositor (Ubuntu):
status: Incomplete → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Trying to reproduce the issue on a netbook with i915 graphics, I find I can't even log out. It's not immediately obvious but the underlying reason is both compiz and unity-system-compositor crashing.

If you have any files in /var/crash then please report them using the "ubuntu-bug" command, and add a comment to this bug mentioning the newly created bug numbers.

Revision history for this message
David G. (djg9282) wrote :

It might take several logouts and logins to reproduce. On the desktop it usually took only one, but on a gateway mt6840 laptop with the same graphics I had to do it several times to reproduce. Since then I have put the laptop back to X but I'll try to go on the desktop tonight and check out the crash reports. Thanks.

Revision history for this message
David G. (djg9282) wrote :

I have done this multiple times now with the same result in slow graphics. There is nothing that appears in the crash folder for me to upload.

kevin gunn (kgunn72)
Changed in xmir:
status: New → Triaged
Changed in mir:
status: New → Opinion
Changed in unity-system-compositor:
status: New → Opinion
Changed in mir (Ubuntu):
status: New → Opinion
Changed in unity-system-compositor (Ubuntu):
status: New → Opinion
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Actually, this bug more likely resides in compiz/unity7 where the fallback to software rendering occurs.

affects: unity-system-compositor → compiz
Changed in compiz:
status: Opinion → New
Changed in mir:
status: Opinion → New
Changed in xmir:
status: Triaged → New
affects: unity-system-compositor (Ubuntu) → compiz (Ubuntu)
Changed in compiz (Ubuntu):
status: Opinion → New
Changed in mir (Ubuntu):
status: Opinion → New
kevin gunn (kgunn72)
summary: - System graphics slow majorily after logout/login
+ [xmir] System graphics slow majorily after logout/login
tags: added: xmir
Changed in mir:
importance: Undecided → Medium
Changed in xmir:
importance: Undecided → Medium
Changed in mir (Ubuntu):
importance: Undecided → Medium
Changed in mir:
status: New → Triaged
Changed in xmir:
status: New → Triaged
Changed in mir (Ubuntu):
status: New → Triaged
Revision history for this message
Christopher Townsend (townsend) wrote :

This isn't relevant any more, so marking Invalid from a Unity7/Compiz perspective.

Changed in compiz:
status: New → Invalid
Changed in unity:
status: New → Invalid
Changed in compiz (Ubuntu):
status: New → Invalid
Changed in unity (Ubuntu):
status: New → Invalid
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Not sure what "isn't relevant". Setting to incomplete while we can't reproduce the problem, and/or see if it reoccurs for David.

tags: added: performance
Changed in compiz:
status: Invalid → Incomplete
Changed in mir:
status: Triaged → Incomplete
Changed in unity:
status: Invalid → Incomplete
Changed in xmir:
status: Triaged → Incomplete
Changed in compiz (Ubuntu):
status: Invalid → Incomplete
Changed in mir (Ubuntu):
status: Triaged → Incomplete
Changed in unity (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for compiz (Ubuntu) because there has been no activity for 60 days.]

Changed in compiz (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Mir because there has been no activity for 60 days.]

Changed in mir:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Compiz because there has been no activity for 60 days.]

Changed in compiz:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Unity because there has been no activity for 60 days.]

Changed in unity:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mir (Ubuntu) because there has been no activity for 60 days.]

Changed in mir (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for XMir because there has been no activity for 60 days.]

Changed in xmir:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for unity (Ubuntu) because there has been no activity for 60 days.]

Changed in unity (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.