Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).

VCA卡GPU使用率为0%

Daghe
Beginner
1,386 Views

 

使用vca卡  hardware已开启,房间配为h264_cb,aac_48000_2,为何GPU显示为0% vca卡上cpu显示为13% ,未使用GPU??

 conference.publish(localStream,{
                            audio:true,
                            video:[{codec:{name:"h264"}}]}).then(publication => {
                            publicationGlobal = publication;

 conference.subscribe(stream, {
                             audio:true,
                             video:[{codec:{name:"h264"}}]
                        }).then((subscription) => {
发布的参数为 h264 但是查看video的日志 : woogeen.VCMFrameEncoder - (0x4006bd0)Create encoder(VP8) 编码为VP8 这让我很纳闷??

 

 

 

0 Kudos
8 Replies
Qiujiao_W_Intel
Employee
1,386 Views

就像在之前一个问题里提到过的,4.1中h264加入了profile的设置,目前在publish的API里

conference.publish(localStream,{
                            audio:true,
                            video:[{codec:{name:"h264"}}]}).then(publication => {
                            publicationGlobal = publication;

这种格式就可以了不需要指定profile,但是在subscribe的API里需要指定profile,

conference.subscribe(stream, {
                             audio:true,
                             video:[{codec:{name:"h264", profile:"CB"}}]
                        }).then((subscription) => {

subscribe的流所支持的codec以及profile可以从相应的stream里的capabilities来获取

0 Kudos
Daghe
Beginner
1,386 Views

@Qiujiao W. (Intel) 感谢您的回复

我们最近准备使用Intel Collaboration Suite for WebRTC version 4.1 遇到如下几个问题

        验证环境 系统:物理机系统: CentOS Linux release 7.6.1810 (Core)      vca卡 系统:CentOS Linux release 7.2.1511 (Core)   vca_baremetal_production_centos7.2_1.3.48.img

                                BIOS:IntelVisualComputeAccelerator_BIOS_1.3.54      EEPROM:IntelVisualComputeAccelerator_EEPROM_1.3.48 镜像:IntelVisualComputeAccelerator_Persistent_Reference_1.3.48

                                 使用vca卡  hardware已开启,房间配为h264_cb,aac_48000_2    chrome版本71.0.3578.80(正式版本) (64 位)

conference.publish(localStream,{
                            audio:true,
                            video:[{codec:{name:"h264"}}]}).then(publication => {
                            publicationGlobal = publication;

这种格式就可以了不需要指定profile,但是在subscribe的API里需要指定profile,

conference.subscribe(stream, {
                             audio:true,
                             video:[{codec:{name:"h264", profile:"CB"}}]
                        }).then((subscription) => {

profile我已经指定为CB  

日志里面仍是woogeen.VCMFrameEncoder - (0x4006bd0)Create encoder(VP8) 

是否跟我的内核版本有关?

 

0 Kudos
Daghe
Beginner
1,386 Views

使用MCU software 设置为h264 ,encode仍是VP8,index.js 和video的日志在下面的压缩包

0 Kudos
Daghe
Beginner
1,386 Views

 

 

conference.subscribe(stream, {
                             audio:true,
                             video:[{codecs:{name:"h264",profile:"CB"}}]
                        }).then((subscription) => {

查找到问题是因为codec 少了一个s 需要codecs 才会生效

但是VCA卡依旧未使用GPU intel_gpu_top的使用率为 0%, 日志如下

应该是未安装Intel® Media Server Studio ,重新安装MediaServerStudioEssentials2017 系统为Centos 7.2 1511

MediaServerStudioEssentials2017\SDK2017Production16.5\CentOS\install_sdk_CentOS.sh ,

出现一堆警告:Removing previous version kmod-ukmd-16.5-55964.el7.x86_64...
 

运行完毕后未发现有KMD未安装

按照https://software.intel.com/en-us/articles/mss-centos-install-options 的安装步骤,最终使用vainfo无法显示驱动信息,

重启电脑后显示 ERROR: Count ready devices failed!

重新安装daemon-vca 与 vcass-modules,再次重启,系统崩溃了重启不了,

能否提供一下Centos 7.2的VCA卡驱动的安装步骤,使其能使用GPU视频加速,非常感谢!

0 Kudos
Qiujiao_W_Intel
Employee
1,386 Views

从vca image来看,vca的image以及是很早之前的1.3版本,4.1的MCU需要运行在2.x版本上,请查看vca卡最新的image进行更新

0 Kudos
Daghe
Beginner
1,386 Views

Centos的系统使用7.2.1511可以吗?还是必须使用Centos 7.4?

是否必须安装intel-media-sdk 2018R1的?

0 Kudos
Qiujiao_W_Intel
Employee
1,386 Views

如果是在vca卡上的话只需要安装VCA卡的image就可以了,如果是在独立的支持hardware的机器那就需要安装msdk 2018R1, 具体安装的os要求可以参考对应的vca卡或者msdk的文档说明

0 Kudos
Daghe
Beginner
1,386 Views

使用Release3.5.2版本,浏览器版本为71.0.3578.98(正式版本) (64 位)

script2.js如下,发布和订阅已参考SDK文档使用videoCodec:'h264' 日志中encoder仍未VP8

conference.subscribe(stream, {
          video:videoOpt,
          videoCodec:'vp9',
          audio:true
        }, function() {
          L.Logger.info('subscribed:', stream);
当我改变videoCodec为vp9时确实encoder会改变为vp9,改回h264仍是vp8,确认已install_deps_sh,video-agent/lib安装了libopenh264.so.4,使用MCU software中的video-agent则显示encoder为H264,这让我很纳闷?和VCA卡的配置有关?还是安装VCA卡驱动有问题?

附件如下:

0 Kudos
Reply