Goz*_*zie 7 video intel-graphics cpu hevc
我知道在这个平台上类似的问题已经无数次被问到,但似乎没有一个对我有帮助。一段时间以来,我已经能够使用 mpv 媒体播放器在我的系统上播放 x265 10 位视频,但在更新到 Ubuntu 20.04 后,视频已恢复到之前的播放方式,这是可怕的滞后、不同步的子/视频,有时视频甚至不会在音频继续播放时显示。我之前遇到过这些问题,但是在获得之后gstreamer1.0-libde265包裹后,问题就解决了,至少在 mpv 上是这样。所有 x265 视频都能流畅播放。但自从更新后,我再也无法在 mpv 或任何媒体播放器上流畅地播放 x265 视频了。虽然我在windows上仍然可以流畅地玩它们。我假设这是因为我用来添加上述软件包的 ppa 在升级到 20.04 时被禁用。
如果有人需要信息,这是 vainfo 的输出:
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_6
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.6.0)
vainfo: Driver version: Intel i965 driver for Intel(R) CherryView - 2.4.0
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileVP8Version0_3 : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
Run Code Online (Sandbox Code Playgroud)
这是 lscpu 的输出:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 36 bits physical, 48 bits virtual
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 76
Model name: Intel(R) Celeron(R) CPU N3060 @ 1.60GHz
Stepping: 4
CPU MHz: 1968.194
CPU max MHz: 2480.0000
CPU min MHz: 480.0000
BogoMIPS: 3200.00
Virtualization: VT-x
L1d cache: 48 KiB
L1i cache: 64 KiB
L2 cache: 2 MiB
NUMA node0 CPU(s): 0,1
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Mitigation; Clear CPU buffers; SMT disabled
Vulnerability Meltdown: Mitigation; PTI
Vulnerability Spec store bypass: Not affected
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user
pointer sanitization
Vulnerability Spectre v2: Mitigation; Full generic retpoline, IBPB condit
ional, IBRS_FW, STIBP disabled, RSB filling
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtr
r pge mca cmov pat pse36 clflush dts acpi mmx f
xsr sse sse2 ss ht tm pbe syscall nx rdtscp lm
constant_tsc arch_perfmon pebs bts rep_good nop
l xtopology tsc_reliable nonstop_tsc cpuid aper
fmperf tsc_known_freq pni pclmulqdq dtes64 moni
tor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse
4_1 sse4_2 movbe popcnt tsc_deadline_timer aes
rdrand lahf_lm 3dnowprefetch epb pti ibrs ibpb
stibp tpr_shadow vnmi flexpriority ept vpid tsc
_adjust smep erms dtherm ida arat md_clear
Run Code Online (Sandbox Code Playgroud)
PS 抱歉所有的咆哮,我是一个菜鸟,所以一个低级的解释将不胜感激。
我在新安装的 Ubuntu 20.04 上遇到了类似的问题,我无法播放 x265 编码的视频(并且没有生成视频缩略图;我只是得到一个相当通用的缩略图,如下所示:genericthumbnail
我通过使用命令启用受限格式解决了这两个问题sudo apt install ubuntu-restricted-extras
小智 0
我的改进是通过安装底部错误报告中提到的缺少的驱动程序_ https://bugs.launchpad.net/ubuntu/+source/libva-utils/+bug/1890815
通过使用 18.04 LTS 中的包进行修复,如下所示:
cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/v/vdpau-video/vdpau-va-driver_0.7.4-6ubuntu1_amd64.deb
sudo apt-get install ./vdpau-va-driver_0.7.4-6ubuntu1_amd64.deb
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
7164 次 |
| 最近记录: |