Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"./bin/Protonect" can not be executed due to VAAPI error #1051

Closed
takanotume24 opened this issue Dec 27, 2018 · 2 comments
Closed

"./bin/Protonect" can not be executed due to VAAPI error #1051

takanotume24 opened this issue Dec 27, 2018 · 2 comments

Comments

@takanotume24
Copy link

takanotume24 commented Dec 27, 2018

Overview Description:
I attempted to install according to the installation procedure and tried to execute "./ bin / Protonect", but the following error was displayed and it could not be executed.

Version, Platform, and Hardware Bug Found:

  1. git log -1 --oneline
c203ee2 (HEAD -> master, origin/master, origin/HEAD) docs: Remove homebrew/versions from instructions
  1. uname -a
Linux takuya-PRIMERGY-TX1310-M3 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
  1. lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 5000M
    |__ Port 4: Dev 2, If 0, Class=Vendor Specific Class, Driver=, 5000M
    |__ Port 4: Dev 2, If 1, Class=Vendor Specific Class, Driver=, 5000M
    |__ Port 4: Dev 2, If 2, Class=Audio, Driver=snd-usb-audio, 5000M
    |__ Port 4: Dev 2, If 3, Class=Audio, Driver=snd-usb-audio, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
    |__ Port 5: Dev 21, If 0, Class=Hub, Driver=hub/4p, 12M
        |__ Port 1: Dev 24, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 1: Dev 24, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 3: Dev 22, If 0, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 3: Dev 22, If 1, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 3: Dev 22, If 2, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 25, If 2, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 25, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 25, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 6: Dev 3, If 0, Class=Chip/SmartCard, Driver=, 12M

  1. lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers [8086:590f] (rev 06)
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 610 [8086:5902] (rev 04)
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-H Thermal subsystem [8086:a131] (rev 31)
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a] (rev 31)
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] [8086:a102] (rev 31)
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #2 [8086:a111] (rev f1)
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [8086:a149] (rev 31)
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC [8086:a121] (rev 31)
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] (rev 31)
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-LM [8086:15b7] (rev 31)
01:00.0 Multimedia controller [0480]: Altera Corporation Device [1172:4c15] (rev 01)

Steps to Reproduce:

  1. Install according to the procedure.
  2. Execute "./bin/Protonect".

Actual Results:

takuya@takuya-PRIMERGY-TX1310-M3:~/libfreenect2/build$ ./bin/Protonect
Version: 0.2.0
Environment variables: LOGFILE=<protonect.log>
Usage: ./bin/Protonect [-gpu=<id>] [gl | cl | clkde | cuda | cudakde | cpu] [<device serial>]
        [-noviewer] [-norgb | -nodepth] [-help] [-version]
        [-frames <number of frames to process>]
To pause and unpause: pkill -USR1 Protonect
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 8 usb devices connected
[Info] [Freenect2Impl] found valid Kinect v2 @2:2 with serial 012699142047
[Info] [Freenect2Impl] found 1 devices
libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva info: va_openDriver() returns 0
[Info] [VaapiRgbPacketProcessorImpl] driver: Intel iHD driver - 2.0.0
[Info] [Freenect2DeviceImpl] opening...
[Info] [Freenect2DeviceImpl] transfer pool sizes rgb: 20*16384 ir: 60*8*33792
[Info] [Freenect2DeviceImpl] opened
[Info] [Freenect2DeviceImpl] starting...
[Debug] [Freenect2DeviceImpl] status 0x090000: 9855
[Debug] [Freenect2DeviceImpl] status 0x090000: 9855
[Info] [Freenect2DeviceImpl] submitting rgb transfers...
[Info] [Freenect2DeviceImpl] submitting depth transfers...
[Info] [Freenect2DeviceImpl] started
device serial: 012699142047
device firmware: 4.0.3917.0
[Debug] [DepthPacketStreamParser] not all subsequences received 0
[Error] [VaapiFrame] vaGetImage(display, surface, 0, 0, image.width, image.height, image.image_id): the requested RT Format is not supported
Segmentation fault (コアダンプ)

Is this a problem caused by the version of VAAPI?

@xlz
Copy link
Member

xlz commented Dec 28, 2018

libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
the requested RT Format is not supported

Try export LIBVA_DRIVER_NAME=i965.

@takanotume24
Copy link
Author

I added it to "~/.bash_profile", it worked!
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants