Page 1 of 1

Direct3d crash in NVIDIA graphics driver

Posted: 09 Jul 2013 10:38
by balasubramanya
Hi,

I am getting following crash in NVIDIA graphics driver. I am using vlc 1.1.11 version.

crash is happening in

Code: Select all

HRESULT hr = IDirect3DSurface9_LockRect(picture->p_sys->surface, &d3drect, NULL, 0);
in

Code: Select all

static int Direct3DLockSurface(picture_t *picture)
function.

Following is the crash log.

Code: Select all

0x12da2679 in QueryOglResource () from C:\windows\system32\nvd3dum.dll (gdb) bt #0 0x12da2679 in QueryOglResource () from C:\windows\system32\nvd3dum.dll #1 0x12e19afc in QueryOglResource () from C:\windows\system32\nvd3dum.dll #2 0x12dcf590 in QueryOglResource () from C:\windows\system32\nvd3dum.dll #3 0x12d9f6e7 in QueryOglResource () from C:\windows\system32\nvd3dum.dll #4 0x12c2f50a in ?? () from C:\windows\system32\nvd3dum.dll #5 0x12c2e3ea in ?? () from C:\windows\system32\nvd3dum.dll #6 0x12c2e4d8 in ?? () from C:\windows\system32\nvd3dum.dll #7 0x12d00e23 in ?? () from C:\windows\system32\nvd3dum.dll #8 0x6e8879cb in d3d9!Direct3DCreate9Ex () from C:\windows\system32\d3d9.dll #9 0x6e88952a in d3d9!Direct3DCreate9Ex () from C:\windows\system32\d3d9.dll #10 0x6e77795f in ?? () from C:\windows\system32\d3d9.dll #11 0x6e78cdf2 in d3d9!PSGPSampleTexture () from C:\windows\system32\d3d9.dll #12 0x6e78cd46 in d3d9!PSGPSampleTexture () from C:\windows\system32\d3d9.dll #13 0x6d782d50 in Direct3DLockSurface (picture=0x1c53e4c0) at direct3d.c:789 #14 0x6a56f6e5 in Lock (picture=0x1c53e4c0) at misc/picture_pool.c:218 #15 0x6a56f515 in picture_pool_Get (pool=0x2adc1fe0) at misc/picture_pool.c:170 #16 0x052e1dda in Init (vout=0x368417c8) at wrapper.c:235 #17 0x6a594f13 in InitThread (p_vout=0x368417c8) at video_output/video_output.c:799 #18 0x6a59573c in RunThread (p_this=0x368417c8) at video_output/video_output.c:969 #19 0x6a542a30 in vlc_entry (p=0xcdc350) at win32/thread.c:526 #20 0x76061287 in msvcrt!_itow_s () from C:\windows\syswow64\msvcrt.dll #21 0x76061328 in msvcrt!_endthreadex () from C:\windows\syswow64\msvcrt.dll #22 0x767733aa in KERNEL32!BaseCleanupAppcompatCacheSupport () from C:\windows\syswow64\kernel32.dll #23 0x7daefae8 in ?? () #24 0x77c59ef2 in ntdll!RtlpNtSetValueKey () from C:\windows\SysWOW64\ntdll.dll #25 0x00cc2110 in ?? () #26 0x77c59ec5 in ntdll!RtlpNtSetValueKey () from C:\windows\SysWOW64\ntdll.dll #27 0x760612e5 in msvcrt!_endthreadex () from C:\windows\syswow64\msvcrt.dll #28 0x00000000 in ?? ()
I am using NVIDIA graphics(card NVIDIA NVS 310) driver version 9.18.13.1106 dated 1/18/2013.

Is this a driver issue or vlc issue? How to fix this issue?

Regards,
Bala

Re: Direct3d crash in NVIDIA graphics driver

Posted: 09 Jul 2013 15:29
by Jean-Baptiste Kempf
The crash is in the driver, it seems. Use VLC 2.0.7 though...

Re: Direct3d crash in NVIDIA graphics driver

Posted: 10 Jul 2013 06:46
by balasubramanya
Thanks for the info JB. I can't use VLC 2.0.7 due to some stability related issues. I need to use more stable 1.1.11 version which is already tested in our setup. Can this be fixed by modifying the direct3d.c file or any other VLC files? Are there any Nvidia specific direct3d fixes in VLC 2.0.7 which will fix the above crash? Please help me out in this regard.

Regards,
Bala

Re: Direct3d crash in NVIDIA graphics driver

Posted: 10 Jul 2013 17:11
by Jean-Baptiste Kempf
You can try a different video output like OpenGL.