View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000164 | madVR | bug | public | 2014-02-27 15:41 | 2014-03-02 12:14 |
Reporter | lolly | Assigned To | madshi | ||
Priority | normal | Severity | minor | Reproducibility | unable to reproduce |
Status | closed | Resolution | not fixable | ||
Platform | x86 | OS | Windows XP Pro | OS Version | 5.1.2600 (SP3) |
Summary | 0000164: Resample shaders logic error | ||||
Description | When trying to start playing back a video, madVR only rendered blackness. I quickly toggled between windowed (not maximized) and fullscreen a couple times, a procedure which has helped me before with similar issues (flickering when toggling FRC, blackness when rendering subtitles courtesy of XySubFilter), but this time a "Resample shaders logic error" error message eventually showed up (as pasted below), after which the player disappeared without providing any further crash information. Note that I switched between windowed and fullscreen mode by double-clicking on the video, which means that both the resolution and the playback state (playing/paused) changed. This was an one-off occurrence, and I observed it shortly before or after noticing issue 0000163 for the first time, so I suspect(ed) it might be related to running out of video memory as well, but when trying several times to reproduce the issue, even with low video memory I only got the player to disappear on me twice, and it never threw the error message again. | ||||
Additional Information | --------------------------- Error... --------------------------- ResampleX[1,0,0] Resample shaders logic error (3). sampler SourceSampler : register(s0); sampler ScaleSampler : register(s2); float4 infoConsts : register(c0); #define srcSize (infoConsts[0]) #define dstSize (infoConsts[1]) #define loopStart (infoConsts[2]) #define loopStep (infoConsts[3]) #define sigmoidalContrast 7.5 #define sigmoidalWhatever 0.95404526017994873 #define A -0.003 #define B +1.192 float4 main(float2 Tex : TEXCOORD0) : COLOR0 { float3 result = 0; float loopPos = loopStart; for (int iy = 0; iy < 120; iy++) { float2 contrib = tex2Dlod(ScaleSampler, float4(loopPos, Tex.y, 0, 0)).rg; float3 pix = tex2Dlod(SourceSampler, float4(Tex.x, contrib[0], 0, 0)).rgb; result = result + pix * contrib[1]; loopPos += loopStep; } return float4(result, 0); } --------------------------- OK --------------------------- | ||||
Tags | No tags attached. | ||||
madVR Version | 0.87.4 final Dither 3 | ||||
Media Player (with version info) | MPC-HC (Nightly) 1.7.3.45 | ||||
Splitter (with version info) | LAV Splitter 0.60.1 | ||||
Decoder (with version info) | LAV Video Decoder 0.60.1 | ||||
Decoding | Software | ||||
Deinterlacing | none (progressive) | ||||
DXVA2 Scaling Active | no | ||||
Aero / Desktop Composition | Off | ||||
Problem occurs with mode | windowed mode | ||||
GPU Manufacturer | NVidia | ||||
GPU Model | GTS 8800 320 MB (G80) | ||||
GPU Driver Version | 332.21 | ||||
|
Hmmmm... This is a weird one. It should not happen. The only way I can see this happening is if a part of the RAM area madVR was using was overwritten with other data for some reason. This can occur when a process crashes very very badly, or if the RAM has a hardware defect. In this case I guess the process crashed so bad that this problem was a random consequence of that. This all means that this problem is not a bug in itself. The real bug was that (probably) some code in the media player process has overwritten a memory area reserved for madVR. So I'll close this bug report, because there's nothing I can fix here. |