unity-control-center crashes when nvidia driver is in use (nvidia-prime)

Bug #1291397 reported by Moritz
78
This bug affects 16 people
Affects Status Importance Assigned to Milestone
nvidia-prime (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Installed the default nvidia driver, and enabled it in nvidia-settings. This prevented unity-control-center from launching. After changing the graphics mode to power saving (intel mode), it is possible to start unity-control-center.

ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: unity-control-center 14.04.3+14.04.20140310-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
Uname: Linux 3.13.0-17-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CrashCounter: 1
CurrentDesktop: Unity
Date: Wed Mar 12 15:06:51 2014
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/unity-control-center
InstallationDate: Installed on 2014-02-09 (30 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
ProcCmdline: unity-control-center sound
Signal: 5
SourcePackage: unity-control-center
StacktraceTop:
 ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
 ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
 _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
 ?? () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
 ?? () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
Title: unity-control-center crashed with signal 5 in _XReply()
UpgradeStatus: Upgraded to trusty on 2014-03-12 (0 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
usr_lib_unity-control-center:
 activity-log-manager 0.9.7-0ubuntu10
 deja-dup 29.5-0ubuntu2
 gnome-control-center 1:3.6.3-0ubuntu53

Revision history for this message
Moritz (moritz89) wrote :
Moritz (moritz89)
description: updated
summary: - sound setttings do not show when opening from volume indicator
+ unity-control-center crashes when nvidia driver is in use (nvidia-prime)
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __glXReadReply (dpy=dpy@entry=0xf457a0, size=size@entry=4, dest=dest@entry=0x7fff76b1c0bc, reply_is_always_array=reply_is_always_array@entry=0 '\000') at indirect.c:70
 __indirect_glGetTexLevelParameteriv (target=34039, level=0, pname=4096, params=0x7fff76b1c0bc) at indirect.c:3819
 _cogl_texture_driver_size_supported (ctx=0x12efd50, gl_target=<optimized out>, gl_intformat=<optimized out>, gl_format=<optimized out>, gl_type=<optimized out>, width=<optimized out>, height=1) at ./driver/gl/gl/cogl-texture-driver-gl.c:483
 _cogl_texture_rectangle_can_create (ctx=0x12efd50, width=1, height=1, internal_format=COGL_PIXEL_FORMAT_RGBA_8888_PRE, error=0x7fff76b1c1a8) at ./cogl-texture-rectangle.c:139
 cogl_texture_rectangle_new_from_bitmap (bmp=bmp@entry=0x1296500, internal_format=internal_format@entry=COGL_PIXEL_FORMAT_RGBA_8888_PRE, error=error@entry=0x7fff76b1c1a8) at ./cogl-texture-rectangle.c:294

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in unity-control-center (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, that's an nvidia issue

information type: Private → Public
affects: unity-control-center (Ubuntu) → nvidia-prime (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-prime (Ubuntu):
status: New → Confirmed
Revision history for this message
Alberto Milone (albertomilone) wrote :

Please type the following command in a terminal:

sudo nvidia-bug-report.sh

and attach the resulting nvidia-bug-report.log.gz.

Also, please attach the following file:
/var/log/gpu-manager.log

Revision history for this message
Moritz (moritz89) wrote :

The bug does not reoccur after changing to intel mode, rebooting, changing to nvidia mode, loging out and back in. None the less, following are the dumps.

Revision history for this message
Moritz (moritz89) wrote :

In between this dump and the previous dump, there was an Xserver crash. Don't know if it influences the data.

Revision history for this message
Alberto Milone (albertomilone) wrote :

I can see from dmesg that you're using Bumblebee. Please make sure to remove all the bumblebee related packages (but bbswitch) and try again.

Revision history for this message
Moritz (moritz89) wrote :

Bumblebee has been removed but there where still config files remaining which where then removed by using synaptic -> Mark for complete removal. Before the config files where removed, bumblebeed was tried to be spawned, but failed, as shown in the log. In this state there were no crashes and everything worked as it should.

After removing the residual config files, there is no longer any mention of bumblebeed in dmesg.

Revision history for this message
Alberto Milone (albertomilone) wrote :

I'm unable to reproduce the problem on my system. Can you still reproduce it on an updated system? If so, I'll have a look at the code to see what's going on.

Revision history for this message
Jonathan Reeve (jon-reeve) wrote :

I'm still getting this crash on an updated system, using the latest NVIDIA drivers. My card:

    01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 640M Mac Edition] (rev a1)

The error I'm getting is:

libGL error: failed to load driver: swrast

(unity-control-center:24230): Gdk-ERROR **: The program 'unity-control-center' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadLength (poly request too large or internal Xlib length erro'.
  (Details: serial 227 error_code 16 request_code 155 (GLX) minor_code 1)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap (core dumped)

Revision history for this message
andyczerwonka (andy-czerwonka) wrote :

I get this exact same error. It works fine until I plug in an external monitor to the display port.

Revision history for this message
Dan Dascalescu (ddascalescu+launchpad) wrote :

I still see this crash on my Ubuntu 16.04.3 laptop (no external monitor connect), without any bumblebee installed.

$ unity-control-center
get chip id failed: -1 [13]
param: 4, val: 0
[intel_init_bufmgr:1193] Error initializing buffer manager.

(unity-control-center:1874): GLib-CRITICAL **: g_strsplit: assertion 'string != NULL' failed
Segmentation fault (core dumped)

NVidia binary driver 384.90

I ran `setsid unity` but that led to a complete mess: no window chrome or taskbar, Alt+Tab disabled, login loop etc.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.