You are not logged in.

#1 2015-04-12 21:20:15

cedricmc
Member
From: Madrid, Spain
Registered: 2011-11-20
Posts: 48

[SOLVED] [DUPLICATE] Totem 3.16 crashes with Nvidia proprietary driver

UPDATE2: workaround for clutter programs, "CLUTTER_BACKEND=x11 totem". For instance, modify the exec line of /usr/share/applications/org.gnome.Totem.desktop:

Exec=sh -c 'CLUTTER_BACKEND=x11 totem %U'

UPDATE: just found thx to Google that this is a duplicate of 44531.

After a clean fully updated new installation of Archlinux, Totem 3.16.0 crashes at each call (which implies for instance no thumbnails). The thing is that VLC works just fine. Moreover, Totem does work properly on another system of mine. Both systems are x64 and have almost the same packages installed, the main difference is that system A (where Totem crashes) has an Nvidia graphic card for which the VDPAU driver works; while system B (where Totem does work) has an Intel integrated graphic card for which the video hardware acceleration is yet not fully implemented.

For a new user, Totem's output at first run is

(gst-plugin-scanner:1715): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstopencv.so': libopencv_calib3d.so.2.4: cannot open shared object file: No such file or directory

(gst-plugin-scanner:1715): GLib-GObject-WARNING **: cannot register existing type 'ClutterGstVideoSink'

(gst-plugin-scanner:1715): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(gst-plugin-scanner:1715): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(gst-plugin-scanner:1715): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(gst-plugin-scanner:1715): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

ERROR: Caught a segmentation fault while loading plugin file:
/usr/lib/gstreamer-1.0/libgstclutter-3.0.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap --gst-disable-registry-fork and debug.

(totem:1713): Gdk-ERROR **: The program 'totem' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 395 error_code 8 request_code 154 (GLX) minor_code 31)
  (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.)
`trap' para punto de parada/seguimiento (`core' generado)

At subsequent runs

(totem:2808): Gdk-ERROR **: The program 'totem' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 395 error_code 8 request_code 154 (GLX) minor_code 31)
  (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.)
`trap' para punto de parada/seguimiento (`core' generado)

Last edited by cedricmc (2015-04-21 11:07:52)

Offline

#2 2015-04-14 14:34:25

MayKiller
Member
From: China Chongqing Beibei
Registered: 2013-04-08
Posts: 7
Website

Re: [SOLVED] [DUPLICATE] Totem 3.16 crashes with Nvidia proprietary driver

Me too, but don't know how to fix it!


- My English is poor,
- So if I say something wrong,
- Please give me a hint, thank you!

Offline

#3 2015-04-15 14:18:33

bmanuel
Member
Registered: 2011-10-06
Posts: 106

Re: [SOLVED] [DUPLICATE] Totem 3.16 crashes with Nvidia proprietary driver

@MayKiller, for now you could just:

CLUTTER_BACKEND=x11 totem

Offline

#4 2015-04-16 13:11:47

Dalian
Member
From: Romania
Registered: 2015-01-31
Posts: 18

Re: [SOLVED] [DUPLICATE] Totem 3.16 crashes with Nvidia proprietary driver

I saw this fix, however i cannot make the software run on x11 by default. I tried editing the launcher direcrly in /usr/share/applications/gnome.org.Totem.desktop and modifying the exec command to CLUTTER_BACKEND=x11 totem but i get an error upon  launching. So the only workaround is to manually type the command in terminal. How can I make x11 the default backend ?

Last edited by Dalian (2015-04-16 13:12:34)

Offline

#5 2015-04-17 15:08:56

MayKiller
Member
From: China Chongqing Beibei
Registered: 2013-04-08
Posts: 7
Website

Re: [SOLVED] [DUPLICATE] Totem 3.16 crashes with Nvidia proprietary driver

bmanuel wrote:

@MayKiller, for now you could just:

CLUTTER_BACKEND=x11 totem

Thanks a lot, It's solved this problem.


- My English is poor,
- So if I say something wrong,
- Please give me a hint, thank you!

Offline

#6 2015-04-21 11:05:19

cedricmc
Member
From: Madrid, Spain
Registered: 2011-11-20
Posts: 48

Re: [SOLVED] [DUPLICATE] Totem 3.16 crashes with Nvidia proprietary driver

@Dalian:

Exec=sh -c 'CLUTTER_BACKEND=x11 totem %U'

Offline

#7 2015-04-21 18:41:17

Dalian
Member
From: Romania
Registered: 2015-01-31
Posts: 18

Re: [SOLVED] [DUPLICATE] Totem 3.16 crashes with Nvidia proprietary driver

cedricmc wrote:

@Dalian:

Exec=sh -c 'CLUTTER_BACKEND=x11 totem %U'

The command works if run from terminal, but if put into the launcher, it still fails (same behavior as usual). If i make a new launcher, it does work.
Seriously I don't get it. I've edited the launcher in /usr/share/applications/org.gnome.Totem.desktop

Last edited by Dalian (2015-04-21 18:52:51)

Offline

#8 2015-05-09 06:17:56

atrotet
Member
From: cairns Australia
Registered: 2010-12-28
Posts: 18

Re: [SOLVED] [DUPLICATE] Totem 3.16 crashes with Nvidia proprietary driver

change DBusActivatable to false and it will work.

Offline

#9 2015-05-09 09:58:42

omer666
Member
Registered: 2011-01-26
Posts: 70

Re: [SOLVED] [DUPLICATE] Totem 3.16 crashes with Nvidia proprietary driver

The problem is not only that it runs only from the console, but also all the other clutter apps have the same problem. As a system-wide workaround, I put

CLUTTER_BACKEND=x11

in

/etc/environment

and now everything's fine. Another advantage is that you won't have to modify the *.desktop files with each update.

Last edited by omer666 (2015-05-09 09:59:06)

Offline

#10 2015-05-13 14:09:39

atrotet
Member
From: cairns Australia
Registered: 2010-12-28
Posts: 18

Re: [SOLVED] [DUPLICATE] Totem 3.16 crashes with Nvidia proprietary driver

omer666 wrote:

The problem is not only that it runs only from the console, but also all the other clutter apps have the same problem. As a system-wide workaround, I put

CLUTTER_BACKEND=x11

in

/etc/environment

and now everything's fine. Another advantage is that you won't have to modify the *.desktop files with each update.

The only problem with your solution is that it will work only for starting program through the command line, not through '.desktop' shortcuts or starters.

Offline

Board footer

Powered by FluxBB