Opened 6 months ago

Last modified 6 months ago

#6996 new defect

attempting to use QSV on supported Intel system with NVidia primary GPU on Windows 10 causes crash

Reported by: Statick Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: qsv crash
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Hardware is Intel Pentium G4600 with Intel HD Graphics 630, and Nvidia Geforce GT 1030 with single display attached to the Nvidia HDMI. No display is attached to the Intel HD Graphics HDMI.

Both sets of graphics drivers are installed and working, and QuickSync is working for encodes and decodes in many other softwares (HandBrake? QuickSync encoding works, StaxRip? QuickSync encoding works, LAV Filter QuickSync decoding works) under this configuration with the Nvidia as primary GPU

Attempting "ffmpeg -init_hw_device qsv" with this configuration gives error in command window output, followed by windows crash report. Removing Nvidia GPU and running with Intel HD Graphics as primary GPU does not cause the same error.

Error is "[AVHWDeviceContext @ 0000018fa63c9bc0] Error setting child device handle: -6"

How to reproduce:
Configure system as described and try "ffmpeg -init_hw_device qsv"

Change History (2)

comment:1 Changed 6 months ago by cehoyos

  • Component changed from ffmpeg to undetermined

Please provide the command line you tested together with the complete, uncut console output to make this a valid ticket.
For crash reports, backtrace, disassembly and register dump as explained on https://ffmpeg.org/bugreports.html are useful.

comment:2 Changed 6 months ago by Statick

I don't know how to go about providing the backtrace etc stuff and I don't really understand that section of the bug reports page

full console output is :

ffmpeg -init_hw_device qsv

ffmpeg version N-89925-gd4967c04e0 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx --enable-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
  libavutil      56.  7.100 / 56.  7.100
  libavcodec     58.  9.100 / 58.  9.100
  libavformat    58.  7.100 / 58.  7.100
  libavdevice    58.  0.101 / 58.  0.101
  libavfilter     7. 11.101 /  7. 11.101
  libswscale      5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[AVHWDeviceContext @ 000001f8db319bc0] Error setting child device handle: -6

Note: See TracTickets for help on using tickets.