View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000222 | madVR | bug | public | 2014-06-29 16:35 | 2015-03-22 12:10 |
Reporter | Shiandow | Assigned To | madshi | ||
Priority | low | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Summary | 0000222: Crash when using a large number of shaders. | ||||
Description | Using a large number of shaders in MadVR causes a crash. The exact number seems to depend on MadVR settings, and to some degree on the shader. The number of shaders causing a crash seems to get lower by using more complex processing and seems to be at most 28. Render times seem to be irrelevant. Other renderers don't seem to have this issue. Sometimes causes the crash reporter to be called in an infinite loop, making it very hard to stop the program. | ||||
Steps To Reproduce | Using default settings, add the following shader sampler s0 : register(s0); float4 main(float2 tex : TEXCOORD0) : COLOR { return tex2D(s0, tex); } compiled with either ps_2_0 or ps_3_0, pre or post resize. For 28 times if no resizing and 26 if upscaling/downscaling. | ||||
Additional Information | Attached a crash report of a reproduction using the steps described above, no resizing. | ||||
Tags | No tags attached. | ||||
madVR Version | 87.10 | ||||
Media Player (with version info) | Potplayer | ||||
Splitter (with version info) | Lav Splitter Source 62.0 | ||||
Decoder (with version info) | Lav Video Decoder 62.0 | ||||
Decoding | Software | ||||
Deinterlacing | none (progressive) | ||||
DXVA2 Scaling Active | no | ||||
Aero / Desktop Composition | On | ||||
Problem occurs with mode | all modes | ||||
GPU Manufacturer | NVidia | ||||
GPU Model | GTX 560Ti | ||||
GPU Driver Version | 335.21 | ||||
|
|
|
Confirmed on Zoom PotPlayer 1.6.46971, MPC-HC 1.7.5 and MPC-BE 1.4.3 rev. 5025. Also happens when using MadVR 86.8, the first to add support for custom shaders, with the same number of shaders. |
|
After a suggestion on the doom9 thread I tried to check if it was a memory issue, to do this I tried reproducing the issue with and without background applications, using custom settings for MadVR. The first time it crashed the GPU had a total memory usage of 369MB of 1GB and with other applications running it crashed with 533MB memory usage. In both cases it took 24 shaders. |
|
Should be fixed in the next build. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-06-29 16:35 | Shiandow | New Issue | |
2014-06-29 16:35 | Shiandow | File Added: madVR - crash report.zip | |
2014-06-29 16:37 | madshi | Assigned To | => madshi |
2014-06-29 16:37 | madshi | Status | new => assigned |
2014-06-29 17:29 | Shiandow | Note Added: 0000645 | |
2014-06-29 20:37 | Shiandow | Note Added: 0000646 | |
2015-03-22 12:10 | madshi | Note Added: 0000800 | |
2015-03-22 12:10 | madshi | Status | assigned => closed |
2015-03-22 12:10 | madshi | Resolution | open => fixed |