vlc故障

Totem,mplayer,sopcast,realplayer,bmp
yangdawei.hit
帖子: 245
注册时间: 2015-01-02 15:32
系统: Debian

vlc故障

#1

帖子 yangdawei.hit » 2015-10-29 18:17

vlc昨天还好用,今天打开mkv文件时闪一下就退出了。看了之前也有报错的,viewtopic.php?t=461626,但有所不同的是:我如果先进入vlc界面后,一打开mkv文件就退出。

换成smplayer能正常播放。

命令行输入vlc,并打开mkv文件报错为:

代码: 全选

vlc
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[0000000002489088] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object file: No such file or directory
Segmentation fault
显卡信息如下:

代码: 全选

  *-display               
       description: VGA compatible controller
       product: 3rd Gen Core processor Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 09
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:30 memory:f3000000-f33fffff memory:d0000000-dfffffff ioport:6000(size=64)
请教各位如何修正。
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: vlc故障

#2

帖子 vickycq » 2015-10-29 22:31

  1. 解决 Failed to open VDPAU backend libvdpau_i965.so
    1. 调整 VLC 视频输出设置,详见
      https://wiki.archlinux.org/index.php/VL ... AU_backend
    2. 安装 vdpauinfo,确认安装了 libvdpau-va-gl1 和 i965-va-driver
    3. 运行 vdpauinfo 看是否提示相同错误?(Failed to open VDPAU backend libvdpau_i965.so)
    4. 对于 amd64 架构系统

      代码: 全选

      sudo ln -s /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_va_gl.so.1 /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_i965.so.1
      
    5. 编辑/创建 /etc/profile 和 /etc/xprofile,都加入以下内容

      代码: 全选

      export VDPAU_DRIVER=va_gl
    6. 重新启动计算机
    7. 运行 vdpauinfo 看错误是否消失?

      问题的根源是 intel 不支持 vdpau,没有任何包提供 libvdpau_i965.so。

      参考
      https://packages.debian.org/search?suit ... au_i965.so
      https://bbs.archlinux.org/viewtopic.php?id=186501
  2. Segmentation Fault 还会出现吗?
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
yangdawei.hit
帖子: 245
注册时间: 2015-01-02 15:32
系统: Debian

Re: vlc故障

#3

帖子 yangdawei.hit » 2015-10-30 9:17

如法操作,还是报错, purge vlc然后重装,还是遇到问题。索性在git上下载了源码编辑安装。补了几个包之后终于安装上了。运行时又报错:

代码: 全选

VLC media player 3.0.0-git Vetinari (revision 2.2.0-git-5123-g610ecb9)
[0000000000c09310] core audio output error: no suitable audio output module
[0000000000c094a0] core interface error: no suitable interface module
[0000000000b81050] core libvlc error: interface "hotkeys,none" initialization failed
[0000000000c094a0] core interface error: no suitable interface module
[0000000000b81050] core libvlc error: interface "globalhotkeys,none" initialization failed
[0000000000b81050] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000000000c094a0] core interface error: no suitable interface module
[0000000000b81050] core libvlc error: interface "default" initialization failed
[0000000000b95000] core playlist error: could not export playlist
yangdawei.hit
帖子: 245
注册时间: 2015-01-02 15:32
系统: Debian

Re: vlc故障

#4

帖子 yangdawei.hit » 2015-10-30 9:35

卸载了编译安装:

代码: 全选

make uninstall 
make distclean
再次从源安装vlc,这次启动正常,但打不开mkv文件。弹出错误窗口:

代码: 全选

Your input can't be opened:
VLC is unable to open the MRL 'file:///home/yangdawei/Downloads/Inside%20Out%202015%20720p%20BluRay%20DD5.1%20Hi10P%20x264-Chotab.mkv'. Check the log for details.
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: vlc故障

#5

帖子 vickycq » 2015-10-30 11:50

很久没用 vlc 了,刚刚试了下。
看来最近 debian testing 的环境对 vlc 不友好?我两台 testing 的机器,一台之前安装的 vlc 出现 找不到 Qt 库 xcb 错误,重装无法解决。
另一台新安装了 vlc,播放闪退。错误和您的类似:
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[0000000000fd3148] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00000000010e89a8] dbus interface error: poll() failed: Interrupted system call
[00000000010e89a8] dbus interface error: poll() failed: Interrupted system call
[00000000010e89a8] dbus interface error: poll() failed: Interrupted system call
[00000000010e89a8] dbus interface error: poll() failed: Interrupted system call
[00007f87a0d18c48] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding.
Segmentation fault
要不先暂时用 mpv / smplayer 顶一下?
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
yangdawei.hit
帖子: 245
注册时间: 2015-01-02 15:32
系统: Debian

Re: vlc故障

#6

帖子 yangdawei.hit » 2015-10-30 13:36

看来是testing带来的了问题无疑了。我也同时在用smplayer。不过觉着smplayer的皮肤太low了。
yangdawei.hit
帖子: 245
注册时间: 2015-01-02 15:32
系统: Debian

Re: vlc故障

#7

帖子 yangdawei.hit » 2015-10-30 13:45

以前没用过mpv,刚试了一下。感觉很酷,只是似乎没有菜单栏。打开文件需要拖放文件。这货看上去等待有人写插件的样子。另,vlc给卸了,不玩它了。
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: vlc故障

#8

帖子 vickycq » 2015-10-30 14:10

yangdawei.hit 写了:以前没用过mpv,刚试了一下。感觉很酷,只是似乎没有菜单栏。打开文件需要拖放文件。这货看上去等待有人写插件的样子。另,vlc给卸了,不玩它了。
直接从文件管理器中打开视频即可。

配置文件 ~/.config/mpv/mpv.conf
参考 /usr/share/doc/mpv/example.conf 设置。
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: vlc故障

#9

帖子 vickycq » 2015-10-30 14:26

yangdawei.hit 写了:看来是testing带来的了问题无疑了。我也同时在用smplayer。不过觉着smplayer的皮肤太low了。
是否需要修改控件样式为 GTK+?
Screenshot_2015-10-30_14-17-39.png
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: vlc故障

#10

帖子 vickycq » 2015-10-31 15:06

@yangdawei.hit

VLC 段错误,bug 已经被确认
VLC on Debian is crashing. Bug severity class is "Grave".
https://bugs.debian.org/cgi-bin/bugrepo ... bug=803367
https://www.reddit.com/r/debian/comment ... _class_is/
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
yangdawei.hit
帖子: 245
注册时间: 2015-01-02 15:32
系统: Debian

Re: vlc故障

#11

帖子 yangdawei.hit » 2015-10-31 20:54

是否需要修改控件样式为 GTK+?
嗯 ,这样修改一下之后入眼多了。
VLC 段错误,bug 已经被确认
期待及早修正,估计用不了一周吧。
yangdawei.hit
帖子: 245
注册时间: 2015-01-02 15:32
系统: Debian

Re: vlc故障

#12

帖子 yangdawei.hit » 2015-11-02 0:46

今天更新源后重新安装了vlc,播放视频不再闪退了。但播放时却出现了卡顿,换成smplayer却是正常的。

在字符界面下运行vlc并播放视频出现如下信息:

代码: 全选

vlc
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[0000000001cfa088] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
[00007fe868c04ad8] avcodec decoder: Using OpenGL/VAAPI/libswscale backend for VDPAU for hardware decoding.
[00007fe838001268] vdpau_display vout display error: video mixer surface width capabilities query failure: VDP_STATUS_NO_IMPLEMENTATION
[h264 @ 0x7fe868c699a0] mmco: unref short failure
[h264 @ 0x7fe868d512e0] mmco: unref short failure
[h264 @ 0x7fe868d09b20] mmco: unref short failure
QObject::~QObject: Timers cannot be stopped from another thread
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: vlc故障

#13

帖子 poloshiao » 2015-11-02 7:37

vlc
[00007fe868c04ad8] avcodec decoder: Using OpenGL/VAAPI/libswscale backend for VDPAU for hardware decoding.
[00007fe838001268] vdpau_display vout display error: video mixer surface width capabilities query failure: VDP_STATUS_NO_IMPLEMENTATION
[h264 @ 0x7fe868c699a0] mmco: unref short failure
[h264 @ 0x7fe868d512e0] mmco: unref short failure
[h264 @ 0x7fe868d09b20] mmco: unref short failure
QObject::~QObject: Timers cannot be stopped from another thread

https://packages.debian.org/search?keyw ... -va-driver
vpdau-va-driver
VDPAU-based backend for VA API
看看 有沒有安裝 vpdau-va-driver
yangdawei.hit
帖子: 245
注册时间: 2015-01-02 15:32
系统: Debian

Re: vlc故障

#14

帖子 yangdawei.hit » 2015-11-02 8:16

下载安装了这个包,结果还是这个:

代码: 全选

 vdpau_display vout display error: video mixer surface width capabilities query failure: VDP_STATUS_NO_IMPLEMENTATION
[h264 @ 0x7f78b8cc23e0] mmco: unref short failure
[h264 @ 0x7f78b8c69a20] mmco: unref short failure
QObject::~QObject: Timers cannot be stopped from another thread
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: vlc故障

#15

帖子 poloshiao » 2015-11-02 9:47

product: 3rd Gen Core processor Graphics Controller
问题的根源是 intel 不支持 vdpau,没有任何包提供 libvdpau_i965.so。
http://www.phoronix.com/forums/forum/so ... post470678
I have tried this on my kubuntu. It enables flash player and mplayer to make use of the hardware acceleration function on my ivy-bridge cpu. However, it lacks some minor functions available in VDPAU (e.g. denoise).

看看這個網頁
https://01.org/zh/linuxgraphics/downloa ... redirect=1
vaapi intel-driver - 1.6.1

補充
由 Intel 直接提供給 Linux 的 開源 driver 及 配套程式
主要分為
Intel Graphics Installer

Intel Graphics Stack Release

Intel Graphics Firmware
詳見
https://01.org/zh/linuxgraphics/downloads
注意 更新很快 適用發行版/版本/型號 變更很快
回复