I’m on a Lenovo ThinkPad T430 which had Debian Wheezy running solid/stable. No crashes, ever. Upgraded to Debian Jessie recently and been having crashes; it seems like Gnome crashes.
By crash, it just goes into that Gnome “System error has occurred page. Log out,” then it either restarts or I go back to my programs, and after 3-4 minutes it logs me out.
How can I get to the bottom of this or how can I at least confirm if this is either a system error, or bumblebee, or an xorg error? Here's the timeline of what I did:
- Updated /etc/apt/sources.list from wheezy to jessie
- Followed instructions and did a dist-upgrade
- GUI mode didn't work entirely - installed bumblebee which solved my initial issue of graphics/gnome entirely not working entirely ( non GUI mode )
- Used Gnome3 in regular mode and using it in fallback/classic mode but still get sporadic crashes
- Hardware: Lenovo ThinkPad T430
- Gnome: 220.127.116.11
- Processor: Debian GNU/Linux 8 (jessie) 32-bit
- Graphics: (if this is accurate) Intel® Ivybridge Mobile x86/MMX/SSE2
- Xorg.0.log: http://dpaste.com/2WJNZJV
- lspci reveals I actually have 2 VGA options, but how do I know which one is being used now?
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [NVS 5400M] (rev ff)
Just crashed at 13:51-13:52 and in /var/log I see:
-rw-r----- 1 root 18K Sep 14 13:51 debug -rw-r--r-- 1 root 31K Sep 14 13:51 Xorg.0.log -rw-r----- 1 root 95K Sep 14 13:51 kern.log -rw-rw-r-- 1 root 160K Sep 14 13:52 wtmp -rw-r----- 1 root 147K Sep 14 13:52 daemon.log -rw-r----- 1 root 1.4M Sep 14 13:54 user.log -rw-r----- 1 root 467K Sep 14 13:54 syslog -rw-r----- 1 root 1.5M Sep 14 13:54 messages -rw-r----- 1 root 27K Sep 14 13:54 auth.log
I checked each of those and the only thing that looked suspicious was:
Sep 14 13:51:36 oskol kernel: [40336.856002] VirtualBox: segfault at c ip b57d917b sp bf99a510 error 4 in VirtualBox.so[b5680000+6bf000]
Would that cause a crash or is that more of a warning?
I tried updating to the nvidia drivers as suggested and generating an xorg.conf file, but this I believe conflicts with bumblebee possibly and X can no longer start saying 'nvidia module not found'. I uninstalled those and renamed xorg.conf so there's none atm. I believe my card is an Nvidia Optimus card which needs bumblebee.
FileZilla randomly crashed and it logged me back out. Is there a way I can debug what sort of error this was?
I'm using 2 monitors today and one of them got the "Oh no! Something is wrong. The other monitor is fine.
UPDATE #5 -
Going on a couple months now and still haven't resolved this. Very close to backing up my entire HD and installing Debian afresh. More info:
Settings -> Displays gives me "Could not get screen information"
Xorg.8.log contains this:
[ 48783.817] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the [ 48783.817] (EE) NVIDIA(0): system's kernel log for additional error messages and [ 48783.817] (EE) NVIDIA(0): consult the NVIDIA README for details. [ 48783.817] (EE) NVIDIA(0): *** Aborting *** [ 48783.817] (EE) NVIDIA(0): Failing initialization of X screen 0 [ 48783.817] (II) UnloadModule: "nvidia" [ 48783.817] (II) UnloadSubModule: "wfb" [ 48783.817] (II) UnloadSubModule: "fb" [ 48783.817] (EE) Screen(s) found, but none have a usable configuration.
Tried jkwong888's solution of prepending a Screen Section to the top of bumblebee's xorg.conf.nvidia to no avail.
optirun -vv glxgears gives me this, which has some "failed to set DRM interface version"
optirun -vv glxgears [ 674.297893] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf [ 674.298701] [DEBUG]optirun version 3.2.1 starting... [ 674.298749] [DEBUG]Active configuration: [ 674.298780] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf [ 674.298796] [DEBUG] X display: :8 [ 674.298810] [DEBUG] LD_LIBRARY_PATH: [ 674.298824] [DEBUG] Socket path: /var/run/bumblebee.socket [ 674.298839] [DEBUG] Accel/display bridge: auto [ 674.298854] [DEBUG] VGL Compression: proxy [ 674.298869] [DEBUG] VGLrun extra options: [ 674.298883] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus [ 674.298967] [DEBUG]Using auto-detected bridge primus [ 674.418536] [INFO]Response: No - error: [XORG] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied [ 674.418552] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied [ 674.418557] [DEBUG]Socket closed. [ 674.418570] [ERROR]Aborting because fallback start is disabled. [ 674.418575] [DEBUG]Killing all remaining processes.