![radeon xvideo 加速在 11.10 中还能正常工作吗?](https://linux22.com/image/1037154/radeon%20xvideo%20%E5%8A%A0%E9%80%9F%E5%9C%A8%2011.10%20%E4%B8%AD%E8%BF%98%E8%83%BD%E6%AD%A3%E5%B8%B8%E5%B7%A5%E4%BD%9C%E5%90%97%EF%BC%9F.png)
我有一台 Thinkpad T42,配备 ATI Radeon Mobility 7500 显卡芯片(RV200 芯片组),由开放式 Radeon 驱动程序支持。
在 11.04 版本下,vlc 可以使用 xvideo 扩展(硬件加速覆盖)以出色的帧速率播放高清视频:
vlc --vout xvideo MYVIDEO.mp4
VLC media player 1.1.9 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x903e914] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Blocked: call to setlocale(6, "")
Warning: call to srand(1323805494)
Warning: call to rand()
Blocked: call to setlocale(6, "")
(process:4926): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
brainfart cropping not supported, this could look slightly wrong .
..
在 11.10 下,vlc 将不使用 xvideo 扩展。启用覆盖(硬件加速)时,视频会变得不连贯。禁用覆盖后,性能会更好,但不够流畅。
vlc --vout xvideo MYVIDEO.mp4
VLC media player 1.1.12 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x8a4292c] 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:1817): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(vlc:1817): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/radeon_drv_video.so
libva: va_openDriver() returns -1
[0x9905e84] main video output error: video output creation failed
[0x8cb8a64] main decoder error: failed to create video output