kdm hangs upon logout

Bug #773073 reported by Lars Noodén
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-ati (Ubuntu)
Expired
Low
Unassigned

Bug Description

KDM hangs upon logout showing only a blank, black screen and the mouse cursor.

Steps: login to KDE, logout from KDE

Expected results are that the login screen returns once the user has been logged out of KDE.
---
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: kwin
CurrentDmesg: Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
DRM.card0.DP.1:
 status: disconnected
 enabled: disabled
 dpms: On
 modes:
 edid-base64:
DRM.card0.DP.2:
 status: disconnected
 enabled: disabled
 dpms: On
 modes:
 edid-base64:
DRM.card0.DP.3:
 status: disconnected
 enabled: disabled
 dpms: On
 modes:
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1680x1050 1400x1050 1280x1024 1440x900 1280x960 1280x854 1280x800 1280x720 1152x768 1024x768 800x600 848x480 720x480 640x480
 edid-base64: AP///////wAGELecAAAAABYTAQOAIRV4CuWFo1RPnCYOUFQAAAABAQEBAQEBAQEBAQEBAQEBfC6QoGAaHkAwIDYAS88QAAAZAAAAAQAGEDAAAAAAAAAAAAogAAAA/gBMVE4xNTRNVDA3AAogAAAA/ABDb2xvciBMQ0QKICAgAAg=
DistUpgraded: Fresh install
DistroCodename: natty
DistroRelease: Ubuntu 11.04
DistroVariant: kubuntu
GraphicsCard:
 ATI Technologies Inc NI Seymour [AMD Radeon HD 6470M] [1002:6760] (prog-if 00 [VGA controller])
   Subsystem: Apple Computer Inc. Device [106b:00e1]
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: Apple Inc. MacBookPro8,2
Package: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
PackageArchitecture: amd64
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.39-020639rc5-generic root=UUID=d5fee4da-dd20-4982-baa8-6d478602b3d1 ro quiet splash vt.handoff=7
Renderer: Unknown
Tags: natty kubuntu patch
Uname: Linux 2.6.39-020639rc5-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: dialout
dmi.bios.date: 02/07/11
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP81.88Z.0047.B04.1102071707
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-94245A3940C91C80
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookPro8,2
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-94245A3940C91C80
dmi.modalias: dmi:bvnAppleInc.:bvrMBP81.88Z.0047.B04.1102071707:bd02/07/11:svnAppleInc.:pnMacBookPro8,2:pvr1.0:rvnAppleInc.:rnMac-94245A3940C91C80:rvrMacBookPro8,2:cvnAppleInc.:ct10:cvrMac-94245A3940C91C80:
dmi.product.name: MacBookPro8,2
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
version.compiz: compiz N/A
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

Revision history for this message
Lars Noodén (larsnooden) wrote :

$ apt-cache policy kdm
kdm:
  Installed: 4:4.6.2a-0ubuntu5
  Candidate: 4:4.6.2a-0ubuntu5
  Version table:
 *** 4:4.6.2a-0ubuntu5 0
        500 http://fi.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
        100 /var/lib/dpkg/status

$ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

Revision history for this message
Wolfgang Kufner (wolfgangkufner) wrote :

Do you have a wireless connection when this happens? What happens if you disconnect the wireless?

Revision history for this message
Lars Noodén (larsnooden) wrote :

This happens with a regular ethernet connection.

Perhaps unrelated but KDE is using a lot of CPU. From top:

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 1545 lars 20 0 667m 36m 20m R 100 1.0 6:25.42 kded4

affects: ubuntu → kdebase-workspace (Ubuntu)
Revision history for this message
Wolfgang Kufner (wolfgangkufner) wrote :

How bad is the hang? Can you change to a terminal with ctrl+alt+F1 to look at top? How long does this 100% cpu utilisation of kded4 persist?

Revision history for this message
Lars Noodén (larsnooden) wrote :

It's only KDM or X that hangs. I can get a console by pressing ctrl-alt-f1 but cannot go back to X by pressing ctrl-alt-f7 even after restarting KDM. The 100% CPU seemed to last indefinitely, the CPU hogging does not happen every time.

Revision history for this message
Wolfgang Kufner (wolfgangkufner) wrote :

Bug 771262 sounds a bit similar, not sure. You could try with packages from https://launchpad.net/~xorg-edgers/+archive/ppa . What's your graphics?

Revision history for this message
Lars Noodén (larsnooden) wrote :

771262 is different. During the hang, I can move the mouse cursor around on the blank, black screen, and I can work in the consoles. How do I collect the graphics card data?

Revision history for this message
Lars Noodén (larsnooden) wrote :

$ lspci -v
01:00.0 VGA compatible controller: ATI Technologies Inc NI Seymour [AMD Radeon HD 6470M] (prog-if 00 [VGA controller])
        Subsystem: Apple Computer Inc. Device 00e1
        Flags: bus master, fast devsel, latency 0, IRQ 45
        Memory at 90000000 (64-bit, prefetchable) [size=256M]
        Memory at b0800000 (64-bit, non-prefetchable) [size=128K]
        I/O ports at 2000 [size=256]
        Expansion ROM at b0820000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: radeon
        Kernel modules: radeon

Revision history for this message
Wolfgang Kufner (wolfgangkufner) wrote :

Could you please run apport-collect 773073 from a terminal.

affects: kdebase-workspace (Ubuntu) → xserver-xorg-video-ati (Ubuntu)
Revision history for this message
Wolfgang Kufner (wolfgangkufner) wrote :
Revision history for this message
Lars Noodén (larsnooden) wrote : Dependencies.txt

apport information

tags: added: apport-collected kubuntu natty patch
description: updated
Revision history for this message
Lars Noodén (larsnooden) wrote : Lspci.txt

apport information

Revision history for this message
Lars Noodén (larsnooden) wrote : Lsusb.txt

apport information

Revision history for this message
Lars Noodén (larsnooden) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Lars Noodén (larsnooden) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Lars Noodén (larsnooden) wrote : ProcModules.txt

apport information

Revision history for this message
Lars Noodén (larsnooden) wrote : UdevDb.txt

apport information

Revision history for this message
Lars Noodén (larsnooden) wrote : UdevLog.txt

apport information

Revision history for this message
Lars Noodén (larsnooden) wrote : XorgLog.txt

apport information

Revision history for this message
Lars Noodén (larsnooden) wrote : XorgLogOld.txt

apport information

Revision history for this message
Lars Noodén (larsnooden) wrote : Xrandr.txt

apport information

Revision history for this message
Lars Noodén (larsnooden) wrote : xdpyinfo.txt

apport information

Revision history for this message
Lars Noodén (larsnooden) wrote : xinput.txt

apport information

Revision history for this message
Lars Noodén (larsnooden) wrote :

The ubuntu forums link helped some.

In /etc/kde4/kdm/kdmrc , I set:
   TerminateServer=true

That brought back the login screen when I log out.

However, if I switch to the console (ctrl-alt-f1) and try to switch back (ctrl-alt-f7) then I get the blank, black screen again.
Restarting kdm brings it back again.

Revision history for this message
Lars Noodén (larsnooden) wrote :

There is an error in comment #5. I can get back to X by pressing (crtl-alt-f8)

Revision history for this message
Lars Noodén (larsnooden) wrote :

Still present

$ apt-cache policy xserver-xorg-video-ati
xserver-xorg-video-ati:
  Installed: 1:6.14.0-0ubuntu4
  Candidate: 1:6.14.0-0ubuntu4
  Version table:
 *** 1:6.14.0-0ubuntu4 0
        500 http://fi.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
        100 /var/lib/dpkg/status

Changed in xserver-xorg-video-ati (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Lars Noodén, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p xserver-xorg-video-ati REPLACE-WITH-BUG-NUMBER

Please note, given that the information from the prior release is already available, doing this on a release prior to the development one would not be helpful.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Changed in xserver-xorg-video-ati (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xserver-xorg-video-ati (Ubuntu) because there has been no activity for 60 days.]

Changed in xserver-xorg-video-ati (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.