Log in

View Full Version : MeGUI access violation error


eXtremeDevil
16th October 2024, 10:43
Hi guys. Today, out of nowhere, I started getting this error in MeGUI:

Process exits with error: 0xC0000005 STATUS_ACCESS_VIOLATION (-1073741819)

Actually some things changed, my NVIDIA driver updated, so I had to update my DGIndexNV to the latest version (255). But MeGUI still fails.

What bothers me is that if I use the exact same command MeGUI generates in a cmd window, then the encoding works.

What am I missing here?

Thanks in advance!

If trying without --opencl in the MeGUI profile, it works. So it seems related to the GPU access or something. BUT, using --opencl on the command line works fine.

tebasuna51
16th October 2024, 12:13
Put the log file please.

eXtremeDevil
16th October 2024, 12:25
Put the log file please.

Here, although I don't see any relevant info :(

[Error] Log
-[Information] Versions
--[Information] MeGUI: 2944 x86
--[Information] MeGUI Debug Data: available
--[Information] Update Check: stable update server
--[Information] System Information
---[Information] Operating System: Windows 10 Pro 22H2 x64 (10.0.19045.5011)
---[Information] .NET Framework: 4.0 (4.0.0.0)
---[Information] .NET Framework: 4.8 (4.8.09037)
---[Information] Redistributables
----[Information] Microsoft Visual C++ 2008 x86: 9.0.21022
----[Information] Microsoft Visual C++ 2010 x64: 10.0.40219
----[Information] Microsoft Visual C++ 2010 x86: 10.0.40219
----[Information] Microsoft Visual C++ 2012 x64: 11.0.61030
----[Information] Microsoft Visual C++ 2012 x86: 11.0.61030
----[Information] Microsoft Visual C++ 2013 x64: 12.0.40664
----[Information] Microsoft Visual C++ 2013 x86: 12.0.40664
----[Information] Microsoft Visual C++ 2015-2022 x64: 14.40.33816
----[Information] Microsoft Visual C++ 2015-2022 x86: 14.40.33816
---[Information] DPI: 100% (96/96)
---[Information] Monitor 1
----[Information] Resolution: 2560x1440
----[Information] Primary Screen: True
---[Information] Monitor 2
----[Information] Resolution: 1920x1080
----[Information] Primary Screen: False
--[Information] Component Information
---[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
---[Information] Haali DSS2: (14-04-2013)
---[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
---[Information] MediaInfo: 18.05.0.0 (08-05-2018)
---[Information] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
---[Information] 7z: 9.20 (18-11-2010)
--[Information] AviSynth Information
---[Information] AviSynth Wrapper
----[Information] Version: 1.0.2847.0
----[Information] Date: 06-05-2018
----[Information] Interface: 3
---[Information] AviSynth
----[Information] File Version: 3.7.3
----[Information] File Date: 15-07-2023
----[Information] File Name: AviSynth+ 3.7.3 (r4003, 3.7, i386)
----[Information] File Path: c:\windows\system32\avisynth.dll
----[Information] AviSynth Version: AviSynth+ 3.7.3 (r4003, 3.7, i386)
----[Information] AviSynth+: true
----[Information] AviSynth MT: true
-[Information] Update detection
--[Information] [16/10/2024 13:21:59] Using cached update config and server: http://megui.org/auto/stable/
--[Information] [16/10/2024 13:21:59] No package requires an update
-[Error] Log for job1 (video, 720.avs -> 720.mkv)
--[Information] [16/10/2024 13:22:14] Started handling job
--[Information] [16/10/2024 13:22:14] Preprocessing
--[Information] [16/10/2024 13:22:14] AviSynth input script
---[NoImage] # New working line, no resize here
---[NoImage] DGSource("G:\SNL\50x01.dgi",ct=0, cb=0, cl=0, cr=0, deinterlace=1)
---[NoImage] # New resize method
---[NoImage] spline64resize(1280,720)
---[NoImage] # Old line, with resize, not working any more due to nvidia driver bug, apparently, more info:
---[NoImage] # https://www.rationalqm.us/board/viewtopic.php?f=8&t=1271
---[NoImage] #DGSource("S:\Escritorio\47x11.dgi",ct=0, cb=0, cl=0, cr=0, rw=1280, rh=720, deinterlace=1)
---[NoImage] # Old deinterlace method
---[NoImage] #YADIFMod(edeint=nnEDI3())
---[NoImage] # Old crop method
---[NoImage] #crop(2,2,-2,0)
---[NoImage] # Old resize method
---[NoImage] #LanczosResize(1280,720)
---[NoImage] # Trim method, if necessary
---[NoImage] #trim(0, 64210)
--[Information] [16/10/2024 13:22:18] resolution: 1280x720
--[Information] [16/10/2024 13:22:18] frame rate: 25000/1000
--[Information] [16/10/2024 13:22:18] frames: 102665
--[Information] [16/10/2024 13:22:18] length: 01:08:26.600
--[Information] [16/10/2024 13:22:18] aspect ratio: 16:9 (1.778)
--[Information] [16/10/2024 13:22:18] color space: YV12
--[Information] [16/10/2024 13:22:18] custom command line: --opencl
--[Information] [16/10/2024 13:22:18] Job command line: "C:\Program Files (x86)\Megui\tools\x264\x264.exe" --preset veryslow --crf 18.5 --threads 6 --deblock -1:0 --keyint 25 --min-keyint 13 --ref 9 --no-dct-decimate --no-fast-pskip --opencl --sar 1:1 --frames 102665 --output "G:\SNL\Scripts\720.mkv" "G:\SNL\Scripts\720.avs"
--[Information] [16/10/2024 13:22:18] Process started
--[Information] [16/10/2024 13:22:18] Standard output stream
--[Information] [16/10/2024 13:22:18] Standard error stream
---[Information] [16/10/2024 13:22:22] avs [info]: 1280x720p 1:1 @ 25/1 fps (cfr)
---[Information] [16/10/2024 13:22:22] avs [info]: color matrix: undef
---[Information] [16/10/2024 13:22:22] x264 [info]: using SAR=1/1
---[Information] [16/10/2024 13:22:22] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
---[Information] [16/10/2024 13:22:22] x264 [info]: OpenCL acceleration enabled with NVIDIA Corporation NVIDIA GeForce RTX 3080
---[Information] [16/10/2024 13:22:22] x264 [info]: profile High, level 4.0, 4:2:0, 8-bit
---[Information] [16/10/2024 13:22:22] x264 [info]: opencl=1 cabac=1 ref=9 deblock=1:-1:0 analyse=0x3:0x133 me=umh subme=10 psy=1 fade_compensate=0.00 psy_rd=1.00:0.00 mixed_ref=1 me_range=24 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=0 interlaced=0 bluray_compat=0 constrained_intra=0 fgo=0 bframes=8 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=25 keyint_min=13 scenecut=40 intra_refresh=0 rc_lookahead=25 rc=crf mbtree=1 crf=18.5000 qcomp=0.60 qpmin=0:0:0 qpmax=69:69:69 qpstep=4 ip_ratio=1.40 aq=1:1.00 aq-sensitivity=10.00 aq-factor=1.00:1.00:1.00 aq2=0 aq3=0
---[Information] [16/10/2024 13:22:22] x264 [info]: started at Wed Oct 16 13:22:20 2024
--[Error] [16/10/2024 13:22:25] Process exits with error: 0xC0000005 STATUS_ACCESS_VIOLATION (-1073741819)
--[Information] [16/10/2024 13:22:25] Job completed

tebasuna51
17th October 2024, 00:07
What bothers me is that if I use the exact same command MeGUI generates in a cmd window, then the encoding works.

Yes, I don't see more info in the log.

If work the same command line I can't help you anymore, maybe Kurt...

VoodooFX
17th October 2024, 05:40
Your AvisynthWrapper is outdated.

There is new -> https://drive.google.com/open?id=1JfiokTy2IOqOn1VTXN0eXQEDCC3vUdN4

tebasuna51
17th October 2024, 10:03
Yeah, I missed that, to use Avs+ 3.7.3 you need that new AvisynthWrapper.

eXtremeDevil
18th October 2024, 11:59
I'll try, thanks!

EDIT

Damn, doom9 is my solution for everything, thanks very much!