You are not logged in.

#1 2012-02-05 09:44:35

6msj
Member
Registered: 2011-10-03
Posts: 42

No video playback, vlc crashes upon video-startup [SOLVED]

jamesarch:~$ vlc
VLC media player 1.1.13 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x825a8fc] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Blocked: call to setlocale(6, "")
Blocked: call to setlocale(6, "")

(process:1102): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(vlc:1102): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
Blocked: call to setenv("CUR_WIDTH", "0", 1)
Blocked: call to setenv("CUR_WIDTH", "0", 1)
Blocked: call to setenv("CUR_WIDTH", "0", 1)
Blocked: call to setenv("CUR_WIDTH", "0", 1)
Blocked: call to setenv("CUR_WIDTH", "0", 1)

I've tried with vlc, mplayer, smplayer. They either crash, or won't play at all. Thanks for any help.

Last edited by 6msj (2012-02-06 02:35:21)

Offline

#2 2012-02-05 11:30:24

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: No video playback, vlc crashes upon video-startup [SOLVED]

I have this problem if I choose to enable video acceleration in VLC.  Try with video acceration off in preferences.  Also try changing the video output to something different in preferences.  You might try with direct rendering turned off as well.

Offline

#3 2012-02-05 19:59:47

6msj
Member
Registered: 2011-10-03
Posts: 42

Re: No video playback, vlc crashes upon video-startup [SOLVED]

That didn't do it. The weird thing is mplayer by itself can play videos fine, but VLC, smplayer, gnome-mplayer are refusing to play.

Offline

#4 2012-02-06 01:22:29

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: No video playback, vlc crashes upon video-startup [SOLVED]

Try starting vlc in terminal and see what messages are displayed.

Example when vlc works on my system:

$ vlc GimmeShelterOriginal.mp4
VLC media player 1.1.13 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x247c120] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Blocked: call to setlocale(6, "")
Blocked: call to setlocale(6, "")

(process:2394): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
xdg-screensaver: Window 0x03200048 does not exist

Example when vlc crashes on my system using ffmpeg hardware encoding:

$ vlc --ffmpeg-hw GimmeShelterOriginal.mp4
VLC media player 1.1.13 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x24a6120] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Blocked: call to setlocale(6, "")
Blocked: call to setlocale(6, "")

(process:2469): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/i965_drv_video.so
libva: va_openDriver() returns 0
[0x7f59b0007bd0] avcodec decoder: Using VA API version 0.32 for hardware decoding.
Segmentation fault

Offline

#5 2012-02-06 02:35:02

6msj
Member
Registered: 2011-10-03
Posts: 42

Re: No video playback, vlc crashes upon video-startup [SOLVED]

Thanks David, it was actually some fontconfig/infinality error. I noticed the problem after changing my fonts to the patchset, and now it's gone after changing it back. I have no idea what actually went wrong but at least it's fixed now.

Offline

#6 2012-02-07 15:09:22

cjpembo
Member
Registered: 2008-08-06
Posts: 105

Re: No video playback, vlc crashes upon video-startup [SOLVED]

I'm getting the same error, but I have nVidia drivers and have not done anything exotic with my font setup other that copy Windows7 fonts over to my system:

$ vlc test.mp4 
VLC media player 1.1.13 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x1951150] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Blocked: call to setlocale(6, "")
Blocked: call to setlocale(6, "")

(process:2156): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
libva: VA-API version 0.32.0
Xlib:  extension "XFree86-DRI" missing on display ":0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva: va_openDriver() returns 0
[0x7f4c0c0026c0] avcodec decoder: Using VA API version 0.32 for hardware decoding.
Segmentation fault
$ xdg-screensaver: Window 0x02a00047 does not exist

If I disable all hardware acceleration in vlc, no problems.  Using nVidia's drivers.

Offline

#7 2012-02-17 05:05:41

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 784

Re: No video playback, vlc crashes upon video-startup [SOLVED]

cjpembo wrote:

I'm getting the same error, but I have nVidia drivers and have not done anything exotic with my font setup other that copy Windows7 fonts over to my system:

$ vlc test.mp4 
VLC media player 1.1.13 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x1951150] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Blocked: call to setlocale(6, "")
Blocked: call to setlocale(6, "")

(process:2156): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
libva: VA-API version 0.32.0
Xlib:  extension "XFree86-DRI" missing on display ":0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva: va_openDriver() returns 0
[0x7f4c0c0026c0] avcodec decoder: Using VA API version 0.32 for hardware decoding.
Segmentation fault
$ xdg-screensaver: Window 0x02a00047 does not exist

If I disable all hardware acceleration in vlc, no problems.  Using nVidia's drivers.

I've been having the same problem since the update to version 295.20 of the nVidia drivers.

Offline

Board footer

Powered by FluxBB