You are not logged in.

#1 2018-03-11 20:50:14

Shinwoir
Member
Registered: 2018-01-20
Posts: 25

UI randomly crashes

I think that happens since the last time I ran

pacman -Syu

I assume only the UI crashes since I'm still able to reach ttyX by pressing Ctrl+Alt+X.

I don't know much more about the issue, if I notice something I'll edit the post

Offline

#2 2018-03-11 21:01:32

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 19,952
Website

Re: UI randomly crashes

Eh, there is absolutely nothing here to work with.

If you think it is only from the last update, post your log of what was updated.

Post your xorg log from when it happens.

Tell us about your set up, what WM/DE do you use and how do you start it?  What video driver do you use?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2018-03-11 22:03:58

Shinwoir
Member
Registered: 2018-01-20
Posts: 25

Re: UI randomly crashes

My DE is KDE and my WM is KWin. Here is my pacman log since 03/08

However, in /var/log/ , i have several xorg logs so I dont know which one I should post

My graphics driver is xf86-video-nouveau and my GPU is an Nvidia GTX 950M. I use SDDM as a session manager

Edit: This error seems to occur only when my laptop isn't plugged on, even though my battery is almost full.

Last edited by Shinwoir (2018-03-11 22:08:34)

Offline

#4 2018-03-11 22:12:20

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 19,952
Website

Re: UI randomly crashes

So almost everything was updated yesterday.  But before that there were partial upgrades due to failed or cancelled attempts to update the system.  What was happening 3 days ago when you had several failed attempts to run `pacman -Syu`?  This was the day before you installed megasync from the AUR (and it's dependencies from the repos).

Your Xorg log should be under ~/.local/share/xorg/* and you can check the dates on the files to see when they were created.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2018-03-11 22:18:32

seth
Member
Registered: 2012-09-03
Posts: 8,155

Re: UI randomly crashes

I assume only the UI crashes since I'm still able to reach ttyX by pressing Ctrl+Alt+X.

That does not sound anywhere near a segfault - please define "crash", what are the symptoms?
Also check dmesg for nouveau related errors - any reason you're not using the nvidia blob?

Offline

#6 2018-03-11 22:22:19

Shinwoir
Member
Registered: 2018-01-20
Posts: 25

Re: UI randomly crashes

I think they were python files that weren't owned by any package, I deleted them and they re-appeared after the update.
here is the xorg log

Offline

#7 2018-03-11 22:26:14

loqs
Member
Registered: 2014-03-06
Posts: 5,816

Re: UI randomly crashes

[   107.836] Parse error on line 11 of section InputClass in file /etc/X11/xorg.conf.d/14-libinput-custom-config.conf
    Unexpected EOF. Missing EndSection keyword?
[   107.836] (EE) Problem parsing the config file
[   107.836] (EE) Error parsing the config file
[   107.836] (EE)
Fatal server error:
[   107.837] (EE) no screens found(EE)
[   107.838] (EE) 

What is the contents of /etc/X11/xorg.conf.d/14-libinput-custom-config.conf ?  What is the Xorg.log if you remove/rename that config file?

Are you installing python packages systemwide without using pacman?

Offline

#8 2018-03-11 22:35:40

Shinwoir
Member
Registered: 2018-01-20
Posts: 25

Re: UI randomly crashes

Actually, /etc/X11/xorg.conf.d/14-libinput-custom-config.conf doesn't even exist. And I don't install python package system-wise

Offline

#9 2018-03-11 22:39:20

seth
Member
Registered: 2012-09-03
Posts: 8,155

Re: UI randomly crashes

[   107.835] Current Operating System: Linux archlinux 4.14.13-1-ARCH #1 SMP PREEMPT Wed Jan 10 11:14:50 UTC 2018 x86_64
[   107.836] (==) Log file: "/home/shinwoir/.local/share/xorg/Xorg.0.log", Time: Sat Jan 20 19:13:25 2018

...

Edit: "grrrr" on cnp ... and editing... ;-)

Last edited by seth (2018-03-11 22:40:54)

Offline

#10 2018-03-11 22:40:37

Shinwoir
Member
Registered: 2018-01-20
Posts: 25

Re: UI randomly crashes

Does this mean my arch release is from Jan 10? If it does, how do I update it?

Offline

#11 2018-03-11 22:41:58

loqs
Member
Registered: 2014-03-06
Posts: 5,816

Re: UI randomly crashes

Trilby wrote:

Your Xorg log should be under ~/.local/share/xorg/* and you can check the dates on the files to see when they were created.

Current Operating System: Linux archlinux 4.14.13-1-ARCH #1 SMP PREEMPT Wed Jan 10 11:14:50 UTC 2018 x86_64

Are you using a display manager or running X as some other user or is that not the most recent log file in /.local/share/xorg/ or has X not started since January?

Offline

#12 2018-03-11 22:42:44

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 19,952
Website

Re: UI randomly crashes

(edit: nevermind - if the log you showed is old, my comment is irrelevant)

Last edited by Trilby (2018-03-11 22:43:24)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#13 2018-03-11 22:44:18

Shinwoir
Member
Registered: 2018-01-20
Posts: 25

Re: UI randomly crashes

I may have installed python packages, but if it existed, this xorg file doesn't exist anymore

Offline

#14 2018-03-11 22:45:56

loqs
Member
Registered: 2014-03-06
Posts: 5,816

Re: UI randomly crashes

Shinwoir wrote:

Does this mean my arch release is from Jan 10? If it does, how do I update it?

No the pacman.log you posted indicates system updates since then

[2018-03-10 13:20] [ALPM] upgraded linux (4.15.5-1 -> 4.15.7-1)

So the Xorg.log would appear to not be the most recent one.

Offline

#15 2018-03-11 22:47:16

Shinwoir
Member
Registered: 2018-01-20
Posts: 25

Re: UI randomly crashes

loqs wrote:
Trilby wrote:

Your Xorg log should be under ~/.local/share/xorg/* and you can check the dates on the files to see when they were created.

Current Operating System: Linux archlinux 4.14.13-1-ARCH #1 SMP PREEMPT Wed Jan 10 11:14:50 UTC 2018 x86_64

Are you using a display manager or running X as some other user or is that not the most recent log file in /.local/share/xorg/ or has X not started since January?

This file has been last edited on January 20.
In /var/log/xorg, i have Xorg.1.log and Xorg.0.log and both of them has been last edited today

Offline

#16 2018-03-11 22:47:48

loqs
Member
Registered: 2014-03-06
Posts: 5,816

Re: UI randomly crashes

How did you start X today?

Offline

#17 2018-03-11 22:49:55

Shinwoir
Member
Registered: 2018-01-20
Posts: 25

Re: UI randomly crashes

Xorg.0
Xorg.1
I also have some Xorg.pid-xxxxx.log

Offline

#18 2018-03-11 22:50:35

Shinwoir
Member
Registered: 2018-01-20
Posts: 25

Re: UI randomly crashes

loqs wrote:

How did you start X today?

Well, I don't start X "manually", when my computer boots SDDM appears and I just open my session

Offline

#19 2018-03-11 22:54:07

loqs
Member
Registered: 2014-03-06
Posts: 5,816

Re: UI randomly crashes

[  2483.288] (II) xfree86: Adding drm device (/dev/dri/card1)
[  2483.288] (II) xfree86: Adding drm device (/dev/dri/card0)

Hybrid graphics with the display driven by the intel integrated GPU and the nvidia GPU not used is that intended?
Edit:
Check the system journal for the sddm service see if there is any output that might be related to the X session being terminated.

Last edited by loqs (2018-03-11 22:58:58)

Offline

#20 2018-03-11 22:59:40

Shinwoir
Member
Registered: 2018-01-20
Posts: 25

Re: UI randomly crashes

Shinwoir wrote:
loqs wrote:

How did you start X today?

Well, I don't start X "manually", when my computer boots SDDM appears and I just open my session

i didn't configure that but i'll leave it like this. From past experience, I get a lot of tearing with my nvidia card

Offline

#21 2018-03-11 23:00:17

seth
Member
Registered: 2012-09-03
Posts: 8,155

Re: UI randomly crashes

Let's try this again:

seth wrote:
I assume only the UI crashes since I'm still able to reach ttyX by pressing Ctrl+Alt+X.

That does not sound anywhere near a segfault - please define "crash", what are the symptoms?
Also check dmesg for nouveau related errors - any reason you're not using the nvidia blob?

Offline

#22 2018-03-11 23:05:24

Shinwoir
Member
Registered: 2018-01-20
Posts: 25

Re: UI randomly crashes

seth wrote:

Let's try this again:

seth wrote:
I assume only the UI crashes since I'm still able to reach ttyX by pressing Ctrl+Alt+X.

That does not sound anywhere near a segfault - please define "crash", what are the symptoms?
Also check dmesg for nouveau related errors - any reason you're not using the nvidia blob?

The screen just suddenly becomes black.
Running this command, I only see those

[   18.099593] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 022554 [ IBUS ]
[   18.105423] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 10ac08 [ IBUS ] 
[   18.769172] nouveau 0000:01:00.0: DRM: Pointer to TMDS table invalid

These errors appear everytime when I power on my PC

As I said, I don't use nvidia because of tearing

Last edited by Shinwoir (2018-03-11 23:05:45)

Offline

#23 2018-03-11 23:08:02

seth
Member
Registered: 2012-09-03
Posts: 8,155

Re: UI randomly crashes

Did you try to suspend the compositor (SHIFT+Alt+F12)? Or even just restart "DISPLAY=:0 kwin_x11 --replace"?

Offline

#24 2018-03-11 23:10:35

Shinwoir
Member
Registered: 2018-01-20
Posts: 25

Re: UI randomly crashes

seth wrote:

Did you try to suspend the compositor (SHIFT+Alt+F12)? Or even just restart "DISPLAY=:0 kwin_x11 --replace"?

I did not try that, and how do I restart this? Besides i can't figure out what would suspending the compositor do in order to solve the issue

Offline

#25 2018-03-11 23:14:36

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 19,952
Website

Re: UI randomly crashes

Shinwoir wrote:

I did not try that

It was more of a rhetorical question, I suspect (i.e., a suggestion of something to do, not a query for information).  Try it now.

Last edited by Trilby (2018-03-11 23:15:18)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB