You are not logged in.

#1 2017-02-26 20:48:36

zimtröllchen
Member
Registered: 2017-02-26
Posts: 7

[SOLVED] Cinnamon (ontop of lightdm) crashed out of nowhere

today my cinnamon crashed out of nowhere and I cannot find anything useful in the logfiles. I remember i started spotify this morning and it crashed, so I closed spotify and everything was fine.
but now it crashed again. I cannot remember what I did last because I was afk. I came back -> cinnamon crashed and it crashed everytime I restarted it.
as soon as I log in, my cinnamon says it crashed, runs in fallback and asks if I want to restart. if I do, same message again, sad.

please excuse me, im a little bit annoyed by this I have a really important project to finish by the end of this week, well, the next week. next friday.
currently i am using openbox but I cannot work with it properly.

I don't know which logs may be important to you. I ran cinnamon --replace and got this:

Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".

(cinnamon:4365): GModule-CRITICAL **: g_module_close: assertion 'module->ref_count > 0' failed
Xlib:  extension "GLX" missing on display ":0.0".

(cinnamon:4365): GModule-CRITICAL **: g_module_close: assertion 'module->ref_count > 0' failed
Xlib:  extension "GLX" missing on display ":0.0".

(cinnamon:4365): GModule-CRITICAL **: g_module_close: assertion 'module->ref_count > 0' failed

(cinnamon:4365): Clutter-CRITICAL **: Unable to initialize Clutter: Unable to initialize the Clutter backend: no available drivers found.
Window manager error: Unable to initialize Clutter.

I am using a notebook with this nvidia optimus bs. I thought it might be helpful because that already caused allot of problems in the past.

I hope someone has any idea how to fix this.

Last edited by zimtröllchen (2017-02-26 22:53:28)

Offline

#2 2017-02-26 20:56:31

loqs
Member
Registered: 2014-03-06
Posts: 17,418

Re: [SOLVED] Cinnamon (ontop of lightdm) crashed out of nowhere

Please post the systems xorg.log plus all configuration files you used for optimus as well as the output of the following commands

$ pacman -Qs mesa
$ pacman -Qs nvidia

Edit:
Oh and welcome to the arch linux forums zimtröllchen.

Last edited by loqs (2017-02-26 20:57:12)

Online

#3 2017-02-26 21:21:51

zimtröllchen
Member
Registered: 2017-02-26
Posts: 7

Re: [SOLVED] Cinnamon (ontop of lightdm) crashed out of nowhere

my /var/log/Xorg.0.log:

[  1274.058] (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/i965_dri.so failed (/usr/lib/xorg/modules/dri/i965_dri.so: undefined symbol: _glapi_tls_Dispatch)
[  1274.058] (EE) AIGLX: reverting to software rendering
[  1274.073] (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (/usr/lib/xorg/modules/dri/swrast_dri.so: undefined symbol: _glapi_tls_Dispatch)

I have not set up my optimus/bumblebee yet. so all configs should be the default ones.

pacman -Qs mesa

local/glu 9.0.0-4
    Mesa OpenGL Utility library
local/lib32-glu 9.0.0-3
    Mesa OpenGL utility library (32 bits)
local/lib32-libtxc_dxtn 1.0.1-5
    S3 Texture Compression (S3TC) library for Mesa (32-bit)
local/lib32-mesa 17.0.0-2
    an open-source implementation of the OpenGL specification (32-bit)
local/lib32-mesa-libgl 17.0.0-2
    Mesa 3-D graphics library (32-bit)
local/libtxc_dxtn 1.0.1-6
    S3 Texture Compression (S3TC) library for Mesa
local/mesa 17.0.0-2
    an open-source implementation of the OpenGL specification
local/mesa-demos 8.3.0-2
    Mesa demos and tools
local/mesa-libgl 17.0.0-2
    Mesa 3-D graphics library

pacman -Qs nvidia

local/bumblebee 3.2.1-13
    NVIDIA Optimus support for Linux through VirtualGL
local/libvdpau 1.1.1-2
    Nvidia VDPAU library
local/libxnvctrl 378.13-1
    NVIDIA NV-CONTROL X extension
local/nvidia-304xx 304.135-1
    NVIDIA drivers for linux, 304xx legacy branch
local/nvidia-304xx-utils 304.135-3
    NVIDIA drivers utilities and libraries, 304xx legacy branch
local/opencl-nvidia-304xx 304.135-3
    OpenCL implemention for NVIDIA, 304xx legacy branch
local/xf86-video-nouveau 1.0.13-2 (xorg-drivers)
    Open Source 2D acceleration driver for nVidia cards

and thank you for that welcome, loqs!

Last edited by zimtröllchen (2017-03-01 12:37:31)

Offline

#4 2017-02-26 21:42:52

loqs
Member
Registered: 2014-03-06
Posts: 17,418

Re: [SOLVED] Cinnamon (ontop of lightdm) crashed out of nowhere

[  1274.058] (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/i965_dri.so failed (/usr/lib/xorg/modules/dri/i965_dri.so: undefined symbol: _glapi_tls_Dispatch)
[  1274.058] (EE) AIGLX: reverting to software rendering
[  1274.073] (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (/usr/lib/xorg/modules/dri/swrast_dri.so: undefined symbol: _glapi_tls_Dispatch)

This seems wrong to me.
Can you remove xf86-video-intel and post the new xorg.log after restarting lightdm or rebooting.

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

This is the only card mentioned in the log
What is the output of

$ lspci -k | grep -A 2 -E "(VGA|3D)"

Online

#5 2017-02-26 21:59:22

zimtröllchen
Member
Registered: 2017-02-26
Posts: 7

Re: [SOLVED] Cinnamon (ontop of lightdm) crashed out of nowhere

When xf86-video-intel is removed lightdm and lxdm as well wont start.  seems like there is only the intel driver installed right now?

lspci -k | grep -A 2 -E "(VGA|3D)"

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
	Subsystem: Acer Incorporated [ALI] Device 0686
	Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 640M] (rev a1)
	Subsystem: Acer Incorporated [ALI] Device 0686
	Kernel modules: nouveau, nvidia

Offline

#6 2017-02-26 22:08:26

loqs
Member
Registered: 2014-03-06
Posts: 17,418

Re: [SOLVED] Cinnamon (ontop of lightdm) crashed out of nowhere

My best guess then is bumblebee is active,  that would explain the situation but that should have required you to do Bumblebee#Installing_Bumblebee_with_Intel.2FNVIDIA which as I understand you have not done.
What is the output of

$ systemctl status bumblebeed.service

Online

#7 2017-02-26 22:19:46

zimtröllchen
Member
Registered: 2017-02-26
Posts: 7

Re: [SOLVED] Cinnamon (ontop of lightdm) crashed out of nowhere

Oh No. I have installed bumblebee but i did not change any bumblebee related configuration file. smile

● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2017-02-26 22:51:52 CET; 22min ago
 Main PID: 620 (bumblebeed)
    Tasks: 1 (limit: 4915)
   Memory: 0B
      CPU: 0
   CGroup: /system.slice/bumblebeed.service
           └─620 /usr/bin/bumblebeed

Feb 26 22:51:52 archnb systemd[1]: Started Bumblebee C Daemon.
Feb 26 22:51:52 archnb bumblebeed[620]: modprobe: FATAL: Module bbswitch not found in directory /lib/modules/4.9.11-1-ARCH
Feb 26 22:51:52 archnb bumblebeed[620]: [   19.070397] [ERROR]Module bbswitch could not be loaded (timeout?)
Feb 26 22:51:52 archnb bumblebeed[620]: [   19.070413] [WARN]No switching method available. The dedicated card will always be on.
Feb 26 22:51:52 archnb bumblebeed[620]: [   19.071373] [INFO]/usr/bin/bumblebeed 3.2.1 started

hmm. I just installed bbswitch restarted bumblebeed and

● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2017-02-26 23:16:32 CET; 2s ago
 Main PID: 2091 (bumblebeed)
    Tasks: 1 (limit: 4915)
   Memory: 1.0M
      CPU: 10ms
   CGroup: /system.slice/bumblebeed.service
           └─2091 /usr/bin/bumblebeed

Feb 26 23:16:32 archnb systemd[1]: Started Bumblebee C Daemon.
Feb 26 23:16:32 archnb bumblebeed[2091]: [ 1498.644746] [INFO]/usr/bin/bumblebeed 3.2.1 started

could that have caused the problem all the time?

Last edited by zimtröllchen (2017-02-26 22:28:36)

Offline

#8 2017-02-26 22:34:23

loqs
Member
Registered: 2014-03-06
Posts: 17,418

Re: [SOLVED] Cinnamon (ontop of lightdm) crashed out of nowhere

zimtröllchen wrote:

could that have caused the problem all the time?

Yes would work through all the steps for either optimus or bumblebee and see if the issue is resolved.
Also a GeForce GT 640M should be able to use the nvidia series of packages you are using nvidia-304xx packages.

Online

#9 2017-02-26 22:53:10

zimtröllchen
Member
Registered: 2017-02-26
Posts: 7

Re: [SOLVED] Cinnamon (ontop of lightdm) crashed out of nowhere

First of all: Thank you! Cinnamon isn't crashing anymore. Everything works just fine. Its a bit of a mess because i tried to "reset" cinnamon by deleting the configs big_smile (I was very desperate and asking in some forums is always the last thing I do)

I replaced the 304 driver with the latest nvidia package. i had installed the 340 before and "graded down" to the 304 while trying to fix the problem all by myself.
I cannot remember removing bbswitch. maybe an pacman -Syu yesterday could have caused that? or my 'removing every package starting with a "k"' in order to completely remove kde/plasma big_smile

Offline

Board footer

Powered by FluxBB