IDirect3D9_CreateDevice fails after play/stop sequence

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
balasubramanya
Blank Cone
Blank Cone
Posts: 61
Joined: 11 Feb 2013 07:33

IDirect3D9_CreateDevice fails after play/stop sequence

Postby balasubramanya » 13 May 2013 08:41

Hi,

IDirect3DDevice9_Present() fails with hr = 0x88760868 after doing play/stop sequence for long time. After receiving this error the next play() command fails with following error in IDirect3D9_GetDeviceCaps().
direct3d error: Could not read adapter capabilities. (hr=0x8876086A)
This error continues and it eventually leads to following error
direct3d error: Could not create the D3D device! (hr=0x8876086A)
direct3d error: Direct3D could not be opened
After this the playback stops.

I am playing live rtsp content with play/stop sequence in every 10 seconds. This issue is seen after few hours of playback.
I am using vlc 1.1.11. I can not use any other newer versions of vlc because this one is the stable version I thought after testing versions upto vlc 2.0.5. Please help me out with few inputs to fix this issue.

Regards,
Bala

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: IDirect3D9_CreateDevice fails after play/stop sequence

Postby Jean-Baptiste Kempf » 13 May 2013 17:03

This is an issue of your video drivers, possibly. Can you try the DirectX video output?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

balasubramanya
Blank Cone
Blank Cone
Posts: 61
Joined: 11 Feb 2013 07:33

Re: IDirect3D9_CreateDevice fails after play/stop sequence

Postby balasubramanya » 22 May 2013 11:32

Hi JB,

Following are my observations.

After getting the error(E_INVALIDARG or D3DERR_DEVICELOST) the subsequent calls to direct3d/directx creation/setup fails and the browser doesn't behave properly.
IDirect3DDevice9_Present fails with error E_INVALIDARG(HRESULT=0x80070057) or D3DERR_DEVICELOST(hr = 0x88760868)
According to MSDN(http://msdn.microsoft.com/en-us/library ... s.85).aspx) this error indicates "One or more arguments are not valid". What could be the reason for this error?

According to MSDN (http://msdn.microsoft.com/en-us/library ... s.85).aspx) we should reset the direct3d device if get D3DERR_DEVICELOST error.

For D3DERR_DEVICELOST issue I have already raised one more query in this forum.

These issues are seen after playing the video for more than 1hour.

Regards,
Bala


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 34 guests