[FFmpeg-trac] #6827(undetermined:reopened): Intel QSV: "Failed to create Direct3D device" on Core i7-7700K (Skylake) on Windows 10

FFmpeg trac at avcodec.org
Fri Nov 10 21:45:06 EET 2017


#6827: Intel QSV: "Failed to create Direct3D device" on Core i7-7700K (Skylake) on
Windows 10
-------------------------------------+-------------------------------------
             Reporter:  bubbleguuum  |                    Owner:
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by bubbleguuum):

 I finally found the cause of the failure:

 The log trace in the bug report was from ffmpeg.exe spawn from a Windows
 service.
 D3D is not available from a Windows service and require the program to be
 launched from an interactive user session:

 https://support.microsoft.com/en-us/help/978635/direct3d-9-is-not-
 supported-in-the-context-of-a-windows-service
 http://xboxforums.create.msdn.com/forums/t/1711.aspx

 This is really unfortunate and I cannot see an easy workaround (except
 that to not use a Windows service), but ffmpeg is not the cause of the
 problem.

 Maybe it would useful to log error codes of IDirect3D9Ex_CreateDeviceEx()
 and IDirect3D9Ex_CreateDevice(), to make this special failure case easier
 to identify.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6827#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list