Page 1 of 2

2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 26 Sep 2013 10:20
by xing2
I have installed the new VLC 2.1.0 right now and I found a very big bug: VLC crashes with a lot of videos, when Hardware Decoding Acceleration is Enabled (DXVA 2.0 or Automatic) :cry:

Sporadic crashes occurred also in the previous build 2.0.8 with some videos.

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 26 Sep 2013 13:08
by anuswara
Hi,
I have no crash but a bad experience, artefacts.

hw acceleration on (gtx650, NO issues with the same files on other software!)
1080p video : very fine.
1080i50 videos (deinterlace: auto> linear): very bad, jumpiness. I have to turn the hw acce off.
ok with progressive, bad with interlaced content.

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 26 Sep 2013 15:25
by xing2
crashdump

[version]
OS=6.2.9200.2.
VLC=2.1.0 Rincewind

[exceptions]
c0000005 at 674341f8x | 00000000 | 00000a8c

[context]
EDI:00000550x
ESI:00000023x
EBX:00000a8cx
EDX:77007174x
ECX:ffffffffx
EAX:00000a8cx
EBP:032bca10x
EIP:674341f8x
ESP:0668f220x

[stacktrace]
#EIP|base|module
674341f8|C
0000000d|C


[modules]
00400000|C
76ff0000|C
75570000|C
74690000|C
6dfb0000|C
754c0000|C
74ee0000|C
74df0000|C
75750000|C
75030000|C
76820000|C
683c0000|C
75170000|C
76c90000|C
76b50000|C
74cd0000|C
74bc0000|C
76d70000|C
722b0000|C
74e00000|C
72000000|C
74e50000|C
74750000|C
74670000|C
75720000|C
74d10000|C
76f70000|C
745d0000|C
73550000|C
72ea0000|C
72ac0000|C
75210000|C
74460000|C
74400000|C
6afc0000|C
74fa0000|C
6c690000|C
6c040000|C
6bb90000|C
67dd0000|C
6b8c0000|C
6a690000|C
6b2d0000|C
6b840000|C
6abb0000|C
68bf0000|C
68b30000|C
6a660000|C
6a640000|C
6a170000|C
68260000|C
68780000|C
67200000|C
68100000|C
74580000|C
74e60000|C
72430000|C
6a5b0000|C
6a450000|C
604a0000|C
75670000|C
73a00000|C
71090000|C
73db0000|C
73fc0000|C
73ce0000|C
6cf70000|C
72740000|C
72ec0000|C
747a0000|C
74a10000|C
71ae0000|C
719a0000|C
6fde0000|C
6a270000|C
723c0000|C
6fb20000|C
71e20000|C
6c840000|C
637e0000|C
6a1f0000|C
743d0000|C
6c900000|C
6c3b0000|C
6cbe0000|C
71250000|C
69790000|C
74250000|C
6a1e0000|C
71ed0000|C
67510000|C
6c4d0000|C
6b6b0000|C
71e60000|C
74520000|C
71970000|C
6e670000|C
71960000|C
73060000|C
73b10000|C
6dea0000|C
6c210000|C
6f1f0000|C
6d6c0000|C
749c0000|C
74830000|C
74650000|C
6d610000|C
6b7c0000|C
6f5f0000|C
71940000|C
6d290000|C
74510000|C
6ddf0000|C
75390000|C
6c470000|C
6f200000|C
69b20000|C
6a250000|C
67d80000|C
69c50000|C
670b0000|C
68b10000|C
67d20000|C
67cc0000|C
680c0000|C
68af0000|C
67c00000|C
66f50000|C
67900000|C
67be0000|C
663c0000|C
67840000|C
674f0000|C
67490000|C
67470000|C
67450000|C
5ef80000|C
67430000|C
69c70000|C
73a60000|C
66f30000|C
5d6f0000|C

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 27 Sep 2013 19:07
by Jean-Baptiste Kempf
I will look at it.

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 28 Sep 2013 05:51
by Valkyr09
Hi,

Thanks for looking into the crashes.I am having the same problems but only with avi videos. VLC would crash if I enable Hw acceleration but work perfectly when disabled. Hw acceleration works fine on mp4 videos however.
I use VLC 64 bit on Windows 8 with Geforce GT 630M and Intel integrated video HD Graphics i4500.

I would like to submit a crash dump report if needed. Let me know if you require this.

Thanks

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 28 Sep 2013 10:49
by lobster
I see the same. VLC keeps crashing. It seems to be tied to hardware acceleration. Win7/64bit/HD4000.

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 28 Sep 2013 10:50
by Ajaja
gdb backtrace:

Code: Select all

GNU gdb (GDB) 7.6 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-w64-mingw32". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from D:\UTIL\vlc\vlc.exe...(no debugging symbols found)...done. (gdb) run Starting program: D:\UTIL\vlc\vlc.exe [New Thread 404.0xd0] [New Thread 404.0x2bc] [New Thread 404.0xadc] warning: main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [New Thread 404.0x2e4] [New Thread 404.0xb24] [New Thread 404.0x730] [New Thread 404.0xa94] [New Thread 404.0x88c] [New Thread 404.0x380] [New Thread 404.0x75c] [New Thread 404.0x25c] [New Thread 404.0xb7c] [New Thread 404.0x77c] warning: avi demux error: no key frame set for track 1 warning: avi demux error: no key frame set for track 2 [New Thread 404.0xb08] [New Thread 404.0x424] [New Thread 404.0x514] [New Thread 404.0x82c] [New Thread 404.0x504] warning: dxva2.lo generic: obtained IDirect3DDeviceManager9 warning: dxva2.lo generic: DXVA2CreateVideoService Success! warning: dxva2.lo generic error: DxFindVideoServiceConversion failed Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 404.0xb7c] 0x000000006f1f3268 in ?? () from D:\UTIL\vlc\plugins\codec\libdxva2_plugin.dll (gdb) backtrace #0 0x000000006f1f3268 in ?? () from D:\UTIL\vlc\plugins\codec\libdxva2_plugin.dll #1 0x000000006f1fd040 in vlc_entry_license__2_1_0a () from D:\UTIL\vlc\plugins\codec\libdxva2_plugin.dll #2 0x0000000005752ec0 in ?? () #3 0x000007fef5d79210 in dxva2!DXVAHD_CreateDevice () from C:\Windows\system32\dxva2.dll #4 0x0000000005752da0 in ?? () #5 0x0000040000000500 in ?? () #6 0x000000006f1f4c9b in ?? () from D:\UTIL\vlc\plugins\codec\libdxva2_plugin.dll #7 0x0000000000000023 in ?? () #8 0x000000006f1fd370 in vlc_entry_license__2_1_0a () from D:\UTIL\vlc\plugins\codec\libdxva2_plugin.dll #9 0x000000006f1fd3a0 in vlc_entry_license__2_1_0a () from D:\UTIL\vlc\plugins\codec\libdxva2_plugin.dll #10 0x000007fefd9b8e56 in ole32!CoTaskMemFree () from C:\Windows\system32\ole32.dll #11 0x000000000556eed0 in ?? () #12 0x0000000008995ab0 in ?? () #13 0x000000006f1fd370 in vlc_entry_license__2_1_0a () from D:\UTIL\vlc\plugins\codec\libdxva2_plugin.dll #14 0x0000000000000023 in ?? () #15 0x000000006f1fd3a0 in vlc_entry_license__2_1_0a () from D:\UTIL\vlc\plugins\codec\libdxva2_plugin.dll #16 0x000000006f1f5a3b in ?? () from D:\UTIL\vlc\plugins\codec\libdxva2_plugin.dll #17 0x0000000008995ab0 in ?? () #18 0x000007fef5d79210 in dxva2!DXVAHD_CreateDevice () from C:\Windows\system32\dxva2.dll #19 0x000007fef5d63930 in dxva2!OPMGetVideoOutputsFromIDirect3DDevice9Object () from C:\Windows\system32\dxva2.dll #20 0x0000000008995b18 in ?? () #21 0x000000006affd11e in ?? () #22 0x0000000000001d96 in ?? () #23 0x00000000000042b1 in ?? () #24 0x00000000025174e0 in ?? () #25 0x00000000025174e0 in ?? () #26 0x00000000025174e0 in ?? () #27 0x0000000000000001 in ?? () #28 0x0000000005752da0 in ?? () #29 0x000000130556f238 in ?? () #30 0x00000000025190f0 in ?? () #31 0x00000000048499b0 in ?? () #32 0x000000000241a1d0 in ?? () #33 0x0000000069791440 in ?? () from D:\UTIL\vlc\plugins\codec\libavcodec_plugin.dll #34 0x000000000556f0c8 in ?? () #35 0x0000000000000001 in ?? () #36 0x00000000025174e0 in ?? () #37 0x0000000069e45019 in vlc_entry_license__2_1_0a () from D:\UTIL\vlc\plugins\codec\libavcodec_plugin.dll #38 0x0000000000000001 in ?? () #39 0x0000000002511c60 in ?? () #40 0x0000000070333af2 in picture_pool_GetSize () from D:\UTIL\vlc\libvlccore.dll #41 0x00000000025174e0 in ?? () #42 0x0000000000000000 in ?? () (gdb)

BTW. Why http://get.videolan.org:81/vlc/2.1.0/wi ... 4-debug.7z and http://get.videolan.org:81/vlc/2.1.0/wi ... -debug.zip have "no debugging symbols"?

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 29 Sep 2013 11:55
by xing2
Debug with Visual Studio:

Unhandled exception at 0x524041F8 (libdxva2_plugin.dll) in vlc.exe: 0xC0000005: Access violation reading location 0x00000A8C.

Registers:
EAX = 00000A8C EBX = 00000A8C ECX = FFFFFFFF EDX = 77007174 ESI = 00000023 EDI = 00000550 EIP = 524041F8 ESP = 0582F220 EBP = 025D6508 EFL = 00010202
0x00000a8c = 00000000

Call Stack:
> libdxva2_plugin.dll!524041f8() Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for libdxva2_plugin.dll]
libdxva2_plugin.dll!5240517c() Unknown
combase.dll!76b53732() Unknown
libvlccore.dll!5dbb3510() Unknown
libvlccore.dll!5dbb0a6b() Unknown
libvlccore.dll!5dbaeb9f() Unknown
libvlccore.dll!5dbaeec3() Unknown
libvlccore.dll!5dbca52a() Unknown
libavcodec_plugin.dll!52b84e5f() Unknown
libavcodec_plugin.dll!52b87e49() Unknown
libavcodec_plugin.dll!5254e8ff() Unknown
ntdll.dll!76ff423f() Unknown
ntdll.dll!76ff39ec() Unknown
KernelBase.dll!7469d09c() Unknown
libvlccore.dll!5dbca0c9() Unknown
libvlccore.dll!5dbca200() Unknown
libvlccore.dll!5dbca200() Unknown
libvlccore.dll!5dbca320() Unknown
msvcrt.dll!74ee9b03() Unknown
msvcrt.dll!74ee9b10() Unknown
libvlccore.dll!5dbaeb9f() Unknown
libvlccore.dll!5dbaeec3() Unknown
libvlccore.dll!5dbaf404() Unknown
libvlccore.dll!5db675a8() Unknown
libvlccore.dll!5db67d68() Unknown
libvlccore.dll!5dc558e7() Unknown
libvlccore.dll!5dbca52a() Unknown
libvlccore.dll!5dbca4e3() Unknown
libvlccore.dll!5dbca52a() Unknown
libvlccore.dll!5db7387d() Unknown
KernelBase.dll!7469de3a() Unknown
libvlccore.dll!5dbca52a() Unknown
libvlccore.dll!5dbc9e09() Unknown
libvlccore.dll!5db7387d() Unknown
KernelBase.dll!7469de3a() Unknown
libvlccore.dll!5dbc9e09() Unknown
libvlccore.dll!5db7694d() Unknown
libvlccore.dll!5db774fa() Unknown
libvlccore.dll!5db7694d() Unknown
libvlccore.dll!5db7b6cf() Unknown
libvlccore.dll!5db7dea1() Unknown
libvlccore.dll!5dbca797() Unknown
msvcrt.dll!74eea030() Unknown
msvcrt.dll!74ef906a() Unknown
msvcrt.dll!74ef9147() Unknown
kernel32.dll!7557173e() Unknown
ntdll.dll!77046911() Unknown
ntdll.dll!770468bd() Unknown

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 29 Sep 2013 23:12
by Jean-Baptiste Kempf
To everyone on this thread:
  • What is your GPU
  • Can you try with VLC 2.1.0 32bits version?
  • DOes it happen in all file formats? Or just in mp4/mkv/avi?

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 30 Sep 2013 09:05
by adamp
I´ve got the same Problem.

1x Ivy Bridge 3770 / intel HD4000
1x Core2Duo P8600 with Intel Express 4 Mobile Chipset (GMA 45)

2.10 32 Bit HW Accelration on = Crash

It only occurs with divx files (*.divx / *.avi (Container))

2.08 runs fine.

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 30 Sep 2013 10:39
by lobster
VLC is 32bit, GPU is HD4000.

avi crashes every time. Other formats only does it sometimes.

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 30 Sep 2013 17:44
by Ajaja
Windows 7, GTX 650. 32bit VLC 2.1.0 crashes too. Looks like crashes only with XVID/DIVX other SP/ASP mpeg4.

BTW. Latest VLC 2.2.0 nightly works fine with dxva2 activated.

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 30 Sep 2013 20:07
by Jean-Baptiste Kempf
Cool. I'll post a fix build to test soon.

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 30 Sep 2013 21:29
by Schnuffel
i have the same prob

with some mp4 and avi files (not with all)
vlc crashes with hw acceleration enabled

w7 64 bit
radeon hd7850 (catalyst 13.9)

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 30 Sep 2013 21:48
by Jean-Baptiste Kempf
i have the same prob

with some mp4 and avi files (not with all)
vlc crashes with hw acceleration enabled

w7 64 bit
radeon hd7850 (catalyst 13.9)
What codec?

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 01 Oct 2013 00:16
by Schnuffel
Codec: MPEG-4 Video (XVID)
Codec: MPEG-4 Video (DX50)
and
Codec: MPEG-4 Video (mp4v)


seems all avi files causing a crash

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 01 Oct 2013 22:00
by Jean-Baptiste Kempf
OK. I will fix for 2.1.1

Try this: http://people.videolan.org/~jb/vlc-2.1.1-win32.exe

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 02 Oct 2013 09:21
by adamp
This version also crashes.

DIVX/AVI HW Accelration on

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 02 Oct 2013 19:03
by Schnuffel
all 3 codec

Codec: MPEG-4 Video (XVID)
Codec: MPEG-4 Video (DX50)
Codec: MPEG-4 Video (mp4v)

are still crashing with 2.1.1.

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 02 Oct 2013 19:58
by Ajaja
are still crashing with 2.1.1.
+1 still crashing.

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 03 Oct 2013 14:58
by Valkyr09
Hi, I have been using vlc nightly build 2.20 (build 30 Sept 2013) and the hw acceleration works. Thanks for fixing. My system is Windows 8 64 bit with Geforce GT 630 M on 8 gb ram. The VLC build was 64 bit.

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 03 Oct 2013 18:19
by Ajaja
Hi, I have been using vlc nightly build 2.20 (build 30 Sept 2013) and the hw acceleration works. Thanks for fixing. My system is Windows 8 64 bit with Geforce GT 630 M on 8 gb ram. The VLC build was 64 bit.
Nightly builds have its own problems. For example, crashing with "Video post processing filter" activated. So, I'm waiting for the solving problem in the stable version.

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 04 Oct 2013 12:47
by eltouco
Hi All,

i also have a crash when hardware decoding is actived (automatic or set to VADX)

I use VLC 2.1.0 x64 on Windows 7 64 bits FR, my graphic card is a radeon HD 5800 with latest Catalyst

Good luck for the fix.

Touco

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 08 Oct 2013 00:52
by Jean-Baptiste Kempf
You really should use 32bits versions.

OK, I will try to do another build.

Re: 2.1.0 CRASHES when HW Decoding Acceleration is Enabled

Posted: 08 Oct 2013 09:09
by xing2
I use the 32bit version and it crashes!
Did someone test VLC 2.1.0 before releasing it? :roll: