<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error initializing an MFX session: -3 in GPU Compute Software</title>
    <link>https://community.intel.com/t5/GPU-Compute-Software/Error-initializing-an-MFX-session-3/m-p/1590118#M1379</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are trying to use ffmpeg with Quicksync GPU in order to accelerate the transcoding.&lt;/P&gt;&lt;P&gt;System is:&lt;/P&gt;&lt;P&gt;*-display&lt;BR /&gt;description: VGA compatible controller&lt;BR /&gt;product: AlderLake-S GT1&lt;BR /&gt;vendor: Intel Corporation&lt;BR /&gt;physical id: 2&lt;BR /&gt;bus info: pci@0000:00:02.0&lt;BR /&gt;version: 0c&lt;BR /&gt;width: 64 bits&lt;BR /&gt;clock: 33MHz&lt;BR /&gt;capabilities: pciexpress msi pm vga_controller bus_master cap_list rom&lt;BR /&gt;configuration: driver=i915 latency=0&lt;BR /&gt;resources: iomemory:600-5ff iomemory:400-3ff irq:225 memory:6002000000-6002ffffff memory:4000000000-400fffffff ioport:5000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff&lt;/P&gt;&lt;P&gt;=========================================================================&lt;/P&gt;&lt;P&gt;ffmpeg command is:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -c:v h264 -i input.mp4 -vf hwupload=extra_hw_frames=64,format=qsv -c:v h264_qsv -c:a copy testout.mp4&lt;/STRONG&gt;&lt;BR /&gt;ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers&lt;BR /&gt;built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)&lt;BR /&gt;configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared&lt;BR /&gt;libavutil 56. 70.100 / 56. 70.100&lt;BR /&gt;libavcodec 58.134.100 / 58.134.100&lt;BR /&gt;libavformat 58. 76.100 / 58. 76.100&lt;BR /&gt;libavdevice 58. 13.100 / 58. 13.100&lt;BR /&gt;libavfilter 7.110.100 / 7.110.100&lt;BR /&gt;libswscale 5. 9.100 / 5. 9.100&lt;BR /&gt;libswresample 3. 9.100 / 3. 9.100&lt;BR /&gt;libpostproc 55. 9.100 / 55. 9.100&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;[AVHWDeviceContext @ 0x55af639f4700] Error initializing an MFX session: -3.&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Device creation failed: -1313558101.&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Failed to set value 'qsv=hw' for option 'init_hw_device': Unknown error occurred&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Error parsing global options: Unknown error occurred&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=========================================================================&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please advice what's wrong and what needs to be done in order to work well with ffmpeg on Quicksync GPU&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2024 19:01:07 GMT</pubDate>
    <dc:creator>Yehuda_G-mana</dc:creator>
    <dc:date>2024-04-17T19:01:07Z</dc:date>
    <item>
      <title>Error initializing an MFX session: -3</title>
      <link>https://community.intel.com/t5/GPU-Compute-Software/Error-initializing-an-MFX-session-3/m-p/1590118#M1379</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are trying to use ffmpeg with Quicksync GPU in order to accelerate the transcoding.&lt;/P&gt;&lt;P&gt;System is:&lt;/P&gt;&lt;P&gt;*-display&lt;BR /&gt;description: VGA compatible controller&lt;BR /&gt;product: AlderLake-S GT1&lt;BR /&gt;vendor: Intel Corporation&lt;BR /&gt;physical id: 2&lt;BR /&gt;bus info: pci@0000:00:02.0&lt;BR /&gt;version: 0c&lt;BR /&gt;width: 64 bits&lt;BR /&gt;clock: 33MHz&lt;BR /&gt;capabilities: pciexpress msi pm vga_controller bus_master cap_list rom&lt;BR /&gt;configuration: driver=i915 latency=0&lt;BR /&gt;resources: iomemory:600-5ff iomemory:400-3ff irq:225 memory:6002000000-6002ffffff memory:4000000000-400fffffff ioport:5000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff&lt;/P&gt;&lt;P&gt;=========================================================================&lt;/P&gt;&lt;P&gt;ffmpeg command is:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -c:v h264 -i input.mp4 -vf hwupload=extra_hw_frames=64,format=qsv -c:v h264_qsv -c:a copy testout.mp4&lt;/STRONG&gt;&lt;BR /&gt;ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers&lt;BR /&gt;built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)&lt;BR /&gt;configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared&lt;BR /&gt;libavutil 56. 70.100 / 56. 70.100&lt;BR /&gt;libavcodec 58.134.100 / 58.134.100&lt;BR /&gt;libavformat 58. 76.100 / 58. 76.100&lt;BR /&gt;libavdevice 58. 13.100 / 58. 13.100&lt;BR /&gt;libavfilter 7.110.100 / 7.110.100&lt;BR /&gt;libswscale 5. 9.100 / 5. 9.100&lt;BR /&gt;libswresample 3. 9.100 / 3. 9.100&lt;BR /&gt;libpostproc 55. 9.100 / 55. 9.100&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;[AVHWDeviceContext @ 0x55af639f4700] Error initializing an MFX session: -3.&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Device creation failed: -1313558101.&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Failed to set value 'qsv=hw' for option 'init_hw_device': Unknown error occurred&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Error parsing global options: Unknown error occurred&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=========================================================================&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please advice what's wrong and what needs to be done in order to work well with ffmpeg on Quicksync GPU&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 19:01:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/GPU-Compute-Software/Error-initializing-an-MFX-session-3/m-p/1590118#M1379</guid>
      <dc:creator>Yehuda_G-mana</dc:creator>
      <dc:date>2024-04-17T19:01:07Z</dc:date>
    </item>
  </channel>
</rss>

