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

[HW Accel Support]: QuickSync on 9th Gen (intel ARK says quicksync = yes, 10thGEN has same iGPU) #12220

Closed
bob454522 opened this issue Jun 30, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@bob454522
Copy link
Sponsor

Im aware the frigate docs show Intel quickSync is only supported on intel 10th Gen cpus or higher - I have a Dell optiplex with a i5-9500T, and need to replace it (stability issues + I've only been ever been able to get VAAPI to work, not quicksync) - so im about to buy a new dell optiplex micro, and wanted to get a 10th gen or higher intel cpu In order to have quicksync support.

however when reviewing the Intel ARK specs, on the 10th gen unit im looking to buy, which has a 10th Gen Core i7-10700 , All of the GPU specs look the exact same as my current i5-9500T - ie the iGPU on both is a UHD 630 , same clocks, and BOTH show QuickSync support = YES.

so i just want to 100% confirm that my i5-9500T does really not support QSV on frigate, before i buy this new optiplex (And also confirm that an i7-10700 will support qsv) (or maybe i need to change something on my i5 to get QSV?)

(to replace my current optiplex micro i5-9500T which has stability issues)

thanks (extra info below)

vaInfo on my i5-9500T:

qubuntu@opti-frigate:~$ sudo vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.3.1 ()
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD


os info:

Description:    Ubuntu 22.04.3 LTS
Release:        22.04

as expected, on my i5-9500T if try to use quicksync it fails, showing this error (on frigate 14 beta 3):

2024-06-30 11:53:00.042094696  [2024-06-30 11:53:00] ffmpeg.Gate-Back-hen.detect    ERROR   : [h264_qsv @ 0x55bfe0981dc0] video_get_buffer: image parameters invalid
2024-06-30 11:53:00.042131729  [2024-06-30 11:53:00] ffmpeg.Gate-Back-hen.detect    ERROR   : [h264_qsv @ 0x55bfe0981dc0] get_buffer() failed
2024-06-30 11:53:00.042179038  [2024-06-30 11:53:00] ffmpeg.Gate-Back-hen.detect    ERROR   : Error while decoding stream #0:0: Invalid argument
2024-06-30 11:53:00.042284874  [2024-06-30 11:53:00] ffmpeg.Gate-Back-hen.detect    ERROR   : Finishing stream 1:0 without any data written to it.
2024-06-30 11:53:00.042308973  [2024-06-30 11:53:00] ffmpeg.Gate-Back-hen.detect    ERROR   : [swscaler @ 0x55bfe0a3de80] [swscaler @ 0x55bfe0a4ae40] deprecated pixel format used, make sure you did set range correctly
2024-06-30 11:53:00.042374317  [2024-06-30 11:53:00] ffmpeg.Gate-Back-hen.detect    ERROR   : [swscaler @ 0x55bfe0a3de80] [swscaler @ 0x55bfe09a6b80] deprecated pixel format used, make sure you did set range correctly
2024-06-30 11:53:00.043780325  [2024-06-30 11:53:00] watchdog.Alley-RainBird-hen    ERROR   : Ffmpeg process crashed unexpectedly for Alley-RainBird-hen.
2024-06-30 11:53:00.043831816  [2024-06-30 11:53:00] watchdog.Alley-RainBird-hen    ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-30 11:53:00.043906678  [2024-06-30 11:53:00] ffmpeg.Alley-RainBird-hen.detect ERROR   : [segment @ 0x55c6d7e09ec0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2024-06-30 11:53:00.044003475  [2024-06-30 11:53:00] ffmpeg.Alley-RainBird-hen.detect ERROR   : [h264_qsv @ 0x55c6d7e0d800] video_get_buffer: image parameters invalid
2024-06-30 11:53:00.044015417  [2024-06-30 11:53:00] ffmpeg.Alley-RainBird-hen.detect ERROR   : [h264_qsv @ 0x55c6d7e0d800] get_buffer() failed
2024-06-30 11:53:00.044060969  [2024-06-30 11:53:00] ffmpeg.Alley-RainBird-hen.detect ERROR   : Error while decoding stream #0:0: Invalid argument

9500T intel ark (9th gen - what i have now):
https://www.intel.com/content/www/us/en/products/sku/191052/intel-core-i59500t-processor-9m-cache-up-to-3-70-ghz/specifications.html

10700 intel ark (10th Gen - what im planning to buy):
https://www.intel.com/content/www/us/en/products/sku/199316/intel-core-i710700-processor-16m-cache-up-to-4-80-ghz/specifications.html

@bob454522 bob454522 added the enhancement New feature or request label Jun 30, 2024
@hawkeye217
Copy link
Collaborator

hawkeye217 commented Jun 30, 2024

This is not a feature request. Please open a discussion.

@hawkeye217 hawkeye217 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 30, 2024
@NickM-27
Copy link
Sponsor Collaborator

There is no advantage to quick sync in frigates use case. Vaapi works the same in most cases and better in the other cases for frigate

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

No branches or pull requests

3 participants