[Seek Help] 难道 Intel 和 Nvidia 的显卡都不支持视频硬解码?
Tofloor
poster avatar
bbbear2002
deepin
2021-04-13 01:30
Author

难道 Intel 和 Nvidia 的显卡都不支持视频硬解码?

Reply Favorite View the author
All Replies
SamLukeYes
deepin
2021-04-13 02:25
#1

具体问题?

Reply View the author
忘记、过去
deepin
2021-04-13 02:52
#2
SamLukeYes

具体问题?

参考教程整 Chrome 浏览器视频播放硬件加速没成功,一直都是 FFmpeg 软解的......

Reply View the author
Ziggy
deepin
2021-04-13 03:26
#3

有可能是浏览器不兼容的,或者驱动没装好

Reply View the author
SamLukeYes
deepin
2021-04-13 04:17
#4
忘记、过去

参考教程整 Chrome 浏览器视频播放硬件加速没成功,一直都是 FFmpeg 软解的......

那是 chromium 的问题,本地的视频播放器应该都可以硬解的

Reply View the author
bbbear2002
deepin
2021-04-13 06:06
#5
Ziggy

有可能是浏览器不兼容的,或者驱动没装好

我是根据这个帖子来开启视频硬解码的:https://www.linuxuprising.com/2021/01/how-to-enable-hardware-accelerated.html

但是有几个疑问:

1. intel-media-va-driver-non-free 这个驱动我装了,就直接 sudu apt install 的命令。但不知道如何把系统驱动切换到这个;

2.  google-chrome-stable --use-gl=desktop 的参数我也加了,但仍然是软解码。

不知道问题出在哪里。

Reply View the author
bbbear2002
deepin
2021-04-13 06:26
#6

联系了 360 浏览器的客服,他们说最新的 Chrome 内核不支持 Nvidia 和 Intel 的视频硬解码

Reply View the author
安洛
deepin
2021-04-13 06:35
#7
SamLukeYes

那是 chromium 的问题,本地的视频播放器应该都可以硬解的

明明chrome和firefox都在实验性功能里面开放了软解了,到现在还没看到多少个真正成功的。

Reply View the author
bbbear2002
deepin
2021-04-13 06:45
#8
安洛

明明chrome和firefox都在实验性功能里面开放了软解了,到现在还没看到多少个真正成功的。

这位仁兄有什么办法吗

Reply View the author
zhangn1985
deepin
2021-04-13 07:36
#9

intel显卡是否是 intel-media-va-driver-non-free 要看你的CPU是否够新 (至少第五代酷睿吧)

安装好了之后,https://github.com/intel/media-driver/wiki/How-to-build-and-use-media-driver%3F

Check the current media driver

We can use vainfo to check if the current media driver is working or not.

$ export LIBVA_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/dri/

$ export LIBVA_DRIVER_NAME=iHD

$ vainfo

If you are seeing this on the screen, that shows media driver is working. Have a fun!

libva info: VA-API version 1.4.0

libva info: va_getDriverName() returns 0

libva info: User requested driver 'iHD'

 

来验证安装正确。

Reply View the author
bbbear2002
deepin
2021-04-13 07:38
#10

问题是我的 CPU 是不是太新了,是 Amber Lake,看 intel-media-va-driver-non-free 是不支持的。

Reply View the author
Ziggy
deepin
2021-04-13 07:49
#11
bbbear2002

问题是我的 CPU 是不是太新了,是 Amber Lake,看 intel-media-va-driver-non-free 是不支持的。

你用哪个内核?

Reply View the author
bbbear2002
deepin
2021-04-13 07:52
#12

找到了这个:https://github.com/intel/media-driver 是支持最新的 Amber Lake 的。又要折腾了。

Reply View the author
bbbear2002
deepin
2021-04-13 07:53
#13

https://github.com/intel/media-driver 支持 Amber Lake 的 VAAPI

Reply View the author
181******81
deepin
2021-04-13 16:23
#14

为楼主的折腾精神点赞!!!

Reply View the author