Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Plasma 5 kills my machine!
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
andrewwalker27
l33t
l33t


Joined: 27 Jun 2005
Posts: 660

PostPosted: Sun May 01, 2016 11:31 pm    Post subject: Plasma 5 kills my machine! Reply with quote

Ever since I upgraded to Plasma 5, my machine has had problems. My user account logs in ok but other users logging in result in the display locking up, going black and freezing half way through loading and only a reboot will restore it. This also happens whenever I log out of my account. I can, usually only once, switch to a console when this happens but doing
Code:
/etc/init.d/xdm restart

fails as lightdm refuses to stop. I've also tried SDDM with a similar result, it also makes it impossible to reboot the machine as
Code:
reboot

or
Code:
shutdown -r now

just seem to do nothing. I can log in with ssh but also can't shut it down that way, the only clues I can find is acpid also failed to halt on shutdown.
Is anyone else experiencing this? Enlightenment seems to work ok, it's just KDE
The only error I can find in Xorg.0.log is
Code:
[    18.833] (WW) Warning, couldn't open module x11glvnd

Here's my lightdm log if it sheds any light, it also fails with SDDM though
Code:

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.16.7, UID=0 PID=3539
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registered seat module xlocal
[+0.01s] DEBUG: Registered seat module xremote
[+0.01s] DEBUG: Registered seat module unity
[+0.02s] WARNING: Failed to get list of logind seats: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.login1 was not provided by a$
[+0.02s] DEBUG: Adding default seat
[+0.02s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.02s] DEBUG: Seat seat0: Starting
[+0.02s] DEBUG: Seat seat0: Creating greeter session
[+0.02s] DEBUG: Seat seat0: Creating display server of type x
[+0.02s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.02s] DEBUG: Using VT 7
[+0.02s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.02s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.02s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
[+0.02s] DEBUG: DisplayServer x-0: Launching X Server
[+0.02s] DEBUG: Launching process 3570: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.02s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.02s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.02s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.57s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.57s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.57s] DEBUG: User /org/freedesktop/Accounts/User1004 added
[+0.61s] DEBUG: User /org/freedesktop/Accounts/User1005 added
[+0.61s] DEBUG: User /org/freedesktop/Accounts/User1003 added
[+1.00s] DEBUG: Got signal 10 from process 3570
[+1.00s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+1.00s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+1.00s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.00s] DEBUG: Session pid=3810: Started with service 'lightdm-greeter', username 'root'
[+1.11s] DEBUG: Session pid=3810: Authentication complete with return value 0: Success
[+1.11s] DEBUG: Seat seat0: Session authenticated, running command
[+1.11s] DEBUG: Session pid=3810: Running command /usr/sbin/lightdm-gtk-greeter
[+1.11s] DEBUG: Creating shared data directory /var/lib/lightdm-data/root
[+1.11s] DEBUG: Session pid=3810: Logging to /var/log/lightdm/x-0-greeter.log
[+1.13s] DEBUG: Activating VT 7
[+1.13s] WARNING: Error opening /dev/console: No such device
[+1.13s] DEBUG: Activating ConsoleKit session PhenomIIx6-1462144510.156225-1052513148
[+1.13s] WARNING: Error activating ConsoleKit session: GDBus.Error:org.freedesktop.ConsoleKit.Session.Error.AlreadyActive: Session already active
[+1.38s] DEBUG: Session pid=3810: Greeter connected version=1.16.7 resettable=false
[+2.19s] DEBUG: Session pid=3810: Greeter start authentication for james
[+2.19s] DEBUG: Session pid=4114: Started with service 'lightdm', username 'james'
[+2.21s] DEBUG: Session pid=4114: Got 1 message(s) from PAM
[+2.21s] DEBUG: Session pid=3810: Prompt greeter with 1 message(s)
[+18.45s] DEBUG: Session pid=3810: Greeter start authentication for fred
[+18.45s] DEBUG: Session pid=4114: Sending SIGTERM
[+18.45s] DEBUG: Session pid=4239: Started with service 'lightdm', username 'fred'
[+18.45s] DEBUG: Session pid=4114: Terminated with signal 15
[+18.45s] DEBUG: Session: Failed during authentication
[+18.45s] DEBUG: Seat seat0: Session stopped
[+18.45s] WARNING: Error opening /dev/console: No such device
[+18.46s] DEBUG: Session pid=4239: Got 1 message(s) from PAM
[+18.46s] DEBUG: Session pid=3810: Prompt greeter with 1 message(s)
[+27.19s] DEBUG: Session pid=3810: Continue authentication
[+27.31s] DEBUG: Session pid=4239: Authentication complete with return value 0: Success
[+27.31s] DEBUG: Session pid=3810: Authenticate result for user fred: Success
[+27.31s] DEBUG: Session pid=3810: User fred authorized
[+27.32s] DEBUG: Session pid=3810: Greeter sets language aa_DJ.utf8
[+27.42s] DEBUG: Session pid=3810: Greeter requests session plasma
[+27.42s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+27.42s] DEBUG: Session pid=3810: Sending SIGTERM
[+27.46s] DEBUG: Session pid=3810: Greeter closed communication channel
[+27.46s] DEBUG: Session pid=3810: Exited with return value 0
[+27.46s] DEBUG: Seat seat0: Session stopped
[+27.46s] DEBUG: Seat seat0: Greeter stopped, running session
[+27.46s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+27.46s] DEBUG: Session pid=4239: Running command /etc/lightdm/Xsession /usr/bin/startkde
[+27.46s] DEBUG: Creating shared data directory /var/lib/lightdm-data/fred
[+27.46s] DEBUG: Session pid=4239: Logging to .xsession-errors
[+27.48s] DEBUG: Activating VT 7
[+27.48s] WARNING: Error opening /dev/console: No such device
[+27.48s] DEBUG: Activating ConsoleKit session PhenomIIx6-1462144625.211458-1806096713
[+27.48s] WARNING: Error activating ConsoleKit session: GDBus.Error:org.freedesktop.ConsoleKit.Session.Error.AlreadyActive: Session already active
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Sun May 01, 2016 11:40 pm    Post subject: Reply with quote

Code:
Error opening /dev/console: No such device
You may want to create it. :roll:
Back to top
View user's profile Send private message
andrewwalker27
l33t
l33t


Joined: 27 Jun 2005
Posts: 660

PostPosted: Mon May 02, 2016 12:33 am    Post subject: Reply with quote

Shouldn't udev create it automatically?
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Mon May 02, 2016 12:43 am    Post subject: Reply with quote

Nope, this comes with stage tarball. Below is the type, major and minor to pass to mknod.

Code:
 ~ $ ls -l /dev/console
crw------- 1 root root 5, 1 Apr 20 03:10 /dev/console
Back to top
View user's profile Send private message
andrewwalker27
l33t
l33t


Joined: 27 Jun 2005
Posts: 660

PostPosted: Sat May 21, 2016 11:32 am    Post subject: Reply with quote

I think the console is a red herring because it's definitely there
Code:
PhenomIIx6 lightdm # ls -l /dev/console
crw------- 1 root root 5, 1 May 21 12:08 /dev/console
PhenomIIx6 lightdm #

Besides, the fact is that other accounts wouldn't be able to log in if it didn't exist. It's also the case that switching to another console causes xorg to freeze at 100% CPU and nothing except a reboot kills it. I tried kill -KILL pid on X and even that didn't work. I can't even reboot the machine because of it. I can't tell if it is an X problem, nvidia-driver problem or kernel settings problem but I'm tending to believe it's x as it is the one that goes into lockup.

Here's an up dated lightdm.log if it helps, I'm way out of my depth with it now! I might just resort to going to ~amd64 globally and see if an upgrade to everything helps.
Code:
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.16.7, UID=0 PID=3250
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.01s] WARNING: Failed to get list of logind seats: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.login1 w$
[+0.01s] DEBUG: Adding default seat
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+0.02s] DEBUG: Seat seat0: Creating display server of type x
[+0.02s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.02s] DEBUG: Using VT 7
[+0.02s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.02s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.02s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
[+0.02s] DEBUG: DisplayServer x-0: Launching X Server
[+0.02s] DEBUG: Launching process 3277: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.02s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.02s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.02s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.59s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.59s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.59s] DEBUG: User /org/freedesktop/Accounts/User1006 added
[+0.64s] DEBUG: User /org/freedesktop/Accounts/User1005 added
[+0.64s] DEBUG: User /org/freedesktop/Accounts/User1003 added
[+0.84s] DEBUG: Got signal 10 from process 3277
[+0.84s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+0.84s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+0.84s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.84s] DEBUG: Session pid=3366: Started with service 'lightdm-greeter', username 'root'
[+0.96s] DEBUG: Session pid=3366: Authentication complete with return value 0: Success
[+0.96s] DEBUG: Seat seat0: Session authenticated, running command
[+0.96s] DEBUG: Session pid=3366: Running command /usr/sbin/lightdm-gtk-greeter
[+0.96s] DEBUG: Creating shared data directory /var/lib/lightdm-data/root
[+0.96s] DEBUG: Session pid=3366: Logging to /var/log/lightdm/x-0-greeter.log
[+0.98s] DEBUG: Activating VT 7
[+0.98s] DEBUG: Activating ConsoleKit session PhenomIIx6-1463828499.120632-1493743276
[+0.99s] WARNING: Error activating ConsoleKit session: GDBus.Error:org.freedesktop.ConsoleKit.Session.Error.AlreadyActive: Session already act$
[+1.24s] DEBUG: Session pid=3366: Greeter connected version=1.16.7 resettable=false
[+2.09s] DEBUG: Session pid=3366: Greeter start authentication for james
[+2.09s] DEBUG: Session pid=3646: Started with service 'lightdm', username 'james'
[+2.11s] DEBUG: Session pid=3646: Got 1 message(s) from PAM
[+2.11s] DEBUG: Session pid=3366: Prompt greeter with 1 message(s)
[+11.39s] DEBUG: Session pid=3366: Continue authentication
[+13.09s] DEBUG: Session pid=3646: Authentication complete with return value 7: Authentication failure
[+13.09s] DEBUG: Session pid=3366: Authenticate result for user james: Authentication failure
[+13.09s] DEBUG: Session pid=3646: Exited with return value 1
[+13.09s] DEBUG: Seat seat0: Session stopped
[+13.10s] DEBUG: Session pid=3366: Greeter start authentication for james
[+13.10s] DEBUG: Session pid=3817: Started with service 'lightdm', username 'james'
[+13.11s] DEBUG: Session pid=3817: Got 1 message(s) from PAM
[+13.11s] DEBUG: Session pid=3366: Prompt greeter with 1 message(s)
[+11.39s] DEBUG: Session pid=3366: Continue authentication
[+13.09s] DEBUG: Session pid=3646: Authentication complete with return value 7: Authentication failure
[+13.09s] DEBUG: Session pid=3366: Authenticate result for user james: Authentication failure
[+13.09s] DEBUG: Session pid=3646: Exited with return value 1
[+13.09s] DEBUG: Seat seat0: Session stopped
[+13.10s] DEBUG: Session pid=3366: Greeter start authentication for james
[+13.10s] DEBUG: Session pid=3817: Started with service 'lightdm', username 'james'
[+13.11s] DEBUG: Session pid=3817: Got 1 message(s) from PAM
[+13.11s] DEBUG: Session pid=3366: Prompt greeter with 1 message(s)
[+17.79s] DEBUG: Session pid=3366: Continue authentication
[+17.91s] DEBUG: Session pid=3817: Authentication complete with return value 0: Success
[+17.91s] DEBUG: Session pid=3366: Authenticate result for user james: Success
[+17.91s] DEBUG: Session pid=3366: User james authorized
[+17.91s] DEBUG: Session pid=3366: Greeter sets language aa_DJ.utf8
[+17.98s] DEBUG: Session pid=3366: Greeter requests session plasma
[+18.00s] DEBUG: Writing /home/james/.dmrc
[+18.00s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+18.00s] DEBUG: Session pid=3366: Sending SIGTERM
[+18.05s] DEBUG: Session pid=3366: Greeter closed communication channel
[+18.05s] DEBUG: Session pid=3366: Exited with return value 0
[+18.05s] DEBUG: Seat seat0: Session stopped
[+18.05s] DEBUG: Seat seat0: Greeter stopped, running session
[+18.05s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+18.05s] DEBUG: Session pid=3817: Running command /etc/lightdm/Xsession /usr/bin/startkde
[+18.05s] DEBUG: Creating shared data directory /var/lib/lightdm-data/james
[+18.05s] DEBUG: Session pid=3817: Logging to .xsession-errors
[+18.06s] DEBUG: Activating VT 7
[+18.06s] DEBUG: Activating ConsoleKit session PhenomIIx6-1463828895.159619-1140952605
[+18.06s] WARNING: Error activating ConsoleKit session: GDBus.Error:org.freedesktop.ConsoleKit.Session.Error.AlreadyActive: Session already ac$
[+741.17s] DEBUG: Got signal 15 from process 4430
[+741.17s] DEBUG: Caught Terminated signal, shutting down
[+741.17s] DEBUG: Stopping display manager
[+741.17s] DEBUG: Seat seat0: Stopping
[+741.17s] DEBUG: Seat seat0: Stopping display server
[+741.17s] DEBUG: Sending signal 15 to process 3277
[+741.17s] DEBUG: Seat seat0: Stopping session
[+741.17s] DEBUG: Session pid=3817: Sending SIGTERM
[+741.20s] DEBUG: Session pid=3817: Exited with return value 15
[+741.20s] DEBUG: Seat seat0: Session stopped
[+746.17s] DEBUG: Sending signal 9 to process 3277
[+746.23s] DEBUG: Got signal 15 from process 4430
[+746.23s] DEBUG: Caught Terminated signal, shutting down
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