This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Plasma hangs/crash on login (Opensuse 12.1 & KDE. 4.7.2)

Tags: None
(comma "," separated)
Usp
Registered Member
Posts
9
Karma
0
OS
Using Opensuse 12.1 and KDE Platform Version 4.7.2 (4.7.2) "release 5".
Laptop (HP G72-B20 with swichable graphics) was shut down with external monitor connected with VGA and desktop extended into it. Previous shutdown-boot messed up panels some what, if I remember right. Usually laptop is just suspended, so not that many reboots done. Plasma configuration icludes top and side panel, grid layout, few comic plasmoids, no user made activities.
Gui boot / login hangs in end part of splash screen.
Login as root using Ctrl+Alt+F6 (commandline). top shows xorg and plasma-desktop taking 50 % and 45 % of cpu.
Doesnt change in 15 minutes.
No krunner and window swich says no windows.
Kill plasma-desktop.
Gui starts loading apps from previous session.
Krunner and applications work, as does window swich as long as there is already window in focus.
Not logged in gui and removing
file:///home/username/.kde4/share/config/plasma-appletsrc
file:///home/username/.kde4/share/config/plasma-desktop-appletsrc
file:///home/username/.kde4/share/config/plasma-desktoprc
file:///home/username/.kde4/share/config/plasmarc
and restarting os, no change.
After numerous restarts and removing no visible changes. And restarting plasma while logged in, gui gets this much (and it blackens the screen except window switch):

Code: Select all
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setCompositionMode: Painter not active
QPainter::begin: Paint device returned engine == 0, type: 2
QDBusObjectPath: invalid path ""
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 53 (X_CreatePixmap)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 14 (X_GetGeometry)
  Resource id:  0x3a000c3
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id:  0x0
QPainter::begin: Cannot paint on a null pixmap
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    149 (RENDER)
  Minor opcode: 4 (RenderCreatePicture)
  Resource id:  0x3a000c3
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 53 (X_CreatePixmap)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 14 (X_GetGeometry)
  Resource id:  0x3a000c5
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id:  0x6958f0
QPainter::begin: Cannot paint on a null pixmap
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    149 (RENDER)
  Minor opcode: 4 (RenderCreatePicture)
  Resource id:  0x3a000c5
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 53 (X_CreatePixmap)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 14 (X_GetGeometry)
  Resource id:  0x3a000c7
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id:  0x6958f0
QPainter::begin: Cannot paint on a null pixmap
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    149 (RENDER)
  Minor opcode: 4 (RenderCreatePicture)
  Resource id:  0x3a000c7
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 53 (X_CreatePixmap)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 14 (X_GetGeometry)
  Resource id:  0x3a000c9
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id:  0x6958f0
QPainter::begin: Cannot paint on a null pixmap
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    149 (RENDER)
  Minor opcode: 4 (RenderCreatePicture)
  Resource id:  0x3a000c9
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 53 (X_CreatePixmap)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 14 (X_GetGeometry)
  Resource id:  0x3a000cb
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id:  0x6958f0
QPainter::begin: Cannot paint on a null pixmap
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    149 (RENDER)
  Minor opcode: 4 (RenderCreatePicture)
  Resource id:  0x3a000cb
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 53 (X_CreatePixmap)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 14 (X_GetGeometry)
  Resource id:  0x3a000cd
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id:  0x6958f0
QPainter::begin: Cannot paint on a null pixmap
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    149 (RENDER)
  Minor opcode: 4 (RenderCreatePicture)
  Resource id:  0x3a000cd
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 53 (X_CreatePixmap)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 14 (X_GetGeometry)
  Resource id:  0x3a000cf
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id:  0x6958f0
QPainter::begin: Cannot paint on a null pixmap
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    149 (RENDER)
  Minor opcode: 4 (RenderCreatePicture)
  Resource id:  0x3a000cf
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 53 (X_CreatePixmap)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 14 (X_GetGeometry)
  Resource id:  0x3a000d1
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id:  0x6958f0
QPainter::begin: Cannot paint on a null pixmap
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    149 (RENDER)
  Minor opcode: 4 (RenderCreatePicture)
  Resource id:  0x3a000d1
plasma-desktop(2968)/kdecore (services) KServicePrivate::init: The desktop entry file  "/usr/share/kde4/services/sysinfo.protocol"  has Type= "Application"  but no Exec line

Object::connect: No such signal QDBusAbstractInterface::Changed()
plasma-desktop(2967): Communication problem with  "plasma-desktop" , it probably crashed.
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "



New user logs in with defaults and seems to work.
Is there any way to get the old account working, with default plasma?
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Can you clean /var/tmp/kdecache-OLDUSERNAME and see whether you can log in or not?
Also, does the new user start with compositing off? Does the old account have compositing enabled instead?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
Usp
Registered Member
Posts
9
Karma
0
OS
Already cleaned /var/tmp/kdecache-OLDUSERNAME and no change.
I am not sure how to check if compositing is off or on and how to change it. But if it is related to desktop effects old user has "Enable desktop effects at startup" unchecked and "Compositing type" was OpenGL. Changed "Compositing type" to XRender. No change. But when changing it back to OpenGL confirmation dialog can be seen only partly and once accepted with keyboard screen goes blank except for movable mouse cursor. After killing xorg and logging in gui OpenGL seems to be selected. And no plasma.
New user has defaults: "Enable desktop effects at startup" checked and "Compositing type" is OpenGL.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
I would also try to log in from console with the old user and do "old .dbus" (that will rename that directory without deleting it) and see whether you can log it again.
Otherwise you could selectively copy some configuration files from olduser/.kde4/share/config to the new one until you find the one that causes the issue.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
Usp
Registered Member
Posts
9
Karma
0
OS
einar wrote:I would also try to log in from console with the old user and do "old .dbus" (that will rename that directory without deleting it) and see whether you can log it again.


I guess you mean log in again. Did not help.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Try copying configuration files selectively and try to log in, to see where's the culprit. Although I suspect some other data corruption in runtime stuff kept in .kde4/share.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
Usp
Registered Member
Posts
9
Karma
0
OS
Removed whole config dir and cache. Then the old user gui-logged in with defaults. After basic plasma and other customization relogin worked. But I went to copy over some config-files so not entire set of old config files is available. I will try to reproduce problem by making the same customizations and see if it fails to work again.

So if nothing to add I would see this solved.
Thomas Arend
Registered Member
Posts
3
Karma
0
I have the same problem after updating to OpenSUSE 12.1 with 4.9.1. The plasma desktop crashed every time. I have deleted all temporary files (afaik). No joy.

Thomas

Update:

I have solved the problem with the following commands (switch with Alt-Strg-F1 to terminal 1 before).

sudo /usr/sbin/rcxdm stop
cd ~/.kde4
rm -r cache-*
rm -r socket-*1
rm -r tmp-*
cd share/config/
find . -name "*plasm*" -exec rm {} \;
sudo /usr/sbin/rcxdm start

This didn't fix the bug but it gives me a working plasma desktop back. You only have to reconfigure your desktop.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]