通过Bumblebee运行VLC

当我尝试使用命令行optirun或optirun -b primus运行VLC时,我得到以下输出:

VLC media player 2.1.6 Rincewind (revision 2.1.6-0-gea01d28) [0xd35118] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. ../../../include/vlc_xlib.h:46:vlc_xlib_init: Xlib not initialized for threads. This process is probably using LibVLC incorrectly. Pass "--no-xlib" to libvlc_new() to fix this. [0x1216418] qt4 interface error: Xlib not initialized for threads ../../../include/vlc_xlib.h:46:vlc_xlib_init: Xlib not initialized for threads. This process is probably using LibVLC incorrectly. Pass "--no-xlib" to libvlc_new() to fix this. [0x1216418] skins2 interface error: Xlib not initialized for threads [0x1216418] skins2 interface error: initializing xlib for multi-threading failed [0x1216418] skins2 interface error: cannot initialize OSFactory [0x1216418] [cli] lua interface: Listening on host "*console". VLC media player 2.1.6 Rincewind Command Line Interface initialized. Type `help' for help. 

谁知道问题所在。 我的系统是Xubuntu 14.04.2 64位,安装包:nvidia-331,bumblebee,bumblebee-nvidia,primus,sni-qt:i386(适用于Skype),IDE Qt Creator 5.4 x64。

矛盾的是,在旧系统中,在vlc optirun上以相同的相同配置重新安装之前工作正常,但现在却没有。 我很乐意接受任何建议,谢谢。

好消息。 我找到了解决方案。 为了通过Bumblebee无错误地启动VLC – 必须在Bumblebee之前安装VLC。

PS我在Ubuntu 14.04上测试了两次

它正在工作,但在命令行…只添加文件名打开一些东西:optirun vlc /path/of/gamesofvideo.mkv

在命令行上看video不是很方便。