Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE 4.5.2 Random Logouts... Bug?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jgehrig
n00b
n00b


Joined: 15 Nov 2009
Posts: 17

PostPosted: Sun Oct 10, 2010 6:11 pm    Post subject: KDE 4.5.2 Random Logouts... Bug? Reply with quote

Just upgraded my desktop with a new motherboard and CPU, since I was upgrading from x86 to amd64 I did a clean install of gentoo on my root partition... everything went well except my install of the latest version of KDE (4.5.2 ~amd64). Currently I get random logouts, some are predictable and some are not. For example I can get my system to logout anytime I click the cashew thing and mouse-over some of the buttons in the menu that pops up. Other times I am using an application and it unexpectedly returns to kdm... I'd attach some logs for one of these logouts but I don't know what to include... I've googled around and can't find anything similar...

(When I say logout its more of an abrupt return to KDM)

I'm currently running XFCE and it's working fine, but I'd rather run KDE...

Anyone have any ideas? Is there a log I could look in for some more info?
Back to top
View user's profile Send private message
pingufunkybeat
l33t
l33t


Joined: 01 Dec 2004
Posts: 610

PostPosted: Mon Oct 11, 2010 2:47 am    Post subject: Reply with quote

To me, it seems like the X server is crashing. If you kill X forcibly, you will return to kdm abruptly. If KWin or Plasma crash, they will typically restart themselves and your session will stay active. It's probably something in Plasma triggering a bug in the X server or a display driver.

Therefore, I'd check /var/log/Xorg.0.log and see if there is some explanation for the crashes.

make.conf could also be interesting. Are you using any experimental flags? The raster flag for Qt used to crash some KDE apps if made default, for example.
Back to top
View user's profile Send private message
iss
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2006
Posts: 134
Location: Poland/Bydgoszcz

PostPosted: Mon Oct 11, 2010 7:21 am    Post subject: Reply with quote

What video driver are you using?

You can try to turn off desktop effects to see if it will still happen. But first check your logs after crash like pingufunkybeat suggested.

I'm on 4.5.2 since it appeared in portage with no problem.
Back to top
View user's profile Send private message
ToeiRei
Veteran
Veteran


Joined: 03 Jan 2005
Posts: 1191
Location: Austria

PostPosted: Mon Oct 11, 2010 7:36 am    Post subject: Reply with quote

As far as I know there are some problems with intel cards/mesa...
_________________
Please stand by - The mailer daemon is busy burning your messages in hell...
Back to top
View user's profile Send private message
pingufunkybeat
l33t
l33t


Joined: 01 Dec 2004
Posts: 610

PostPosted: Mon Oct 11, 2010 11:11 am    Post subject: Reply with quote

There are/were problems with most mesa drivers, but intel seems to be the most affected. Radeon cards had problems with effects, but this has been fixed in mesa git.

Anyway, the crashes should typically kill kwin, not X. We won't know what's going wrong without looking at the logs.
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Mon Oct 11, 2010 12:48 pm    Post subject: Reply with quote

Another file you could check is /home/username/.xsession-errors.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
unsigned
n00b
n00b


Joined: 25 Sep 2010
Posts: 1
Location: CN

PostPosted: Wed Jan 05, 2011 9:38 pm    Post subject: Reply with quote

I got the same problem,I don't know why... When I click the job rest in the panel...KDE broke down unexpectedly and back to kdm. How to deal with this ?

I'm now reinstall gentoo with KDE. I wonder if this appears again.
Back to top
View user's profile Send private message
pingufunkybeat
l33t
l33t


Joined: 01 Dec 2004
Posts: 610

PostPosted: Wed Jan 05, 2011 10:25 pm    Post subject: Reply with quote

Please post the regular stuff when having driver problems:

cat /var/log/Xorg.0.log
glxinfo |grep enGL
dmesg |grep drm
emerge -pv libdrm mesa xorg-server
kernel config

Which chipset? Which KDE version? Which kernel?
Back to top
View user's profile Send private message
Duke_Forever
n00b
n00b


Joined: 13 Apr 2011
Posts: 1

PostPosted: Wed Apr 13, 2011 4:48 pm    Post subject: Reply with quote

Hi, if you consider this an old thread, sorry for bumping

But I'm still having this issue so I'll do my best to provide information (please bare with the newbie):
-----
duke@dukenet ~ $ grep EE /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 4514.938] (II) Loading extension MIT-SCREEN-SAVER
[ 4514.943] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 4514.944] (EE) Failed to load module "fbdev" (module does not exist, 0)

(I don't think that is related as I'm using the radeon driver and uvesafb for framebuffer).
-----
glxinfo is a no go as I don't have it installed (do I need to install mesa tools or something?)
-----
duke@dukenet ~ $ dmesg | grep drm
[ 4763.272139] [drm] Resetting GPU
[ 4772.244943] [drm] Resetting GPU
-----
duke@dukenet ~ $ emerge -pv libdrm mesa xorg-server

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] x11-libs/libdrm-2.4.23 USE="libkms -static-libs" VIDEO_CARDS="radeon -intel -nouveau -vmware" 0 kB
[ebuild R ] media-libs/mesa-7.10.1 USE="classic gallium nptl -debug -gles -hardened -llvm -motif -pic (-selinux)" VIDEO_CARDS="radeon -intel -mach64 -mga -nouveau -r128 -savage -sis -tdfx -via -vmware" 0 kB
[ebuild R ] x11-base/xorg-server-1.9.4 USE="ipv6 nptl udev xorg -dmx -doc -kdrive -minimal -static-libs -tslib" 0 kB

Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
-----
duke@dukenet /usr/bin $ kded4 --version
Qt: 4.6.3
KDE Development Platform: 4.4.5 (KDE 4.4.5)
KDE Daemon: $Id: kded.cpp 1031637 2009-10-05 16:58:19Z lunakl $
-----
Hardware:
AMD 890GX (Radeon HD4290)
AMD Phenom II 965
-----
Misc info:
Gentoo x86_64, kernel 2.6.36
using radeon driver
using radeon dri
using uvesafb for frame buffer
all other drivers disabled
-----
NOTE: The workaround is to disable desktop effects.

Please let me know if you need more information.

Thanks and Regards,

Duke
Back to top
View user's profile Send private message
hmag
n00b
n00b


Joined: 30 Aug 2010
Posts: 19

PostPosted: Mon Apr 18, 2011 6:35 am    Post subject: *** I ALSO have this logout problem *** Reply with quote

Hi

I also have this problem since I upgraded my desktop's Gentoo last month. I found on this forum another person having our issue, "sudden log-out of desktop...". In my case it also happens when switching to another app / window using the task bar buttons, or when Firefox tries automatically complete an URL when typing, etc...

I am currently on my laptop thus I cannot provide config file but will proceed soon when back at home.
Nevertheless I already looked at /var/log/Xorg.0.log an neither crash norerror nor warning is reported in there after these "logouts".

I have been looking a lot for solutions on the forum, no solution found, so ... I am very interested by any progress !

Regards

PS: This is not the first time that all works well before emerge --sync and emerge -u world, and then after ... kde is messed up !
When will kde become managed ? Maybe too heavy and complex now ... ;-) Maybe is it not upgradable, just (re-)installable from scratch due to so frequent deep heavy changes.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum