当我尝试使用命令行通过 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 工作正常,但现在却不行了。我很乐意听取任何建议,谢谢。
答案1
好消息。我找到了解决方案。为了通过 Bumblebee 启动 VLC 而不出现错误 -必须在 Bumblebee 之前安装 VLC。
PS 我在 Ubuntu 14.04 上测试了两次
答案2
它可以工作,但在命令行上...仅添加文件名以打开某些内容:optirun vlc /path/of/gamesofvideo.mkv
在命令行上观看视频不是很方便。