View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
725 [eac3to] bug major have not tried 2024-02-20 16:32 2024-02-21 08:17
Reporter: Schaka Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.49
Summary: Doesn't recognize BD structure when playlists contain duplicate items
Description: I recently ripped some blu-ray discs with both MakeMKV and AnyDVD and DVDFab. Their playlists all come out the exact same way, so it's not a problem with the ripping process itself.
The discs themselves are fine - it seems the playlists are "corrupt" in that they contain multiple entries to some m2ts files with the same timestamp.

The rips play fine in Blu-ray player software and VLC.

Pointing eact3o at the BDMV folder only results in a notification about there being no valid HD DVD/Blu-Ray structure. Pointing it directly at 00000.mpls, it does read it.
However, it looks a bit odd: https://i.imgur.com/4xR7jJS.png

Once I manually use something like BDTools to remove duplicate entries for 00001.m2ts, it seems to at least work for this playlist. Consecutive ones would require manual fixing as well.
BDInfo struggles in the exact same way.

I uploaded the file structure here, without any m2ts files: https://github.com/UniqProject/BDInfo/files/14335966/Disc_1.zip
Tags:
Steps To Reproduce: Rip discs that show this "issue" or use the above folder and try to use eac3to or BDInfo on it.
Additional Information: Using BDEdit or BDTools works, but obviously shows those duplicate entries.
Attached Files: Disc_1.zip (285,223 bytes) 2024-02-20 16:32
http://bugs.madshi.net/file_download.php?file_id=374&type=bug
Notes
(0003098)
madshi   
2024-02-20 17:00   
These guys have taken over eac3to development / bugfixing:

https://www.rationalqm.us/board/viewforum.php?f=18

Can you report this bug there, or just post a link there to this page?
(0003099)
Schaka   
2024-02-21 08:17   
Will recreate the report over, thank you!

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
724 [madVR] bug major always 2024-02-17 07:17 2024-02-17 07:17
Reporter: tagulakh Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC (any)
Splitter (with version info): LAV (any)
Decoder (with version info): LAV (any)
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: RTX 3080
GPU Driver Version: Any
Summary: Frame-stepping fails with MPC-HC and madVR, if MPC-HC is opened in paused mode
Description: If any video is opened using MPC-HC in paused mode while madVR is used as renderer and frame-stepping is applied, the video won't move, and MPC-HC windows becomes unresponsive for several seconds or indefinitely. If keyboard shortcut is used to un-pause at this time, after some time the video will suddenly jump to where it would have jumped to after frame-stepping, and start playing. MPC-HC's developer confirmed this is a madVR issue:

https://github.com/clsid2/mpc-hc/issues/2578
Tags:
Steps To Reproduce: - Use madVR as renderer in MPC-HC
- Open a video in paused mode from command-line: mpc-hc64.exe /open video_file_path
- Try frame-stepping using keyboard shortcut
Additional Information: - Only happens with madVR as renderer
- Won't happen if video is started in play mode, or if it is un-paused and paused and then frame-stepping is applied
- MPC-HC's developer has confirmed this is a madVR issue: https://github.com/clsid2/mpc-hc/issues/2578
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
662 [madVR] bug major always 2021-02-05 01:11 2024-02-02 09:59
Reporter: goraelec Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC 1.9.8.148
Splitter (with version info): LAV 0.74.1.92-git
Decoder (with version info): LAV 0.74.1.92-git
Decoding: DXVA2 Native
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: <select>
Problem occurs with mode: all modes
GPU Manufacturer: AMD
GPU Model: Vega Frontier Edition
GPU Driver Version: 20.Q4
Summary: non-DXVA chroma upscaling produces severe banding
Description: I first noticed this while using the builds from https://www.avsforum.com/threads/improving-madvr-hdr-to-sdr-mapping-for-projector.2954506/page-486#post-60235595 . I started getting severe banding whenever I switched to one of those builds. I tried this again today with 123b and got the same banding. This is what I did to troubleshoot:
1. Called up debug menu with Ctrl+J on 123b and noted down what I saw there
2. Reverted to the latest stable build and did the same

The first difference I noticed was that the stable build showed `chroma > DXVA` while 123b showed `chroma > Jinc AR` which is what I actually set up in `chroma upscaling`. I reverted back to the latest stable build and unchecked `use DXVA for chroma upscaling...` in `trade quality for performance` options and reproduced the same banding I saw on 123b. So there are two issues here, I think:
1. non-DXVA chroma upscaling produces severe banding
2. builds 122-123b (these are the only ones I used) don't follow `use DXVA for chroma upscaling...` settings
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002785)
goraelec   
2021-02-05 01:12   
To add, I tried all possible options besides Jinc AR and got the same banding on all of them
(0002786)
madshi   
2021-02-08 18:57   
It's probably DXVA Native decoding which causes this (?). Have you tried DXVA Copyback or Software decoding?
(0002790)
goraelec   
2021-02-15 09:35   
I don't have any banding when DVXA is turned on, actually. Copyback doesn't make a difference
(0002791)
madshi   
2021-02-15 11:21   
Not sure what to say, nobody else has reported a similar issue. Maybe reverting to the madVR default settings helps, by double clicking the "restore default settings.bat" batch file?
(0003096)
th3w1zard1   
2024-02-02 09:36   
Thank you SO much for posting this. I have been struggling with this issue on and off for MONTHS and now I can finally reproduce the issue on my PC and work around it.
(0003097)
madshi   
2024-02-02 09:59   
How did you work around it? Would be great if you could describe it in detail, in case other users run into the same issue in the future.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
722 [madVR] bug minor always 2023-12-19 10:53 2024-01-18 00:18
Reporter: blarmr2 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 204 build avsforum
Media Player (with version info): mpc-hc 2.1.2 and 2.1.3
Splitter (with version info): newest LAV, vapoursynth
Decoder (with version info): newest LAV, vapoursynth
Decoding: DXVA2 Copyback
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: fullscreen exclusive mode
GPU Manufacturer: NVidia
GPU Model: Nvidia rtx 4000 series
GPU Driver Version: 546.33
Summary: madVR+MPC-HC player don't go into exclusive fullscreen (10 bit)
Description: Merry Christmas and good day,

I got an issue when playing video with the mpc-hc player and madVR (current 204 version from the avs forum).
The mpc-hc developer said it's not the fault of mpc-hc and I think he is correct https://github.com/clsid2/mpc-hc/issues/2414

1) When starting video playback with the mpc-hc player (madVR as output), switching to fullscreen, the player still stays in "D3D11 fullscreen windowed (8 bit)" mode, instead switching to "D3D11 exclusive (10 bit)".
1.1) I checked the madVR setting correctly rendering > general settings > "use Direct3D 11 for presentation (Windows 7 and newer)".
1.2) I also tried different settings as "rendering > delay switch to exclusive mode by 3 seconds" or "devices > switching to matching display mode ..."

2) I thought it's the fault of Windows 11, so I tried disabling the new https://devblogs.microsoft.com/directx/dxgi-flip-model/
but no help
3) Tried with hdr-playback; the same issue.
4) I changed mpc-hc video output to "Enhanced video renderer (custom presenter)" and than checked "Direct3D-Fulscreen mode" and here it switched correctly to exclusive fullscreen mode and not the borderless window mode (the displays always flashes briefly when entering exclusive fullscreen mode).

So I conclude for now it must be madVR's doing.
I would really like to be able to use exclusive fullscreen mode again (as before), since my display, a TV, can do native 10-bit color ;-)

Found an semi-solution, but that does not work all the time, respectively for few minutes and I have to do it again and again to work: Restarting the Windows explorer in the task manager.
Ater that it switches to exclusive fullscreen (10 bit), but when opening any mad VR settings, closing the player, or simply waiting few minutes, it doesn't work again.

Thanks in advance and merry christmas.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0003094)
Mystik   
2024-01-13 21:50   
Exact same behavior on my 7900 XTX, Windows 11 22H2 (22621.3007), LAV Splitter 0.78.0, madVR 204, MPC-BE 1.6.11, and AMD Radeon Adrenalin 23.12.1 driver. I have fullscreen optimizations disabled in Windows compatibility settings for MPC-BE.

I can also reproduce the explorer restart trick, only after that do I get D3D11 Fullscreen Exclusive 10-bit.
(0003095)
blarmr2   
2024-01-18 00:18   
Small update: Tried the same with the latest build of the mpc-be player to confirm.
1) mpc video renderer + Exclusive fullscreen = works as inteded
2) madvr + Exclusive fullscreen = same behavior/issue.

Well, it looks like I'm not the only one experiencing that behavior.

@madshi
I can thus only conlcude it's not the fault of the operatin system, graphics card driver or player, but madVR itself.
Any idea now of how to fix that?

Thanks in advance and have a good day

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
699 [madVR] bug major always 2023-02-09 03:57 2024-01-07 00:09
Reporter: EternalStudent07 Platform: Windows  
Assigned To: OS: 10  
Priority: normal OS Version: 19045  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC 2.0.0 (973b644a3)
Splitter (with version info): LAV Filters 0.77.1.1
Decoder (with version info): LAV Video Decoder 0.77.1.1-git (internal)
Decoding: CUDA
Deinterlacing: auto mode
DXVA2 Scaling Active: yes
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: GTX 1080 ti
GPU Driver Version: 528.49
Summary: GPU usage by MPC-HC player when video paused, even for long periods of time.
Description: I use SVP + MPC-HC and noticed high GPU usage on paused videos. Even when they've sat there for an hour plus I'll get constant GPU usage in Windows 10's task manager for the MPC-HC process/app. I mentioned it on the SVP forum and someone else claims to have narrowed the issue down somewhat.

"Madvr's bug. running mpc+madvr only, mpc still uses 50% GPU on pause for no reason.
mpc+mpc render+SVP on pause: 0% GPU usage"

I don't run that way so I'll fill in what I use below (splitter, etc). Feel free to change as you see fit. A few fields I'm guessing on, and apologize in advance if I'm wrong (like the Platform, OS, and Version above).
Tags:
Steps To Reproduce: All I do is play a video, then pause it by clicking on the image. An existing or new task manager shows the same thing after a moment, greater than 0% GPU usage.

I can minimize the player or not, and I'll see usage in task manager (current 1080p video is using 4% while paused, but can go higher like 25% for a moment when I went full screen). It can sit there for hours not even visible and it'll still be using my GPU.

And probably CPU, but I'm less sure there is nothing to be worked on while paused.
Additional Information: https://www.svp-team.com/forum/viewtopic.php?id=6823

I don't see an easy way to export all my settings, but a few of the pertinent ones include this from the above thread...

"...
chroma upscaling - Jinc + anti-ringing filter
image downscaling - Jinc + linear light + anti-ringing filter relaxed
image upscaling - Jinc +sigmoidal light + anti-ringing filter

Looks like 25-35% usage while a video is playing. 1080p source at less than 1080p (half a 1440p as window) ..."

This isn't something that only just started recently. I've seen it for a while (months if not more).

I tested as a window and fullscreened, but not sure I truly covered "all modes" for the Problem occurs with mode question below.
Attached Files: 1.png (57,764 bytes) 2024-01-05 00:01
http://bugs.madshi.net/file_download.php?file_id=368&type=bug
png

2.png (25,295 bytes) 2024-01-05 00:01
http://bugs.madshi.net/file_download.php?file_id=369&type=bug
png

3.png (49,541 bytes) 2024-01-05 00:01
http://bugs.madshi.net/file_download.php?file_id=370&type=bug
png

2024-01-07_1-35-16.rar (17,111,122 bytes) 2024-01-06 23:54
http://bugs.madshi.net/file_download.php?file_id=372&type=bug
2024-01-07_2-07-53.rar (4,079,965 bytes) 2024-01-07 00:09
http://bugs.madshi.net/file_download.php?file_id=373&type=bug
Notes
(0003087)
nomadmain   
2024-01-04 23:56   
PotPlayer+madVR has the same problem. 3 instances of PotPlayer with paused videos load my GPU for 100%.
(0003088)
nomadmain   
2024-01-05 00:01   
Here is screenshot to above comment.

Also there is connected issue.

Incorrect value for “Actual FPS” at “Playback/System Information” window. Still paused video with MadVR’s video renderer. “Actual FPS” should show frames count per 1 second but in such configuration it sums frames count every second while video playing is paused.
(0003091)
madshi   
2024-01-06 22:54   
Does this also happen if you disable SVP?

Have you tried the latest test build? Does it occur with that build, as well?

http://madshi.net/madVRhdrMeasure204.zip
(0003092)
nomadmain   
2024-01-06 23:54   
I have tested with version which you have provided to me. Yes, It has the same problems as described above. I captured vide with my test (watch attachment). You can see there all configurations for madVR.
Sorry, I do not know what SVP means. I haven't found any property with this mane on PotPlayer and on madVR.

Hope It helps to resolve this ticket. If you'll need more information I'm on.
(0003093)
nomadmain   
2024-01-07 00:09   
I do not why but vide which I have attached does not working with PotPlayer+madVR. Maybe it's only on my side. Thus try to play it with different renderer. I have attach vide how it looks.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
706 [madVR] bug feature always 2023-06-05 21:17 2023-12-11 23:28
Reporter: ParanormalBanana Platform:  
Assigned To: OS: Windows 11 prerelease (dev)  
Priority: normal OS Version: 2305226-1341  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC (64-bit) 2.0.0 (973b644a3) MSVC v19.29.30147 Jan 11 2023
Splitter (with version info): LAV Splitter 0.77.1.1-git
Decoder (with version info): LAV Decoder 0.77.1.1-git
Decoding: CUDA
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: 2070 Super
GPU Driver Version: Studio 535.98
Summary: Display mode switching completely broken
Description: Feature has no effect.

Tags:
Steps To Reproduce: Set display modes, go fullscreen.

It doesn't matter if it's exclusive or non exclusive fullscreen.

Does it on both monitors I have, 1 DP and 1 HDMI.
Additional Information: Also, everytime I start MPC HC, the connected displays get a new "identification" tab
Attached Files:
Notes
(0003048)
EternalStudent07   
2023-06-10 12:11   
I agree this area is broken. For me, I think combining SVP4 (that wants to change the video to match the current screen refresh rate) and madVR's custom modes is partially the problem.

I've never managed to trigger a mode change from madVR, other than when editing or testing modes on the custom tab. No matter how I tried to adjust my player (MPC-HC x64) or display method (windowed or full screen or attempting exclusive full screen), nor "display modes" tab options I changed.

I'd initially added custom modes for any frequency I thought might be useful. Then listed many of those modes manually. And tried to trigger mode changes at playback time. Never happened.

Also with long display modes lists I think a long string of text is a bad experience for the user (it's a hack to allow export/import, right?). Meaning why isn't there just a check box next to each custom mode that you enable/disable with instead? Then they just add any mode they want to allow to the list, and enable it.

That's all on top of the confusing and annoying "optimize" process. That I can't edit the current mode, and that if I change a setting for X hz, test it fine, then save it... I often end up with an "active" mode that's X-1 or X+1. I realize it's rounding and I'm guessing Windows cared about those values once. Now it just lists refresh rates down to 3 decimal places like "74.860 Hz"

Maybe the NVIDIA API is the issue there instead? Either way... You should hide the confusion from users. I doubt that is a new issue, but I wanted to explain more of my annoyance with this area (beyond just it never seems to activate or do anything).

In case my environment matters... Acer BE270U using DP cable 1440p@75hz native screen, NVIDIA 1080 ti x 2 (currently... the 2nd card doesn't do much for me though so I've run with 1 before and saw the same results), latest Windows 10 x64 + NVIDIA gaming drivers + SVP4 + "AviSynth+" + AviSynthFilter (not ffdshow) + "old cuda" hwdec mode in LAV Filters. Intel i7-4790k at stock, 32GB RAM, z97 motherboard.

If I was going to fix this, I'd want more automation in the testing and matching process. And personally I don't care the precise frequency results. I just wanted less extra work and changing of things if they don't need to be. To remove up/down sampling, yet fully use my hardware (use highest "good enough" and matching refresh rate). Seems more communication between the player and you might help here.

Though maybe my situation/goal is very unusual? That this won't help or be wanted by most. I can't say... Though I wish this was open source so I could see where the problem is, and maybe offer a fix.
(0003079)
cyberloner   
2023-12-10 12:54   
really hope newer beta release fix this issue...it still not changing display mode
(0003080)
madshi   
2023-12-11 09:23   
Do you use the official build (which is very old and outdated) or the latest "test" build from AVSForum?

http://madshi.net/madVRhdrMeasure202.zip (just copy the files over the official build)
(0003081)
cyberloner   
2023-12-11 10:23   
old version is working perfectly... only report the latest beta ... including the 202 version... display mode is not changing at all sir....
sdr mode display auto changing mode into hdr if hdr movie is play (use with amd ags silent changing mode)
(0003082)
madshi   
2023-12-11 10:24   
Are you talking about resolution / frame rate switching or about SDR <-> HDR switching? Those are completely different things.
(0003083)
ParanormalBanana   
2023-12-11 18:19   
Hi there I just checked the answers to the post, I updated the version according the link provided and now, the display mode switching works, but not always the best way.

For example; I'd like to have 1080p24, but since 2160p24 is also in the list, madvr uses that instead of 1080p for 1080p movies. I had to change the order of the modes for it to select 1080p, but now I don't know what will happen with other modes further in the list. IMO madvr should select the mode that is best and not the first that is compatible in order.

Next is HDR, I just checked and it works also even though colors were off. maybe I need to look at the settings. Red was orange.
(0003084)
ParanormalBanana   
2023-12-11 18:19   
EDIT:

I spoke too soon, mode chage worked but going back to the previous mode fails every time.
(0003085)
madshi   
2023-12-11 18:25   
Fails how?
(0003086)
ParanormalBanana   
2023-12-11 23:28   
it simply stays the same.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
721 [madVR] bug minor always 2023-12-01 21:59 2023-12-04 18:50
Reporter: NDUS Platform: PC  
Assigned To: OS: Windows 11  
Priority: low OS Version: 23H2  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: madVR v0.92.17 or latest beta
Media Player (with version info): MPC-HC latest or MPC-BE latest
Splitter (with version info): LAV Splitter 0.77.2.3-git
Decoder (with version info): LAV Video Decoder 0.77.2.3-git
Decoding: DXVA2 Copyback
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: RTX 4090
GPU Driver Version: 546.17
Summary: On 540hz monitors (but not 240hz) MadVR stutters for several seconds after opening a video
Description: I'm sure it's not a priority, but just thought I'd say for information's purposes that MadVR has a bug on ultra-high-framerate monitors.
It worked well on my ol' 240hz display except for the occasional hang when I would drag it to a different refresh rate display. But MadVR doesn't like the new 540hz panel.

On 540hz, playing a video:
first 1sec of playback: normal playback
2sec-6sec: stuttering playback, MadVR statistics show "display" Hz incorrectly fluctuating from 100~180Hz
7sec-infinity: normal playback

Latest Win11 update, RTX 4090, latest MadVR beta (but also happens on the stable release), happens on any given LAV decoder setting
Happens on MPC-HC or MPC-BE with MadVR enabled
Doesn't happen with MPC video renderer enabled
Also happens when all monitors besides the 540hz one are off, so it's not a mixed refresh rate problem
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0003075)
madshi   
2023-12-04 11:19   
It's possible that madVR's VSync logic is confused by the extremely high frame rate. Unfortunately it will be hard for me to fix this without having a monitor myself that can go as high. And I currently don't really have plans to buy such a monitor (because I have no real use for it).
(0003076)
huhn   
2023-12-04 14:04   
happens at 240 too.
(0003077)
NDUS   
2023-12-04 18:34   
Ah - after looking at MadVR stats it does indeed happen at 240hz as Huhn says, just not as deeply (240hz > 200hz instead of 540hz > 100hz) so it's harder to see
(0003078)
madshi   
2023-12-04 18:50   
The highest my monitors can do here is 120.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
716 [madVR] bug major always 2023-10-23 01:22 2023-10-23 10:36
Reporter: Sammie Platform: madVR Envy  
Assigned To: madshi OS:  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 1.6.3.4X
Media Player (with version info): N/A
Splitter (with version info): N/A
Decoder (with version info): N/A
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: 4070ti
GPU Driver Version: N/A
Summary: Custom Zoom configuration (NLS+) assistant does not display with MotionAI active
Description: Using the current experimental firmware version for madVR Envy the custom zoom assistant will not display when MotionAI is active. Upon selecting using is brought back to menu.
Tags:
Steps To Reproduce: 1. motionAI needs to be active
2. Select Custom Zoom Configuration
3. Select Run Assistant

Result: User is not taken into assistant and is returned to custom zoom configuration menu
Additional Information: This was working on 3.38
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
679 [madVR] bug minor random 2021-12-25 08:29 2023-09-08 08:36
Reporter: octopus_hugger Platform:  
Assigned To: OS: Windows 11  
Priority: normal OS Version: 22000.348  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): PotPlayer (64-bit) v211118(1.7.21566) and MPC-BE (64-bit) 1.5.8.6302
Splitter (with version info): Built-in
Decoder (with version info): Built-in
Decoding: Software
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: GTX 980
GPU Driver Version: 497.09
Summary: MadVR crop black bars not cropping detected black bars
Description: Zoom black bars away always works just fine so the hardcoded black bars are detected but when zoom black bars away is disabled and the crop black bars setting is enabled, sometimes nothing happens.

I don't want any actual content cropped, only the hardcoded black bars, so turning zoom black bars away on and off as needed is a fine workaround but full automation would be nice.

Reproducible sometimes on PotPlayer and always on MPC-BE and a friend of mine on Win10 experiences the same problem but he can't get it working properly at all.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: potplayer.png (137,117 bytes) 2023-09-08 03:19
http://bugs.madshi.net/file_download.php?file_id=367&type=bug
png
Notes
(0002855)
madshi   
2021-12-25 13:57   
This is a somewhat complex topic because it's usually not the video renderer which is responsible for making zooming decisions but the media player. E.g. if you press a "zoom" key in your media player, you would expect the video renderer to obey, no? So because of this there can be a conflict because what the media player asks for and what madVR has detected and wants to do. The media player has the option to override madVR's "recommendations" for proper zooming.

My first advise would be to double check the media player settings. E.g. MPC-HC/BE have an option called "touch window from inside" which is a good default setting to use. Maybe that already helps some? I'm not as familiar with PotPlayer, so can't really say for sure which settings to use there.

When I introduced the black bar detection feature, I wrote a PDF to help media player developers to adjust to madVR's new capabilities. It's still available here:

http://madshi.net/89notesForDevs.pdf

You could of course ask your media player dev if they've read this PDF and potentially adjust the media player behaviour accordingly.

But I guess before you do that you should probably double check the madVR OSD (Ctrl+J) to see if it actually detected the black bars correctly. It's always possible that the detection failed for some reason, of course.
(0003064)
Cr4zy   
2023-09-08 03:19   
I realise this is an old issue, but its a problem Ive been facing and found a solution in PotPlayer for and this is one of the results that comes up when looking for help (which i couldnt find)

In PotPlayer the built in decoder doesnt seem to want to support madVR cropping regardless of its configuration, You can get it to crop but it doesnt seem to adjust the aspect properly.
Instead I swapped out the Built-in Decoder for the LAV Video Decoder and in its configuration setting Hardware Decoder to D3D11 and picking your Hardware Device (not setting it to auto, so it enables copy-back). Or you can pick DXVA2 copy-back but believe it is worse for performance.
(0003065)
madshi   
2023-09-08 08:36   
Yep, switching to LAV Video Decoder as described is a good way around the issue. But yes, it is a bit slower.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
692 [madVR] bug minor always 2022-09-19 14:27 2023-04-19 14:18
Reporter: Peabutt Platform: PC  
Assigned To: OS: Windows  
Priority: low OS Version: 11  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC 1.9.23
Splitter (with version info): LAV 0.76.1.25-git
Decoder (with version info): LAV 0.76.1.25-git
Decoding: DXVA2 Native
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: AMD
GPU Model: 6900xt
GPU Driver Version: 22.8.2
Summary: Wrong Portuguese on audio/subtitle selector
Description: Portuguese flag icon [por] in the selector of audio tracks and subtitles is not showing the actual flag of Portugal
Tags: flag
Steps To Reproduce: Open the menu to see the audio track and subtitles
Additional Information: https://en.wikipedia.org/wiki/Flag_of_Portugal
Attached Files: Screenshot 2022-09-19 132046.png (10,635 bytes) 2022-09-19 14:27
http://bugs.madshi.net/file_download.php?file_id=357&type=bug
png

PT.png (9,418 bytes) 2022-09-19 14:27
http://bugs.madshi.net/file_download.php?file_id=358&type=bug
png

Screenshot 2022-09-22 035428.png (2,646,807 bytes) 2022-09-22 04:55
http://bugs.madshi.net/file_download.php?file_id=359&type=bug
Screenshot 2022-09-22 033348.png (5,609,827 bytes) 2022-09-22 04:55
http://bugs.madshi.net/file_download.php?file_id=360&type=bug
image.png (25,093 bytes) 2023-04-13 02:05
http://bugs.madshi.net/file_download.php?file_id=366&type=bug
png
Notes
(0002934)
madshi   
2022-09-21 22:18   
Can you provide a small video sample? That would make it easier to fix the problem. I don't think I have any samples here with a Portuguese track. Please zip the file before uploading, otherwise it will not be accepted by the bug tracker.
(0002935)
Peabutt   
2022-09-22 04:55   
i dont have a movie sample small enough to be able to attach here. hope these new screenshots are helpful
(0002938)
Peabutt   
2022-09-27 00:03   
was this helpful? ive seen other tickets of the same issue (flags of other countries) and no sample was required to fix. can you provide some update?
(0002939)
Peabutt   
2022-11-03 03:48   
hey, any update?
(0002940)
madshi   
2022-11-09 17:32   
I'm sorry, I'm incredibly busy atm. I'm trying to get this in "soon", but I can't make any promises for a specific ETA.
(0003039)
Peabutt   
2023-04-12 13:23   
Hello. Its been quite a while. any update on this matter? best regards
(0003040)
Peabutt   
2023-04-13 02:05   
https://en.wikipedia.org/wiki/Portugal

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
700 [madVR] bug major always 2023-02-10 22:52 2023-03-08 04:06
Reporter: Wolfi Platform:  
Assigned To: OS: Win7  
Priority: urgent OS Version: SP1  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC 1.9.10 and 2.0.0
Splitter (with version info): Lav
Decoder (with version info): Lav
Decoding: <select>
Deinterlacing: <select>
DXVA2 Scaling Active: <select>
Aero / Desktop Composition: <select>
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: RTX 3060 Ti
GPU Driver Version: All from 466.47 (First LHR 3060Ti Driver) to 473.04
Summary: HDR Passthrough Broken in Win7 and RTX3060Ti
Description: I buyed a RTX3060Ti, and it works fine under Win7, but one big dealbreaker.
HDR passthrough in MadVR works wrong.
It still activate HDR Mode on my LG Oled TV, but it activate also a very bad HDR to SDR transformation.
This behaviour visible on all, video, desktop, fullscreen and FSE mode, with aero and without.
I lost the real HDR brightness...

Probably NVidia driver problem, but maybe any solution exists for it, example a registry entry or other tweak can change this behaviour.
I read Win10/11 have similiar behavior in some cases, but with windows HDR switch (Win7 not have it)
Maybe NVidia driver check this windows HDR switch, and it is any registry value for it, and maybe set fake value in Win7 for bypass the wrong behaviour?

I have test all NVidia Drivers from 466.47 (First LHR 3060Ti Driver) to 473.04.
Later drivers not work for install, setup not loading, and manual install also not working.
I not know why, for test i installed on second SSD a new Win7 including all updates, but same problem.
But probably with latest NVidia drivers same HDR problem.
And older drivers before LHR cards not working on my RTX3060Ti LHR card (Including inf modification)

With GTX980Ti and same driver versions i used before, are no problems.
I found in internet only one another guy with same problem 2 yeara ago, he have also RTX 30XX, and with GTX10XX are no problem.
I not sure it is a generally driver problem.
Very interessting question also, the RTX20XX have same problem ?

Sorry for my english.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002994)
madshi   
2023-02-10 23:06   
Did you disable the OS HDR switch? If Windows 7 even has such a switch, I can't be sure. Maybe it was introduced in newer OSs. In any case, I don't really know what to do. I'm telling the Nvidia driver that I'm rendering HDR and Nvidia isn't supposed to do anything other than settings the "HDR Flag" so the display switches to HDR.

Anyway, why do you want to use "passthrough"? Most people consider madVR's internal tone mapping to be superior, and the 3060 Ti should be fast enough to run it. So why not using it?
(0002995)
huhn   
2023-02-11 14:50   
how.
pretty much every TV looses brightness in SDR mode even when you pump it.
you need to change the max brightness of the device every time you watch an HDR file this alone is enough reason to give up.
you have to deal with bt 2020 not everyone has an nvidia card so this needs interaction too.
pretty much all TVs dim the image madVR has no clue about that but the TV has so it can compensate for the brightness loss by tone mapping accordingly.

an S95B OLED does less than 500 nits in SDR mode and easily 1000 in HDR.
(0002996)
madshi   
2023-02-11 14:57   
With newer LG OLEDs, there's an option to force full brightness in SDR mode. Not sure about other brands, though.
(0002997)
huhn   
2023-02-11 15:50   
having an desktop with 1000 nits in gamma light wouldn't be much fun anyway.
and i'm pretty sure this is about the services menu. disabling the ABL completely is not a good idea sadly because that's what kills them excessive SDR brightness.
(0002998)
Wolfi   
2023-02-11 18:00   
Very Thanks for reply.
Win7 not have any HDR switch and functions, thats the problem.
The MadVR HDR switch works, and the signal informatinos in LGs hidden extented secrets info menues are the same on GTX980Ti and RTX3060Ti
But with GTX980Ti it switchs only in HDR BT2020 modus, and the BT2020 HDR Picture are correctly.
With RTX3060Ti and same driver it switch also in HDR BT2020 but makes also a bad SDR Transformation. (probably the nvidia driver)

Of Course i use the MadVR Passthrough for looking 4K bluray HDR mastered movies with 800nits peak on oled tv.
The HDR switch is not only need for full HDR brightness on TV, it is also need for correctly BT2020 colours.
It is the only reason use MadVR for me.

https://www.reddit.com/r/techsupport/comments/j05g8z/rtx_3080_not_doing_hdr_correctly_on_windows_7/
He is the only other i found with probably same problem, and he have the problem also in games (this i not testet)

It will be very nice Madshi can report this heavy bug to nvidia.
It is complete senseless make HDR to SDR tranformation in Win7 with no way for disabling.

For me the RTX3060Ti have no future if he kill the BT2020 HDR feature in win7.

In Win10/11 the HDR switch is stored in the registry ?
Maybe the nvidia driver read in Win10/11 windows HDR settings, and try read this entrys also in win7 ?
For me the nvidia driver have only wrong behaviour.
Anybody know the HDR regitry path in win10/11 ? (if he exists)
(0002999)
madshi   
2023-02-11 18:11   
Unfortunately, Nvidia has stopped officially supporting Windows 7 and 8 more than a year ago, see here:

https://nvidia.custhelp.com/app/answers/detail/a_id/5201/~/support-plan-for-windows-7-and-windows-8%2F8.1

So I don't think there's much hope to get it fixed. You may have to switch to Windows 10 or 11.
(0003000)
Wolfi   
2023-02-11 18:27   
Switch to new windows is absolutely no way in my case.
If i can not resolve, i will stand with GTX980Ti or buy a GTX 10XX or RTX20XX. (But this is a bad solution, because i wanted and waited for RTX 30XX with HDMI2.1 for have 4K 120hz RGB on HDMI)
In this case it is very interessting for me, people with RTX20XX and win7, hdr is working ?

Yes, low hope for nvidia fix it.
You try report it to nvidia ?
(0003001)
madshi   
2023-02-11 20:04   
There's no hope in reporting it to Nvidia from my side.
(0003002)
Wolfi   
2023-02-11 22:57   
yes, but why not try.
(0003005)
Wolfi   
2023-03-08 04:06   
If anybody find in future (10 years) a solution or usefull information, i am very thankfull it post it here.
I have notification on, and become email if new post here.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
701 [eac3to] bug feature N/A 2023-02-24 01:14 2023-03-01 14:43
Reporter: sveinse Platform: Windows  
Assigned To: OS: Win10  
Priority: normal OS Version: 22H2  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.36
Summary: Option to give error if eac3to needs to convert tracks
Description: When selecting which tracks to extract, I would like to be able to demux transparently with no format conversion. The destfiles must contain a filetype suffix up front to generate the same format as the source.

Today I'm parsing the playlist track listing output and have a look-up table to determine the appropriate file ending for each listed file type (which has been empirically deduced). E.g. if the text "E-AC3" is printed, the ".eac3" suffix is used to output this format. While this approach works, it is tedious and error prone to parse the track list output to guess the appropriate output format.

Proposal: A new `-noconvert` option which will return error if any of the output tracks are format converted. If this option is used and the option `1: audio.ac3` is used and the track is E-AC3 it will fail. It allows a verification that the above filename scheme is wrong.

Alternate proposal 1) When `-demux` is used, it will support specification of the tracks to extract, and the destfiles can be without suffix and thus the demux will propose the transparent format. `eac3to.exe D:\ '1)' 1: vid 3: aud -demux` that result in vid.h264 and aud.thd+ac3.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0003004)
madshi   
2023-03-01 14:43   
Your wish makes sense, but at the moment I have nearly zero time available for eac3to development, so I'm currently really only looking at bugs, if at all, unfortunately.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
702 [eac3to] bug major always 2023-02-24 01:34 2023-03-01 14:42
Reporter: sveinse Platform: Windows  
Assigned To: OS: Win10  
Priority: normal OS Version: 22H2  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.36
Summary: Tracks with delay in filename is not listed in log output
Description: A BD playlist with tracks containing delays, eac3to might create filenames containing additional text on some track. E,g, option `5: a05.thd+ac3` might result in the file `05 DELAY 125ms.thd+ac3`. The log output, however only contains the text 'a05 Creating file "05.thd+ac3"'. The expected output in the log is the text 'a05 Creating file "05 DELAY 125ms.thd+ac3"'.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0003003)
madshi   
2023-03-01 14:42   
From what I recall (but I could be wrong), the DELAY info is added in the last second, as a file rename operation. That's probably why it's not in the log.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
698 [madVR] bug crash sometimes 2023-02-03 09:24 2023-02-08 22:20
Reporter: huhn Platform:  
Assigned To: madshi OS:  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 165
Media Player (with version info): mpc-hc 2.0
Splitter (with version info): lav 0.77
Decoder (with version info): lav 0.77
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: windowed mode
GPU Manufacturer: NVidia
GPU Model: 1060
GPU Driver Version: 512.95
Summary: the media player crashes when switching to a different file or after about 10 sec
Description: the beta version 165 is affect the release version seems totally fine.
on doctor dumb the issue is usually:
https://drdump.com/UploadedReport.aspx?DumpID=103685850
818228
and sometimes:
https://drdump.com/UploadedReport.aspx?DumpID=103666285
713084

this issue was gone for some time but come back in the last couple of days
so i had an idea why because i changed how the dac of my sound card works and was thinking that was related and saw it is madVR crashing not mpc-hc

there is no madVR crash log.
if clsid dumb doesn't tell you anything then there is nothing todo here i guess.
as you can see i'm not alone on doctor dumb.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002989)
kasper93   
2023-02-03 13:35   
It is that madVR really wants you to update to new version :)

I've seen it over a year ago and debugged it back then. And by your description it is exactly the same issue.

1. madVR creates a thread with timer to display "please update your madVR build" OSD message
2. thread is detached, but it has a pointer to renderer instance
3. if you close, reload playback, meaning the old renderer is destroyed and new one is created the pointer in the detached thread becomes invalid
4. ...and after this timeout ends it tries to use it and well crashes by doing so
(0002990)
huhn   
2023-02-03 16:51   
ohh that's why it is back.

yes that happens before and there was another madVR version which could not be updated to the newest.
never excepted an overlay message could be the issue wow.
(0002991)
mzso   
2023-02-06 19:19   
Is there hack/trick/workaround for this? Maybe madVR can be blocked from getting the date, so the crash feature wouldn't activate?
(0002992)
huhn   
2023-02-07 09:01   
not again :-)
that's why "some user" are not shy about it.
not sure what to do now.
(0002993)
madshi   
2023-02-08 22:20   
Sorry about that. I'm not 100% sure why the crash happens, it only seems to happen for some people. I'll change the way the "please update your madVR version" information is shown in the next build, to avoid this crash in the future.

Also, I'll probably release a new build tomorrow or the day after.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
697 [madVR] bug feature always 2023-01-31 18:59 2023-01-31 23:13
Reporter: Scenerix Platform:  
Assigned To: OS: Windows 10  
Priority: normal OS Version: 22H2  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.92.17
Media Player (with version info): MPC-BE 1.6.5.3
Splitter (with version info): LAV 0.77.1
Decoder (with version info): LAV 0.77.1
Decoding: Software
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: RTX 3080 FE
GPU Driver Version: 528.24
Summary: Allow choosing/blocking certain fps from triggering display mode switch
Description: Some videos play at exactly 24 and 25fps, this causes madvr to switch to 71.928, resulting in much more frequent frame drops/repeats than simply staying at 60fps. Seems like a good idea to have the option to choose what framerates will or will not trigger switching.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002986)
madshi   
2023-01-31 19:37   
Using SmoothMotion is recommended in this situation, and it looks better the right the refresh rate is, which is (probably) why madVR chooses 71.928. I don't think this is wrong. So this doesn't qualify as a bug, unless I'm missing something?

This bug tracker is meant for reporting bugs, not feature requests.
(0002987)
Scenerix   
2023-01-31 23:09   
Yeah, this isn't really a bug, just a feature request. My bad, I thought the feature severity was for this.
(0002988)
madshi   
2023-01-31 23:13   
(Last edited: 2023-01-31 23:13)
It may be used by other devs/companies for that purpose, but I don't really accept madVR feature requests at the moment, because I'm completely overrun with work.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
696 [madVR] bug crash always 2023-01-11 06:56 2023-01-19 08:51
Reporter: denis_fdrv Platform: Windows  
Assigned To: OS: Windows 11 Home 22H2  
Priority: normal OS Version: 22621.963  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC 1.9.24.55 (same in PotPlayer)
Splitter (with version info): LAV splitter 0.77.1.2
Decoder (with version info): LAV Video Decoder 0.77.1.2
Decoding: DXVA2 Copyback
Deinterlacing: auto mode
DXVA2 Scaling Active: yes
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: RTX 4080
GPU Driver Version: 528.02 (+ recent earlier versions)
Summary: The "Report BT.2020 to display (Nvidia only)" setting in Madvr 165 makes NVIDIA driver crash on player closing
Description: If the "Report BT.2020 to display (NVIDIA only)" check box is selected, as soon as I close the player (any player with madvr as renderer) or clear the check box while the video has already been started, the screen goes black for 0000001:0000007-10 sec (in the event viewer, I can see that the video driver crashes, and then restores) . This crash is consistent and can be reproduced every time.
The driver crash happens in my case only if the following conditions are met:
 - "Report BT.2020" check box is selected, and you close the player or clear this check box while the video is started/stopped/paused.
- When the projector (5050UB) is connected directly to the videocard via HDMI. If it is connected through a soundbar with passthrough, the crash doesn't occur. Also, the crash doesn't occur on a monitor connected via display port.
- On madvr version 165.

I tried uninstalling/reinstalling madvr, various NVIDIA driver versions, different players, different cables, etc. I've narrowed down the issue to the the "Report BT.2020 to display" setting and madvr 165.
Tags:
Steps To Reproduce: 1. Connect a projector to videocard directly through HDMI
2. In Madvr settings, select the "Report BT.2020 to display (Nvidia only)" check box.
3. Start a video (any).
4. While the video is playing/paused/stopped, either close the player or, in madvr settings, clear the "Report BT.2020 to display (Nvidia only)" check box. As soon as you do this, the crash occurs.

If I roll back to 163 or earlier, the crash doesn't occur, though on earlier versions of madvr, madvr doesn't seem to work or have any effect (probably Windows-related). Also tried 164, but with that version, MPC-HC or other player won't launch at all.

The issue may also be related to 4xxx series videocards, bacause other people on earlier series don't seem to have this issue.
Additional Information: When a crash occurs, there are 4 messages in eventviewer:
3 errors from nvlddmkm (The description for Event ID 0 from source nvlddmkm cannot be found...):
1) Resetting TDR occurred on GPUID:100
2) Reset TDR occurred on GPUID:100
3) Restarting TDR occurred on GPUID:100

Followed by a warning: Display driver nvlddmkm stopped responding and has successfully recovered.
Attached Files:
Notes
(0002955)
madshi   
2023-01-11 08:46   
This sounds like a bug in the Nvidia driver. I'm simply calling an Nvidia API to set the BT.2020 flag. I'm not sure what I could do different. It might make sense if you reported this to Nvidia.
(0002956)
denis_fdrv   
2023-01-11 10:19   
Ok, thanks. Will try reporting this to Nvidia then.
(0002957)
madshi   
2023-01-11 10:41   
If it helps, you can say that I'm using the API called "NvAPI_Disp_InfoFrameControl" to set the BT.2020 flag.
(0002958)
denis_fdrv   
2023-01-12 08:31   
Reported this to Nvidia. They requested some debug info. Will give an update if anything new comes up regarding this issue.
(0002959)
madshi   
2023-01-12 09:23   
(Last edited: 2023-01-12 09:23)
Maybe you can post a link to your Nvidia forum post here, to link these 2 threads? Then maybe I can also join there and help (where I can)?
(0002960)
denis_fdrv   
2023-01-12 09:30   
I actually reported this through their developer channel. I don't know whether you'll have access: https://developer.nvidia.com/nvidia_bug/3937720
Here is the link where I uploaded memory dump for them if you are interested: https://drive.google.com/drive/folders/1Lac-VN8iF-v-Jj4i4PheLsK3NLFg_bAG?usp=sharing
(0002961)
denis_fdrv   
2023-01-12 09:33   
The BSOD that I showed there happens after enabling the TDM debug mode in the registry.
(0002962)
denis_fdrv   
2023-01-12 09:34   
TDR*
(0002963)
denis_fdrv   
2023-01-12 09:44   
In addition, a reported this in the 528.02 driver feedback forum thread https://www.nvidia.com/en-us/geforce/forums/game-ready-drivers/13/507384/geforce-grd-52802-feedback-thread-released-1523/ However, it is unlikely that they will respond there.
(0002964)
madshi   
2023-01-12 09:52   
I thought I had developer access, but I don't have access to that link, for some reason. Anyway. If there's anything I can help with, just let me know. Thanks for bringing this to Nvidia's attention!
(0002965)
denis_fdrv   
2023-01-12 10:02   
You can try creating an account there. That's what I did to be able to submit a ticket. If that doesn't provide you access to the ticket, I'll keep you posted here on this issue.
(0002966)
madshi   
2023-01-12 10:20   
I do have an account there which is unlocked for the Nvidia developer program. But I still can't access your bug report. I think the bug reports may be private and only accessible to the reporter and to Nvidia? But I'm not sure...
(0002967)
denis_fdrv   
2023-01-12 10:22   
I see. Probably visible to the reporter only. I'll update this page if anything new comes up. Thank you!
(0002968)
denis_fdrv   
2023-01-13 06:23   
There is progress with the issue. After dump file analysis, they asked me to reproduce the issue with only one display connected. And here is what I have found:
My setup includes three displays/devices:
1) A monitor (ASUS PG279Q), on which I do not have the issue. Connected via display port.
2) A projector (EPSON 5050UB), on which I have the issue, connected via HDMI to RTX 4080.
3) A soundbar (Samsung HW-Q990B), also connected via HDMI to RTX 4080. The soundbar is detected in Nvidia Control Panel as a display, though it is used for sound output.
- Disconnecting the cable of the monitor (ASUS PG279Q) had no effect (the same issue).
- Turning off the soundbar but leaving the HDMI cable plugged in had no effect (the same issue).
- Disconnecting the cable of the soundbar indeed helped with the issue, but not fully. Without the soundbar plugged in, there is no TDR/driver reset and no BSOD (if the TDR debugging is enabled), and no errors in the event viewer. However, there is another issue that still occurs with the same repro steps: the screen goes black (but for a short period, 1-2 seconds), and then I see the cursor corruption (its edges partially disappear during movement) and it becomes sluggish as if the refresh rate is very low. This corruption can be fixed by, for example, making changes in NCP (refresh rate, color settings) or by changing inputs on the display.
Note that this secondary issue with the cursor and sluggishness I also could see initially during the process of TDR reset and driver recovery (sometimes, not every time), and then I think it was fixed after the driver recovery was completed. Now, in the scenario without the driver reset/recovery, this corrupted state is not automatically corrected.
For this secondary issue with the cursor, I have found out that it is triggered by the following: if before running a video (with that "Report BT.2020 to Display" setting enabled in madvr), in Nvidia Control Panel the color settings are set to YcbCr422 + color depth 10 bpc, the cursor corruption/sluggishness occurs. If the color settings are set to RGB + color depth 8 bpc before running a video, the cursor corruption/sluggishness doesn't occur. I discovered this because I noticed that during cursor corruption, NCP sometimes displayed RGB mode + empty color depth, even though it was YcbCr422 + color depth 10 bpc before starting a video. I tried to record the screen to show the corruption, but on a screen capture it is not visible well. So, I recorded with a phone camera for you to get an idea how it looks like: https://drive.google.com/drive/folders/12UJdCmryiPjlFauiNAw4iS97Iy5jcmOz?usp=sharing
(0002969)
madshi   
2023-01-13 09:20   
(Last edited: 2023-01-13 09:20)
Good stuff, you're doing a really good job providing useful information! Thank you for working through this with Nvidia. I wish all madVR users would be as helpful !! :-)
(0002970)
denis_fdrv   
2023-01-13 14:01   
Thank you! :) Doing my best to help. I'm also interested in getting this resolved.
(0002971)
denis_fdrv   
2023-01-15 11:59   
I did some further analysis of the reported issues with various settings, and found some additional details that might be useful in resolving this. Also sent this info to Nvidia.
Regarding the TDR/driver crash issue:
- Having tried various combinations, I have found out that the driver crash occurs when both connected displayed (the 5050UB projector and the one that represents the connected HW-Q990B soundbar) are set in Nvidia Control Panel to 60 Hz, YCbCr422, 10 bit before starting a video with "Report BT2020 to Display" enabled in madvr.
- Other combinations (when both displayed are not 60 Hz, or not YCbCr422, etc.) have other issues (like the reported corruption), but not driver crash.
- The settings in madvr that can set the display refresh rate and resolution to match the video do not seem to affect this crash (happens with or without those settings).
Regarding the "cursor corruption/sluggishness":
- This corruption happens when the main display (with or without connected soundbar) is set to 60/59 Hz in NVC YCbCr422, 10 bit before starting a video with "Report BT2020 to Display" enabled in madvr. In this scenario, the projector input info shows that the signal is RGB-video while NCP shows YCbCr422. Also, the projector input info shows refresh rate 11.99 Hz (hence the sluggishness) while in NCP it's 60/59 Hz.
- If I set the refresh rate in NCP lower than 59 Hz (e.g. 23, 24, 30...) before starting a video with "Report BT2020 to Display" enabled in madvr, then the refresh rate is not changed on closing the video, however the projector input info still shows that the signal is RGB-video while NCP shows YCbCr422.
- I think this change of signal to RGB-video is what causes blinking on closing the video even when the refresh rate and resolution initially coincide with the video.
Regarding the BT2020 flag:
- When the driver crash happens, I noticed that the BT2020 flag, which is set by the "Report BT2020 to Display" setting in madvr is sometimes not reverted, even after PC reboot or changing various NCP settings. In this case, the projector signal info shown BT2020 regardless of the settings in NCP. To revert this flag, I had to try running another video (with "Report BT2020 to Display" enabled in madvr) to try set/revert this flag.
I hope this info will come in handy. Cheers.
(0002972)
madshi   
2023-01-15 12:12   
It seems that the Nvidia driver may be trying to switch to 10bit RGB which is not supported by HDMI 2.0 at 4K60. Maybe that's causing the crash? I'm not sure.

On a side note, why are you using YCbCr422? It's usually not recommended for an HTPC. So although Nvidia should really fix this problem and I'd be very happy if you could make that happen, you may already be able to workaround the issue by simply using RGB instead (and the recommended way is to set RGB to Full Range / PC levels). Of course at 4K60 you have to use 8bit RGB, but that's not really an issue, thanks to madVR's excellent dithering algorithms.
(0002973)
denis_fdrv   
2023-01-15 13:37   
Oh, thanks for the tip. I always thought YCbCr was the proper way for movies. And I also used YCbCr220 for 4K60 HDR gaming, because that projector supports 10 bit 4k60 only with YCbCr220. I don't mind switching between RGB and YCbCr220 depending on the type of content. Since movies are normally in 23/24 FPS, it's not an issue that HDMI 2.0 RGB doesn't support 10 bit with 4k60; with 23/24 Hz it does. I'm glad that RGB full is the recommended way, as with it, I don't experience any issues described above, though yes, NVIDIA should still fix it anyway.
I was also always in doubt whether I configure the settings correctly in the [display] > Calibration settings of madvr:
- With "tone map HDR using pixel shaders", for HDR content, I set "the display is calibrated to the following primaries / gamut" to "BT.2020" and select the "report BT.2020 to display" check box.
- For SDR content, I set "the display is calibrated to the following primaries / gamut" to "BT.709" and clear the "report BT.2020 to display" check box.
Is this the proper combination? And I also read somewhere that SDR content can work OK in the BT.2020 container, so there is no need to switch the settings for it.
(0002974)
madshi   
2023-01-15 13:59   
Movies are natively encoded in 4:2:0, so if our goal was to send the movies untouched to the display, it might make sense to use YCbCr 4:2:0 output in the Nvidia control panel. However, madVR has very high quality image processing algos which are probably better than what any display does, and displays natively work in RGB. So letting madVR upscale chroma from 4:2:0 to 4:4:4 is usually preferred.

Furthermore, setting the Nvidia control panel to 4:2:2 output means that the applications (games and madVR) still do their math in RGB, but then the Nvidia driver after the fact converts the madVR/games output to YCbCr 4:2:2 behind the back of madVR/games. That is not really beneficial. It just adds to the amount of conversions that are being done.

If you tell madVR that your display is calibrated to BT.2020 (and if that's true) then you can send both SDR and HDR content to the display that way. There's no need to switch. madVR can simply convert SDR content to BT.2020 and send it to the display that way. The only disadvantage may be that if you have a projector which uses a physical filter to achieve wider gamuts, you might lose some light output that way. However, if the games were written to output BT.709 colors, then your display will show widely oversaturated colors.
(0002975)
denis_fdrv   
2023-01-15 14:19   
Yes, this is exactly the case, the projector uses a physical filter for wider gamuts. I use a saved set of projector settings for HDR, which also engages the filter, and use a different set of saved settings, which don't use the physical filter, for SDR content. When talking about movies with madr, does it make sense in this scenario to switch the settings in madvr between SDR and HDR, or it is enough to do it in the projector only, and use HDR settings in madvr for both types of content?
(0002976)
madshi   
2023-01-15 14:29   
You could keep both picture modes in the projector set to BT.2020, one using the filter and one not using the filter, but both calibrated to BT.2020. That way, you wouldn't have to switch in madVR. However, as mentioned, the games will look oversaturated this way - unless they support outputting BT.2020 colors. You could add a 3rd mode for games, using no filter and calibrating the projector to BT.709 colors. But if you have such a preset for games, maybe it would be easier to also use it for madVR SDR playback? But then you need to switch colors in madVR, as well, of course. But you can automate that using the profiles with auto-rules. There's also a chance that a calibration to BT.709 might be slightly more accurate than calibrating to BT.2020 when the colors are only BT.709, anyway. But I'm not sure if the accuracy difference would be visible.
(0002977)
denis_fdrv   
2023-01-15 14:59   
The difference between two presets in the projector is not only the filter - the one without filter is calibrated for REC 709, the other (with the filter) is calibrated for BT2020. I use them for games as well, depending whether a game supports HDR or not. So, in projector I always switch between two modes, and thus there is no oversaturation in SDR movies/games. I tried setting up auto-presets in madvr, but couldn't figure out how to do it, so I gave up and switch manually (not an problem for me). If you say that calibration of BT.709 to BT.2020 can be less accurate than native BT.709, then I'll probably keep switching in madvr as well between two presets. Though with a naked eye, SDR content looks the same with BT.709 or BT.2020 (+"Report BT.2020 to display") settings in madvr. Thank you for clarification.

As for games, I still don't quite get what is the best recommended combination of settings in NCP for HDR games on an HDMI 2.0 display where RGB 4k60 10 bit is not supported. In this case, it is better to stick to RGB 4K60 8 bit or use YCbCr 422 4k60 10 bit with its additional conversion?
(0002978)
madshi   
2023-01-15 15:37   
(Last edited: 2023-01-15 15:37)
RGB 4k60 8bit should be fine for games, IMHO. The benefit is that colored GUI overlays should have better edges (if you switch your projector into a mode which supports 4:4:4 chroma) without color fringing.

As mentioned, running SDR in madVR with BT.2020 is just fine, but you will lose light due to the filter. That said, light output is more important HDR content, anyway, so for SDR it might not even matter.

Auto-switching is easy, just create 2 profiles, and use this very little script to auto switch:

if (hdr) "name of your BT.2020 profile"
else "name of your BT.709 profile"
(0002979)
denis_fdrv   
2023-01-15 16:06   
Thank you for the info and help. The profile switching seems to be working :)
(0002980)
madshi   
2023-01-15 16:13   
Well, I'm motivated to help if you're helping, too... :-)
(0002981)
denis_fdrv   
2023-01-18 00:32   
As I've been playing around lately with watching videos with RGB in NCP instead of YCbCr, I've noticed a consistent pattern that adds details to the issue with the "Report BT.2020 to display" setting.
Both scenarios were tested in 23 Hz, color depth 10 bit:
- If in Nvidia Control Panel, before starting a video with "Report BT2020 to Display" enabled in madvr, output color is set to RGB (10 bit, full), on starting a video, according to signal info in projector, the signal is changed from RGB-video to Composite (=YCbCr), and stays YcbCr after sclosing the video, and then also sticks after starting/closing other videos, until I change refresh rate in NCP. Also, in this scenario, the projector on starting the first video, for some reason cannot handle the switch of signal from RGB to Composite, and shows black screen, menu not accessible, with sound in the background, keyboard working, etc.; I have to switch HDMI input to another one and back to get the image back. The subsequent launches of videos (in the Composite signal), do not have the black screen on start or end. Furthermore, during the signal type switch, the color range also changes to Limited.
- If before starting a video with "Report BT2020 to Display" enabled in madvr, output color is set to YCbCr442 (10 bit, limited), it's vise versa: on closing the video (not on start as in scenari 1), the signal, according to projector signal info, changes from Composite (YCbCR) to RGB-video, (BT.2020 not reverted to Rec 709), and stays in RGB until I change refresh rate. In this scenario, the projector manages the signal switch on closing the video (with a short blink).

My workaround for all the issues above: I disable the "Report BT.2020 to display" setting, and, for HDR videos, manually set the color space in the projector menu to BT.2020 (even though it reports that it receives Rec 709). This seems to work fine, the image looks correct, there's no signal switch (If it was RGB-video, it remains RGB-video), no messing up with color range, and no black screen on start/close. The only downside is that I have to manually switch the color space for BT.2020 videos, and then manually revert it.
As for the Nvidia, they responded that they will analyze the reported behavior with engineers. Fingers crossed it'll be fixed soon.
(0002982)
madshi   
2023-01-18 09:52   
Have you reported this new information to Nvidia? It seems that the driver switches between RGB <-> YCbCr in this situation which it is *not* supposed to do. Unless there's a bug in madVR, but I don't think so.

Are you using the official madVR build, or one of the newer test builds from AVSForum?

And I hope you have disabled HDR in the OS for your projector?
(0002983)
denis_fdrv   
2023-01-18 12:19   
Yes, this info is also sent to Nvidia. They said it's useful and promised to analyze it.
I tried both the official and test builds before (when was trying to figure out the cause of the driver crash). Right now I'm not sure which one I have - will check later with both builds.
Yes, HDR in OS is never enabled for watching videos; for some games only.
(0002984)
denis_fdrv   
2023-01-19 07:14   
Verified again: the signal switching (from RGB to YCbCr and from YCbCr to RGB) happens with both the official and test 165 madvr build.
(0002985)
madshi   
2023-01-19 08:51   
Thanks!

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
694 [madVR] bug major always 2022-12-26 21:05 2022-12-29 01:12
Reporter: Murray Platform:  
Assigned To: OS:  
Priority: urgent OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): JRiver MC30
Splitter (with version info): vertex to two monitors JVC NZ9 & Dell monitor 4k
Decoder (with version info): not sure
Decoding: <select>
Deinterlacing: none (progressive)
DXVA2 Scaling Active: <select>
Aero / Desktop Composition: <select>
Problem occurs with mode: windowed mode
GPU Manufacturer: NVidia
GPU Model: 3080
GPU Driver Version: latest
Summary: Profiles under DEVICES wont work or avtivate
Description: Ive asked this on the doon9 madvr thread as Im going crazy with a bug, but I will ask again here also......

I cant get any profiles to activate and work under Devices, yet all my other profiles on other pages work.

Im trying to use the A stretch 4/3 on and off under Devices/Config, I can make the two profiles using keystroke 1 & 2, but it wont activate or show in the top left corner of the screen.

All my other profiles in all the other tabs besides Devices work and display in the top left corner of the screen.

BTW. Ive made two other profiles under Zoom as a test using 1 & 2 and they work and activate perfectly, so it isnt anything to do with keyboard shortcuts 1 & 2.

Has anyone ever seen this happen and if so what might be wrong here?

Thanks in advance.
Tags:
Steps To Reproduce:
Additional Information: The issue Ive been having with profiles not working under the Device section is driving me crazy!
Ive asked may people to look at it for me and tried so many things but still the Device section for me is completely dead.
All other profiles in other tabs work fine.

We have installed a new version of madvr with 113 and it hasnt helped on my HT PC. We have tested with JR MC25, 29 and 30 and still the Device section can make the profiles but they wont activate.

We have installed JR MC28, 29, and 30 on my office PC and madvr Profiles work perfectly on the office PC. However the HT PC sill make the profiles under the DEVICE tab of madvr but thhey will not activate or work.

Is there anything that you can think of that we might test please?

Im wanting to use the anamorphic stretch 4/3.
Attached Files: stretch.png (58,526 bytes) 2022-12-26 21:05
http://bugs.madshi.net/file_download.php?file_id=365&type=bug
png
Notes
(0002950)
Murray   
2022-12-28 21:28   
settings.bin
(0002952)
huhn   
2022-12-29 01:07   
i have been trying to fix this issue for a while now and here is the setting bin.

there is no user error in the settings.bin it just ignores the profile hotkeys under the device JVC.
i don't know why because the rest is not ignored but something is going terrible wrong in madVR.

maybe it is the vertex or what ever. it should not happen.
(0002953)
Murray   
2022-12-29 01:09   
Ive tested it direct ( PC > proj) bypassing the vertex and still the problem exists. Do you think it could be a Windows 10 problem? This PC is only for the HT.
(0002954)
huhn   
2022-12-29 01:12   
btw. attachment is broken... here is the setting bin:
https://drive.google.com/file/d/1V1bmGKhacvsMxf1wNn5_Q-isNZ-CA8l4/view?usp=sharing

the problem is very clearly in madVR.
just hope he finds the time to read this and fix the issue. don't forget there is no way to reproduce the issue without having the same device connected.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
695 [madVR] bug major always 2022-12-28 07:25 2022-12-28 21:29
Reporter: Murray Platform:  
Assigned To: OS:  
Priority: urgent OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 165
Media Player (with version info): JRiver MC30
Splitter (with version info): vertex to two monitors JVC NZ9 & Dell monitor 4k
Decoder (with version info): not sure
Decoding: CUDA
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: windowed mode
GPU Manufacturer: NVidia
GPU Model: 3080
GPU Driver Version: latest
Summary: Profiles not working in Devices, settings/bin file added
Description: Please see Profiles not working in Devices last post, bin file added here
Tags:
Steps To Reproduce: always, play file press 1 or 2 keystroke
Additional Information:
Attached Files:
Notes
(0002951)
Murray   
2022-12-28 21:29   
settings/bin file attached

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
693 [madVR] bug crash always 2022-12-15 02:50 2022-12-17 07:06
Reporter: Milincho Platform:  
Assigned To: OS:  
Priority: urgent OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 165 (any)
Media Player (with version info): Any
Splitter (with version info): Any
Decoder (with version info): Any
Decoding: DXVA2 Native
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: RTX 4080
GPU Driver Version: 527.56
Summary: Crash just by selecting "Identification"
Description: I don't know what just happened to my madVR configuration but ALL my profiles just disappeared except one. If I click "Add profile"... it does nothing, and when I try to duplicate this one madVR crashes...

https://i.imgur.com/STEmGlT.png

I'm using 165, but tried 164b and the same. Tried uninstalling and reinstalling, same. Tried restoring default settings... same.

If I restore default settings, uninstall it, delete all the files, extract them from a new zip (even tested madVR09217, apart from 164b and 165) and install them again (with no settings.bin file).

Then I do the install.bat, open madHcCtrl.exe and when I try "Add Profile"... it does nothing.

https://i.imgur.com/0tiveQv.png

I also made sure that there is no HKEY_CURRENT_USER\Software\madshi\madVR present...

If I start from scratch my devices are not detected anymore, so I "Add device" and test profiles creation. First one is created, then trying to add more profiles using "Add profile" does nothing.

And if I use my settings.bin backup, where I had 3 profiles for "Epson PJ", now only 1 appears and it always crashes just by clicking on "Identification":

https://i.imgur.com/2ViVBMm.png


Tags: crash, devices, profile
Steps To Reproduce: In my case, just clicking on "Identification".
Additional Information: Scratch config crash report: https://pastebin.com/mALavv6m

My settings.bin configuration: https://mega.nz/file/XnQxlCTC#CS1zvEtHCaJ8v0M4uibPVa6cRwd6Z3VI2WQSBqe4GGM
and the crash report when it is used: https://pastebin.com/muUC9h9f
Attached Files: Settings and Reports.zip (60,785 bytes) 2022-12-15 02:54
http://bugs.madshi.net/file_download.php?file_id=361&type=bug
image.png (135,137 bytes) 2022-12-17 07:06
http://bugs.madshi.net/file_download.php?file_id=362&type=bug
png

image-2.png (196,681 bytes) 2022-12-17 07:06
http://bugs.madshi.net/file_download.php?file_id=363&type=bug
png

image-3.png (353,796 bytes) 2022-12-17 07:06
http://bugs.madshi.net/file_download.php?file_id=364&type=bug
Notes
(0002941)
Milincho   
2022-12-15 02:54   
Settings.bin and Crash Reports
(0002942)
madshi   
2022-12-15 13:59   
Does this still happen with the latest madVR test build?

http://madshi.net/madVRhdrMeasure165.zip

(Just unzip these files over the official build.)
(0002943)
Milincho   
2022-12-15 15:58   
Yes. I was using 165 since you released it. Tried 164b and 09217 and all behave the same.

It was working until 2 days ago. I've been getting crashes in "Identification" for a long time, but other than that it was working ok.

I installed some AMD motherboard drivers, Nvidia 527.56 via NVCleanstall (after using DDU) and some Realtek drivers. But I'm not sure how any of this could broke madVR that much.a
(0002944)
Milincho   
2022-12-15 16:01   
Also tried changing installation from "C:\Program Files\MadVR" to "C:\MadVR" but keeps happening all the same.
(0002945)
madshi   
2022-12-15 16:12   
It seems that the crash happens when trying to parse the EDID block. I'm not sure why. Are you using an EDID override?
(0002946)
Milincho   
2022-12-15 16:27   
Yes, I am using a custom 1080p 59.938Hz resolution made in CRU to avoid dropped frames in PotPlayer. I also deleted the HDMI resolutions from the Extension Block.
(0002947)
madshi   
2022-12-15 16:45   
What happens if you remove the custom EDID override? Does the problem go away then? If so, maybe putting it back afterwards solves the issue?
(0002948)
Milincho   
2022-12-15 19:31   
Same. Even if I "Reset All" to defaults in CRU and restart, "restore default settings.bat" in madVR and "install.bat" when I launch madHcCtrl.exe it doesn't detect any devices, and if I create a new one and create a profile, it also does nothing when clicking "Add Profile" again:

https://i.imgur.com/bRwdjuG.png

and if I "Duplicate Profile" it crashes as usual:

https://i.imgur.com/OF9XTNr.png

Attached is the new Crash Report.
(0002949)
Milincho   
2022-12-17 07:06   
More info. If I move the custom resolution from "Detailed resolutions": https://i.imgur.com/4dclfkJ.png
to the "Detailed resolutions" INSIDE the Extension Block: https://i.imgur.com/0k8AgsJ.png
then madVR allows me to create new Profiles and even duplicate them without crashing, BUT it still crashes in the "Identification" section: https://i.imgur.com/4Bo2vpW.png

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
568 [madVR] bug minor always 2018-07-29 10:08 2022-09-23 08:41
Reporter: Zaoshi Platform: PC  
Assigned To: madshi OS: Microsoft Windows 10 Pro  
Priority: normal OS Version: 1803  
Status: feedback Product Version:  
Product Build: Resolution: reopened  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC (64-bit) 1.9.23
Splitter (with version info): LAV Splitter: 0.76.1
Decoder (with version info): LAV Video: 0.76.1
Decoding: DXVA2 Copyback
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: windowed mode
GPU Manufacturer: NVidia
GPU Model: GeForce RTX 3090
GPU Driver Version: 516.94
Summary: Render queue is not being filled
Description: When I'm using windowed and fullscreen windowed modes render queue (and to a similar extent present queue) are not being filled.
This seems to happen only when video is playing - if I pause queues get filled.
I tried using fullscreen exclusive mode and it does not have this issue (queues are completely full), but it comes with a bunch of other problems so I do not want to use it.
Tags:
Steps To Reproduce: Set GPU queue size to maximum and play video in fullscreen windowed mode.
Additional Information: I have tried switching from NGU to Bilinear scaling. This seems to increase queue to 8/24, but it still fails to get filled.
Then I tried to reset settings and set queue sizes to maximum. Queues were filled up completely.

I've attached .zip with OSD images from various modes and my settings.bin file in case it can be of any help.
Attached Files: osd_images.zip (3,299,653 bytes) 2018-07-29 10:08
http://bugs.madshi.net/file_download.php?file_id=292&type=bug
Notes
(0002314)
madshi   
2018-07-29 10:48   
If the problem does not occur with default settings, then I'd suggest that you compare your default settings to your non-default settings. E.g. start with the default settings, then step by step change one setting at a time, to gradually change the default settings to your non-default settings. This way you should be able to figure out which exact setting is responsible for the problem.
(0002316)
Zaoshi   
2018-07-29 11:18   
Changes to settings and render queue results in order:
1. Default settings: queue at 23-24/24
2. Set chroma upscaling to NGU anti-alias high: 23-24/24
3. Set image upscaling to NGU anti-alias high: 23-24/24
4. Enabled reduce banding artifacts (high/high): 23-24/24
5. Enabled reduce ringing artifacts: 23-24/24
6. Enabled reduce compression artifacts, strength 8, quality high, +process chroma channels: 17-19/24
7. Enabled reduce random noise, strength 2, +process chroma channels: 7-9/24
8. Set image upscaling to Bilinear: 17-18/24
9. Enabled upscale refinement > sharpen edges 1.0: 14-16/24
10. Enabled upscale refinement > thin edges 1.0: 12-13/24
11. Enabled upscale refinement > activate anti-bloating filter 50%: 11-13/24
12. Enabled upscale refinement > activate anti-ringing filter: 10-12/24

It seems increasing number of processing steps reduces render queue even if GPU can keep up.
(0002317)
madshi   
2018-07-29 11:37   
That's somewhat weird, I'm not sure why that would happen. What kind of average render times do you get? Does it change anything if you add a flush after intermediate render steps?

In any case, if the problem does not occur in fullscreen exclusive mode, then I'm not sure if there's anything I can do, because my code is nearly the same in FSE vs windowed mode. So it must be either Direct3D or the GPU driver which makes the difference here.

FWIW, most users don't like "reduce random noise" much. Might make sense to disable that and increase the "reduce compression artifacts" strength instead. That should save a lot of performance.
(0002318)
Zaoshi   
2018-07-29 12:10   
I think render times are reported incorrectly so I'm not sure if it will be of any help. When I increase upscaling quality OSD shows 16ms but I get 3 frame drops / second.

Without flush OSD reports 13.25ms. With flush - 15.50ms and I get 2 frame drops / second.
In FSE mode without flush I get 19.50ms. With flush - 21.30ms. In both cases there are no frame drops.

I noticed that if I reduce GPU queue size to 8 my render queue stays at 4-5/8 and frame drops disappear (in case when flush is enabled).

I did notice that "reduce random noise" causes a lot blurriness. That is why I keep it at low value to get rid only of fine noise.
"reduce compression artifacts" has similar issue - at high value it blurs image and eliminates fine details. I had a few cases where it replaced texture with almost solid color, so I do not want to increase it.
For now I'm still experimenting with these options, but thanks for the information.
(0002319)
madshi   
2018-07-29 12:16   
Well, as I said, I don't really know anything I could do to improve this situation. I'm doing the same thing in FSE mode and in windowed mode. So if it works well in FSE mode, then it's unlikely to be my fault if it doesn't work as well in windowed mode.

Both "reduce random noise" and "remove compression artifacts" remove fine noise to some extent. Enabling both is probably superfluous. I've already considered removing "reduce random noise" completely.
(0002320)
Zaoshi   
2018-07-29 12:38   
Alright, thanks. I tried to reinstall driver but that did not help. It seems I'll have to reduce my queue to 8. At least this way it's partially filled.

Thanks for heads up. Will experiment to get by without it.
(0002321)
Nakasyma   
2018-07-29 13:31   
I can confirm this is an issue and I have some additional information:

- The problem only occurs after Windows 10 Version 1803 (April 2018 Update) upgrade

- The problem only occurs with NGU upscalers, all of the other upscalers are working well (including super-xbr)

- For me it seems the problem is only with the queue information. I don't have any issues with the playing quality despite of the nearly empty queues (and also don't have any dropped frames)
(0002322)
madshi   
2018-07-29 13:35   
There have been some functionality additions to win10. IIRC, some users on doom9 suggested to turn some of those new win10 features off to make madVR perform optimally. I don't remember the details, you'll have to dig through the doom9 madVR thread, or ask there.
(0002329)
Msarc   
2018-08-08 08:34   
Same issue, some more info:

- I can confirm that this started happening immediately after Windows 1803 update (I only updated yesterday).

- It's not an NGU issue, other upscalers suffer from this as well, including Super-XBR. Less demanding upscalers simply lower the impact and allow better hardware to compensate with raw power.

- Lowering GPU queue size has the same effect - lowers the impact, but not enough to help when more demanding processing is being done.

- Enabling/disabling flush made no difference in regards to the issue, but disabling flush raised rendering times by about 3.5 ms in both windowed and FSE mode.

- DX9 or DX11 - no difference. Tried setting both in MadVR and LAV decoder.

- The only new feature in v1803 of which I could find mentions on the forum is "Focus Assist", but having it disabled made no difference on my system.

MadVR v0.92.14
MPC-HC v1.7.17
AMD drivers v18.4.1 and v18.8.1 (no difference)
CPU: Intel Q9550
GPU: AMD R9 290
(0002330)
madshi   
2018-08-09 11:19   
Yes, I think it was "Focus Assist" which I've heard mentioned. Other than trying different drivers, I'm not sure what else to suggest. Obviously, if it was an OS update which introduced the issue, it's more likely to be a problem with the OS update or the GPU drivers than with madVR.

I've been telling users for months (years?) now that Windows 8.1 is the best OS for video playback. But nobody seems to listen to me. madVR users get screwed over time and time again with every new Windwos 10 update.
(0002331)
Zaoshi   
2018-08-09 19:39   
Disabling Focus Assist helps with issues that occur when switching to FSE, but it doesn't seem to do anything for windowed fullscreen.
(0002332)
Msarc   
2018-08-10 11:23   
Given that both Nvidia and AMD users are having this problem, it's less likely to be a driver issue. But it could be that Microsoft broke something that both camps need to fix. Just not sure any of them, including MS, will bother.

But back to the issue: I had noticed that both render times and CPU/GPU utilization are lower than normal in windowed mode after 1803.
For example, same video file, same madVR settings:
- Before 1803, 10-11 ms render times and no drops/repeats
- After 1803, 6-7 ms render times and massive drops/repeats

Like 1803 is preventing madVR from using the system at full power in windowed mode, for whatever reason.

And some more things I tried with no success:
- Checked Windows power settings - everything is still set to "max performance" as before.
- Set Windows system timer to 0,5 ms during playback, using "Windows System Timer Tool" (easily googled).
- Opened "Game Bar" during playback in MPC-HC and set it as a game.
- Disabled everything in "Settings > Gaming".
- Disabled the new "Settings > Personalization > Colors > Transparency effects".
- Set MPC-HC to "High performance" in "Settings > System > Display > Graphics Settings".
(0002430)
madshi   
2018-09-30 17:30   
This problem should be fixed in v0.92.17, so I'll close this bug report. If you guys still have the problem with v0.92.17, then please re-open.
(0002936)
ProphetWild   
2022-09-23 06:17   
I've been having this issue for a few years now. The render queue will fall to 3-4/8 and I will drop frames. This happens randomly but I can also trigger it in windowed mode by mousing over/pulling up the seek bar.
I have changed CPU and GPU as well as done clean installs of Windows 10 and 11 over the years and the issue persists. It does not happen in FSE.
I've tried different CPU/GPU queue values, vsync options, all of the flush options, and it still happens over all different content.
I've been using the HDR betas and it happens in those as well.
Really have no idea what it could be, I remember seeing something about the windowed mode having a weird interaction if you're running in 10bit/12bit but seems like a strange bug.
(0002937)
madshi   
2022-09-23 08:41   
If it doesn't happen in FSE mode, why don't you simply use that? It's there for reasons like this... :-)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
674 [madVR] bug major always 2021-08-20 11:41 2022-09-19 14:46
Reporter: huhn Platform: x64  
Assigned To: OS: windows 11  
Priority: normal OS Version: 22000  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 92.17 it has TM curves but i dont know the version
Media Player (with version info): mpc-hc 1.9.10.56
Splitter (with version info): lav 0.74.1
Decoder (with version info): lav 0.74.1
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: fullscreen exclusive mode
GPU Manufacturer: AMD
GPU Model: 5700 XT
GPU Driver Version: 21.8.1
Summary: madVR hdr does not work on windows 11 newest build
Description: the new win 11 build stop madVR from sending an HDR image. the image is just tone mapped to SDR i guess by windows or the GPU driver HDR is not send but madVR thinks it is the OSD still shows AMD HDR.
Tags:
Steps To Reproduce: get the newest win 11 build and a GPU driver that supports the new WDDM.
play a HDR file with madVR in passthrough.
Additional Information: mpcVR HDR still works by switching the OS HDR on or OFF even with OS HDR on the image does not seem to be 100 % correct.
Attached Files: identificationbug.png (104,010 bytes) 2021-10-06 17:29
http://bugs.madshi.net/file_download.php?file_id=336&type=bug
png

log and settings.zip (1,650,751 bytes) 2021-10-06 18:01
http://bugs.madshi.net/file_download.php?file_id=337&type=bug
Notes
(0002820)
huhn   
2021-08-20 11:43   
this is more to let you know. i will keep you updated on this with the upcoming new windows versions. could be fixed in the next version could be the new default behaviour time will tell just a couple more months.
(0002821)
madshi   
2021-08-20 12:01   
Yeah, Microsoft continues to screw things up more and more with each OS update. That's not really surprising. Hopefully they can get it solved somehow. That said, madVR's DTM is probably the best there is, anyway, so the importance of having HDR output is not as high as it used to be. The latest LG OLEDs support getting full brightness in SDR mode, so there's no need to send them HDR, anymore.
(0002822)
huhn   
2021-08-20 12:37   
taking my shitty OLED and AMD into account i'm not so sure and the majority doesn't have OLEDs.
because there is no report BT 2020 and such.
not that i care about HDR.

what so ever there is a chance microsoft will do something about this because they broke older HDR games that doesn't use windows OS HDR but AMD and NVIDIA API. there are now games out there that will not be able to send HDR at all. usually they take backwards compatibility kinda serious. HDR games are just a couple of years old. on the other hand just look at 11...
(0002823)
madshi   
2021-08-20 12:53   
I think it might be more of an AMD driver problem, actually, and less of an OS problem. Because if SDR playback works fine, the OS shouldn't even know (or care) if the AMD/Nvidia private HDR APIs are used or not. So there's a chance that a new AMD driver might fix this.
(0002824)
huhn   
2021-08-20 16:46   
just for context.
i'm using win 11 dev builds since the release and everything was working fine with the last dev build.
this does not mean i don't update GPU driver too.
(0002825)
huhn   
2021-10-06 02:35   
win 11 is out now and it still "broken" it outputs an image now but the levels are wrong it not off by 16 levels it'S less but. i don't know
even through there is a new driver the problem was the same it changed with windows version.

currently the AMD API is working at 8 bit and even in windowed (tone mapping and it seems to do a good job...)so .... that'S not supposed to be happening.

there are reports HDR and refreshrate switching broke completely on nvidia.
(0002826)
madshi   
2021-10-06 11:51   
Might make sense to wait for newer drivers from both AMD and Nvidia. There's not much I can do about this, I fear.
(0002827)
huhn   
2021-10-06 17:29   
it worked on AMD to wait for new windows versions. it was literally not engaging HDR with older windows versions.

there are some other things that break with madVR that should be related to your code.
the identifications are now stacking up i'm already at 120. it's reported that if more than one device is listed in devices 10 bit doesn't work on nvidia (which is kinda random).

but my first response was also wait for a new driver first and than have a look.
(0002828)
madshi   
2021-10-06 17:34   
Can you reproduce the IDs stacking up problem? If so, can you zip and upload the settings.bin file with such a flood of IDs inside?
(0002829)
huhn   
2021-10-06 17:55   
sure and a log. the settings are relative random from testing.
not sure what trigger it i had to switch between tone map and passthrough to relibile add a couple of new idetification to madVR. could be an LG OLED issue too...
(0002830)
huhn   
2021-10-06 18:01   
there is no error when uploading so i zipped a 7z together with the bin which feels very wrong.
(0002831)
madshi   
2021-10-06 18:08   
That's interesting, some of the IDs are unique, but there are a *LOT* of duplicates in there. That's not really supposed to happen.
(0002832)
w   
2021-10-20 03:20   
Update: Other color managed applications are working again on Win 11 dev 224478.1012 (chrome, ff, etc. don't work on Win 11 release 22000), but MadVR doesn't select a device and still has the many identifications.
(0002833)
madshi   
2021-10-20 09:29   
At some point I will install Win11 myself and fix the problems, but I'm too busy for that right now, unfortunately. So it will have to wait...
(0002834)
huhn   
2021-10-24 15:38   
this seems to be more and more of been a driver issue/windows issue.
i only have one HDR game and that game has the wrong ranges too just like madVR even outside of HDR which makes absolutely no sense.

windowed HDR passthrough(where it was tone mapping) is now broken it has the wrong ranges too and the only thing that changes is the OS version.

win 11 is a new low for microsoft.
(0002835)
madshi   
2021-10-25 09:25   
Yeah, they continue to make things worse and worse, it seems. I've no idea how such big a company can't manage to release a new OS update without breaking things all over again every time.
(0002839)
thomasrc   
2021-11-07 01:48   
Unfortunately it is affecting everything that is related to the display settings as well. HDR, display modes, calibration, etc. If you have multiple displays connected to the computer, madVR just fallbacks to the first display's settings, because it can't detect the display correctly or something similar stuff is happening (see the ID duplication thing above). My projector is configured to switch refresh rate automatically by madVR according to the movie, but under Windows 11 it just does nothing, unless I place all the projector's config into the primary display's settings (which would be a great workaround, but it won't work correctly, because it applies to the other displays too of course).
(0002840)
madshi   
2021-11-08 09:37   
I'm in the process of building a new development PC, based on Windows 11, and will then try to fix any madVR related bugs I can find. I'm not sure if HDR can be fixed, though. Depends on whether it's my fault or not.
(0002911)
thomasrc   
2022-06-20 16:07   
Are there any news about this issue?

I'm using Win 11 21H2 now, latest nvidia game ready driver and the latest madVR Test Build that I found on videohelp.com and I'm still experiencing the mentioned display modes issue. However I realized now that madVR recognize my secondary display (is entry is bolded when playing video on it) that is connected via DVI cable to my computer, but not the other two that are connected via HDMI and DP.
(0002932)
huhn   
2022-09-19 13:09   
the device page issues are fixed for me with version beta 165.
after deleting the duplicates it still trigger until i installed it again.
makes no sense to me but i tested it 2 times...

please stick to HDR issues now.
if this still doesn't fix it for you go here and reopen it: http://bugs.madshi.net/view.php?id=682
the hard bugs started with 22H2.
(0002933)
Peabutt   
2022-09-19 14:46   
Is the HDR issue only present for AMD gpus or NVIDIA also? I have AMD i HDR wont work. never had an issue b4. Windows 11 latest build and latest amd driver.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
691 [eac3to] bug major always 2022-08-19 10:57 2022-08-19 12:42
Reporter: GCRaistlin Platform: AMD HD7850  
Assigned To: OS: Windows  
Priority: normal OS Version: 8.1 x64  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.36
Summary: Silence is added to the wrong position if the edit point is the EOF
Description: If the edit point is the EOF then eac3to adds silence to the position "the EOF minus the duration of silence" instead of the EOF.
Tags:
Steps To Reproduce: Tone.wav is the constant tone file generated in Adobe Audition: Effects - Generate... - Tones... - OK. Its length is 10 seconds.

Trying to add 22 ms of silence to the EOF:
eac3to Tone.wav Tone4.wav -edit=0:00:10.000,22ms -silence
Silence is added to the position 0:00:09.978 instead of 0:00:10.000 (see Tone4.jpg).

To get what we want we should use:
eac3to Tone.wav Tone6.wav -edit=0:00:10.022,22ms -silence
See Tone6.jpg.
Additional Information:
System Description Radeon 17.7.1
Attached Files: Tone4.jpg (323,497 bytes) 2022-08-19 10:57
http://bugs.madshi.net/file_download.php?file_id=355&type=bug
Tone6.jpg (387,795 bytes) 2022-08-19 10:57
http://bugs.madshi.net/file_download.php?file_id=356&type=bug
Notes
(0002927)
GCRaistlin   
2022-08-19 10:59   
Tone.wav
(0002928)
GCRaistlin   
2022-08-19 11:00   
Tone.wav again.
(0002929)
GCRaistlin   
2022-08-19 11:04   
For some unknow reason Tone,wav, as well as Tone.wav.7z, can't be being attached here.
https://mir.cr/0RVBZTLK

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
374 [eac3to] bug minor always 2016-01-02 17:08 2022-08-19 12:42
Reporter: GCRaistlin Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.31
Summary: Cyrillic chars are being displayed incorrectly
Description: eac3to output is ANSI while the console is OEM. It has no effect for Latin chars but Cyrillic chars are being displayed like a garbage. Screenshot 1 shows how it looks and screenshot 2 shows how it should look.
For other command-line tools with the similar output issue it is possible to use a batch wrapper (that's how I got the screenshot 2):
util.exe %*| iconv.exe -c -f cp1251 -t 866
But it's actually useless for eac3to 'cause nothing is displayed until the process finished.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: eac3to1.png (9,860 bytes) 2016-01-02 17:08
http://bugs.madshi.net/file_download.php?file_id=190&type=bug
png

eac3to2.png (11,927 bytes) 2016-01-02 17:08
http://bugs.madshi.net/file_download.php?file_id=191&type=bug
png
Notes
(0002446)
GCRaistlin   
2018-12-09 21:51   
(Last edited: 2018-12-09 22:10)
Workaround - eac3to.cmd:

@echo off
for /f "tokens=2 delims=:" %%A in ('chcp') do set CP=%%A
>nul chcp 1251
eac3to.exe %*
if errorlevel 1 pause
>nul chcp %CP%


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
376 [eac3to] bug minor always 2016-01-02 19:26 2022-08-19 12:42
Reporter: GCRaistlin Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.31
Summary: Channels in output wavs mixed up
Description: 1. Download http://mir.cr/135KAWKA

2. Run:
eac3to 1.ac3 "1.wavs" -4259000ms -edit=0:10:00,-8518000ms
eac3to 1.ac3 "2.wavs" -edit=0:10:00,-8518000ms

3. Listen to 1.L.wav @ 01:05 and to 2.C.wav @ 09:50. You'll hear the same.
1.C.wav doesn't contain voices @ 01:05.

(I understand that the combination of options in the 1st command line is probably senseless, I just tried to find a way to cut a piece from the middle of the file)
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
375 [eac3to] bug minor always 2016-01-02 18:32 2022-08-19 12:41
Reporter: GCRaistlin Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.31
Summary: Incorrect processing of the particular ac3 file
Description: The problematic file http://mir.cr/HM0IZ9W2 seems to be an mp3 with WAV header compressed to ac3. It's correct duration - 02:14:57 (recognized by MPC-HC and BeSweet). eac3to determines its duration as 04:29:55.
Command line:
eac3to "True Lies.track_423.ac3" "True Lies.track_423.wav"
produces wav with duration 02:36:19. It's played slowed down.
Command line:
eac3to "True Lies.track_423.ac3" "True Lies.track_423.wavs"
produces wavs with duration 06:44:52. They're played incorrectly, too.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
377 [eac3to] bug minor always 2016-01-02 21:10 2022-08-19 12:41
Reporter: GCRaistlin Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.31
Summary: Converting dts to wav with big negative delay produces incorrect results
Description: Duration of True.Lies.1994.1080i.MVO-НТВ+.ac3 is 01:21:38.
Command line:
eac3to "True.Lies.1994.1080i.MVO-НТВ+.ac3" "True.Lies.1994.1080i.MVO-НТВ+.wavs" -3600000ms
produces wavs which duration is 52:42 (instead of expected 21:38).

True.Lies.1994.1080i.MVO-НТВ+.ac3: http://mir.cr/DNQ1WYKF
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002454)
GCRaistlin   
2018-12-13 19:35   
The issue is still present in 3.34. The command line:
eac3to 00000.track_4353.ac3 [e]00000.track_4353.wav -6514000ms
produces file which duration is 1:38:12 instead of expected 0:05:00 (as 00000.track_4353.ac3 is 1:53:34).

00000.track_4353.ac3: https://drive.google.com/open?id=1oYteOwBXFnIiyeYHxzeQPyJftvKZfY7C

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
667 [madVR] bug crash random 2021-04-10 01:47 2022-07-06 03:15
Reporter: PhantomGamers Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-BE x64 1.5.6
Splitter (with version info): N/A?
Decoder (with version info): MPC Video Decoder
Decoding: Software
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: RTX 3090
GPU Driver Version: 465.89
Summary: Random Video Hanging with SVP + Avisynth Filter
Description: Hi, I've been working with the developer of Avisynth Filter on a recurring issue I've been having with videos hanging (video frame freezes, audio keeps playing).

The issue can be seen here: https://github.com/CrendKing/avisynth_filter/issues/41

I've been uploading dump files and the developer fixed some instances of hanging on their end but said the last dump I provided points to MadVR as the cause.

The dump file can be found here: https://mega.nz/file/RdhU3AiL#At4x6mW6E6Iokha_N-vv7_o58i5zXTk5HlEAHLBZKtY

If you have any questions or would like additional dumps let me know.
Tags:
Steps To Reproduce: Cannot be reliably reproduced.
Additional Information: I selected "Software" under the Decoding option but I'm not actually sure what MPC Video Decoder uses, I assume it's software but it may be something else.
Attached Files:
Notes
(0002796)
madshi   
2021-04-10 13:36   
When the problem occurs, can you please press Ctrl+Alt+Shift+Pause/Break, then wait a couple of seconds, then check if there's a "freeze report" on your desktop? If so, please post it here. Ideally, please try to get the debug symbols for the Avisynth Filter and copy them to the same folder where the Avisynth Filter's dll/ax files are located. That will help make the freeze report more useful.
(0002797)
PhantomGamers   
2021-04-10 16:22   
I will provide the freeze report when I hear back from CrendKing, the avisynth filter dev, about the debug symbols.

In the meantime I'd like to pass by this message he left on the issue over there:

"I managed to find a way to repro the hang you experienced. It is because unlike EVR, when being queried for media type change, madVR calls to source filter (most likely LAV Splitter) for its connection media type. This call tries to acquire LAV filter's lock, and consequently form a chain of dead lock.

Specifically,

Main thread: holds LAV m_csFilter, blocked on LAV m_csReceive
Streaming thread: holds LAV m_csReceive, blocked on avsf m_csReceive
avsf worker thread: holds avsf m_csReceive, blocked on LAV m_csFilter <- this is where the hang occurred

In contrast, EVR doesn't seem to make that call, thus no dead lock formed.

Now, I'm not saying this is a bug in madVR. They could do it for good reason. On my hand, I could change my logic to do output format change differently. It may take some time to try different approaches. So I might release a new version with this as a known issue."
(0002798)
madshi   
2021-04-10 18:56   
Seems he already figured it out. I'm not sure why madVR asks the source filter for its connection media type in that situation. There's probably a reason but I'd have to analyse my source code to find out.
(0002920)
EternalStudent07   
2022-07-06 03:15   
Think I'm seeing this too. Lots of video freezes lately with audio still playing. Happens with different files, and semi reproducible. Near the same timestamp it'll often pause again if I jump before the current one. Often pausing then playing will have the UI suddenly play the video quickly to get to where the audio is.

MPC-HC nightly 1.9.21.2 + external updated LAVFilters 0.76.1 ("CUVID (old)" hwdec) + AviSynthFilters 1.4.3 + SVP4 4.5.0.214 with their black bar detection zoom + NVIDIA 1080ti driver 516.59 + MadVR 0.92.17 (just reset MadVR settings yesterday, no improvement) + AVISynth 3.7.2 r3661 (upgrading from default 3.5.1 improved things, but not 100%...think it'd just hang before).

Guess I'll switch to EVR next to see if that helps.

I don't see anything obvious in logs I've looked through so far (SVP for instance).

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
648 [madVR] bug crash always 2020-07-14 01:54 2022-07-01 17:16
Reporter: kathampy Platform:  
Assigned To: OS: Windows 10  
Priority: high OS Version: 2004 (19041.329)  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-BE x64 1.5.5.5274
Splitter (with version info): LAV 0.74.1
Decoder (with version info): LAV 0.74.1
Decoding: DXVA2 Native
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: windowed mode
GPU Manufacturer: NVidia
GPU Model: RTX 2080 Ti
GPU Driver Version: 451.67
Summary: display modes - freeze & crash when media player goes fullscreen
Description: I've configured "switch to matching display mode ... when media player goes fullscreen" and "restore original display mode ... when media player leaves fullscreen". I use fullscreen windowed mode and not exclusive mode.

When switching to fullscreen, the refresh rate changes as expected, but most of the time the video freezes while audio continues to play. If I leave the video frozen, eventually the audio will slow down and stutter.

I can leave fullscreen mode, but the refresh rate doesn't change back. If I terminate the media player, sometimes the refresh rate changes back.

The problem does not occur if I configure "switch to matching display mode ... when playback starts".

The problem does not usually occur when using the MPC-BE's built-in fullscreen resolution change. This also freezes once in a while, but usually only when leaving fullscreen mode.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: madVR - freeze report (1).zip (8,055 bytes) 2022-04-27 22:24
http://bugs.madshi.net/file_download.php?file_id=345&type=bug
madVR - log.zip (2,584,729 bytes) 2022-04-28 01:20
http://bugs.madshi.net/file_download.php?file_id=346&type=bug
madVR - logd3d11.zip (7,619,462 bytes) 2022-04-28 15:20
http://bugs.madshi.net/file_download.php?file_id=347&type=bug
madVR - logd3d9.zip (7,493,528 bytes) 2022-04-28 15:20
http://bugs.madshi.net/file_download.php?file_id=348&type=bug
Notes
(0002884)
thighhighs   
2022-04-27 17:26   
Similar symptoms, but in my case everything freezes completely. And this only happens when Native D3D11 decoder is used. GTX 1660 Ti, Windows 10/11
Madshi look at this please. The test build still has this problem.
(0002885)
madshi   
2022-04-27 18:01   
Try decreasing the size of the GPU and/or CPU queue, maybe?
(0002886)
thighhighs   
2022-04-27 18:54   
madshi
I've tried various madVR settings, checked system settings, etc. It had no effect. Tried to change players (MPC, PotPlayer), decoders (LAV, Pot built-in). The symptoms described above are still there. In my case this only happens if native d3d11 decoder is used. Native d3d9 decoder (DXVA2) works fine. Also d3d11 c-b work fine. I also tested native d3d11 decoder with the Pot built-in VR, it works fine. Looks like a bug in the madVR.
(0002887)
madshi   
2022-04-27 19:10   
(Last edited: 2022-04-27 19:11)
Well, it works fine for me, and seems to work fine for most other users. Fixing problems one can't reproduce are always a nightmare for every software developer.
(0002888)
thighhighs   
2022-04-27 22:24   
madshi
I don't know if it will be useful, but I did freeze report
(0002889)
madshi   
2022-04-27 22:45   
Does not seem to be stuck inside of madVR. I might be able to say more if you had PDB files for the native DXVA decoder.
(0002890)
thighhighs   
2022-04-27 23:26   
madshi
Hm... I googled and found where clsid2 say how to create dump. It can help?
madHcCtrl.DMP - https://www83.zippyshare.com/v/ht86nmwA/file.html
PotPlayerMini64.DMP - https://www2.zippyshare.com/v/rQ7zVXMk/file.html
(0002891)
thighhighs   
2022-04-28 01:20   
And log. Hope some of this helps.
(0002892)
madshi   
2022-04-28 10:31   
Looks like there's a decoder reconnect, and afterwards the media player gets stuck in paused mode.

You could try using LAV Video Decoder instead of the internal decoder.

Or try disabling the "delay playback start until render queue is full" option.
(0002893)
thighhighs   
2022-04-28 15:20   
It seems that the decoders work identically. The option has an effect. There is no more stability. If I go to full screen without pausing playback, there may be a complete freeze of the PC (hard reset). When I do this, the audio can play, but the video freezes for a few seconds (0000001:0000010). If I use the seeking keys when it is frozen, there may be a complete freeze of the pc.

New logs. To test, I chose this scenario: open a file, pause, go to full screen, resume playback, pause again, exit full screen, play again, then close the player. LAV filters are used. Also did a test with native d3d9 which works fine, hope you can see the difference.
(0002896)
madshi   
2022-04-30 10:26   
Instability like this can have multiple causes. One common cause could be running out of GPU RAM. Also, some decoders don't like having too many "active" frames at the same time. For both reasons, I'd recommend trying with much smaller CPU and GPU queues, to check if that helps. Try the smallest queue sizes possible. Also, keep "delay playback start" disabled for now. Finally, try with smooth motion disabled, as a test. I don't know if any of that helps, but since most other users (including myself) don't seem to have this problem, I'm not sure what else I can say.
(0002897)
thighhighs   
2022-04-30 17:21   
madshi
As the user above said, the key is in the "switch to matching display mode... when playback starts" option. But this does not allow me to use madVR comfortably. BTW, I'm pretty sure the user above is actually using native d3d11, but was unable to select that on the form, as someone wrote in posts here. It looks like the advantage of native d3d11 is not the "better stability".
Maybe someday the users or developers of LAV and MPC will provide more useful information and you can fix it.
(0002912)
pcp7   
2022-07-01 02:28   
I've the exact same problem, switching the display rate works fine, but only if stay in windowed mode. Switch to full screen and the video freezes, and won't play. Turning off the switch display rate makes everything work fine. I'm using RTX3080 and MPC
(0002913)
madshi   
2022-07-01 11:00   
See my reply above, those tests are still useful.
(0002914)
thighhighs   
2022-07-01 13:39   
madshi
I said above that the "...when playback starts" seems like a workaround. But at some point I noticed that the video memory usage increases with each new file opened, 2.3 -> 3.5 and more (memory leak?). This happens after using D3D11 Native (C-B work fine), and stops after restarting the player.
I also noticed that PotPlayer, MPC, KMP - the result is the same. MPC-BE - works differently. D3D11 Native still doesn't work correctly, but the symptoms are different. In all scenarios it only happens to madVR. But does it make sense to consider the problem from the side of the player?
(0002915)
madshi   
2022-07-01 13:49   
Well, I did make a number of other suggestions... ;-)
(0002916)
thighhighs   
2022-07-01 15:03   
madshi
For me there is no solution in settings. I have tried different combinations. Two options affect symptoms: "switch to matching display mode..." and "delay playback start". But it was not possible to set up to play without problems.
In the google, I met a discussion of similar symptoms with the MPC player. Now I can't find it... There the user did a debug. As a result, the developer who gave the debug versions said he couldn't fix it. It would not be difficult for me to contact the developers of MPC-BE (no language barrier), but with a high probability the result will be the same.
(0002917)
madshi   
2022-07-01 15:08   
Well, delay playback start is a tricky option, it can cause instability. So if it helps, you should be able to disable this option without losing much.

Is there a reason you can't simply use copyback? It has several advantages over native, e.g. black bar detection. The only true reason to use native is if copyback is too slow (stuttering).
(0002918)
thighhighs   
2022-07-01 16:45   
madshi
D3D9 CB or D3D11 CB is enough for me. But I consider quality/gpu load for my normal settings and maybe D3D11 Native would help to upgrade to heavier settings for free in some cases. It's hard to appreciate its benefits when it's not working properly. But in general, at the momment there is nothing critical in using a different decoding method in my case.
(0002919)
madshi   
2022-07-01 17:16   
I don't think Native decoding would give you much extra GPU power. The cost of copyback is simply the travel back of the video frames from GPU RAM to system RAM. That's usually not something which slows down GPU rendering. The RAM transfer is done in a different thread, and I think it's done in hardware by DMA, or something like that.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
655 [madVR] bug major always 2020-12-10 18:26 2022-06-03 12:21
Reporter: huhn Platform: x64  
Assigned To: madshi OS: win 10  
Priority: normal OS Version: 19041  
Status: assigned Product Version:  
Product Build: Resolution: reopened  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 92.17 with madvrhdrmeasure159
Media Player (with version info): mpc-be 1.5.6.5763
Splitter (with version info): 1.5.6.5763
Decoder (with version info): 1.5.6.5763
Decoding: DXVA2 Native
Deinterlacing: none (progressive)
DXVA2 Scaling Active: yes
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: 1650
GPU Driver Version: 2020.12.1
Summary: madVR trys to use HDR with HLG metadata
Description: the internal mpc-be filter send HDR HLG metadata to madVR and madVR actually try to use it as HDR10:

VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000081
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 16
dwPictAspectRatioY: 9
dwControlFlags: 0x82422581
- VideoChromaSubsampling: 5 (MPEG-2)
- NominalRange : 2 (16-235)
- VideoTransferMatrix : 4 (BT.2020)
- VideoLighting : 0
- VideoPrimaries : 9 (BT.2020)
- VideoTransferFunction : 16 (ARIB STD-B67 (HLG))
dwReserved2: 0x00000000

the result is a very very bright image which i highly doubt is correct.
Tags:
Steps To Reproduce: play an HLG file with MPC-BE internal filter.
done that'S all it will even trigger HDR->SDR conversation.
Additional Information: i currently have the stable 0.92.17 but there are reports of 114 with the same "issue".
Attached Files:
Notes
(0002762)
madshi   
2020-12-26 00:08   
Should be fixed in the latest test builds (see AVSForum).
(0002763)
huhn   
2020-12-26 00:45   
fixed thanks.

if you didn't notice mpc-be mpcVR added HLG to HDR10 with great success:
https://github.com/Aleksoid1978/VideoRenderer/blob/0.5.0/Shaders/d3d11/ps_convert_hlg_to_pq.hlsl

i will inform nev that your renderer now excepts HLG metadata correctly so he doesn't have to block it for madVR anymore.
(0002908)
metamerism   
2022-06-03 03:22   
Issue: MadVR plays HLG files by converting it to an SDR image meant for 100 nits (I assume)

Desired behaviour: Tonemap HLG to display with consideration of target peak nits

My display is a 500 nit SDR OLED DCI P3 (XPS 7590), and PQ tonemaps beautifully to give an HDR effect with 500 nits target.
The HLG tonemapping is overly bright for 500 nits, and there is a lack of HDR pop and contrast. (I compared with an iPhone X. madVR PQ matches iPhone X in terms of brightness).

I also compared madVR with mpv (target 500 nits) on the same display. With PQ, madVR matches mpv. However, in HLG madVR is overly bright while mpv matches the iPhone X.

Therefore I assume the HLG tonemapping is targetting a peak brightness of 100 nits.
(0002909)
huhn   
2022-06-03 12:21   
HLG in madVR is not tonemapped at all. madVR uses the official fallback of HLG where the image is taken as is and instead of hlg gamma is used without any math. if you like to say it's for "120 nits".

it looks bad but is working as intended to the HLG spec.
the bug report here is about something different that was related to meta data with was used for something different in the past and now for HLG and madVR wasn't updated to the new correct meta data so was doing weird things.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
687 [madVR] bug major always 2022-06-02 13:54 2022-06-02 13:54
Reporter: Masaiki Platform:  
Assigned To: madshi OS:  
Priority: normal OS Version:  
Status: confirmed Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.92.17
Media Player (with version info): mpc-be x64 1.6.1 mpc-hc 1.9.3
Splitter (with version info): insider splitter or lav 0.76.1
Decoder (with version info): insider Decoder or lav 0.76.1
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia + Intel
GPU Model: not related
GPU Driver Version: not related
Summary: xysubfilter which implement SubRenderIntf fails to follow the speed change of the video player when loading external subtitles
Description: xysubfilter which implement SubRenderIntf fails to follow the speed change of the video player when loading external subtitles
i tested it with mpc-be, mpc-hc and renderer madvr, mpcvr
potplayer works well with madvr but i can't debug it.
one possible solution is that SubRenderIntf add a playback speed field to mandatory fields
Tags:
Steps To Reproduce: choose xysubfilter as subtitle renderer
either https://github.com/pinterf/xy-VSFilter or https://github.com/Masaiki/xy-VSFilter

speed up the video with a external subtitle. for example x2.0.
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
686 [madVR] bug minor always 2022-05-29 13:43 2022-05-31 10:07
Reporter: MatMK Platform: PC  
Assigned To: madshi OS: Windows  
Priority: low OS Version: 11  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC 1.9.20
Splitter (with version info): LAV Splitter 0.76.1
Decoder (with version info): LAV Decoder 0.76.1
Decoding: DXVA2 Native
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: windowed mode
GPU Manufacturer: NVidia
GPU Model: GTX 1060
GPU Driver Version: 519.59
Summary: Czech flag incorrect
Description: Czech flag icon [cs/cze] in the selector of track languages is not showing the actual flag of Czechia.
Tags:
Steps To Reproduce: 1) Play any media file with Czech [cze] audio or subtitle track
2) Switch the player to window mode so you can access system tray
3) Left click madVR icon in system tray once
Additional Information: https://en.wikipedia.org/wiki/Flag_of_the_Czech_Republic
Attached Files: madvr czech flag.png (12,583 bytes) 2022-05-29 13:43
http://bugs.madshi.net/file_download.php?file_id=349&type=bug
png

czech flag wikipedia.png (10,570 bytes) 2022-05-29 13:43
http://bugs.madshi.net/file_download.php?file_id=350&type=bug
png
Notes
(0002907)
madshi   
2022-05-31 10:07   
Thanks, hopefully fixed in the next build.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
542 [eac3to] bug major always 2018-03-02 14:29 2022-05-09 08:38
Reporter: bananajoe25 Platform:  
Assigned To: madshi OS:  
Priority: urgent OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.34
Summary: Sync issues when demuxing UHD BluRays with seamless branching.
Description: when demuxing the UHDs of Straight Outta Compton Unrated (2015), Coco (2017), Bad Santa 2 Unrated (2016), Close Encounters of the Third Kind (1977), Independence Day (1996), and many other UHDs, Audio and subtitles will get out of sync. eac3to "2ndpass/fixing" will make it go out of sync. sometimes the audio and subtitles will get out of sync even when using "-no2ndpass". for some reason -no2ndpass doesn't apply to subtitles. I've been using MakeMKV in the meantime. No sync issues with that program.
Tags:
Steps To Reproduce: Coco (2017)
just try demuxing the 800.mpls playlist. Atmos won't be able to get "fixed", but the ac3 track will. when you merge the streams with mkvmerge, you can hear atmos is in sync, but the ac3 track isn't. subtitles are also out of sync.

Straight Outta Compton (2015)
I've been trying to demux it with no2ndpass and 2ndpass. both times audio and subtitles are out of sync.

Additional Information: eac3to is useless for UHD BluRays that have seamless branching. eac3to can demux UHD BluRay Playlists with just one m2ts file completely fine no sync issues.
Attached Files: UHD_Dolby_Audio.zip (2,281 bytes) 2018-04-25 09:25
http://bugs.madshi.net/file_download.php?file_id=282&type=bug
UHD_DDPlus.zip (4,225 bytes) 2018-04-26 18:28
http://bugs.madshi.net/file_download.php?file_id=283&type=bug
Notes
(0002280)
SLKabaker   
2018-04-24 04:25   
eac3to does not have a problem with UHD and Seamless Branching for extracting Chapter Information and Video Streams. The problem seems to be with extracting Dolby TrueHD and Dolby Atmos (specifically with creating the embedded AC-3). The root of this problem looks to be with "libav/ffmpeg"; when using "-nero" (Nero 7 with Blu-ray/HD DVD Plug-in) there is no error. I was able to successfully extract Chapters, Video and Audio from an UHD with Seamless Branching by either doing the Chapters & Video without Audio or all three by including "-nero". Only when trying to extract audio and using the default "libav/ffmpeg" does the extraction have errors & fail. I have not tried a disc with DTS (DTS-HD MA or DTS-X), yet (ArcSoft or "libav/ffmpeg").
(0002281)
SLKabaker   
2018-04-25 09:36   
I decided to double check that it was "libav/ffmpeg" causing the problem. So, I attempted to extract the Dolby TrueHD (Atmos) track to LPCM (W64) from an UHD with Seamless Branching. It, still, had all the same errors. I uploaded the LOGs from using Nero and "libav/ffmpeg".
(0002283)
SLKabaker   
2018-04-26 18:35   
I have UHD Blu-rays with E-AC-3 Audio as well. I decided to see if, along with Dolby TrueHD (Atmos), eac3to had an issue with UHD Dolby Digital Plus. It turns out, yes, that eac3to cannot extract E-AC-3 Audio from UHD Blu-ray Discs. The UHD Blu-ray Discs with E-AC-3 Audio are, also, seamless branching discs. I do not have any UHD Blu-rays with E-AC-3 Audio that are not seamless branching. So, I cannot verify if this is exclusive to seamless branching like Dolby TrueHD (Atmos) is. However, it seemed likely since both are Dolby. I uploaded the logs from my attempts to extract E-AC-3 Audio with and without Nero; as well as, extracting the AC-3 Core.
(0002456)
nautilus7   
2018-12-28 13:16   
(Last edited: 2018-12-28 19:25)
I have the same issue. It happens with seamless branching discs. eac3to detects gaps for every kind of track.

-no2ndpass seems to give correct results (in sync) for ac3 and dts tracks. I was able to compare them with the audio tracks (same format) extracted from a blu-ray disc of the that movie. dts and ac3 tracks from uhd bd and bd seemed identical.

For truehd (with atmos) eac3to doesn't produce correct output (in sync). It's confirmed. -no2ndpass doesn't make any difference since gaps cannot be fixed in the truehd bitstream.

For e-ac3 I was not able to test if with -no2ndpass the output is correct.

Please madshi fix this! eac3to is one of a kind tool and provides functionality no other software does.

Thanks for the support!

(0002598)
deathbringer   
2019-12-07 16:55   
Having the same problem with the Dolby Atmos track from the seamless branching BD and UHD of Baywatch (https://www.amazon.it/Baywatch-Blu-Ray-4K-UltraHD/dp/B072FP6TBN/). The audio gets mor out of sync with the video, the longer the video lasts.

I came here, trying eac3to as a workaround suggested by Moritz Bunkus from MKVToolNix (https://gitlab.com/mbunkus/mkvtoolnix/issues/2684).

According to Nevcairiel from LAV Filters, the TrueHD streams have a timestamp, which has to be continuous and needs to be patched when (de)muxing from a seamless branching disc. (https://github.com/Nevcairiel/LAVFilters/issues/282)
(0002898)
kasper93   
2022-05-02 01:11   
For reference, here is open source tool that correctly stitches truehd stream https://github.com/domyd/mlp
(0002899)
madshi   
2022-05-07 11:38   
Can you guys list a couple of UHD discs which are well suited for me to analyze this problem?
(0002900)
kasper93   
2022-05-07 16:49   
I can provide some of the titles to consider:
Cars (2006)
Close Encounters of the Third Kind (1977)
Dirty Dancing (1987)
Encanto (2021)
Eternals (2021)
F9 The Fast Saga (2021)
Frozen II (2019)
Halloween Kills (2021)
Luca (2021)
Midway (2019)
Monsters University (2013)
Onward (2020)
Pitch Black (2000)
Psycho (1960)
Raya and the Last Dragon (2021)
Requiem for a Dream (2000)
Rogue One (2016)
Star Trek II: The Wrath of Khan (1982)
Star Wars: Episode IX - The Rise of Skywalker (2019)
The Suicide Squad (2021)
Thor: Ragnarok (2017)
True Romance (1993)
Turning Red (2022)
Underworld (2003)

While mlp (which I linked) looked promising, seems like author is not maintaining it anymore and according to reports it is not always working. I think nowadays DGDemux is goto tool. But people still love eac3to! :)
(0002901)
madshi   
2022-05-07 16:58   
I'll see what I can do. I'm also considering open-sourcing eac3to. Though, it's Delphi code, not C++, and the source code is not in great shape (due to constant lack of time).
(0002902)
nautilus7   
2022-05-08 20:58   
Hi madshi, hope you're doing well.

This opensource tool claims to doe the best job in correcting truehd / mlp streams. https://github.com/domyd/mlp

Regards, nautilus7
(0002903)
madshi   
2022-05-08 21:33   
Yeah, kasper93 already mentioned that tool, but he also said there are reports that it doesn't always work. @kasper93, in which way does it not always work? Does it crash? Or are there still audible pops/noises? Or does sync get lost? Do you have information about which movie the tool has problems with? Maybe a link to a forum?
(0002904)
madshi   
2022-05-08 23:05   
New build available on doom9. The new build *only* tries to get rid of any TrueHD audio artifacts caused by seamless branching. It does not do any sync related stuff. Also, I don't know why eac3to detects gaps in various audio tracks when handling UHD Blu-Rays. However, the new build now auto-disables 2nd pass gap processing for Blu-Rays and UHD Blu-Rays, since that's usually not needed for this type of content, anyway.
(0002905)
kasper93   
2022-05-09 00:37   
@madshi, About mlp, you can look at the github issues. Specifically the last comment of author (from Dec 6, 2020) https://github.com/domyd/mlp/issues/3#issuecomment-739534770 (where he mentions his tool is missing audio samples, while makemkv "somehow magically" extract them) and since then there wasn't any update. Because of that, even tho tool looks promising it never got adopted by community, simply because DGDemux and MakeMKV are more compatible and people trust them more to produce proper output. (btw. from MakeMKV v1.15.4 changelog "Implemented seamless joining of TrueHD streams with overlapping frames based on Dominik Mydlil's idea") so the method is working, just there are other issues on top.

Sorry, I don't have more info, I haven't really dive into the issue.
(0002906)
madshi   
2022-05-09 08:38   
Ok, let's leave it to users to test these issues with eac3to. I don't think eac3to should have the issue that mpl seems to have.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
681 [madVR] bug minor always 2022-02-23 22:15 2022-04-10 21:05
Reporter: DMU Platform:  
Assigned To: madshi OS:  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.92.17
Media Player (with version info): mpc-hc 1.9.19
Splitter (with version info): LAV 0.76.0.2
Decoder (with version info): LAV 0.76.0.2
Decoding: DXVA2 Copyback
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: windowed mode
GPU Manufacturer: AMD
GPU Model: APU R5 4650G
GPU Driver Version: last
Summary: The render time in test builds is much higher than in the release version in HDR passthrough mode.
Description: See FinalStep.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: madVR_FinalStep.png (2,726,728 bytes) 2022-02-23 22:15
http://bugs.madshi.net/file_download.php?file_id=340&type=bug
release_test.png (2,632,266 bytes) 2022-04-10 08:20
http://bugs.madshi.net/file_download.php?file_id=342&type=bug
release_VS_test_FinalStep.png (3,484,719 bytes) 2022-04-10 16:25
http://bugs.madshi.net/file_download.php?file_id=343&type=bug
dith.png (108,456 bytes) 2022-04-10 18:00
http://bugs.madshi.net/file_download.php?file_id=344&type=bug
png
Notes
(0002872)
EternalStudent07   
2022-04-09 04:31   
Is this just debug vs. release build differences? Or are the test builds using typical optimizations?

Often test builds include debug symbols and lack some optimizations to make debugging issues easier. Though those wouldn't be for performance testing or validation.
(0002875)
madshi   
2022-04-09 09:39   
That is surprising. Does it still happen if you turn smoothMotion off? I wonder if it's related. I usually test with it off.
(0002878)
DMU   
2022-04-10 08:20   
Checked. Disabling SM does not solve the issue.
(0002879)
madshi   
2022-04-10 10:05   
Just to be safe, can you double check if it's still FinalStep which is consuming the extra time?
(0002880)
DMU   
2022-04-10 16:25   
Rechecked twice. It's definitely FinalStep.
But I noticed one oddity - with the ShowRenderSteps option, the time difference is not so significant, but still there.
(0002881)
madshi   
2022-04-10 17:15   
Ok, thanks. Which dithering method are you using? Dithering is performed as part of FinalStep, so I wonder if that could be a factor here. If you're using error diffusion, can you try using a different method instead, to see if that removes or reduces the higher rendering time?
(0002882)
DMU   
2022-04-10 18:00   
In all cases I used Ordered Dithering.
Disabling dithering does not solve the issue. 2ms vs 8ms in the FinalStep.
(0002883)
madshi   
2022-04-10 21:05   
Ok. I'll try to reproduce it here. I'm extremely busy atm, though, so it might take a while.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
641 [eac3to] bug tweak always 2020-04-28 08:29 2022-04-09 09:46
Reporter: begna112 Platform: Windows  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.34
Summary: Add compact & silent output options. Remove process completed/error noises.
Description: When using eac3to programmatically, I would like less verbose options.

For example:
py -3 "E:\Tools\audio\extract_audio_eac3to.py" -I "E:\BDMVs\Full Metal Panic\[BDMV] Full Metal Panic! Invisible Victory [BDBOX1~3Fin]\BD\[KAXA-7637][FULLMETAL_PANIC_IV_1]\BDMV\STREAM\00000.m2ts"
M2TS, 1 video track, 4 audio tracks, 0:24:11, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)
2: RAW/PCM, Japanese, 2.0 channels, 24 bits, 48kHz
3: DTS Master Audio, Japanese, 5.1 channels, 24 bits, 48kHz
   (core: DTS, 5.1 channels, 1509kbps, 48kHz)
4: DTS Master Audio, Japanese, 2.0 channels, 24 bits, 48kHz
   (core: DTS, 2.0 channels, 768kbps, 48kHz)
5: DTS Master Audio, Japanese, 2.0 channels, 16 bits, 48kHz
   (core: DTS, 2.0 channels, 768kbps, 48kHz)
a02 Extracting audio track number 2...
a02 Reading RAW/PCM...
a02 Swapping endian...
a02 Writing WAV...
a02 Creating file "E:\BDMVs\Full Metal Panic\[BDMV] Full Metal Panic! Invisible Victory [BDBOX1~3Fin]\BD\[KAXA-7637][FULLMETAL_PANIC_IV_1]\BDMV\STREAM\00000_2.wav"...
a02 The original audio track has a constant bit depth of 24 bits.
Video track 1 contains 34792 frames.
eac3to processing took 19 seconds.
Done.

All of this text should be confined to a verbose output level.

Proposed arguments for modified behavior:

- default: current behavior
- compact: returns a compact string or json of output information on success, returns exit codes for success or failure.
- silent: returns only exit codes for success or failure.
- verbose: current behavior.
- progress: include the progress bar, regardless of the output verbosity.

Additionally, please include an option to remove the loud beep and alarm sounds for success and failure. Honestly, you might consider removing them entirely, as there is no means of controlling the volume on it and it's very loud.
Tags:
Steps To Reproduce: use eac3to
Additional Information:
Attached Files:
Notes
(0002856)
begna112   
2022-01-28 18:12   
Any chance this will actually get implemented? A json output that can be parsed by wrappers would be extremely useful.
(0002877)
madshi   
2022-04-09 09:46   
Sorry for the late reply. Currently eac3to is mostly in maintenance mode. I plan to release a new build with some tiny improvements "soon", but I don't plan to do any real changes atm because I'm simply too busy with other projects atm. I'm considering making eac3to open-source, though. Not sure if that would be useful, though, because it's Delphi source code, not C++, and it's poorly documented and structured, due to notorious lack of time.

You can get rid of the success/failure sounds simply by deleting the wav files. eac3to won't mind. You can also replace the wav files with something different, if you prefer.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
650 [madVR] bug crash always 2020-08-07 04:43 2022-04-09 09:42
Reporter: TBlazeWarriorT Platform: PC (GTX 750 1GB, i5 9400F, 16GB)  
Assigned To: OS: Windows  
Priority: normal OS Version: Windows 10  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version:
Media Player (with version info):
Splitter (with version info):
Decoder (with version info):
Decoding:
Deinterlacing:
DXVA2 Scaling Active:
Aero / Desktop Composition:
Problem occurs with mode:
GPU Manufacturer:
GPU Model:
GPU Driver Version:
Summary: 'ACESS VIOLATION' crash when "image upscaling = NGU sharp" and using SVP in fullscreen
Description: Error message: https://imgur.com/5xOxmqR
Happens when I turn this on: https://i.imgur.com/QKjBqNZ.png
FFMPEG tooltip info: https://imgur.com/Fo98flk

The playback always crashes, almost instantly when certain MadVR settings are on.
Seems to only happen when I have SVP on (SmoothVideoProject 4.0.0-6), I'm using MPC-HC 64-bit 1.9.6 and madVR 0.92.17.

This might be a SVP bug, but seems to be directly affected by madVR. I downloaded madVR and MPC-HC through the SVP mainteinance tool.

Seems related to http://bugs.madshi.net/view.php?id=527
Tags:
Steps To Reproduce: The bug seems to only happen if I meet all 3 of the following requirements:
- Have SVP on (performing frame rate conversion)
- Have MPC-HC on a big window so upscaling kicks in (for example, fullscreen a 720p video)
- Have "Image Upscaling" set to "NGU Sharp" in settings
- Might only happen on my CPU/GPU setup (but probably affects all/most setups), can't test.

Closing SVP, watching in windowed mode, or changing Image Upscaling to Jinc either greatly lowers the chance for the crash to happen (like from 99% per second to 1%) or fully stops it (didn't test for long periods of time).
Additional Information: Error message: https://imgur.com/5xOxmqR
Happens when I turn this on: https://i.imgur.com/QKjBqNZ.png
FFMPEG tooltip info: https://imgur.com/Fo98flk

I'm a basic user, I don't know what the decoding, splitter and decoder fields below are, I hope I typed the right thing but probably not. Don't know how to check.

RELATED TO: http://bugs.madshi.net/view.php?id=527
Attached Files:
Notes
(0002727)
TBlazeWarriorT   
2020-08-07 04:49   
The website duplicated my other issue ( http://bugs.madshi.net/view.php?id=651 ). I tried to upload a text file, it said it wasnt published because .txt was invalid and asked me to press back on my browser and change it. I made minor changes to this bug report and submitted again, but then realized the website published both for some reason.
(0002729)
madshi   
2020-08-07 08:48   
Your GPU has rather little RAM, maybe that's causing the issue? I'm not sure, just guessing. You could try lowering the size of the CPU Queue and GPU Queue settings in the madVR settings under "rendering -> general settings".
(0002730)
TBlazeWarriorT   
2020-08-10 05:34   
Nope, GPU Queue at minimum (4) and CPU Queue at 8 (half the default, cause my CPU is decent) and it still crashes if I set Chroma Upscaling and Image Upscaling to something complex/heavy (maxed out NGU).
This time, it became a slideshow for a few seconds (MPC almost crashing, displaying 1 frame per second) and then crashed with the same error.
Using Jinc on both still works fine
(0002873)
EternalStudent07   
2022-04-09 05:09   
I just tested changing my GPU Queue to 8 vs. 4, and my GPU memory usage didn't change at all. I seemed to use about 1GB just for this playback. I have an 11GB card, and it went from 0.3-0.4GB used with nothing running to 1.4-1.5GB playing a 720p video on my 1440p screen (Windows 10, MPC-HC + LAV Filters + SVP4).

I'd guess this error might be what happens when things run too slow. That some timeout or assumption fails.

I am a little surprised this is running OpenCL on an NVIDIA card. Last I knew their CUDA specific performance and efficiency was much better. But that'd take 2 code bases for AMD/Intel vs. NVIDIA.
(0002876)
madshi   
2022-04-09 09:41   
(Last edited: 2022-04-09 09:42)
Looking at the screenshot, the crash is not in madVR, but in OpenCL, which madVR does not use. So you might want to report this issue to the SVP devs?

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
624 [madVR] bug crash always 2019-10-30 20:01 2022-04-09 05:13
Reporter: Serpic Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC 1.7.13 (e37826845)
Splitter (with version info): LAV 0.70.2.1-git
Decoder (with version info): LAV 0.70.2.1-git
Decoding: DXVA2 Native
Deinterlacing: none (progressive)
DXVA2 Scaling Active: <select>
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: GTX 980
GPU Driver Version: 26.21.14.3648
Summary: MPC-HC crashes after starting the video.
Description: MPC-HC crashes after starting a video with madVR. Without it, everything works. On version 1.8.8 I received this error.
https://cdn.discordapp.com/attachments/317922941205610531/639165974779789312/unknown.png
On version 1.7.13, program simply closes without errors.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002573)
madshi   
2019-10-30 23:31   
Unfortunately the crash information is so limited that I can't really do anything about it. You could try using DXVA2 copyback instead of native decoding, but the chance that this fixes the crash is rather small.
(0002575)
Serpic   
2019-10-31 10:50   
Sometimes the problem is solved by rebooting PC, sometimes not. I still do not understand why this is happening.
(0002576)
madshi   
2019-10-31 17:30   
I've no idea, either. Most users don't seem to have this problem.
(0002578)
Serpic   
2019-11-06 23:28   
So far, everything is fine, but here is the last dump.
https://cdn.discordapp.com/attachments/317922941205610531/641765718379200553/mpc-hc64.exe.2548.rar
(0002579)
madshi   
2019-11-12 16:50   
Unfortunately that's a crash dump for MPC-HC, not for madVR. Normally, when madVR crashes, it produces a nice crash report for me. Which doesn't seem to happen here (for unknown reasons).
(0002604)
cgbug   
2019-12-23 19:55   
These kind of crashes are often caused by third party software which "hook" their code into other processes.

For example your virusscanner. But also NVIDIA 3D Vision Driver, RivaTuner, and more other similar tools.
(0002874)
EternalStudent07   
2022-04-09 05:13   
I was wondering how stable the system was in general. I used to get random crashes in programs that needed processing power (games mostly) when I had RAM issues. Seemed stable otherwise, like browsing websites.

Memtest86+ run overnight helped uncover my sporadic issue (1-2 failed passes out of 4). Turned out I had to tweak a BIOS setting (in memory, set fast boot to disabled...makes it run "training" for longer), or run the memory slower than rated (1333MHz vs. 1600MHz).

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
677 [madVR] bug major always 2021-11-23 05:12 2022-04-09 04:27
Reporter: yudixiansheng Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: latest release v0.92.17
Media Player (with version info): MPC-HC MPC-BE
Splitter (with version info): LAV
Decoder (with version info): LAV
Decoding: Software
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: RTX3060
GPU Driver Version: 496
Summary: madvr does not work on the latest NVIDIA drivers
Description: After installing the latest NVIDIA driver 496.76 on my computer, I can't use madvr, other renderers work fine. It is known that NVIDIA 496.76 driver has newly added NVIDIA Image Scaling
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002844)
madshi   
2021-11-23 13:44   
(Last edited: 2021-11-23 13:44)
Could you please be a bit more specific? What happens exactly if you try to use madVR? Does your computer explode? Do you get a blue screen of death? Does madVR crash? Do you get bad image quality?

Are you using Windows 10 or Windows 11?
(0002845)
yudixiansheng   
2021-11-23 14:12   
I am using WIN10 19043.1237, specifically it shows that it is opening when it is opened, then it automatically closes the player, MPC-HC and MPC-BE have tried. If you use the previous driver is able to play normally.
(0002846)
madshi   
2021-11-23 14:29   
Oh ok, can you try updating the official v0.92.17 build with the latest test build files from this zip?

http://madshi.net/madVRhdrMeasure141.zip

Still same problem?
(0002847)
yudixiansheng   
2021-11-23 15:47   
Yes, the same problem again
(0002848)
madshi   
2021-11-23 15:59   
Ok, I'll try the new drivers at some point in the near future. I could be Nvidia's fault, or mine, I've no idea.
(0002849)
yudixiansheng   
2021-11-27 06:32   
how about the test
(0002850)
yudixiansheng   
2021-11-28 16:59   
HDR through the display can add a function, the brightness of the film information is not uniform, the performance in windows will be overexposed, if you can set the brightness through should be much better
(0002851)
madshi   
2021-11-30 16:07   
No time yet. But "soon".
(0002857)
spmad   
2022-02-02 13:19   
Hi
May I ask what exactly is this?
http://bugs.madshi.net/view.php?id=677#c2846
Is something like a beta update to 09217?
Does by any chance fixes the win11 problems?
Thanks
(0002871)
EternalStudent07   
2022-04-09 04:27   
Latest NVIDIA drivers (512.15) with a 1080ti work fine for me in 19044 Windows 10 and MPC-HC (with SVP4). Maybe it's the new "Optical Flow" feature for newer cards? Mine doesn't have it (Pascal chip).

Oh, I use HW accelerated decoding normally too. I just played around with d3d11 vs cuvid in LAV (cuvid used 5-10% less CPU).

I'll mention the last few driver versions before this worked fine for me too.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
680 [madVR] bug minor always 2022-02-20 05:55 2022-02-20 05:55
Reporter: pragmatick Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.92.17.0
Media Player (with version info): Pot Player
Splitter (with version info): Haali
Decoder (with version info): lav
Decoding: DXVA2 Native
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: fullscreen exclusive mode
GPU Manufacturer: NVidia
GPU Model: 3080
GPU Driver Version: 511.79
Summary: FSE cannot trigger due to external program - help with debug would be appreciated
Description: I'm having the same problem as http://bugs.madshi.net/view.php?id=541 but with the successor of that program.

The developer asked me for similar debug output "see what window it thinks it's seeing".

I enabled debug mode for madvr but the log does not contain any output similar to the one in the linked issue. Could you please take a look at the log and check if you find any helpful information? Thank you.
Tags:
Steps To Reproduce: Run https://www.strokesplus.net/, enable FSE.
Additional Information:
Attached Files: madVR - log.zip (2,165,215 bytes) 2022-02-20 05:55
http://bugs.madshi.net/file_download.php?file_id=339&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
678 [madVR] bug feature always 2021-12-05 17:18 2021-12-16 23:39
Reporter: kristoffer Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: beta 141
Media Player (with version info): mpc-hc 1.9.17
Splitter (with version info): LAV filters 0.75.1.10
Decoder (with version info): LAV filters 0.75.1.10
Decoding: DXVA2 Copyback
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: RTX 2070 Super
GPU Driver Version: Studio driver 472.47
Summary: Missing profile rules for colour space
Description: Now that wide gamut sdr is a thing, it would be preferable to have profiles selected based on colourspace or standard gamut / wide gamut.

As an example:
Today I have this profile rule:
if (HDR) "bt2020"
else "standard gamut"

The bt2020 profile has the send bt.2020 checkbox ticked which makes the tv change into wide gamut mode.
It also has a 3Dlut made with wide gamut and max brightness.
The standard gamut profile does not have the send bt.2020 checkbox ticked and has a 3dlut made these settings and "normal brightness"

It would be nice to be able to have a profile auto selected with wide gamut settings and its own 3dlut but for sdr content.
Tags: bt2020, profile, rules, sdr, wide gamut
Steps To Reproduce: Use the profile rule above
(if (HDR) "bt2020"
else "standard gamut")

and load a file with standard dynamic range, but wide gamut colors.
See the standard gamut profile selected.
Additional Information:
Attached Files:
Notes
(0002852)
madshi   
2021-12-07 16:15   
There is a variable called "gamutindex" which you should be able to use for this purpose, I think. It's an integer/cardinal number variable, with the following values:

0 = SMPTE C, 1 = EBU/PAL, 2 = BT.709, 3 = DCI-P3, 4 = BT.2020
(0002853)
huhn   
2021-12-07 18:54   
could you please add this and if present other missing "variables" to the profile rules?
(0002854)
kristoffer   
2021-12-15 22:08   
Thank you!
This works.
I'm using this rule to make MadVR do what I need.

if (HDR) "hdr"
elseif (gamutindex = 3) or (gamutindex = 4) "bt2020"
else "standard gamut"

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
676 [eac3to] bug minor have not tried 2021-10-28 02:10 2021-11-09 20:26
Reporter: Bender Platform: Desktop PC  
Assigned To: madshi OS: Windows 10 1809 LTSC  
Priority: normal OS Version: 17763.2268  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.34
Summary: Access Violation in eac3to
Description: I have installed yesterday 2 Updates from Windows Update. KB5006744 and KB5006847.
On this Day in start a Command-Prompt and give in eac3to.exe, i press enter and the Programm gives me an Access Violation back.

On other PC with not this Windows Updates works all fine, and the Days before this Updates installed on this Machine works eac3to fine.

I have included the Bugreport.txt.
Tags:
Steps To Reproduce:
Additional Information:
System Description AMD Ryzen 7 1800X, 16GB RAM, Geforce GTX 1060 6GB
Attached Files: bugreport.zip (5,741 bytes) 2021-10-28 02:12
http://bugs.madshi.net/file_download.php?file_id=338&type=bug
Notes
(0002836)
Bender   
2021-10-28 02:12   
(0002837)
Bombara   
2021-11-06 03:33   
I also have this issue. I would suggest changing the severity since this prevents using eac3to at all.
(0002838)
madshi   
2021-11-06 10:03   
I'll create a new build soon.
(0002841)
Bombara   
2021-11-09 19:54   
After installing updates KB5007206 KB5007884 today eac3to is working again!
(0002842)
madshi   
2021-11-09 19:55   
Good to hear!
(0002843)
Bender   
2021-11-09 20:26   
eac3to works again on my System, only with KB5007206, KB5007884 don't gives for my System.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
675 [madVR] bug minor always 2021-09-11 20:47 2021-09-11 20:47
Reporter: huhn Platform: x64  
Assigned To: OS: win 11  
Priority: normal OS Version: dev 22449  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 92.17 it has TM curves but i dont know the version
Media Player (with version info): mpc-hc
Splitter (with version info): lav filter 75.1
Decoder (with version info): lav filter 75.1
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: AMD
GPU Model: 5700 XT
GPU Driver Version: 21.8.1
Summary: blackbar detection always crops even with crop disabled.
Description: the black bar detection is cropping regardless of setting which i guess is an issue for a PJ user because of overscan so they don't want this to happen when the AR difference is not as big between like 1.85:1 instead of 16:9
Tags:
Steps To Reproduce: take a 21:9 file in a 16:9 encoded video.
use software decode
disable all settings in zoom controls except "automaticly detect hardcoded blackbars".

set your player to touch from outside.
it will crop them in this case. the player isn't notified so how does it even know.
crop blackbars setting isn't selected isn't it supposed to do this only with it active or zoom away?
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
673 [madVR] bug minor always 2021-07-31 08:22 2021-07-31 13:23
Reporter: Ryrynz Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): 1.5.8
Splitter (with version info): 0.75.1
Decoder (with version info): 0.75.1
Decoding: <select>
Deinterlacing: <select>
DXVA2 Scaling Active: <select>
Aero / Desktop Composition: <select>
Problem occurs with mode: <select>
GPU Manufacturer: <select>
GPU Model: Geforce 1080
GPU Driver Version: 385.28
Summary: Profile variable filepath doesn't work with mounted ISO images
Description: If mounting a DVD ISO to X drive, the path of the mounted iso isn't found and thus a profile such as
if (srcHeight <= 480) and (filepath = "X:\*.*") "480"
Does not load the profile "480"
The path is parsed by the DVD navigator correctly via IFileSourceFilter
Tags:
Steps To Reproduce: Mount DVD ISO
Set up profile rule using location that matches mounting location
Open disc via Open Disc menu in MPC-BE/HC
Additional Information:
Attached Files: madVR - log.zip (5,808,444 bytes) 2021-07-31 12:57
http://bugs.madshi.net/file_download.php?file_id=335&type=bug
Notes
(0002817)
madshi   
2021-07-31 09:16   
Can you upload a zipped log file, please?
(0002818)
Ryrynz   
2021-07-31 12:57   
(0002819)
madshi   
2021-07-31 13:23   
madVR searches through the filters connected to madVR's input pin. The log says:

00001219.192 Upstream upstream filter: LAV Video Decoder
00001219.204 Upstream upstream filter: DVD Navigator

There doesn't seem to be an IFileSourceFilter filter connected here, otherwise the log would contain a line:

source filter: whatever

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
671 [madVR] bug major always 2021-07-06 00:12 2021-07-06 08:40
Reporter: kasper93 Platform:  
Assigned To: madshi OS:  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.92.17
Media Player (with version info): MPC-HC
Splitter (with version info): LAV 0.75.0.3
Decoder (with version info): LAV 0.75.0.3
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: AMD
GPU Model: 5700xt
GPU Driver Version: 21.5.2
Summary: Please use ADL2_Display_ModeTimingOverrideX2_Set instead of ADL2_Display_ModeTimingOverride_Set
Description: Hi,

madHcCtrl uses older ADL2_Display_ModeTimingOverride_Set variant which uses ADLDetailedTiming to define timings, problem is this struct uses short type for every value and notably for sPixelClock which simply overflows with high refresh rate monitors... ADLDetailedTimingX2 will easily work with higher values.

For example adding custom mode 2560x1440p120 fails with "The GPU driver rejected this mode, for unknown reasons.", well the reason is quite obvious now :)

Docs: https://gpuopen-librariesandsdks.github.io/adl/group__T__OVERRIDEAPI.html#gaef3a32f0a31afd35cdd8e884224d0024 at least it is documented... I almost started reverse engineering this ADL, before looking at the doc ;p

Thanks,
Kacper
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
670 [madVR] bug minor always 2021-07-05 02:27 2021-07-05 12:12
Reporter: kasper93 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.92.17
Media Player (with version info): MPC-HC
Splitter (with version info): LAV 0.75.0.3
Decoder (with version info): LAV 0.75.0.3
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: windowed mode
GPU Manufacturer: AMD
GPU Model: 5700xt
GPU Driver Version: 21.5.2
Summary: Zoom Control breaks DVD menu overlay placement
Description: Hi,

When DVD menu is cropped by zoom control both button placement and button highlight are not aligned with video. There are two issues, they are related to the same things that crop info is not passed through, but since the behavior is different, lets mention both:

A) Button area (clickable area) is offset by the amount of pixels that were cropped. It it quite understandable it the cropped area is not take into account. The button area and position is scaled with the player window.

B) Button highlight (shadow that is drawn on hover or whatever other effect) is drawn with unscaled size and position from top left corner. So if the player window is enlarged highlights are not scaled, positioned accordingly.

Both issues are resolved when zoom control is disabled.

Thanks,
Kacper
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002813)
madshi   
2021-07-05 08:49   
It has been many many years since I looked into DVD menus. From what I recall there are 2 different DirectShow interfaces I can use for things like this (I don't remember what they were called). I'm still using the "older" one, which I think it also used by VMR7. But I think EVR uses the newer one. I think the newer one would work better with zoom control, but switching to the newer one would be a *LOT* of work. So unfortunatetely, I fear there's no easy fix for this problem atm...
(0002814)
kasper93   
2021-07-05 12:12   
Sure, I understand it is not a high priority issue. I just wanted to document it somewhere, because in fact I recall seeing the same issue for years.

One question tho, I understand that cropping might be tricky depending on how it works with DVD menus. But at least the overlay could be resized? Because it works without zoom control, but when cropping is done it stays unscaled. I mean alignment would still be wrong because of cropped pixels in video that offsets things, but maybe it is just single call to set target size correctly?

Anyhow, I get it would take time to investigate. Maybe as a workaround just disable zoom control if in DVD menu? This should be rather easy and would be better user experience :)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
622 [madVR] bug crash always 2019-10-02 07:56 2021-07-05 08:46
Reporter: cutedavyjones Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): PotPlayer 1.7.20538
Splitter (with version info): Built-In
Decoder (with version info): Built-In (From RN: Built-in FFmpeg HEVC H/W Decoder)
Decoding: Software
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: AMD
GPU Model: Radeon 5700XT
GPU Driver Version: 19.9.3
Summary: Amd Radeon 5700XT crashes on playback
Description: I was able to play and scroll through video for a bit, but it eventually crashes the GPU. Then GPU restarts and in 80-85% cases I need to restart PC (I tried this at least several times and only once the video came back and I had to kill the player process). Attaching video stream info.
Not sure how to obtain the crash logs from either video card or madvr.
Also, not sure about decoding settings because I am using built-in decoder (maybe not the best idea), so I made a guess.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: media-info.zip (1,638 bytes) 2019-10-02 07:56
http://bugs.madshi.net/file_download.php?file_id=318&type=bug
Notes
(0002570)
madshi   
2019-10-02 09:17   
Is that with default madVR settings? How much RAM does the GPU have? Stability issues like this are usually the fault of the GPU driver or it could be a hardware issue.

Sometimes stability issues like this can also happen if the GPU runs out of VRAM. But with 1080p video that seems unlikely, unless you've increased the madVR GPU queue size a lot?
(0002571)
cutedavyjones   
2019-10-02 09:19   
This is with default madvr settings. GPU has 8GB of RAM. It's possible that it could be a driver issue, and just in case I wrote to AMD support. What can I do to get more information about the issue?
(0002572)
huhn   
2019-10-02 10:20   
the RX 5700 series has serious driver issue related to video playback and high refreshrate displays.

this is a line out of driver 19.9.2 from the "fixed" part:
"System instability may be experienced on some Radeon RX 5700 series graphics system configurations when watching video content in a web browser."
the system was throwing an blue screen now the driver "only" crashes.
you can check the windows event viewer -> windows logs -> system the event id is 4101 for a driver recovery i recommend sorting by event id.

the AMD forum is full of it.
the RX 5700 series is suppose to run best with only one 60 hz screen and if you have an zen 2 with x570 board some user recommend not using PCIe 4.0 but 3.0 instead and recommend updating to a bios with agesa 1.0.0.3abba.
(0002811)
kasper93   
2021-07-05 02:42   
I believe you could close this bug. I have the same GPU and indeed the drivers stability were improved a lot over the years. I haven't had issues with madVR itself, but HW decoding was unstable and overall there were stability problems at the beginning of the lifetime of this GPU.
(0002812)
madshi   
2021-07-05 08:46   
Thanks kasper93. I'll wait for cutedavyjones to comment, but if he doesn't reply, I'll close this one.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
665 [madVR] bug major always 2021-02-14 05:42 2021-07-01 21:19
Reporter: Booty156 Platform:  
Assigned To: OS:  
Priority: urgent OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 113
Media Player (with version info): Latest with codec pack mega
Splitter (with version info): Latest with codec pack mega
Decoder (with version info): Latest with codec pack mega
Decoding: DXVA2 Native
Deinterlacing: none (progressive)
DXVA2 Scaling Active: yes
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: RTX 3080
GPU Driver Version: Latest
Summary: MadVR HDR API not as good as windows API
Description: Having issue with MadVR and HDR on my new display. HDR content in playing in madVR HDR is okay at best. Dark areas are really crap tho. Playing same movie in windows crappy player shows dark scenes much well. And brighter scenes are much more brighter vs madVR. Theres a bug to get windows API to run with MPC/madVR but only in windowed mode that really shows the difference.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002810)
madshi   
2021-07-01 21:19   
Sorry for the late reply. Do you have any screenshots to show the issue? Is this with sending HDR untouched in passthrough mode to the display? Or with letting madVR tone map and sending the tone mapped video to the display? Is the OS HDR switch on or off?

Also try D3D11 decoding instead of DXVA2.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
245 [eac3to] bug feature N/A 2014-12-05 19:57 2021-06-26 21:03
Reporter: nautilus7 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.27
Summary: Ability to create thd+ac3 blu-ray compatible stream from already existing ac3 stream
Description: Currently, creating .thd+ac3 blu-ray compatible audio stream is only done by inputting an thd stream and on the fly encoding (using aften) an ac3 stream to multiplex with.

This feature would allow to use ac3 streams created with dolby media producer (marginally better quality streams in comparison to aften), but it would also allow to use ac3 streams with completely different content that the thd stream.
Tags:
Steps To Reproduce:
Additional Information: It should be really easy to add such feature. The command line could remain unchanged e.g eac3to input.thd output.thd+ac3

1. Check whether file input.ac3 exists in the same directory as input.thd.

2. If not, then use old method: create .thd+ac3 using aften encoded .ac3 stream.

3. if there is input.ac3 then mux input.thd and input.ac3 together.

In pseudo code:

if (exists input.ac3)
{
    mux(input.ac3, input.thd)
}
else
{
    encode(input.ac3)
    mux(input.ac3, input.thd)
}
Attached Files:
Notes
(0002807)
ExDeus   
2021-06-26 21:03   
A great use case for muxing an existing AC3 core with a THD track is when remuxing mkv (where only one stream per track is allowed, so THD+AC3 must be separate tracks) back to m2ts for BDMV (where a THD stream must have an AC3 core muxed in the same track).

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
633 [madVR] bug minor always 2020-01-29 19:05 2021-06-24 11:16
Reporter: justsomemadvrdude Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.92.17 final, madVRhdrMeasure113
Media Player (with version info): Kodi DSPlayer x64
Splitter (with version info): LAV Filters 0.74.1
Decoder (with version info): D3D11 -> Automatic (Native)
Decoding: DXVA2 Native
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: AMD + Intel
GPU Model: RX 580 (Win 10 x64), Intel GPU (Win 7 x64)
GPU Driver Version: All
Summary: madVR + Kodi DSPlayer: Bug with vertical shift (only) when video is playing in background (Home Screen)
Description: Hey madshi,

i made multiple screenshots which should easily illustrate the problem with some examples.

Download of all screenshots in one ZIP:
http://nakunana24519x.bplaced.net/_tmp/k-madvr-verticalshift/k-madvr-verticalshift.zip

Single links:

http://nakunana24519x.bplaced.net/_tmp/k-madvr-verticalshift/001_a.jpg
http://nakunana24519x.bplaced.net/_tmp/k-madvr-verticalshift/001_b.jpg

http://nakunana24519x.bplaced.net/_tmp/k-madvr-verticalshift/002_a.jpg
http://nakunana24519x.bplaced.net/_tmp/k-madvr-verticalshift/002_b.jpg
http://nakunana24519x.bplaced.net/_tmp/k-madvr-verticalshift/002_c.jpg

http://nakunana24519x.bplaced.net/_tmp/k-madvr-verticalshift/003_a.jpg
http://nakunana24519x.bplaced.net/_tmp/k-madvr-verticalshift/003_b.jpg
http://nakunana24519x.bplaced.net/_tmp/k-madvr-verticalshift/003_c.jpg

http://nakunana24519x.bplaced.net/_tmp/k-madvr-verticalshift/004_a.jpg
http://nakunana24519x.bplaced.net/_tmp/k-madvr-verticalshift/004_b.jpg
http://nakunana24519x.bplaced.net/_tmp/k-madvr-verticalshift/004_c.jpg

(The sreenshots were created on my office system - so please don't wonder why frame rate switching etc. is not enabled)


It happens consistent on every test system with Kodi DSPlayer + madVR i tried. No matter what OS, GPU or LAV Filters version (both internal and external) is used.



At first i had in mind that this bug could be fixed in Kodi DSPlayer itself, but since i'm maintaining an updated Kodi DSPlayer x64 version for some time now i found no hint in the source that it could be a problem in Kodi DSPlayer itself.

My best guess would be that it's a problem regarding the communication of the desired scaling and vertical shift parameters between Kodi and madVR. (?)
The communication between Kodi and madVR seems to work incorrectly when Kodi is on home screen while playing the video in the background rather than being in VideoFullScreen/VideoOSD where everything seems flawless and rock solid. (even when combining zoom and vertical shift. No problems here whatsoever!)


If you need more input or information, don't hesitate to let me know.


This bug is the only problem we encounter on our many DSPlayer x64 + madVR setups i setup for me or friends with higher end projectors (Sony VW 570).


Although i know it's mostly a cosmetic GUI issue, it would be great if we could find a way to fix this.
It would really enhance the final "retail-ish" GUI experience of the otherwise great software combination of DSPlayer + madVR.


Thanks very much.
...and greetings from the AVS FORUM hdr2sdr thread! :-D
Tags:
Steps To Reproduce:
Additional Information: Side note:

I don't know if you ever use Kodi DSPlayer these days, but since you are the original author of the very old Kodi GUI scaling cristism ( https://forum.kodi.tv/showthread.php?tid=200401&pid=1757094#pid1757094 ), you may want to have a look here:
https://forum.kodi.tv/showthread.php?tid=348790
This is an updated DSPlayer x64 build with better GUI scaling which we use on many systems without problems while using HDR 2 SDR tone mapping.
Example of the fixed GUI: http://nakunana24519x.bplaced.net/_tmp/k-bettergui/pixelation_example_22353425.png

(Just to make it clear:
The described bug of this ticket happens on all builds of Kodi DSPlayer, so it's not an issue of the updated build)
Attached Files:
Notes
(0002628)
madshi   
2020-01-30 10:31   
I think the problem is that madVR tries to interpret what the media player wants (zoom, AR and shift), and fails to do so properly in this specific case. The reason why madVR tries to interpret the media player wishes is that madVR automatically detects black bars in the image and zooms them away and also supports CIH, CIW and CIA front projection setups (if the user has activated these features in the madVR settings).

Have you already seen this document?

http://madshi.net/89notesForDevs.pdf

It's quite old, but still applies.

You say you're maintaining a DSPlayer build - does that mean you're a developer and can also do changes (at least minor ones)? If so, if it's not too difficult, it would be great if you could teach DSPlayer to communicate its wishes to madVR clearly, by using the madVR communication interfaces. See 1c) in the PDF above. I believe that would fix all the issues.
(0002629)
justsomemadvrdude   
2020-01-30 13:43   
(Last edited: 2020-01-30 15:03)
Thanks for the unexpected fast reply and the PDF (which i have not seen before).

If relevant:
Black bar detection ("automatically detect hard coded black bars" is disabled on the test setup. (madVR "zoom control" settings tab all checkboxes unchecked)
I tried finding a workaround and did experiement with all settings i thought might do the trick.
Could not find any workaround in the end.

Now that you know that this happens while "automatically detect hard coded black bars" being disabled, does that change any of your assumptions?


So if i understand correctly, it looks like my wary suspision was correct, that in case of the existing DSPlayer, madVR interprets what the user has set in DSPlayer and acts on it (zoom/ar/shift) and Kodi itself is _not_ telling madVR what to do by sending commands to it or something like that.

I tried to think about what is different when Kodi has the video playing in the background rather then playing it in VideoFullScreen/VideoOSD (where madVR interprets everything flawless as it seems).
When VideoFullScreen/VideoOSD is used in Kodi, there is not even a "videowindow" control-tag in the Kodi skin, because it's most likely is all done by the Kodi core.
As soon as you switch to the home screen while playing video, the skin uses a very simple <control type="videowindow"></control> where the video is then displayed.
Looks like madVR does not get the information (zoom/ar/shift) it wants from this somehow "other" video player window.
As you can see it in the screenshots madVR seems to get _some_ information (even if they end up wrong) from the "background-video", because if that would not be the case you would assume that the background video maybe just would be displayed without any zoom/shift at all, but at least always be of correct AR.


I'm not really a C developer, but coming from the ux/ui/qa/web-dev world i have some background in coding php/js.

I have a machine set up which is able to compile DSPlayer x64 successfully.
I did create the build with the fixed/better gui scaling via mipmapping for Linux and Windows and was able to add some smaller(!) changes and backports to make DSPlayer a little more future proof.


I checked 1c) of the PDF and seem to understand your intent regarding implementing SetDestinationPosition/SendCommandX to have Kodi always tell madVR exactly and directly what Kodi wants to avoid the misinterpretation in this background-video-case.
Although i'm not shy of the work hours and happy to have a further look into the DSPlayer code, i have to assume that such more videoplayer related programming will be above my abilities.


In case i can't implement this on my own, do you have any further assumptions why madVR interprets DSPlayers user zoom/ar/shift flawless (even in the most exotic combinations) when being VideoFullScreen/VideoOSD in opposition to the video playing in background?
The discrepancy of the flawless interpretation on the one hand and the messup on the other hand is what really irritates me.
IF madVR's interpretation in VideoFullScreen/VideoOSD would also only be "mostly correct, but still not flawless" i would think that implementing IMadVRCommand::SendCommandStr would most likely be the only clean and rock solid way to go.
But at this point i would still have hope that we may find a way to change whatever is different in Kodi when the video is playing in background so madVR acts exactly like it does when playing in VideoFullScreen/VideoOSD.


So far for my quick feedback.
As said, i'm happy to have a deeper look at the code, but i don't want to get my/our hopes up about me implementing SetDestinationPosition/SendCommandX. :-/ :-)


Thanks again for your time.

(0002632)
madshi   
2020-02-03 12:41   
madVR tries to interpret the media player wishes by looking at things like changes to the rendering window size, changes to the parent window size, and calls to IVideoWindow::SetWindowPosition etc. Depending on these things, and the timing and order of changes to these properties, madVR tries to "understand" what the media player wants to achieve. And usually that works reasonably well, but occasionally it may fail. I assume if not the full screen is covered with the video, it makes things more difficult for madVR to understand fully.

I'm not sure if you can fix this by just playing around with the current code. I think you would waste a lot of time doing that. It would be more effective if you tried to use the madVR "SendCommandStr" API. It can't imagine that it would be very difficult. I think the key things you would have to do are:

1) Locate all code places in DSPlayer which call IVideoWindow::SetWindowPosition.
2) Find a way to access IMadVRCommand at all the same code places.
3) Try to understand the IVideoWindow::SetWindowPosition code. How does DSPlayer call the numbers to feed into SetWindowPosition? I assume DSPlayer will access the DSPlayer settings and then do some math to calculate the numbers.
4) Based on your understanding of 3), call SendCommandStr() with the appropriate zoom mode.

I'm not sure which of these 4 things will be the most difficult to achieve. In theory they could all be easy. Or difficult.
(0002633)
justsomemadvrdude   
2020-02-04 00:49   
(Last edited: 2020-02-04 03:35)
Thanks for the guidance.


Before your update note i already made some first searches regarding the code places of SetDestinationPosition.

With your further hints and proposed steps (especially mentioning to focus on SetWindowPosition, not SetDestinationPosition) i have some success to report.


I made a test build with some kodi debug notifications to understand when and which area of the code triggers.


After some hours of getting used to the new area of programming and code i now have some first test builds which already go in the right direction.

I'm now using multiple SendCommandX which are also documented in the mvrInterfaces.h file.


Just a code snippet to get a feel of what i'm trying:
_____________________________________________________________________________
if (Com::SmartQIPtr<IMadVRCommand> pMadVrCmd = m_pDXR)
{
  if (CMediaSettings::GetInstance().GetCurrentVideoSettings().m_ViewMode != ViewModeOriginal)
    pMadVrCmd->SendCommandString("setZoomMode", L"touchInside");
  else
    pMadVrCmd->SendCommandString("setZoomMode", L"100%");

  pMadVrCmd->SendCommandString("setZoomAlignX", L"center");
  pMadVrCmd->SendCommandString("setZoomAlignY", L"center");
  pMadVrCmd->SendCommandDouble("setArOverride", 0.0);

  if (CMediaSettings::GetInstance().GetCurrentVideoSettings().m_ViewMode == ViewModeNormal)
  {
    pMadVrCmd->SendCommandDouble("setZoomFactorX", 1.0);
    pMadVrCmd->SendCommandDouble("setZoomFactorY", 1.0);
  }
  else
  {
    pMadVrCmd->SendCommandDouble("setZoomFactorX", CMediaSettings::GetInstance().GetCurrentVideoSettings().m_CustomZoomAmount);
    pMadVrCmd->SendCommandDouble("setZoomFactorY", CMediaSettings::GetInstance().GetCurrentVideoSettings().m_CustomZoomAmount);
  }

  if (CMediaSettings::GetInstance().GetCurrentVideoSettings().m_CustomVerticalShift > 1.0)
    pMadVrCmd->SendCommandDouble("setZoomOffsetY", -(1.0 - CMediaSettings::GetInstance().GetCurrentVideoSettings().m_CustomVerticalShift));
  else if (CMediaSettings::GetInstance().GetCurrentVideoSettings().m_CustomVerticalShift < -1.0)
    pMadVrCmd->SendCommandDouble("setZoomOffsetY", (1.0 + CMediaSettings::GetInstance().GetCurrentVideoSettings().m_CustomVerticalShift));
  else
    pMadVrCmd->SendCommandDouble("setZoomOffsetY", 0.0);

  CGUIDialogKaiToast::QueueNotification(CGUIDialogKaiToast::Info, "DSPlayer", "madvr debug", TOAST_MESSAGE_TIME, false);
}
_____________________________________________________________________________


This direction of progress already results in a stable and predictable madvr video on homescreen with correct vertical shift and zoom. (Not possible before outside Kodi videofullscreen/videoosd window)

As we hoped for, madVR now strictly follows what is set above, no matter in which kodi window the video is displayed.

Still some work to do though. The custom video "pixel ratio" setting is not implemented yet for example.



Will report further on progress or roadblocks. :-)

(0002634)
justsomemadvrdude   
2020-02-04 01:55   
(Last edited: 2020-02-04 03:36)
Questions for the meantime:

1)

Let's say everything works out as discussed regarding adding robust zoom/vshift/originalsize-mode/custom-aspectratio support - there is one thing i don't know if i have to account for it in the code:

3D content

I have absolutely no experience on how original Kodi or even DSPlayer-Kodi-madVR handles 3D.
Do i have to account for anything in that regard?

My only experience with home cinema 3D content is on retail hardware players with retail 3D BD.



2)

Is madVRs "setArOverride" what should be used to adapt the Kodi optional custom video "pixel ratio" feature/setting?
Or is this the wrong approach and should i maybe just use additional conditions for setZoomFactorX/Y instead?

Something like this seems to work to adapt the setting:

_____________________________________________________________________________
pMadVrCmd->SendCommandDouble("setZoomFactorX", CMediaSettings::GetInstance().GetCurrentVideoSettings().m_CustomZoomAmount);
pMadVrCmd->SendCommandDouble("setZoomFactorY", CMediaSettings::GetInstance().GetCurrentVideoSettings().m_CustomZoomAmount);

if (CMediaSettings::GetInstance().GetCurrentVideoSettings().m_CustomPixelRatio != 1.0)
{
  if (CMediaSettings::GetInstance().GetCurrentVideoSettings().m_CustomPixelRatio < 1.0)
  {
    pMadVrCmd->SendCommandDouble("setZoomFactorX", CMediaSettings::GetInstance().GetCurrentVideoSettings().m_CustomZoomAmount * CMediaSettings::GetInstance().GetCurrentVideoSettings().m_CustomPixelRatio);
  }
  else if (CMediaSettings::GetInstance().GetCurrentVideoSettings().m_CustomPixelRatio > 1.0)
  {
    pMadVrCmd->SendCommandDouble("setZoomFactorY", CMediaSettings::GetInstance().GetCurrentVideoSettings().m_CustomZoomAmount * CMediaSettings::GetInstance().GetCurrentVideoSettings().m_CustomPixelRatio);
  }
}
_____________________________________________________________________________



Thank you

(0002635)
madshi   
2020-02-04 08:55   
Glad to hear you made good progress! :-)

I assume (hope) that Kodi's "pixel ratio" option has a default value which is something like "auto detect" or "don't change" or something like that? I think using "setArOverride" is preferred over adjusting the zoom factors manually, because really this option sounds like it's primary purpose is to modify the AR, right? The end effect might be the same, though. Still, I tend to prefer "setArOverride" in this case.

I'm not completely sure about 3D content in this case. I'd suggest that you start by ignoring it and treating it like 2D. If that doesn't work for some reason just let me know, then we can brainstorm about it.
(0002636)
madshi   
2020-02-04 09:01   
Btw, great work on the improved downscaling, it's really hard for me to understand how the Kodi main devs don't seem to feel a need to fix this.

I don't suppose you managed to port DSPlayer to Leia? Last time I checked it still seems to be stuck on the previous release.
(0002640)
justsomemadvrdude   
2020-02-05 17:19   
(Last edited: 2020-02-22 00:12)
Here we go with a test build. :-)
I also handed it to a friend and will throw some everyday-testing at it myself:

Edit: Removed old links


custom video pixel ratio:
-------------------------
Yes, Kodi's per video custom video "pixel ratio" defaults to 1.0 (which is the neutral value doing nothing) and the setting itself is just another simple per-video setting like "zoom".
According to the wiki it's just a correction option for videos which have a messed up AR for example.

The slider ranges from 0.5 to 2.0

0.5 results in 50% image width while keeping the height untouched, meaning: keeping height at whatever size it's already at
1.0 is neutral and changes nothing
1.5 results in 150% image height while keeping the width untouched, meaning: keeping width at whatever size it's already at
2.0 results in 200% image height while keeping the width untouched, meaning: keeping width at whatever size it's already at

For now i went with the setZoomFactor implentation for the setting. It just seemed to work so solid and my previous attempts at using "setArOverride" instead ended up not working correct for some reason.

Is there some more background info regarding on which "setArOverride" values are allowed and what they will do exactly in order to maybe achieve the above mentioned?
It seemed like i ended up with a blank black video if "setArOverride" has been set to a value it did not seem to like.

I'm open to changing the implementation to "setArOverride" if i know how. :-)


3D:
---
+1
Let's ignore it for now and hope that it's not affected by the changes.
I already asked in the DSPlayer thread if someone is willing to test 3D on an old DSPlayer+madVR build vs the new build.
Maybe this confirms easily if 3D works as good (or bad) as before. I think this is all we would want to know.
I'll report if i found some willing testers.

(0002641)
madshi   
2020-02-05 17:27   
Sorry, no time to test the test build, unfortunately. I'm extremely busy working on the Envy atm. However, based on your description of the Kodi "pixel ratio" feature, I'd say that probably using "setZoomFactor" is a good choice instead of "setArOverride". So I think you should just leave it like that.
(0002642)
justsomemadvrdude   
2020-02-05 17:34   
(Last edited: 2020-02-05 17:34)
No worries, just wanted to post it here for informational/archival purposes.

Okay, let's keep the setZoomFactor variant at least for now then.

Thanks for the input, i'll just update when there is further feedback or progress.

Good look with your work on the Envy.

(0002643)
madshi   
2020-02-05 18:25   
Thx!
(0002677)
justsomemadvrdude   
2020-02-22 00:16   
Just for the archives:

From now on, builds with the implemented correct "API-communication" solution (and some more changes/backports/fixes for other stuff) can be found here:

Kodi 17.7 DSPlayer x64 BETTERGUI
https://forum.kodi.tv/showthread.php?tid=351534
(0002678)
madshi   
2020-02-22 00:38   
Great stuff - thanks!
(0002681)
justsomemadvrdude   
2020-02-29 13:12   
I got so used to the fixed "non-picture-squeezing" behaviour that i'm now irritated when i have to use an old build for a short time for debug reasons. :-)


Regarding 3D feedback after API-picture-size-stuff changes:

I got not much but some feedback by 2 users which sounded like 3D works as before. (Since our goal was to not brake it or make it worse, it should be okay.) Would have preferred to test myself also, but since that's not an option...


--


Bonus question while working on some additional stuff for DSPlayer:

In regards of DSPlayer<>madVR i was wondering about the "preset queue" setting:

- Preset queue (windowed+exclusive) is set to 8 (default) via madVR tray settings
(rendering->windowed mode, rendering->exclusive mode)
- The madVR-overlay shows that it uses the setting of 8 correctly (x/8)

But:

When Kodi DSPlayer has _any_ own GUI element showing on top of the playing madVR video, madVR changes the "present queue" maximum count temporarily from 8 to 2 - as long as DSPlayer shows said GUI elements. (See screenshots)
As soon as all Kodi-GUI elements are hidden again, the temporary reduced count jumps back to 8 instantly.
Just to be sure: I'm not talking about how filled the present queue is, but shown maximum count x/8. It jumps to x/2 for the temprary situation.


Is this bevaviour intentional and maybe unavoidable for some technical reasons?

http://nakunana24519x.bplaced.net/_tmp/k-mvr/mvr_present_queue_001.jpg
http://nakunana24519x.bplaced.net/_tmp/k-mvr/mvr_present_queue_002.jpg
http://nakunana24519x.bplaced.net/_tmp/k-mvr/mvr_present_queue_003.jpg


Side notes:
- I suspect this behaviour is handled from inside madVR itself, since my build of DSPlayer does not set any "preset queue" setting
- I cleaned the build of being able to change madVR settings. Everything is configured via madVR tray settings. Besides the discussed picture-size-API-stuff DSPlayer does not "control" madVR in any further way anymore.


Thanks!
(0002682)
madshi   
2020-02-29 13:28   
It's intentional. Having a queue size of 8 means that for 24fps, that would be 333 milliseconds latency/delay. So you press a key to move the Kodi "cursor"/focus, and it takes 333+ milliseconds for that to become visible. That's not good, of course, which is why madVR limits that to 2 frames when any active GUI is visible, to make GUI feel less sluggish.
(0002683)
justsomemadvrdude   
2020-02-29 15:10   
(Last edited: 2020-02-29 15:14)
Interesting, thanks.

1) I'm aware of the typical sluggishness in 23hz/low-fps scenarios which feels about identical on all devices (apple tv 4k @ 23hz, kodi devices @ 23hz etc.)

In the discussed matter we are talking about an additional "present-queue"-delay which would add even on top of the known typical 23hz-sluggishness - do i understand that correctly?

2) Is this implementation Kodi DSPlayer specific?

3) Would it be possible to consider a future madVR setting for DSPlayer to use like:

Variant A (most simple but already very helpful):

m_pSettingsManager->SetBool("preRenderFramesReductionOnGUI", false);

OR

Variant B (more flexible):

m_pSettingsManager->SetBool("preRenderFramesReductionOnGUI", true); // Should be true by default, of course.
int framesCount = 3;
m_pSettingsManager->SetInt("preRenderFramesReductionOnGUICount", framesCount); // Purely optional override of the default value of 2

    
There would be _no_ need for a setting in the madVR-settings-UI itself. The existence of any option itself to be used by DSPlayer code would be very sufficient.


Reasons:

Besides having control for special use cases there are higher end 21:9 projection screen users which for example use a standard projector resolution of 3840x2160 while using a Kodi skin with additional features to mask all the visible content which is outside of their 21:9 screen.

These features are therefore detected as GUI by madVR which leads to these users being stuck with an absolute maximum present queue count of 2.

Besides this example i can think of more use cases which would make Kodi show GUI permanenty on top of a playing video while there is no user input/navigation going on.

(0002684)
madshi   
2020-02-29 15:35   
> do i understand that correctly?

Yes.

> Is this implementation Kodi DSPlayer specific?

No.

> Would it be possible to consider a future madVR setting

You already have some control over it. Please check "mvrInterfaces.h". If you search for "low latency" you'll find what you need.
(0002805)
justsomemadvrdude   
2021-06-18 19:36   
After some time catching up with real life and still being happy with the latest 2020 version of DSPlayer, i again wanted to thank for the help and good info/communication.

I found all the information on low latency mode based on your hints and made multiple tests in the meantime to see how it feels with it being disabled.
Result: In regards of Kodi usability it's really unusable with the high input delay which makes all button presses very irritating and confusing.
So i ended up with not implementing any DSPLayer user option to disable low latency mode it.

Hope work with the Envy is well. Best regards.
(0002806)
madshi   
2021-06-24 11:16   
Makes sense, thanks for letting me know.

Working on Envy 24/7, it's fun and constantly improving.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
668 [madVR] bug major always 2021-05-29 16:55 2021-05-29 19:03
Reporter: rctgamer3 Platform: WINNT  
Assigned To: OS: Windows  
Priority: normal OS Version: 21H1 (19043.985)  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): 1.9.11.49 (12dafcbc2)
Splitter (with version info): LAV Splitter 0.75.0.2-git
Decoder (with version info): LAV Video Decoder 0.75.0.2-git
Decoding: DXVA2 Native
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: windowed mode
GPU Manufacturer: Intel
GPU Model: Intel(R) HD Graphics 530
GPU Driver Version: 27.20.100.8681
Summary: madVR + XySubFilter causes color(space) issues in windowed mode while using DXVA Native
Description: DXVA2 Native (incorrect colours)
https://i.imgur.com/LWmWsoa.png

DXVA Copy-back (correct colours)
https://i.imgur.com/OAaiu46.png

Can provide info if requested.
Tags:
Steps To Reproduce: Play the attached file. It contains five frames to show the issue.
With madVR set in MPC-HC and DXVA2 Native set in LAV Video Decoder settings, the colors are oversharpened and unfaithful to the source material, as if using a different color space.
Additional Information: MPC-HC set-up:

madVR as Output
Subtitle renderer: XySubFilter
LAV Video Decoder: Hardware decoder to use: DXVA2 (native)
Does not occur with DXVA (copy-back)
Source material: BT.601
Attached Files: madVR-copyback-native-colors.mkv (21,548 bytes) 2021-05-29 16:55
http://bugs.madshi.net/file_download.php?file_id=333&type=bug
madvr_1s.mkv (41,944 bytes) 2021-05-29 18:31
http://bugs.madshi.net/file_download.php?file_id=334&type=bug
Notes
(0002802)
madshi   
2021-05-29 17:07   
Playing this video file just shows a black screen. It's not even a second long.

Is it the video itself which has wrong colors or the subtitles? I'm asking because the MKV doesn't seem to have any subtitles in it, but your report mentions that XySubFilter is involved.

In any case, DXVA Native is a pain in the ***. You'll get different results with different GPUs, potentially even different GPU drivers. So what you experience with your Intel GPU is probably different to what I'm seeing here with an Nvidia or AMD GPU. Can't you use copyback instead?
(0002803)
rctgamer3   
2021-05-29 18:31   
Longer clip (1s) attached since this is a fair-use sample from a commercial video.
(Has nothing to do with subtitles (sample doesn't have audio nor subtitle), only included the XySub version it for completeness.)

I can set LAV Video to DXVA2 copy-back as a workaround which I have done to fix my own set-up.
It's just that DXVA2 Native seems to be the default option (at least for K-Lite) and end-users shouldn't have to dig deep to fix this with a similar set-up.

I'm just not sure what's causing it (works fine with EVR) and where the problem lies to (thus where to file a bug report to).
It was reproducible with a different computer with a GeForce GT 610 and madVR+ DXVA2 Native as well, so it's not just this computer's Intel GPU.
(0002804)
madshi   
2021-05-29 19:03   
The video is still completely black for me.

Which decoder option is active by default is something defined by LAV Video or the media player, but not by madVR. IMHO, just switch to copyback and be done with it.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
647 [madVR] bug major always 2020-06-26 19:29 2021-05-24 10:27
Reporter: B1gD4ddy Platform:  
Assigned To: madshi OS:  
Priority: immediate OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-BE.1.5.4.4969.x64
Splitter (with version info): -
Decoder (with version info): -
Decoding: <select>
Deinterlacing: <select>
DXVA2 Scaling Active: <select>
Aero / Desktop Composition: <select>
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: rtx 2080
GPU Driver Version: issue is with 45x.xx branch. last working is 446.14.
Summary: mpc be madvr hdr passthrough does not work anymore
Description: since nvidia changed the hdr code and/or hdr handling in 45x.xx driver branch madvr hdr passthrough does not work anymore.

instead of passthroughing hdr to the display madvr activates windows hdr and sends sdr to display.
Tags:
Steps To Reproduce: install 45x.xx.
install madvr.
activate hdr passthrough to display in madvr.
install mpc be and set madvr as renderer.
start a hdr mkv for example.
windows hdr will be activated and sdr movie will appear.
Additional Information: -
Attached Files:
Notes
(0002711)
B1gD4ddy   
2020-07-09 22:59   
problem is in new 451.67 whql still present.
(0002714)
Cineaste   
2020-07-19 12:19   
(Last edited: 2020-07-19 15:19)
It appears I am now at a point where I have to update the driver purely to keep on top of my games. madshi, do you know what they did to the API? Is it entirely new code?

(0002718)
zeus0r   
2020-07-27 15:32   
same problem here!

current "solution":

when activating win 10 desktop HDR madVR uses OS HDR instead of NV HDR and everything is fine. is there any way to tell madVR to always use OS HDR without enabling/disabling it all the time?
(0002719)
B1gD4ddy   
2020-07-27 16:10   
(Last edited: 2020-07-27 17:42)
ehm nope.

not same problem there since when you do it right like i described and like how everybody uses it currently madvr since 45x.xx always autoactivates os hdr instead of nv hdr and the movie is still washed out sdr.

what you call the solution and are asking for is the damn problem we have.

madvr hdr passthrough is build so nobody needs the disgusting os hdr and for auto activating/deactivating nv hdr at start/close of movie.

btw @ madshi: did you look into that? can you change something and make hdr passthrough work again with 45x.xx?

(0002720)
B1gD4ddy   
2020-07-27 18:02   
(Last edited: 2020-07-27 18:10)
this would be very nice because as we speak people research on dolby vision mkvs.

makemkv for example just added the new matroska 1.6.0 specs for storing dv metadata in mkv.

dolby vision mkvs already work when build with makemkv 1.15.2 and played back by a modified exoplayer apk in kodi!

having working madvr hdr and later on dolby viosion passthrough with 45x.xx+ would be gold.

please tell us the current status.

(0002721)
zeus0r   
2020-07-28 20:16   
ok sorry, that's weird B1gD4ddy.

i just tested it with the latest nvidia drivers (gtx1660 super):

win10 HDR enabled: madvr uses OS HDR & fullscreen windowed and everything works perfectly fine

win10 HDR disabled: madvr uses NV HDR & fullscreen exclusive and HDR is washed out although my display goes to HDR mode
(0002722)
B1gD4ddy   
2020-07-28 20:34   
(Last edited: 2020-07-28 20:36)
yes, when you manually activate win hdr and then start the movie everything works fine.

but when win hdr is turned off and you start the movie and let madvr turn on hdr on its own then it turns on win hdr automatically but movie is still washed out sdr.

but manually activating win hdr everytime before you start a movie is no solution, since we use the madvr hdr passthrough feature for the very reason that it automatically turns on nv hdr when you start the movie and it turns off nv hdr automatically when you close the player. win hdr had never to be touched. it always worked that way until nvidia released 45x.xx.

(0002724)
Cineaste   
2020-07-30 06:59   
Whilst we're waiting I have set up an AutoHotKey that toggles Windows HDR on/off by pressing a button. That button is mapped to a key on my remote so that all I have to do is use my Logitech Harmony (start Kodi > press button to toggle HDR > play movie > press button to automatically turn off HDR).

Not as convenient as madVR auto-switching but much better than manually having to fiddle with settings every time.
(0002725)
cccleaner   
2020-07-31 22:32   
can confirm this behavior too.

I hope madshi can find some time beside his big hardware project to keep the original source alive and properly working. please check this problem.

thank you so much.
(0002731)
cccleaner   
2020-08-15 17:40   
I was just trying to find out if other people have same issues in other forums and I am wondering why there are not more people noticing the same.

I thought MadVR is THE one and only filter out there to get the best HDR experience on a PC. MadVR is mentioned everywhere but nevertheless we have almost no reaction on this issue?

Is there a workaround? Or any config item I do not see?
(0002735)
B1gD4ddy   
2020-08-25 17:14   
madshi?????????????????????????????????
(0002736)
madshi   
2020-08-25 19:37   
This bug report is "assigned" which means I plan to work on it, when I find the time.

Please note that I've *always* recommended to users to stick to Windows 8.1, where you wouldn't have this problem. Also, you could go back to 44x.xx drivers where you also wouldn't have this problem. Also, you could complain to Nvidia for breaking what was once working. It's not a bug in madVR that this doesn't work, anymore. It's Nvidia's fault, they *intentionally* broke the API that madVR (and several games) have been using for years.

IMHO what Nvidia did was bad, not just because they broke a nicely working solution, but also because the new solution they implemented IMHO completely sucks. They got the OS involved, and I fear (although I'll have to double check to be 100% sure) that this will result in the HDR output not being lossless, any longer. With 44x.xx drivers and the old API madVR was able to achieve perfectly lossless output quality. Every bit output via HDMI was fully defined by madVR and not modified by Nvidia drivers or the OS behind madVR's back. I assume that with 45x.xx drivers this will no longer be the case. Which could potentially hurt image quality. But, as I said, I'll have to double check to be sure.
(0002737)
B1gD4ddy   
2020-08-25 20:42   
(Last edited: 2020-08-25 20:44)
thank you. would love to hear back from you.

the current workaround is to manually activate winhdr and then start the movie with mpc be madvr hdr passthrough.

do you think that is losless or not?

(0002738)
madshi   
2020-08-25 20:46   
Most likely not.
(0002739)
B1gD4ddy   
2020-08-25 20:48   
thats shit.
but dont want to annoy you any longer.
would just love to hear back from you in the future when you had time to analyze that more.
thank you!
(0002740)
Cineaste   
2020-08-26 06:32   
madshi, not wanting to add fuel to the fire but it appears Nvidia are playing the blame game:

https://old.reddit.com/r/nvidia/comments/ibfawg/game_ready_driver_45206_faqdiscussion/g1vmsuc/

According to their rep it is an app bug (yours?) and that a workaround will be provided with the next driver. Perhaps you don't need to do anything after all?
(0002741)
madshi   
2020-08-26 10:28   
Haha, sure, it's all my fault. :-D Not.

Nvidia did contact me, they said they changed the way their API works, but that it should still work fine in FSE mode. And I could make it work for windowed mode, as well, by calling some additional APIs.

So yes, I should be able to make it work, by adding more code. But it's a change in API behaviour that Nvidia requires me to do now which wasn't necessary before.

Plus, I was being told that everything should still work fine in FSE mode. Seems that's not the case?

Plus, I fear that the new solution may no longer be lossless, but I can't be 100% sure about that because I haven't tested it yet.
(0002742)
cccleaner   
2020-08-26 19:17   
hello Madshi

Thank you to react! Please understand, there is nothing else than a windows 10 pc as the main center of my multimedia rig anymore. I am directly depending on such problems like HDR Passthrough throuhg Nvidia GFX card to my 75" tv. .

I have no clue how to interact with nvidia in such matters but believe me I need full passthrough through windows 10 and nvidia GFX card with latest GFX Driver at all times..

how can I help you ?


Can we add some AI and Cloud computing to it and use agile mthodology (not) ?

:-)


Sorry.. sometimes I am tired of IT..
(0002743)
cccleaner   
2020-08-28 17:58   
I just tested the FSE Mode again but I have the same behavior. HDR Mode is not switched on automatically. I have Nvidia Driver 452.06 installed.

What my setup always does when I start a Movie, it switches to 23Hz. (TV turns black for 2 Secs in FSE and Normal Mode, and during that switch HDR was also turned on.
(0002744)
huhn   
2020-09-01 00:08   
what ever it is worth games don't really care about the driver version and HDR work with them.

the only game i tested that nearly for sure uses the nvidia API has some special needs to enter HDR mode.
it only uses FSE at all times and the image(windows desktop) get's totally disrupted when you tab or anything. so i wanted to test the only FSE mode from MPC-HC but that option has been removed for madVR.

i can later try a different game that may uses the nvidia API but that game doesn't even have finished HDR support...
(0002745)
B1gD4ddy   
2020-09-17 15:31   
(Last edited: 2020-09-17 15:37)
good and bad news guys.
nvidia stated in changelog of new driver 456.38 that they fixed the issue.

[madVR][MPC-HC]: Various HDR issues occur when using the madVR renderer with MPC-HC. [3038381]

but thats only halftrue, in fact they added more annoying things.

while it is true that when you now start a movie via mpc-be madvr hdr passthrough windows hdr indeed keeps being turned off, but hdr is still applied to the whole screen instead of only to the player.

that leads to the problem that as long as the player is windowed it shows washed out sdr. you have to make the player fullscreen so that you finally see hdr.

next very very annoying bugs that got added in this new driver are

1. when you touch the scroolbar of the player to jump through the video the video turns washed out sdr. you have to leave the scroolbar and put the cursor back on the video to make it hdr again.

2. whenever you window/fullscreen the player or resize the player the whole screen flickers atleast 2 times.

3. sometimes when closing the player the screen keeps being extremely brightend up.

tldr: bug: hdr is applied to hole screen instead of only the video player which makes the video washed out sdr until fullscreened + the 3 new problems i described.

(0002746)
madshi   
2020-09-17 15:36   
> but hdr is still applied to the whole screen instead of only to the player

But that was always this way in 44x.xx drivers (and older)! Or is it different now compared to 44x.xx drivers?

(the scrollbar and flickering things are new, of course)
(0002747)
B1gD4ddy   
2020-09-17 15:57   
(Last edited: 2020-09-17 16:04)
no, it was just perfect.

456.38

you start a movie and tv insta activates hdr and the complete screen is brightend up and player shows washed out sdr. you have to go fullscreen to see hdr. plus the problems 2 and 3

446.14

you start a movie and tv does not turn on hdr, everything is normal and fine and player shows sdr not washed out sdr. when you go fullscreen tv activates hdr and turns it off when you close player or go windowed.


btw i now also have the scrollbar problem with 446.14...odd, did my memory fool me or is it a windows 20h2 problem? i dont remember havin problem 1 ever.

(0002748)
madshi   
2020-09-17 16:03   
Ok, I'll have a look at 45x.xx some point "soon". Soon means could be weeks... :-(
(0002749)
Cineaste   
2020-09-17 16:20   
I suppose the above is a non-issue for me since I set up mpc-BE to always start in fullscreen as an external player in Kodi, meaning it used to activate HDR the moment I pressed play for as long as I remember.
(0002750)
B1gD4ddy   
2020-09-17 16:25   
(Last edited: 2020-09-17 16:41)
still problem 1 and 3 and maybe the flickering of 2

(0002751)
huhn   
2020-09-17 17:07   
i only have the "issue" of 3. that it takes a sec or longer to leave HDR mode when the player is closed.

i have a delay when switching between full screen and windowed but nothing major windowed HDR works totally fine here to even through the windows desktop is over saturated
(0002752)
B1gD4ddy   
2020-09-17 17:11   
(Last edited: 2020-09-17 17:15)
my 3 is that it stays ultra bright.

yes windows desktop is over saturated since hdr is applied to the whole screen, no matter if player is full screen or a little window, unfortunately

you have no hdr turnoff when using or hovering over scrollbar of player when in fullscreen hdr movie with 456.38?

and no screen flickering when resizing player with 456.38?

(0002753)
huhn   
2020-09-17 20:32   
no none of that but i'm using overlay rendering.
(0002754)
cccleaner   
2020-09-18 16:45   
indeed very special behavior:

(not using FSE:)

when I start a HDR movie my TV switches into HDR Mode although windows is not switched automatically to HDR mode (before windows always fully switches to HDR)

Desktop colors seem to be oversaturated little bit but this is because the frequency changes to 23Hz I thinks.

When I go fullscreen with MPC BE the HDR seems to be correct and when I move the cursor down the slider appears and the movie goes back to SDR washed out.

So it seems the player makes an isolated HDR pass through not touching the Windows setting and my TV recognizes the HDR Stream directly from the player. As soon as a windows overlay jumps in the setting does not apply anymore and uses the windows setting (no HDR Mode)

that is indeed very new.. For me it is till not clear how I should use HDR on a windows PC. Movies and Games should switch my TV to HDR when started like before?

Or can I always switch HDR Mode on?


I'd love to leave windows always in HDR mode but the OS seems still not to be designed to have a beautiful HDR Surface..

So what does the Windows HDR mode stand for anyhow?
(0002755)
B1gD4ddy   
2020-09-19 08:49   
(Last edited: 2020-09-19 10:13)
hey buddy,
did you read my last posts?

you experience the exact same 456.38 behavior as i do and don't forget the 2time flickering i described.

and i noticed when i go back to 446.14 i still have the touch-slider-hdr-gone-thing.
i don't remember having this when 446.14 was current. do you?
maybe a win 20h2 problem?!

(0002756)
ParadoxDelta   
2020-09-19 16:42   
(Last edited: 2020-09-19 16:42)
Not entirely shure if this is related: I got NV HDR working with MadVR 0.92.17 and driver 452.06 by right clicking the .exe of MPC-HC and PotPlayer -> Properties -> Compatibility -> and checking "Disable fullscreen optimization". Now the faded colors disappear when I enter exclusive fullscreen mode. Worked for both players.

(0002757)
B1gD4ddy   
2020-09-19 16:53   
(Last edited: 2020-09-19 16:55)
we already have nv hdr fullscreen working since win hdr is turned off and keeps being turned off when starting a movie with madvr hdr passthrough and 456.38.

that never was a problem.

but we have alllll the other problems i listed.

btw i started a thread in geforce forum, got insta 3 downvotes and got told im too dumb to use madvr...oh the humanity...deleted the thread in this cancer forum again.

maybe someone else wants to try.

(0002758)
cobravision   
2020-09-20 15:35   
I recall when using madvr for the first time around April 2019 that any change from fullscreen (windowed or activating OSD) would disable HDR passthrough and change the colors and switching out of HDR caused the screen to blink. There was some driver change that I can't pinpoint where HDR passed through at all times.
(0002759)
cccleaner   
2020-11-24 14:25   
Hi all

Sorry for late reply.
@B1gD4ddy: unfortunately I cannot remember when exactly the issue started. I did not check after all windows and updates carefully enough.
At the moment with 4Nvidia 457.30 and Windows 20H2 OS build 19042.630 everything seems to be working. Windows however does not switch to HDR Mode anymore and when I touch the slider the Player switches from HDR to SDR. So far I can live very well with this.

However please allow me to mention the following on my current odyssey to hit the perfect screen refresh rate of 23.976Hz for my mkv files, which in the end actually even confused me much more. I was not sure anymore about if the player is really sending 10bit HDR content to my Samsung 10bit Panel or not:

When I checked the Overlay Information of my player I noticed that my display is almost at 23.976Hz but only > (8bit, RGB, full)
Further in fullscreen the next output information was displaying D3D11 windowed fullscreen (8bit)

so all this confused me even more (madVR is REALLY doing a superb job regardless if you use HDR or the HDR simulation on SDR, the difference is not obvious) and I started to mess around with the settings again to head for REAL 10bit HDR output with following conclusion:

It is out of a sudden possible to switch Nvidia Driver to 23Hz AND 12bit(!) output color depth, while color format is RGB and output dynamic range is Full. And when the player switches to 23Hz the color depth remains at 12bit (!?) Is this new or was I just sleeping?
GREAT!

the D3D11 output in my app chain (MPC BE, LAV Filters, madVR) can obviously only be set to REAL 10bit output if I disable the ThumbNailPreview Service for Icons in the Windows Explorer View Setting. This Service is obviously producing a windows layer over the player that lets it stick to 8bit (and yes this holy crap I only figured out by using the thankful debug mode.)
GREAT!

So only now I am really sure that my setup outputs 10bit HDR content to the Samsung Panel.

My only issues for now is I have still some juddering when I activate the Smooth Motion in the Samsung Options. I still dont get it how I setup the perfect 23.976Hz. (tried CRU utility, Windows Custom Resolution)In fast motion pictures I have judders and blurs and small black and white detailed patterns are starting to flicker badly.

It is clear that the Smooth Motion Option has issues with this, but I think the root cause is based on this unbelievably complicated pull down between frames and frequency.

That mess is hopefully finally soon resolved with the new worldwide standardized and harmonized media presenting technologies ((I forgot the name of this new Master Film Studio Standard)

So to cut a long story short: for me its almost everything perfect, I believe I really get what my hardware is supposed to be delivering.

Looking forward to 4k120Hz, replacing again GFX Card, AV Receiver and TV ;-) and thanks again to madshis superb work.
(0002795)
B1gD4ddy   
2021-03-10 13:34   
with new nvidia drivers hdr passthrough works again.
also no hdr off for me when putting mouse on scroll bar.

but as madshi said the passthrough is not lossless anymore.
i hope he can do something about that.
(0002799)
Sym3   
2021-05-22 05:56   
After days of searching on why i my screen keeps going black when i move the mouse over to seek bar (back and forth)i ended up here. Is the issue I'm describing same as this 0000660?
There is a workaround i found to stop this black screen on and off issue by using Potplayer Direct3d11 from skins-->on screen control and using d3d11 in lav decoder, down side is i can no longer use seek bar but if i enable preview i can hover the mouse around to get timeline.
(0002800)
madshi   
2021-05-22 09:00   
There are different ways to render a seekbar. The way Nvidia HDR currently works is that it's active only if the playback is fullscreen. If the seekbar results in the video no longer seeming to be fullscreen to Direct3D, then HDR gets deactivated, which will result in the display resyncing. There are ways to render a seekbar in a way that doesn't lose fullscreen mode, though. I'm not a PotPlayer expert, though. I don't know which option it is you have to toggle there.
(0002801)
Sym3   
2021-05-24 10:27   
I was just using potplayer as an example cause i was able to "fix" the switching at the cost of seekbar not being visible anymore. Any workaround for mpc-hc player? Seems like MPC video renderer (https://github.com/Aleksoid1978/VideoRenderer) is a decent alternative at the moment for HDR passthrough without glitches but the upscale and downscale filters are a downside compared to madVR.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
569 [madVR] bug major always 2018-07-31 23:08 2021-03-16 21:10
Reporter: shashank066 Platform:  
Assigned To: shashank066 OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.92.14
Media Player (with version info): PotPlayer 1.7.13622
Splitter (with version info): Built in Mp4
Decoder (with version info): HVC1 - OpenCodec(Nvidia Codec Decoder)
Decoding: CUDA
Deinterlacing: none (progressive)
DXVA2 Scaling Active: yes
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: 1080
GPU Driver Version: 389.12
Summary: Pink artifacts on 4k HDR video
Description: While playing "Sony Mont Blanc HDR UHD 4K Demo" with PotPlayer and MadVR, there are pink artifacts in the video. If the video is played with Windows 10 "Films and TV" software, no such artifacts are seen.
Tags:
Steps To Reproduce: 1. Download http://4kmedia.org/sony-mont-blanc-hdr-uhd-4k-demo/
2. Play with PotPlayer and MadVR
3. Pink artifacts can be seen
Additional Information: This was run on a computer with i9-8950HK, Nvidia 1080, 16GB Ram. I have tried various configs as well as defaults but the issue remains. Tried on internal laptop display as well as external monitor.
Attached Files: Untitled.png (4,003,973 bytes) 2018-07-31 23:10
http://bugs.madshi.net/file_download.php?file_id=293&type=bug
Notes
(0002325)
madshi   
2018-07-31 23:14   
(Last edited: 2018-07-31 23:15)
Can you try different decoders? E.g. try LAV Video Decoder. Both software decoding and DXVA.

(0002326)
shashank066   
2018-08-01 00:04   
Fixed after I reset PotPlayer settings to default and chose MadVR again. I didn't try reset PotPlayer before to avoid losing key bindings and other settings and thought PotPlayer might not be the issue.

The default settings for MadVR don't look as good as Windows "Films and Movies" player on a few 4k videos I am testing, but I will try other settings to figure that out. Thanks for the quick response.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
666 [madVR] bug major always 2021-03-02 01:52 2021-03-02 14:27
Reporter: SoilnRock Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: latest 0.92.17
Media Player (with version info): 1.9.8.137 (bf256c5f0)
Splitter (with version info): 0.74.1.92
Decoder (with version info): MinGW-w64 GCC 9.3.0
Decoding: Software
Deinterlacing: auto mode
DXVA2 Scaling Active: <select>
Aero / Desktop Composition: <select>
Problem occurs with mode: all modes
GPU Manufacturer: AMD
GPU Model: RX 560
GPU Driver Version: latest
Summary: mirroring (alt + Num6) not working
Description: (Horizontal) mirroring isn't working. Rotation and vertical mirroring are doing fine though.
Tags:
Steps To Reproduce:
Additional Information: MPC-HC (Nightly, 64-bit)
------------------------

Build information:
    Version: 1.9.8.137 (bf256c5f0)
    Compiler: MSVC v19.26.28806
    Build date: Jan 14 2021

LAV Filters:
    LAV Splitter: 0.74.1.92
    LAV Video: 0.74.1.92
    LAV Audio: 0.74.1.92
    FFmpeg compiler: MinGW-w64 GCC 9.3.0

Operating system:
    Name: Windows NT 10.0 (build 19042)
    Version: 10.0 (64-bit)

Hardware:
    CPU: AMD FX-8320E Eight-Core Processor
    GPU: Radeon RX 560 Series (driver version: 27.20.14535.3005)
Attached Files:
Notes
(0002792)
madshi   
2021-03-02 13:28   
Rotation is supported by madVR, mirroring is currently not supported. That's not a bug. You could say it's a missing feature. But honestly, I'm not sure what it would be good for? Rotation can make sense, in case you use a monitor in rotated view, or if someone recorded a video rotated, for some reason. But I don't see the purpose of mirroring, to be honest...

Anyway, it's very easy to do with a custom pixel shader.
(0002793)
SoilnRock   
2021-03-02 14:15   
Thx for your quick reply - why does vertical mirroring work though? :-)
(0002794)
madshi   
2021-03-02 14:27   
I've no idea, I don't think it's madVR's doing! :-O

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
664 [madVR] bug minor always 2021-02-11 03:26 2021-02-11 03:50
Reporter: Venue Platform: Windows  
Assigned To: OS: Windows 10 Home 64-Bit 20H2  
Priority: normal OS Version: Build 19042.804  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.92.13, v0.92.14, v0.92.15, v0.92.16, v0.92.17
Media Player (with version info): MPC-HC (64-bit) Version 1.9.8 (6281da8a8)
Splitter (with version info): LAV Filters 0.74.1.75
Decoder (with version info): D3D11 (Direct3D® Version 9.14.10.01443)
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: AMD
GPU Model: Radeon Vega 3 Mobile GFX (Ryzen 3 3200U CPU)
GPU Driver Version: 2D Driver Version 8.1.1.1634
Summary: Unable to load arve curves.
Description: I'm unable to load a custom arve curve for tone mapping in madVR.


I understand that madVR's own tone mapping is better since it's dynamic, but figured I could try loading arve curves into madVR to see how they would perform in my projector.

Once I select 'arve custom curve' in 'tone mapping curve' an explorer window opens where it lets me select the .conf file, once selected/loaded by pressing 'Open', madVR instead selects 'BT.2390'.

If I select 'BT.2390' from the list, I cannot 'Apply' it, because it has already been applied by trying to load the custom arve curve.


Support for arve curves was implemented in v0.92.13, I've tried that build, and all builds up to the most recent build, no luck at all.

You cannot load arve curves with the latest HDR build installed/patched, so obviously those builds are not installed.


I've tried two different curves, one with 'eo' set to 'eotf_pq' and one set to 'eotf_gamma_2_4' but none seem to bite.

Can anyone of you replicate the issue?


I'm using Javs V3 curve, from AVSforum, specifically the '1200nitv3' curve which is 'eotf_pq', you'll find it below.

When attempting a 2.4 gamma curve, I converted the 'eotf_pq' curve to 'eotf_gamma_2_4'.

https://www.dropbox.com/s/xbwz9fyt62...%20v3.zip?dl=1


Thanks!
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002787)
Venue   
2021-02-11 03:29   
I also posted this on Doom9 forums, copy/pasted the post, as you can see.
(0002788)
Venue   
2021-02-11 03:30   
D3D11 was not selectable in 'Decoding' in the submission form, so I chose 'Software'.
(0002789)
Venue   
2021-02-11 03:50   
I've also just recently tried to create a 2.4 gamma curve from scratch in the Arve tool, still no luck.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
659 [madVR] bug major always 2021-01-31 07:01 2021-02-03 09:14
Reporter: goraelec Platform: Windows  
Assigned To: OS: Windows 10  
Priority: high OS Version: 2004  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC 1.9.8.109
Splitter (with version info): LAV Splitter 0.74.1.92-git
Decoder (with version info): LAV Decoder 0.74.1.92-git
Decoding: DXVA2 Copyback
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: fullscreen exclusive mode
GPU Manufacturer: AMD
GPU Model: Vega Frontier Edition
GPU Driver Version: 20.Q4
Summary: HDR Metadata is not sent when tone mapping with 3DLUT
Description: HDR settings contain an option "tone map HDR using external 3DLUT", which has 3DLUT selectors for 3 different color spaces and a separate section that says "send the following HDR metadata to display", which allows to specify a color space and target peak nits. Even with a valid 3DLUT and valid parameters for the metadata, no metadata is actually sent to the display and display doesn't switch to HDR mode.

When switched to "passthrough HDR to display", the display switches to HDR confirming that metadata is present.
Tags:
Steps To Reproduce: 1. Have an HDR display or another way to verify that metadata is passed to the display
2. Have a valid 3DLUT for HDR tonemapping
3. Set the 3DLUT in HDR settings
4. Fill in metadata and click apply
5. Enter full screen

The display won't switch to HDR mode
Additional Information: OS HDR is not engaged
Attached Files:
Notes
(0002774)
madshi   
2021-01-31 08:48   
Does this also occur using the latest HDR test build?

http://madshi.net/madVRhdrMeasure122.zip

Btw, using a 3DLUT for HDR tone mapping is no longer recommended because it results in static tone mapping, while the latest HDR test builds do very high quality dynamic tone mapping. You will need a reasonably fast GPU to use those new algorithms, though.
(0002775)
goraelec   
2021-01-31 17:55   
Yes, build 122 also has this issue. I'm using 3DLUT for HDR in order to correct some of its inaccuracies in the neutral axis. Is there any way to have dynamic tone mapping with 3DLUT in the future?
(0002776)
madshi   
2021-01-31 18:00   
You can let madVR do dynamic tone mapping and combine that with a BT.2020 or DCI-P3 SDR 3dlut. That should give you the best of both worlds.

Actually doing calibration while sending the display HDR is rather questionable because the 3DLUT cannot really know what the display's tone mapping algorithm will do. Unless it's so simple and stupid that it's predictable for the 3DLUT, but if it is, then it must be really bad.
(0002777)
goraelec   
2021-01-31 18:08   
It's simple and stupid in my case. It has FALD, and in each zone, it looks at the brightest pixel and sets the backlight brightness to that value, but it does not exceed the maximum content light level (at least, this is what I observe)
(0002778)
goraelec   
2021-02-01 00:46   
It would be great if there was a way to determine how tonemapping works on a display precisely using madTPG and measurement software like ArgyllCMS and find ways to correct for that
(0002779)
madshi   
2021-02-01 00:54   
That's a job for the calibration software, not for madTPG. madTPG simply renders whatever test pattern the calibration software asks for. How to actually make use of the measured data is the job of the calibration software.
(0002782)
omarank   
2021-02-02 18:28   
Interestingly, I too have been thinking about HDR dynamic tone mapping via 3DLUTs. I think I should describe my idea:

madVR's dynamic tone mapping has two attributes which are dynamic:

1. Dynamic max light and tone map target calculation: madVR dynamically calculates a rolling-average based max light for each frame/scene and also the dynamic target for tone mapping (if DTN is enabled)

2. Dynamic colorimetric processing: madVR dynamically adapts the tone mapping curve depending upon the max light and the dynamic target etc.

For dynamic 3DLUT tone mapping, madVR should just expose the settings/functionality for 1. Even in that, it should just provide the settings for determining the max light (i.e. the optimized maxCLL per frame/scene) and expose the max light as a profile variable. The user can then set up profiles to use different HDR 3DLUTs for different max light ranges. So, when an HDR video is played, madVR will switch between different 3DLUTs depending upon the max light value of the frame/scene.

Certainly, there may be brightness jumps in certain places (or maybe you can take care of them), but all in all it should be possible to have a good dynamic tone mapping experience with 3DLUTs taking care of tone mapping.

What do you think?
(0002783)
madshi   
2021-02-02 18:58   
This is a bug report. I don't think it's the right place to discuss potentially adding support for dynamic tone mapping with 3DLUTs.

Anyway. madVR adapts the tone mapping curve even within each scene, which would not be possible with a 3DLUT solution - unless madVR would load a number of 3DLUTs for different "maxCLL" values and then interpolate between them as needed. That would require a much smaller 3DLUT size, though, to make real-time interpolation reasonable. In any case, there's very very little interest from either madVR or Envy users for having tone mapping baked into the 3DLUT atm, so there's very little chance that I'll spend precious development resources on that, when so many other things are begging for attention.
(0002784)
omarank   
2021-02-03 09:14   
I understand that this may not be the right place to discuss this idea. So, I will not continue here. But I will just make some remarks. My comments are inline:

"madVR adapts the tone mapping curve even within each scene, which would not be possible with a 3DLUT solution - unless madVR would load a number of 3DLUTs for different "maxCLL" values and then interpolate between them as needed. That would require a much smaller 3DLUT size, though, to make real-time interpolation reasonable."

Yes, I understand that madVR adapts the tone mapping curve within scenes too. But that is the colorimetric aspect of madVR's implementation, which we are not concerned about for 3DLUT based tone mapping. A 3DLUT is always going to be a static tone map. I was referring to a very basic dynamic implementation, where on the basis of the range in which maxCLL lies, madVR gently switches between LUTs. And all that interpolation or any complex processing is not really needed. Nor we need a large number of LUTs. Typically, I and others (some projector owners who I provided HDR tone mapping+calibration LUTs) felt just the need for two 3DLUTs. One for very dark scenes and the other for all other scenes. Basically, people were quite satisfied with my LUTs except for one issue that the dark scenes were looking too dark. I believe with just 2 to 4 3DLUTs, the users can have a very good HDR experience with dynamic tone mapping.


"there's very very little interest from either madVR or Envy users for having tone mapping baked into the 3DLUT atm, so there's very little chance that I'll spend precious development resources on that, when so many other things are begging for attention."

Fair enough. Maybe I can bring this up again in future to hear your thoughts then. I will just share my perspective though:

madVR's HDR tone mapping is quite resource intensive. I am sure you will optimize it, but still it is going to be heavy. 3DLUT based tone mapping can provide flexibility to some users to allocate more resources to scaling algorithms or other processing algos or use less powerful GPUs while still getting a good dynamic tone mapping experience.

madVR already supports tone mapping HDR LUTs, so why not make that feature more useful?

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
660 [madVR] bug minor always 2021-02-01 00:41 2021-02-01 00:55
Reporter: goraelec Platform: PC  
Assigned To: OS: Windows 10  
Priority: normal OS Version: 2004  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): madTPG
Splitter (with version info): N/A
Decoder (with version info): N/A
Decoding: DXVA2 Copyback
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: AMD
GPU Model: Vega Frontier Edition
GPU Driver Version: 20.Q4
Summary: madTPG stops sending HDR metadata if user clicks away
Description: If HDR option is enabled, clicking away from madTPG window, even in full screen, causes it to stop sending HDR metadata. This is true for both overlay and exclusive modes
Tags:
Steps To Reproduce: 0. Have two monitors: interface and target
1. On target, launch madTPG
2. Enable HDR
3. Enter full screen
4. On the interface monitor, click anywhere

HDR metadata abruptly stops transmitting
Additional Information:
Attached Files:
Notes
(0002780)
madshi   
2021-02-01 00:55   
This is probably a limitation of the AMD driver, but I'm not 100% sure.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
661 [madVR] bug minor always 2021-02-01 00:45 2021-02-01 00:45
Reporter: goraelec Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: n/a
Media Player (with version info): n/a
Splitter (with version info): n/a
Decoder (with version info): n/a
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: Intel
GPU Model: n/a
GPU Driver Version: n/a
Summary: No HTTPS on madvr.com and bugs.madshi.net
Description: There's no https on madvr.com and bugs.madshi.net, which is not acceptable by modern web standards and should be easy to fix. Without HTTPS, any data between the client and the website is transmitted as plain text. This includes passwords and potentially other sensitive information, such as notes marked "private" on this website
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
657 [madVR] bug crash sometimes 2021-01-22 14:21 2021-01-29 14:24
Reporter: vindy Platform:  
Assigned To: OS:  
Priority: immediate OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): KMPlayer 2020.12.22.30
Splitter (with version info): LAV Splitter 0.74.1.64-git
Decoder (with version info): LAV Video & Audio 0.74.1.64-git
Decoding: CUDA
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: GeForce GTX 950M
GPU Driver Version: 461.09
Summary: Random crash that cause video paused
Description: madVR reports :
- resetting Direct3D device failed (8876086c)
Tags:
Steps To Reproduce: Just play any video, wait for a moment, and the video will paused and showing the error report
(This is randomize, sometimes need to wait a longer, sometimes only a few minutes, sometimes a few seconds.)
Additional Information:
Attached Files: madVR - log fix.rar (2,170,814 bytes) 2021-01-22 14:21
http://bugs.madshi.net/file_download.php?file_id=332&type=bug
Notes
(0002771)
madshi   
2021-01-23 13:10   
No idea why this would happen. Seems most (all?) other users don't have this problem. You could try using different settings in "madVR\rendering\general". E.g. try enabling or disabling automatic fullscreen exclusive mode and/or use Direct3D11 for presentation.
(0002772)
vindy   
2021-01-29 14:24   
My mistake sorry, it happen because of overclocked GPU. After revert changes on clock and volt, it work normally. Thanks for helping

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
654 [madVR] bug minor always 2020-11-26 19:03 2020-11-26 19:10
Reporter: el Filou Platform: GeForce 1050 Ti / Core 2 E7400  
Assigned To: OS: Windows 10 Pro 64-bit  
Priority: normal OS Version: SAC 1909  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC x86 1.9.8, or MediaPortal 1.26
Splitter (with version info): LAV Splitter x86 0.74.1-90, or MediaPortal TS Reader 5.2.3.43
Decoder (with version info): LAV Video Decoder x86 0.74.1-90
Decoding: DXVA2 Native
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: windowed mode
GPU Manufacturer: NVidia
GPU Model: GeForce 1050 Ti
GPU Driver Version: 451.77
Summary: Picture freezes when switching video streams with D3D11 native
Description: When using D3D11 native decode, if the media being played has multiple video streams available, then switching between them during playback freezes the picture. You see two frames from the previously chosen video stream that flicker back and forth. The OSD correctly displays the information about the new video stream, and if you use a TV tuning app, you also hear the audio for the new channel and see the information in the OSD for the new channel video.
Pausing or seeking does not fix it and the only way is to stop playback.
Tags:
Steps To Reproduce: - Set LAV Video Decoder to D3D11 native
- Play media with multiple video streams, here is a sample: https://filehorst.de/d/dIheueFg (bonus from a Blu-ray). This also happens if you zap between different channels with a TV tuning app that supports madVR.
- Try switching video streams with the file playback, or change channel with the TV app
Additional Information: Also happens with:
- HDR test build v113, and earlier madVR versions since 0.92.0
- previous MediaPortal versions
- previous NVIDIA driver versions
- on a Radeon HD 7870 with identical software config, all driver versions
- previous Windows 10 versions

- Only happens with D3D11 native (not selectable in the bug report form)
- Happens with both progressive and interlaced media
- Happens with both MPEG2 and H.264 (did not test HEVC)
- Happens both if the new video stream is of different dimensions/framerate, and if it is exactly the same

- Does not happen with MPC Video Renderer with D3D11 native decode when using the same software config, so would indicate the problem is on madVR side and not LAV
System Description
Attached Files:
Notes
(0002760)
el Filou   
2020-11-26 19:10   
Issue seems to cause the same visual glitch as this other one: http://bugs.madshi.net/view.php?id=586

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
652 [madVR] bug minor always 2020-08-22 03:03 2020-08-22 20:53
Reporter: huhn Platform: x64  
Assigned To: OS: windows  
Priority: normal OS Version: 19041  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 92.17
Media Player (with version info): mpc-be
Splitter (with version info): mpc-be
Decoder (with version info): mpc-be
Decoding: Software
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: 1060
GPU Driver Version: 452.06
Summary: heavy chroma artifacts with p210 apple prores codec
Description: chroma is displayed wrongly with this file: https://drive.google.com/file/d/1FRBxetUKH1mIfZiF4aj6MTYPVdh_tfxn/view when mpc-be with internal filter is used.
other video renderer doesn't show this issue it only happen with this combination.
i talked with Volt about it which ended with madVR uses DXVA2 and DXVA2 can't do p210. mentioning that DXVA2 is optional in madVR doesn't seem to change this mind that DXVA is clearly not the issue here because it's not used.
but fair enough that madVR could be the issue here.
Tags:
Steps To Reproduce: use MPC-BE with default filter setting and madVR as the renderer. play the apple prores file.
Additional Information:
Attached Files:
Notes
(0002732)
madshi   
2020-08-22 08:54   
You probably mean deinterlacing artifacts, not chroma artifacts?

In any case, it seems that the DXVA deinterlacer used by madVR doesn't handle this file well. I'm not sure why, and I'm not sure why other video renderers don't have this problem. You can achieve the best quality (better than other video renderers) with this file by telling LAV Video Decoder to downconvert the video to NV12, and then by activating madVR's forced film mode. But of course it's very ugly to have to do this.
(0002733)
huhn   
2020-08-22 20:04   
well i mean this: https://abload.de/img/corruptionflj9s.png
when lavfilter is used deint is not very good but that's not different with EVR.

are you maybe doing a p210 to YUY2 to make it DXVA2 compatible?
beware that unlike lavfilter MPC-BE internal filter send crop information that madVR honour correctly but it looks like it is "double" applied to the chroma.
(0002734)
madshi   
2020-08-22 20:53   
Oh ok, I don't see that here, but I'm using MPC-HC with external LAV filters. This is probably caused by madVR not handling the crop information correctly, as you say.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
651 [madVR] bug crash always 2020-08-07 04:46 2020-08-07 07:57
Reporter: TBlazeWarriorT Platform: PC  
Assigned To: OS: Windows  
Priority: normal OS Version: Windows 10  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC 64-bit 1.9.6
Splitter (with version info): ffvshow video decoder raw. Input: YV12 (uncompressed). Output: NV12
Decoder (with version info): ffvshow video decoder raw. Input: YV12 (uncompressed). Output: NV12
Decoding: Software
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: Gigabyte GTX 750, 1GB VRAM
GPU Driver Version: 451.67 (more info: https://hastebin.com/atakijavar.nginx )
Summary: 'ACESS VIOLATION' crash when "image upscaling = NGU sharp" and using SVP in fullscreen
Description: Error message: https://imgur.com/5xOxmqR
Happens when I turn this on: https://i.imgur.com/QKjBqNZ.png
FFMPEG tooltip info: https://imgur.com/Fo98flk

The playback always crashes, almost instantly when certain MadVR settings are on.
Seems to only happen when I have SVP on (SmoothVideoProject 4.0.0-6), I'm using MPC-HC 64-bit 1.9.6 and madVR 0.92.17.

This might be a SVP bug, but seems to be directly affected by madVR. I downloaded madVR and MPC-HC through the SVP mainteinance tool.

Seems related to http://bugs.madshi.net/view.php?id=527
Tags:
Steps To Reproduce: The bug seems to only happen if I meet all 3 of the following requirements:
- Have SVP on (performing frame rate conversion)
- Have MPC-HC on a big window so upscaling kicks in (for example, fullscreen a 720p video)
- Have "Image Upscaling" set to "NGU Sharp" in settings
- Might only happen on my CPU/GPU setup (but probably affects all/most setups), can't test.

Closing SVP, watching in windowed mode, or changing Image Upscaling to Jinc either greatly lowers the chance for the crash to happen (like from 99% per second to 1%) or fully stops it (didn't test for long periods of time).
Additional Information: Error message: https://imgur.com/5xOxmqR
Happens when I turn this on: https://i.imgur.com/QKjBqNZ.png
FFMPEG tooltip info: https://imgur.com/Fo98flk
Detailed NVidia Driver info: https://hastebin.com/atakijavar.nginx

I'm a basic user, I don't know what the decoding, splitter and decoder fields below are, I hope I typed the right thing but probably not. Don't know how to check.

RELATED TO: http://bugs.madshi.net/view.php?id=527
Attached Files: 5xOxmqR.png (2,247,559 bytes) 2020-08-07 04:46
http://bugs.madshi.net/file_download.php?file_id=331&type=bug
Notes
(0002726)
TBlazeWarriorT   
2020-08-07 04:48   
The website duplicated my other issue ( http://bugs.madshi.net/view.php?id=651 ). I tried to upload a text file, it said it wasnt published because .txt was invalid and asked me to press back on my browser and change it. I made minor changes to this bug report and submitted again, but then realized the website published both for some reason.
(0002728)
TBlazeWarriorT   
2020-08-07 07:57   
Upon further testing, seems like other upscaling modes can also cause crashes.

Maxed out quality NGU Sharp causes a very instant crash, but only if SVP is running. I can't reproduce the crash at 24/30 frames per second. Jinc causes very rare crashes.

Crash chance/time until crash does seem to be directly related to how complex the upscale method is, but is not limited to NGU. SVP also gave me some messages like "Could not access video player. Did you try running it as an admin?" yesterday but that did not fix it and did not happen today.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
644 [madVR] bug block always 2020-05-26 10:57 2020-07-22 14:15
Reporter: phbgjf Platform: PC  
Assigned To: OS: Windows  
Priority: high OS Version: 7 x64 SP1  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: madVR v0.92.17
Media Player (with version info): DisplayCAL 3.8.9.3
Splitter (with version info): none
Decoder (with version info): none
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 1070
GPU Driver Version: 441.66
Summary: Profiling has not been finished
Description: When profiling finished with madTPG in DisplayCAL a dialog with "Profiling has not been finished" and halts the process. It happens walway with 115 patches, and most of the time with 79 patches, taking hours to hit a succesful calibration process.
Tags:
Steps To Reproduce: Calibrate and profile with madTPG in DisplayCAL. Tested with a Spyder 3 and an i1 DisplayPro Plus
Additional Information: Not real solutions, all I could find on DisplayCAL forum:
https://hub.displaycal.net/forums/topic/aborted-profiling-has-not-been-finished/
https://hub.displaycal.net/forums/topic/profile-has-not-been-finished-madvr-3d-lut/
Attached Files:
Notes
(0002701)
madshi   
2020-05-27 18:49   
IIRC, the DisplayCAL dev made some improvements to help with issues like this, but it seems you're already using the latest DisplayCAL build, so I'm not sure what it could be. Are you using WLAN or wired LAN? Try wired LAN, maybe?

Might make sense to ask once more on the DisplayCAL forums? After all, the threads you linked to are both from 2018, which is quite some time ago.
(0002704)
phbgjf   
2020-05-28 12:36   
Now that you say that I am going to try with the firewall disabled. Not that I'm positive with that since I could get some calibrations with 79 patches. Florian is very intermittent and all I could read from him was to run as admin or reinstall madVR, which I already did -as admin- (it's a trivial thing).
(0002709)
phbgjf   
2020-06-19 10:49   
I tested with firewall disabled and had the same issue. And again only profiling with 79 patches finished successfully. Would like to run longer tests for more accuracy.
(0002710)
madshi   
2020-06-19 16:04   
Are you using the official madVR build? If so, maybe you can try this one, as a test (just overwrite the files)?

http://madshi.net/madVRhdrMeasure113.zip

I'm not sure if that will change anything, though, but might be worth trying, due to lack of better ideas right now. If DisplayCAL has a "madHcNet32/64.dll" in its directories somewhere, also please replace that with the latest build from the zip above.
(0002712)
phbgjf   
2020-07-16 12:30   
I tested yesterday and overwrote the folder, curious not to see madTPG there.

It failed again at 175 patches. I think it might have to do with network settings, I had issues connecting to my laptop in the past as a local network. But I just don't know what's required for madVR to communicate, open ports, remote access, and so on... Also I use tinywall firewall, in case that's a known issue.

On another note, I observed an issue on the calibration targets, they (or maybe only the blue one) is off compared to DisplayCAL Rec.709 targets so I can't use the same monitor hardware settings for both madVR and Windows. I will open a ticket if there's none open already.
(0002713)
phbgjf   
2020-07-16 16:15   
I was using a correction file so forget about the color targets thing.
(0002715)
phbgjf   
2020-07-20 16:25   
Ok, have been trying to calibrate my monitor for the last two days without success after about 10 attempts (testing different things).
I'm a little bit fed up so I went and created a madVR LUT out of my previous monitor calibration (large patch count). Is this ok or does madVR targets have something different than default?
(0002716)
madshi   
2020-07-22 00:17   
Sorry for the lack of replies. I'm currently extremely busy. Some weeks from now I might look into the whole topic of calibration once more. Right now, there's not too much I can say. Whether or not you can convert your previous monitor calibration into a madVR LUT with DisplayCAL is not something I know. Might make more sense to ask that question in the DisplayCAL forum.
(0002717)
phbgjf   
2020-07-22 14:15   
No prob. I asked already there. Will report back if doing so is an option (as a workaround at least).

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
593 [madVR] bug major always 2019-01-14 23:02 2020-06-16 12:21
Reporter: tp4tissue Platform: AMD  
Assigned To: OS: Windows 10  
Priority: normal OS Version: 1809  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 09217,09214
Media Player (with version info): MPCHC, last released
Splitter (with version info): Lav 0.73.1
Decoder (with version info): Lav 0.73.1
Decoding: DXVA2 Native
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: AMD
GPU Model: RX 580
GPU Driver Version: 18.50.11.01
Summary: Madtpg will not kick into HDR mode
Description: Trying to use displaycal.

When engaging Madtpg, the HDR button is press-able, however the display will not kick into HDR mode, EVEN if the entire displaycal process launches with (madtpg) in fullscreen mode.

Normal mpchc+madvr playback operation will kick TV into HDR mode when engaged to fullscreen.

Dispcal HDR process works with my nvidia setups.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002473)
tp4tissue   
2019-01-16 14:46   
Just to clarify, It is my AMD rx580 setup during MadTPG-fullscreen which will not pop into HDR during displaycal calibration.
(0002490)
sat4all   
2019-02-11 09:53   
I have the same issue with gtx1060 and 481.18 nv driver, switching between FSE and Windowed mode doesn't help while madVR playback switch to HDR normaly either FSE or windowed.

Regards
(0002496)
FiSHxFiSH   
2019-03-03 16:02   
same issue with gtx1060,419.17 nv driver,potplayer1.7.17508,madVR 0.92.17,madVR playback can't switch to HDR.
OSD said it's NVHDR mode, but my monitor OSD said it's still SDR.
HDR from OS works but looks ugly as usual
(0002497)
sat4all   
2019-03-04 10:16   
reverting back to 398.11, fixed my problems.
Anyway you don't wanna use newer drivers because of the wrong HDR metadata.
(0002708)
rxp   
2020-06-16 12:21   
Getting the same issue on the latest Nvidia drivers. HDR kicks in fine with MPC-BE on playback of any HDR file - but Madtpg will refuse to kick into HDR.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
646 [madVR] bug minor always 2020-06-13 19:01 2020-06-13 19:01
Reporter: onur Platform: 32/64  
Assigned To: OS: Windows 10  
Priority: normal OS Version: 10  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.92.17
Media Player (with version info): MPC-BE.1.5.4.4850.x86
Splitter (with version info): LAV 0.74
Decoder (with version info): LAV 0.74
Decoding: DXVA2 Copyback
Deinterlacing: none (progressive)
DXVA2 Scaling Active: yes
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: AMD + Intel
GPU Model: Intel UHD 620
GPU Driver Version: 26.20.100.7463
Summary: "Move subtitles" not working correct if "Crop black bars" is selected
Description: Filter: XySubFilter
Subtitles are in croped area when "Crop black bars" is selected.
when deselect "Crop black bars" subtitles are in active(not in black bar) video area.
Tags:
Steps To Reproduce: setup player to use XySubFilter

setup madvr:
move subtitles: ...into active video area
automatoc detect hard coded black bars
Crop black bars

load video with black bars and subtitles.
now the subtitles are croped
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
645 [madVR] bug minor sometimes 2020-06-07 13:40 2020-06-07 13:40
Reporter: misterix Platform: Intel  
Assigned To: OS: Windows  
Priority: normal OS Version: 7  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17.0
Media Player (with version info): MPC HC 1.9.4.1
Splitter (with version info): LAV 7.41.3.4.-git
Decoder (with version info): LAV 7.41.3.4.-git
Decoding: DXVA2 Copyback
Deinterlacing: auto mode
DXVA2 Scaling Active: yes
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: GTX 670
GPU Driver Version: 9.18.13.4788
Summary: MPC-HC x64 crashes MADVR64 fault after closing a movie file
Description: After I watch a movie on Media Player Classic and close it I get a crash. This is annoying because if I want to go back to the spot I left off it won't work.
Tags:
Steps To Reproduce: Open a movie file with MPC, close it.
Additional Information: Problem signature:
  Problem Event Name: APPCRASH
  Application Name: mpc-hc64.exe
  Application Version: 1.9.4.1
  Application Timestamp: 5eda7415
  Fault Module Name: madVR64.ax
  Fault Module Version: 0.92.17.0
  Fault Module Timestamp: 5baf57ff
  Exception Code: c000041d
  Exception Offset: 000000000001d001
  OS Version: 6.1.7601.2.1.0.256.48
  Locale ID: 1033
  Additional Information 1: 7de2
  Additional Information 2: 7de2dc044f6f9d38324e11567c940b1e
  Additional Information 3: 3ba3
  Additional Information 4: 3ba36b358f0e09f763b10194b08fb25d
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
638 [madVR] bug minor always 2020-02-19 12:43 2020-05-29 05:36
Reporter: zeus0r Platform: PC  
Assigned To: OS: Win 10  
Priority: normal OS Version: latest  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.92.17
Media Player (with version info): MPC-HC
Splitter (with version info): 1.7.13 (64-bit)
Decoder (with version info): LAV Filters 0.74.1
Decoding: DXVA2 Copyback
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: fullscreen exclusive mode
GPU Manufacturer: NVidia
GPU Model: Geforce GTX 980
GPU Driver Version: 442.19 - WHQL (latest)
Summary: wrong black levels SDR/HDR
Description: i'm not 100% sure but i think it started with the latest nvidia driver update. i've been using this setup for quite some time without any problems but i recently noticed wrong black levels for HDR content while SDR content is fine. (madvr hdr passthrough enabled)

rgb full range (0-255) is enabled in madvr settings and it currently gives me correct black levels for SDR content but i need to change it to 16-235 in order to get correct black levels for HDR content. (otherwise blacks are grey)

i checked this with some black level test files where 0-16 should be black and 17-25 flash.

0-255: correct SDR black levels but greyish blacks for HDR content
16-235: correct HDR black levels but bad black crush for SDR content

could this be a nvidia bug? or is there someting i am missing here? would it be possible to add another black level setting for HDR content so i don't need to switch?
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002667)
madshi   
2020-02-20 17:10   
Have you forced the Nvidia GPU to RGB Full Range output? That's the recommended configuration.
(0002673)
zeus0r   
2020-02-21 11:22   
okay, now i'm even more confused.

i'm pretty sure i actually chose "RGB/full range/12 bit" in nvidia settings but when i just checked "YCbCr/limited/8 bit" was active. and even weirder: i can't change it to RGB, it's just not there.

so i changed the resolution to 1080p/60 (2160p/60 before) and then i can pick RGB/full/12bit. so i checked black levels again but the problem was still there:

0-255: correct SDR black levels but greyish blacks for HDR content
16-235: correct HDR black levels but bad black crush for SDR content

then i tried pretty much every combination possible and with RGB/limited/12bit: correct black levels for SDR and HDR.

wtf?! why can't i choose RGB with 2160p anymore? and why is limited the correct choice now when it was full range before?!
(0002674)
madshi   
2020-02-21 13:09   
Not being able to choose RGB for 2160p60 means that whatever device your HTPC is connected to (display or AVR or whatever) seems to report that this device's HDMI port doesn't have enough bandwidth for 2160p60 RGB. The HDMI input port of the display/AVR needs to be 18Gbps for that to work. Seemingly it's only being reported as 10Gbps instead.

I don't know why RGB Full doesn't work for you. It works for most other users, including myself. Not sure how to fix it. It's probably some sort of Nvidia driver issue. Try reinstalling the Nvidia drivers in "cleanup" mode, maybe?
(0002675)
zeus0r   
2020-02-21 13:40   
okay, interesting. i'll try that, thank you!
(0002676)
huhn   
2020-02-21 15:51   
there are more than one report of user needing or getting different level between HDR and SDR in the past days.

if listed they where Phillips Tvs.
(0002702)
Deam   
2020-05-28 04:49   
(Last edited: 2020-05-28 04:50)
I would just add to this, and it may very well be an Nvidia bug. I am using MadVR with Kodi DS player (for HDR passthrough). Win 10, GTX 1050ti, Vizio P659-G1 Tried latest drivers and reverted to older ones.

Specifically, if I leave it as a "full" color space path (i.e. MadVR, Kodi DS Player, Nvidia CP and TV), SDR works fine, as confirmed with test clips for black level clipping. However, once I try HDR, the black levels get blown out (such that the entire black level clipping video turns grey and I can see all the bars whether or not they are flashing).

If I then set the TV to limited range (or set Nvidia control panel to limited and leave TV to auto), HDR works. However, unlike the issue noted, my SDR is also displayed correctly verified with clipping test videos.

I'm just noting this here, as it may not necessarily be a MadVR issue as this issue occurs for me when using other Kodi HDR forks that rely on Windows HDR API and not MadVR. I am forced to have the GPU set to limited as I use the PC for other purposes and thus can't have the color clipping using the other options.

(0002703)
madshi   
2020-05-28 11:09   
If you can, it's always a good idea to force your display to treat the HTPC input as having specific levels instead of using "Auto", for the simple reason that the HTPC doesn't always inform the display about the correct levels. Nvidia sometimes reports the levels to the display which you set in the Nvidia GPU control panel, and sometimes Nvidia doesn't report any levels at all, so the display has to guess.

However, if you're talking about HDR passthrough using Nvidia's private API (= *not* turning the OS HDR mode on), then I think it's more likely that Kodi might be doing something wrong, like e.g. rendering TV levels although Kodi is set to PC levels. But I can't say for sure. Just guessing here. My personal experience with madVR is that HDR passthrough works fine and doesn't screw up levels, but maybe it depends on the circumstances, driver version or whatever.
(0002705)
Deam   
2020-05-28 17:46   
Thank you, Madshi. Yes, I have just set the TV to accept YCBCR (limited range) for the time being - the issue being this combination of factors requires the less optimal setting of the GPU doing a color space conversion.
 
It's a Vizio television, and you are correct, it could be a Kodi/DS Player issue, or possibly an issue with the TV receiving a full range signal with HDR metadata. I've read it can be "resolved" by lowering the brightness from 50 to 32 (though I also understand you shouldn't really fiddle with the brightness slider in HDR mode as this doesn't so what it normally does).

I have a ps4 pro and may test forcing it to use rgb full range and engaging hdr to see what happens with the tv. I’ll have to wait until evening as it’s too bright to really see anything.

Thanks for the feedback (and recognize this may not be a Madvr bug at all, so am appreciative of that)
(0002706)
madshi   
2020-05-28 23:24   
FWIW, HTPCs are inherently bad at outputting YCbCr. Usually it's recommended to set the GPU control panel to RGB with PC levels.
(0002707)
Deam   
2020-05-29 05:25   
(Last edited: 2020-05-29 05:36)
It appears for this combination of equipment that I am using I won't have a choice. For posterity (as this is nothing to do with MadVR), I tested the combination with the PS4 Pro running in HDR. I set it to RGB/Full. However, it sends HDR in YCBCR regardless of that setting (so limited color space). This was confirmed by checking the receiver signal, which shows Bt2020 YCBCR vs. BT2020 RGB that the PC sends if left in RGB full. And setting the TV's color space to auto worked as expected. I'm not sure if keeping it at least in RGB format going into the TV, albeit at limited range, is better or worse than having the GPU convert to YCBCR as you've noted.

I'm left to conclude that it may be something with the TV, or the receiver and TV, in which an HDR signal being sent through RGB (full) causes problems requiring a change in the brightness setting in the HDR picture mode. This wouldn't necessarily be a problem, except given the receiver there is only one input being used in the TV and so it would required changing the picture mode/settings going between the PS4 Pro and the PC.

One solution I will look at is whether I can change, in Nvidia Control Panel, the color range for different resolutions, such that when it switches to 23hz it goes to limited RGB, but reverts to RGB full at 60hz.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
643 [madVR] bug minor always 2020-05-08 17:41 2020-05-08 18:47
Reporter: CompEx Platform: Intel NUC8  
Assigned To: OS: Win  
Priority: low OS Version: 10  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): JRiver 24
Splitter (with version info): Standard
Decoder (with version info): Standard
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: fullscreen exclusive mode
GPU Manufacturer: Intel
GPU Model: Iris Plus 655
GPU Driver Version: November 2019
Summary: AR not shown in Info when selected with SoftCubic
Description: When selecting SoftCubic50 with AR enabled for Chroma- und Image-Upscaling, Info-Screen (ctrl+j) shows "Softcubic50"; it should show "SocftCubic50 AR".

Info Screen is correct with AR and Cubic75, Lanczos4, Jinc...
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002698)
madshi   
2020-05-08 18:29   
That's not a bug. AR is not useful for SoftCubic, it would only harm image quality, that's why madVR "refuses" to activate AR when using SoftCubic.
(0002699)
CompEx   
2020-05-08 18:34   
Hm, maybe madvr shouldn't offer the ar-option with softcubic, so there won't be any confusion.
(0002700)
madshi   
2020-05-08 18:47   
Maybe. But there are more important things than that... :-)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
627 [madVR] bug crash always 2019-11-29 19:56 2020-05-05 19:11
Reporter: tomeq82 Platform: Windows 10  
Assigned To: OS: 1903  
Priority: normal OS Version: 18362.476  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC 1.8.8.22
Splitter (with version info): LAV Splitter 0.74.1.30 (MPC-HC bulit in)
Decoder (with version info): LAV Video Decoder 0.74.1.30 (MPC-HC bulit in)
Decoding: DXVA2 Native
Deinterlacing: none (progressive)
DXVA2 Scaling Active: yes
Aero / Desktop Composition: On
Problem occurs with mode: fullscreen exclusive mode
GPU Manufacturer: NVidia
GPU Model: 1050 Ti
GPU Driver Version: 436.02
Summary: after entering fullscreen exclusive playback stops/pauses and can't resume
Description: This issue is more or less prevailing in each madVR version I have ever tried.
I'm using MPC-HC since ever, the issue exist in latest versions of both.

Whenever I set automatic screenmode change and fullscreen exclusive with mode change on playback start (or player start, it doesn't really matter) playback stops and i'm unable to resume it. Play and pause buttons are inactive. MPC-HC seems to hang. I'm switching to 2160p resolutions with corresponding refresh rates. All is defined in madVR settings. I have set delay in exclusive screenmode to 3 seconds as my TV is taking long time to switch modes of operation.

Issue doesn't exist when I first switch to desired screen mode manually then start playback.
Tags:
Steps To Reproduce: 1. use MPC-HC for playback with madVR used
2. set madVR to change screenmode to allign with video
3. launch playback
4. screenmode will change but playback will stop on very first frame (or few frames further) and never resumes and i'm unable to resume
Additional Information:
Attached Files: madvr_1.png (174,505 bytes) 2019-11-29 20:00
http://bugs.madshi.net/file_download.php?file_id=322&type=bug
png

madvr_2.png (166,674 bytes) 2019-11-29 20:00
http://bugs.madshi.net/file_download.php?file_id=323&type=bug
png

madvr_3.png (158,669 bytes) 2019-11-29 20:01
http://bugs.madshi.net/file_download.php?file_id=324&type=bug
png

madvr_4.png (204,180 bytes) 2019-11-29 20:01
http://bugs.madshi.net/file_download.php?file_id=325&type=bug
png

madVR_debug_1-FSE.txt.zip (160,368 bytes) 2019-12-02 15:17
http://bugs.madshi.net/file_download.php?file_id=326&type=bug
madVR_debug_2-FSE_disabled_delay.zip (2,395,965 bytes) 2019-12-02 18:54
http://bugs.madshi.net/file_download.php?file_id=327&type=bug
Notes
(0002583)
tomeq82   
2019-11-29 20:18   
If there is need for more debugging, reproduction scenarios etc. i'm ready - quite power user so nothing really scares me much ;-)
(0002584)
tomeq82   
2019-12-01 17:16   
I have performed some debugging myself and the problem seems to be in the way the madVR is trying to do exclusive fullscreen mode, switch to fullscreen or some sort of interop between MPC-HC:
- when I set the player to start playback in fullscreen mode+switch screnmode when playback starts, the video starts playback, but after "initialization" it drops back to window + desktop. This causes 3 times switching the resolution: from desktop resolution 4k 60hz, to 4k 24hz, then back do desktop and if I want full screen I need to AGAIN push MPC-HC to fullscreen. My TV is switching the resolution for 3-5 seconds (Panasonic TX-50CX700E) so this is extra annoying.
- setting MPC-HC to not go to fullscreen+set madVR to switch screenmode when playback starts, ofcourse removes one mode switch, but still screen blinks during madVR init and additional action is needed from me (go fullscreen after playback start) - this is safest setting
- setting madVR to switch to matching display mode when media player goes fullscreen + set MPC-HC to go fullscreen after playback starts causes drop to desktop from fullscreen, mode swtiching many times and usually "forever pause" or black window, no video,just audio. This is worst setting to have in my scenario.
- when I set "delay playback start until render queue is full" mostly 100% of video launches with mode switching ends in "forever pause" mode. No matter what other settings are set to.
- when I set "delay switch to exclusive mode by 3 seconds" it ends in audio only video, black screen or current frame stand still. Same as above it kills playback.

I must say it is a mess. I never managed to have stable solution for this and dropped using madVR in my htpc setup.
(0002585)
madshi   
2019-12-01 17:19   
Have you tried using windowed mode instead of FSE? In Windows 10 fullscreen windows mode is not so bad.
(0002586)
tomeq82   
2019-12-01 18:16   
I tried - the effect is less painful indeed but MPC-HC never enters fullscreen automatically in that mode. Despite the setting explictly set to start playback in fullscreen, It ends in a window on desktop, I need to manually go fullscreen (doubleclick, alt+enter whatever) None of the madVR settings in windowed mode caused MPC-HC to go fullscreen automatically.
(0002587)
madshi   
2019-12-01 18:21   
That's weird, that seems to work for me. I also don't have the FSE problem you're reporting. Sadly, HTPCs are a mess and every user has different issues.
(0002588)
tomeq82   
2019-12-01 18:52   
Hm, I meant "htpc" is a normal computer for home entertrainment, nothing sophisticated :) nVidia 1050Ti, Pentium G4500 Gold and B360 chipset based board. All standard. The only thing I didn't change since I had those issues is the TV and AVR receiver. Reinstalled windows number of times, I tried with 1030 card and Intel GPU with DP-> HDMI active converter (which caused separate set of problems with 4K output). What puzzles me much is why the player skips out to windowed mode no matter what. It looks like it times out waiting for TV to change display mode and skips out to "safe" mode which is desktop? Is it possible at all?
(0002589)
madshi   
2019-12-01 18:55   
The PC doesn't know or care when the TV switches. That information isn't sent through HDMI.
(0002590)
huhn   
2019-12-02 00:43   
i had this problem too.
with pretty much the same TV TX55CXW704. pretty sure it had nothing todo with it but just saying.

there are 2 different "types" of FSE on windows now.
the normal one that allows overlays from the notification centre, game DVR, geforce experience and so much more. which could be the issue.

sou you could try getting rid of these for a test.

use with cautious:
then we have the original FSE which can be accessed by right clicking the mpc-hc64.exe -> properties -> compatibility -> disable fullscreen optimisation.
(0002591)
tomeq82   
2019-12-02 08:33   
Will do some tries with FSE and disabling all overlays (I think I did but I will check again), but let's say I will stick to windowed mode - as it seems switching screen modes is the real issue here.

When video is launched via mpc-hc -> open file, it willl never get to fullscreen, it will stay on desktop I need to make it fullscreen manually, but here we will have 100% of success in playback, it will switch screenmode, etc.

When I open video via "open with" or doubleclick video icon it will go fullscreen (i see fullscreen logo of mpc-hc for a while), change screen mode and most probably:
- drop from fullscreen to mpc-hc window, but video can be played then (it will normally run)
- stay fullscreen (yay! finally!) but will not start playing automatically (why?) and here another problem branching: will end on audio only or forever pause. SOMETIMES it will just play correctly. I tried maaaaany different videos to find any common denominator, which video plays normally, which don't. I'm unable to.

Ofcourse none of the issues are here when the screenmode is already set or I don't use screenmode change feature in madVR.
(0002592)
madshi   
2019-12-02 09:54   
> disable fullscreen optimisation

I didn't even know that one!
(0002593)
tomeq82   
2019-12-02 14:27   
checked - no overlays, nvidia or Windows Game Overlay enabled. Disabled full screen optimization for mpc-hc64.exe. Same story. No change. Just to be sure, checked with FSE and windowed fullscreen. No change in behavior.

Expected behavior is:
- MPC-HC has option "start playing in fullscreen enabled"
- despite the option in madvr is set: FSE or windowed fullscreen I got video played on fullscreen :) no matter if "doublecliked" video icon, used "open with" from right click menu or "open file" in MPC.

This is something I can't achieve....
(0002594)
tomeq82   
2019-12-02 15:18   
(Last edited: 2019-12-02 18:55)
attached debug with FSE enabled, 4K HDR file opened from right click, open with. Screenmode changed, then black screen. Didn't even started and ctrl+j not able to open....

second log is with disabled delay playback until render queue is full. It gets further though not without a problems. Audio is on, video is "one frame" and debug memu pops-up.

(0002600)
kristoffer   
2019-12-16 19:36   
I just wanna chime in and say I think I have the same issue.
Just built a new pc primarily for use with mpc-hc and madVR, and have been sorting through issues for two days now.

Although my issue doesn't seem to occur all of the time, more like in cycles. Last night it worked well, today i'm having issues 80-90% of the time.

I'm using the same software, and also have an nVida gpu (2070rtx).
(0002601)
tomeq82   
2019-12-16 20:27   
@kristoffer, you say "cycles" I would say bugless playing depends on if I do fresh restart of the pc or if the pc is working for a while and display is being switched to pc. Those two scenarios differ, it fail when I switch my audio receiver to pc and try to play video.
(0002602)
kristoffer   
2019-12-16 22:32   
That resembles my experience. last night for whatever reason I rebooted my pc, and it was working fine afterwards. Don't recall why I rebooted, could be when I tried to re-install mpc-hc and madVR. Today it didnt work.

Anyways, I've settled with your workaround for the time being, opening my movies in windowed mode before I go fullscreen.

If I can help with anything to figure out this bug just ask. Just tell me how and i'll provide logs and try stuff.
(0002690)
Daniel715   
2020-04-23 17:26   
(Last edited: 2020-04-23 17:36)
I have exactly the same bug but I can confirm it 100% depends on the File.
I encountered this issue recently and have confirmed that some Files (mkv) regardless of SDR or HDR just can't start playback, you can skip in the File and you get a proper still image but it is impossible to start playback.
I have not found a solution for this yet and it's very annoying.
The only thing i noticed is that in the madVR OSD it shows that on the "faulty" Files the "present queue" hangs at 1-1 / 8

My System:
Win10 1909 Build 18363.778
Nvidia RTX 2070 Driver 445.87
MPC-BE 1.5.4
madVR 0.92.17

File 1 "RO HDR" works not
Mediainfo:
https://pastebin.com/8FJ8wr7E
madVR OSD:
https://imgur.com/a/ZyVAJn3

File 2 "KDL SDR" works not
Mediainfo:
https://pastebin.com/L4vGL99W
madVR OSD:
https://imgur.com/a/4jTDHut

File 3 "KDL HDR" works not
Mediainfo:
https://pastebin.com/We5UdtBC
madVR OSD:
https://imgur.com/a/1a9roNX

I want to help resolve this so ask me anything

Greetings

(0002693)
Daniel715   
2020-05-03 15:47   
Heres another 3 Files that don't work:

File EP1
Mediainfo:
https://pastebin.com/pHf0iuxz
madVR OSD:
https://imgur.com/a/35QiDZl

File EP2
Mediainfo:
https://pastebin.com/yXbL2rU4
madVR OSD:
https://imgur.com/a/j9kR0Ow

File EP3
Mediainfo:
https://pastebin.com/GiYd82f5
madVR OSD:
https://imgur.com/a/ZaqcvAo

Seems like the files that can't play get more common since recently.

Greetings
(0002694)
cgbug   
2020-05-03 22:43   
Could be an audio driver issue. Test with NULL audio renderer.
(0002695)
Daniel715   
2020-05-04 21:20   
@cgbug:
I just confirmed it is not related to the audio driver.
It is unclear to me why these files can't play back properly but still show the correct still image if you seek around.
Maybe it is some weird encoding that madVR can't handle?

I don't know and we still have to hear from madshi, maybe he has some advice.

Is there a way to output a log file for further diagnostic means?
(0002696)
cgbug   
2020-05-04 22:38   
madVR can handle such files without issues, and the player/codecs that you use as well.

Test with DXVA hardware decoding disabled in the player. If that works the problem is the fault of the graphics driver.
(0002697)
Daniel715   
2020-05-05 19:11   
I'm not using DXVA at all as you can see in the madVR OSD screenshots.
I also tested going back to the previous Nvidia Driver since some users on doom9 reported issues with the latest 445.87 and HDR. But it didn't solve it.

Its very unlikely that the graphics driver or the player is the issue here.
Since most Files play without issues, it is just on some files where it can't start playback.

The issue is somewhere in the "present queue" since the decoder, upload and render queue are full.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
642 [madVR] bug minor always 2020-04-29 01:02 2020-04-29 16:27
Reporter: Furgiuele Platform: Jriver MC26  
Assigned To: OS: Windows  
Priority: normal OS Version: 10  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 113
Media Player (with version info): Jriver Media Center 26
Splitter (with version info): HDFury Integral 2
Decoder (with version info): HQRedOctober
Decoding: Software
Deinterlacing: auto mode
DXVA2 Scaling Active: yes
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: RTX 2060
GPU Driver Version: Last
Summary: FPS issue
Description: Hi, I'm Italian, sorry for my bad english.
I've an htpc with Nvidia RTX 2060 gpu and I use Jriver MP26 with last Madvr release (113) for 2160 upscaling, and hdr to sdr tone mapping for my Sony vpl-vw870es projector.
I've a lot of blu ray discs ripped of concerts and movies. But I can't play well 3 concerts because the source frame rate is 29.970, but Madvr set display mode on 23.980 fps.
I try everything! I create a Profile Group with two display modes, with this rule: if (srcFps > 25) "Profile 1" else "Profile 2"; profile 1 is with display modes 2160p50, 59 and 60, profile 2 is with 2160p23, 24, 25 and 30.
But it doesn't work! Madvr set always that 3 concerts on 23.980 fps, with a lot of dropped frames and stuttering.
The only way to play at the right frame rate is erasing low frame rates in display modes, but then I can't see well all my 23.976 fps videos!
Maybe the issue depends from soft telecine or uncorrect fps data from the ripped files.
Can you help me? There's a way to force Madvr to set 29.970 (or 59...) fps for that videos?
Many thanks in advance.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: 20200429_005444.jpg (971,791 bytes) 2020-04-29 01:02
http://bugs.madshi.net/file_download.php?file_id=330&type=bug
Notes
(0002691)
Furgiuele   
2020-04-29 11:40   
I created a directory named frameRate=29p deint=Off and I dragged the 3 videos inside. Now they work perfectly!
(0002692)
madshi   
2020-04-29 16:27   
A frame rate of 29.970 usually means it's interlaced content which after deinterlacing either turns into 23.976 or into 59.940, depending on which type of content it is. madVR can apply IVTC to turn telecined film content into 23.976, or madVR can apply DXVA deinterlacing to turn natively interlaced content into 59.940p content. But because it's not clear which type of content we're talking about, it's hard for madVR to make the right decision about which frame rate to switch to.

But seems you already found the "solution" which is to use file name tags to tell madVR what to do.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
639 [madVR] bug crash always 2020-04-08 22:46 2020-04-17 13:32
Reporter: radarnyan Platform: Windows  
Assigned To: OS: Windows 7 x64  
Priority: normal OS Version: SP1  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC 64-bit 1.9.2.12 (943e342dd)
Splitter (with version info): LAV Splitter 0.74.1.34-git
Decoder (with version info): LAV Video Decoder 0.74.1.34-git
Decoding: DXVA2 Native
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: GTX1060 6GB
GPU Driver Version: 425.31 (last version supports 3D Vision officially)
Summary: MPC-HC crashes when stereoscopic 3D is enabled in Nvidia Control Panel
Description: madVR crashes MPC-HC as soon as video starts to play if stereoscopic 3D (3D Vision) is enabled in Nvidia Control Panel.

Using non-madVR renderer (like EVR) or switch off stereoscopic 3D, MPC-HC no longer crashes and can play video normally.
Tags: installation
Steps To Reproduce: 1. Enable stereoscopic 3D in Nvidia Control Panel
2. Try play any video (2D or 3D, any format)
3. MPC-HC would crash
Additional Information: I'm using 3D vision in passive mode (line alternative)
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
623 [madVR] bug major always 2019-10-30 03:37 2020-03-02 17:38
Reporter: meowmeow Platform: Windows  
Assigned To: OS: Windows 10 Education 64 bit  
Priority: normal OS Version: 1903  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.92.17
Media Player (with version info): MPC-HC (64bit) 1.8.8 (82efc58f7) by clsid2
Splitter (with version info): LAV Splitter 0.74.1.24-git
Decoder (with version info): LAV Decoder 0.74.1.24-git
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: EVGA 2080 Ti FTW3 Ultra
GPU Driver Version: 436.48
Summary: Presentation glitches occur when "after copy to backbuffer" set to "don't flush"
Description: Define SETTING = "after copy to backbuffer" in Windowed Mode under Rendering
Define ACTIONS = "go to fullscreen or jump during a video playback"

With SETTING default to "don't flush", whenever I perform ACTIONS, presentation glitches almost always (95% of the time) occur. However if I change SETTING to "fush" or "flush & wait(sleep)" and repeat the same ACTIONS, presentation glitches NEVER occur.

I have repeated this experiment with a variety of video files, including 720p, 1080p, 2160p, HDR, SDR, and 10bit SDR, all produce the exact same result.

I also experimented with another setting "after D3D presentation" and it has no effect on presentation glitches wether it's set to "don't flush" or "flush" or "flush & wait".

Considering "don't flush" is the current default value for SETTING and that it causes the glitch problem, may I suggest that the default change to "Flush & wait" in future releases? Or will there be any negative effect from that? "Flush" also works but it uses much more CPU (about 7-8% on a 9900k, compared to 1-2% used by "Flush & wait").
Tags:
Steps To Reproduce:
Additional Information: Note: the "Decoding" is done by "D3D11" however this option is not avaiable in the drop-down menu below so I list it here. Please ignore my selection below.

My monitor is 144hz, 8bit+FRC. I selected "10bit(or higher)" under devices/properties. In NVidia control panel I have set the display profile to use 144hz, 10bit, RGB, Full.
Attached Files: This_is_with_default_setting.PNG (331,862 bytes) 2019-10-30 03:42
http://bugs.madshi.net/file_download.php?file_id=319&type=bug
Notes
(0002574)
meowmeow   
2019-10-31 05:15   
Another observation: if I set the number of frames to be presented in advance to 2, 3, or 6, then I will not need to do flushing at all (all 4 flushing options down below can be set to "don't flush") and will not get any presentation glitch. However any other number of presented frames in advance, including 1, 8, 10, etc., will give me lots of presentation glitch.
(0002577)
madshi   
2019-10-31 17:31   
This is often somewhat "random". Changing the defaults might make things better for you, but could potentially introduce issues for other users.

Anyway, if these glitches only occur if you perform some kind of "action", it's not overly important, anyway. The important thing is that playback is completely smooth while you just sit there and enjoy the movie.
(0002685)
Medea   
2020-02-29 15:55   
You mentioned your monitor is 144Hz. Do you happen to have a second monitor with a different refresh rate?
I've been having many presentation glitches per second (during regular playback, and even when paused) on my 144Hz monitor. Any redraw of my other, 60Hz, monitor will cause glitches.
This is a known issue with Windows and might (mostly) be fixed soon thanks to this update: https://blurbusters.com/new-windows-update-fixes-mixed-hz-multimonitor/

But for now, this made watching videos in windowed mode on my main monitor unbearable, and lately even fullscreen mode is having this issue for me. ("regular" fullscreen, not exclusive mode which I can't even get to work)
So I googled my issue, found this bug report and tried your solution.
I can confirm that changing "after copy to backbuffer" to "flush & wait (sleep)" (or any of the other flush modes) completely eliminates the glitches, and so does changing the number of frames to be presented in advance from 8 to 6 (or anything less than 8).

I don't know if I should create a separate report for my issue, but I just wanted to say thank you meowmeow for posting a working solution.
(0002686)
huhn   
2020-03-02 17:38   
composition rate mismatches are a common issue with windows 10 and 7.

another workaround is overlay rendering it avoid this whole problem.
i had a report about composition rate here before.
it was out of his hands or something like that it's been years.
what so ever windows 8 fixed it too.

if you want to try getting FSE working again you can try this: with mpc-hc you can go to the properties of the exe-> compatibility and check "disable fullscreen optimisation" this restored FSE to it older glory but i have bad experience doing that in new windows versions. so do that at your own risk.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
634 [eac3to] bug minor always 2020-02-08 17:54 2020-02-24 13:45
Reporter: Bandits Platform: Windows  
Assigned To: OS: Windows 10  
Priority: normal OS Version: 1903  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.34
Summary: h265/HEVC video stream parameters not detectable.
Description: First Pass Video stream reports:

h265/HEVC, 2160p24 /1.001 (16:9)

Second Pass Video stream reports:

h265/HEVC, unknown parameters
Tags:
Steps To Reproduce: Execute eac3to.exe on UHD or folder containing UHD data.
Additional Information: First Pass:

eac3to v3.34
command line: "C:\eac3to.exe" "C:\XXXXX" -log="C:\log.txt"
------------------------------------------------------------------------------
1) 00000.mpls, 00001.m2ts, 2:13:12
   - Chapters, 16 chapters
   - h265/HEVC, 2160p24 /1.001 (16:9)
   - DTS Master Audio, English, multi-channel, 48kHz
   - AC3, Spanish, multi-channel, 48kHz
   - AC3, French, multi-channel, 48kHz
   - AC3, English, stereo, 48kHz
   - DTS, English, stereo, 48kHz

Second Pass:

eac3to v3.34
command line: "C:\eac3to.exe" "C:\XXXXX" 1) -log="C:\log.txt"
------------------------------------------------------------------------------
M2TS, 1 video track, 5 audio tracks, 5 subtitle tracks, 2:13:12, 11.987p
1: Chapters, 16 chapters
2: h265/HEVC, unknown parameters
3: DTS Master Audio, English, 7.1 channels, 24 bits, 48kHz
(core: DTS, 5.1 channels, 1509kbps, 48kHz)
4: AC3, Spanish, 5.1 channels, 640kbps, 48kHz
5: AC3, French, 5.1 channels, 640kbps, 48kHz
6: AC3 Surround, English, 2.0 channels, 224kbps, 48kHz
7: DTS, English, 2.0 channels, 768kbps, 48kHz
8: Subtitle (PGS), English
9: Subtitle (PGS), French
10: Subtitle (PGS), English
11: Subtitle (PGS), French
12: Subtitle (PGS), Spanish
Attached Files:
Notes
(0002644)
madshi   
2020-02-08 18:17   
Can you upload a small sample somewhere? Just a couple of MBs might suffice. Just enough for eac3to to reproduce the problem on the sample.
(0002661)
Bandits   
2020-02-15 17:52   
https://www.dropbox.com/s/ly9e37infi1vkh1/00000.m2ts?dl=0

This was a small as I could make it without eac3to giving error.
(0002679)
Bandits   
2020-02-23 07:22   
https://www.dropbox.com/s/j5o7ek0mnk96asm/00001.m2ts?dl=0

New sample same issue.
(0002680)
madshi   
2020-02-24 13:45   
Thanks, got the samples. Might take a while until I get to this, though.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
630 [madVR] bug major always 2019-12-21 14:27 2020-02-20 17:17
Reporter: mclingo Platform: windows  
Assigned To: OS: 10  
Priority: normal OS Version: 1809  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.92.17 + 112b madvrm beta
Media Player (with version info): all players, main drivers / kodi ds / mpc-hc
Splitter (with version info): lav 0.74.1
Decoder (with version info): lav 0.74.1
Decoding: DXVA2 Copyback
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: AMD
GPU Model: MSI amd rx 5700 8gb oc
GPU Driver Version: 19.12.3
Summary: Low colour saturation when using AMD API on AMD 5700 series cards - not apparent on old RX 4/500 series
Description: When using AMD HDR APi in MADVR colours are very unsturated, it has been suggested BT2020 is not being selected for output by MADVR for this generation of cards.

So far this has been reported and confirmed by a number of people including huhn on the MADVR forum.

Tags:
Steps To Reproduce: Play and HDR movie using MADVR, output in HDR must be selected.
Additional Information: If Windows HDR switch is used instead and AMD API is disabled in MADVR colours are correct and normal so this seems to be an issue with how MADVR and AMD API are interacting, we cant tell if this is a MADVR or AMD issue.

However this has been an issue since day one of this series of cards and AMD still havent fixed it, can a workaround be added to MADVR mabe to force BT2020 output?
Attached Files:
Notes
(0002612)
mclingo   
2020-01-09 17:16   
Hi, just some more info on this from user DMU on doom9, this is a support request he sent in to AMD which I dont think he's had a reply on yet, just thought it might be useful to you in case you had any ideas on a workaround as going forward its likely all new AMD will have this bug of this generation and it hasnt been fixed for months, so might not get fixed.



Hi there.
You have entered support for HDR mode. The agsSetDisplayMode() function used to set a specific display in HDR mode, does its job perfectly: it sends metadata to the display device, which is defined in section 6.9 «Dynamic Range and Mastering InfoFrame» according to Table 5 of the CTA-861 standard. But in the same Table 5 there is also «Auxiliary Video Information (AVI)» defined in section 6.4. And all display devices are required to use the color space (colorimetry) from this data section (AVI InfoFrame) for the current video signal.
Suppose we are in SDR mode with the standard sRGB color space. And we want to switch to the HDR mode with the BT.2020 color space, which is the main one for this mode. By calling the agsSetDisplayMode() function, we put the display device in HDR mode. And we see distorted or unsaturated colors. This is because the display device did not receive the corresponding flag from the GPU in the AVI InfoFrame and is trying to display our BT.2020 color space in its sRGB.
Please tell me, do you think that such HDR support in AGS_SDK is sufficient? If yes, then advise what else needs to be done so that the display device passes into the correct color space when activating the HDR mode using AGS?
(0002645)
DMU   
2020-02-12 07:29   
(Last edited: 2020-02-12 13:06)
Received response from gareththomasamd.
https://github.com/GPUOpen-LibrariesAndSDKs/AGS_SDK/issues/33
Cool, but with 20.2.1 version the AMD AGS HDR does not work at all.

(0002646)
madshi   
2020-02-12 16:27   
AGS HDR has a few requirements, e.g. it has to be D3D11, fullscreen and 10bit. Are all those requirements met in your case? Which is the last driver with which AGS HDR worked at all for you?
(0002647)
mclingo   
2020-02-12 16:32   
Hi, yeah I have all those requirements in place, the fact that HDR works in MADVR with windows HDR turned on it quite telling though, it suggests that windows is locked at BT2020 and overrides MADVR somehow. with the 5700 series none of the drivers have worked with MADVR HDR unfortunately :(

So thw workaround right now is to turn on windows HDR then use video app + MADVR as normal, this works fine but it looks like we'll need some sort of force BT2020 switch in MADVR for AMD NAVI cards for the forseable future.
(0002648)
madshi   
2020-02-12 16:35   
Oh wow, so the dynamic HDR switch doesn't work at all with 5700, with any driver version? That's disappointing, for sure.

Have you tried the sample garththomasamd linked? Does that sample have the same problem? Or does that sample actually manage to switch to HDR mode, with the OS HDR switch turned off?
(0002649)
mclingo   
2020-02-12 16:44   
Hi, no its never worked, its a shame as its a really great card with MADVR, just glad there is a workaround as your recent tone mapping work is incredible.

I had a look at those links and could not find the actual samples other than some freesync stuff. i'm currently downloading everything on there but its taking ages for some reason.
(0002650)
madshi   
2020-02-12 16:46   
Thx, glad you like my tone mapping!

Would be great if you could find and test that sample. If that sample works, maybe I can figure out why madVR doesn't. But if the sample also fails, then it's clear that it can't be madVR's fault.
(0002651)
mclingo   
2020-02-12 16:54   
they all look to be code samples no actual video samples as such, I cant see anything to test i'm afraid.
(0002652)
madshi   
2020-02-12 16:56   
So just source code, no EXE files to run? That's a pity. No time atm to compile that stuff for you. Maybe garththomasamd can provide a simple EXE sample for you to try?

Might help if you told him that madVR worked fine with AMD 4xxx series (using AMD AGS), but never worked with AMD 5xxx series?
(0002653)
mclingo   
2020-02-12 17:11   
ive asked for a sample but I dont think we'll learn anything to be honest, I think we're all now sure its not a MADVR issue as it still works with last gen RX400/500 cards and they are using the same API, it must be something to do with the NAVI driver itself.
(0002654)
mclingo   
2020-02-12 18:48   
thanks for having a look though, we know you're super busy with envy / tone mapping.
(0002655)
DMU   
2020-02-12 20:55   
(Last edited: 2020-02-12 21:05)
I can check using HDFury. But I am not a programmer and I can not create code for verification. And the following is required:
https://gpuopen.com/using-amd-freesync-premium-pro-hdr-code-samples/
---------------------------------------------------------
After confirming the monitor supports HDR, the swap chain is created using standard DX12 code. It is important to initialize its color format to the required HDR color format that we want to support. This would be DXGI_FORMAT_R10G10B10A2_UNORM for DisplayNative or Gamma22 and DXGI_FORMAT_R16G16B16A16_FLOAT for scRGB. The app also needs to setup its window to get exclusive full screen mode via the Windows® API. This is achieved by creating a window with borderless full screen flags and making its size and resolution match that of the monitor.
---------------------------------------------------------
All that is needed is to create a full-screen window according to their requirements. And I will launch the AGS in it.

PS
This problem concerns not only AMD Navi video cards, but Vega too.

(0002656)
mclingo   
2020-02-12 21:21   
sorry you're quite right, its just polaris which isnt affected I think.

let us know what you find out DMU
(0002657)
madshi   
2020-02-12 21:33   
> After confirming the monitor supports HDR, the swap
> chain is created using standard DX12 code.

FWIW, madVR uses DX11. But other than that, all the requested details are fulfilled by madVR.
(0002658)
huhn   
2020-02-13 00:36   
polaris cards work totally fine with your current code as confirmed.

so you have to yet again workaround a driver bug if you want to change something about this situation.
maybe it works with dx12 correctly. who knows. AMD doesn't seem to really care about video playback at the moment and other stuff that doesn't crash the driver.
(0002659)
mclingo   
2020-02-13 01:06   
i guess if we could find a game that uses dx12 and amd api we could test that theory Huhn, i had a look for one a while back but its impossible to get this sort of info without looking at every single game in detail one by one.
(0002660)
DMU   
2020-02-13 08:31   
(Last edited: 2020-02-13 08:34)
Microsoft has a sample DX12 fullscreen code.

https://github.com/microsoft/DirectX-Graphics-Samples/tree/master/Samples/Desktop/D3D12Fullscreen

I tried to introduce the AGS HDR into it - the result is negative (no BT.2020 flag).
But I'm not a programmer, maybe I did something wrong.

(0002662)
mclingo   
2020-02-17 17:00   
Hi Madshi, do you think you'll be able to create some sort of workaround within MADVR itself at some point when ENVY is released, it doesnt look like AMD are going to move on this any time soon with all the other issues they have at the moment.
(0002663)
madshi   
2020-02-20 16:57   
As you said earlier:

> I think we're all now sure its not a MADVR issue

So I'm not really sure what I could do here.
(0002664)
mclingo   
2020-02-20 17:05   
Hiya, could you maybe set MADVR to always force BT2020 output for all HDR movies somehow, or maybe create a switch we can turn on or off using a profile?

The fact that it works fine in MADVR when windows HDR is also turned on suggests that MADVR can be forced to output BT2020, if you see what I mean.
(0002665)
madshi   
2020-02-20 17:08   
My understanding is that it's just the HDMI InfoFrame BT.2020 flag which is missing. Which I have no control over. The pixel data madVR renders and outputs seems to be correct, as far as I understand.
(0002666)
mclingo   
2020-02-20 17:10   
another option would be to add windows HDR API back in so that could be selected over the GPU private API.
(0002668)
madshi   
2020-02-20 17:11   
Windows API is supported. You can manually switch the OS into HDR mode, and madVR should happily output HDR that way.
(0002669)
mclingo   
2020-02-20 17:14   
Hi, yes but it can only be switched on manually, we're already using that as a workaround, is it not possible to bake in windows HDR so that HDR can be turned on automatically like it does for AMD/NVIDIA API?
(0002670)
madshi   
2020-02-20 17:15   
Maybe.
(0002671)
mclingo   
2020-02-20 17:16   
a "use windows HDR" switch that could be toggled in MADVR so it bypasses the other API's
(0002672)
mclingo   
2020-02-20 17:17   
I know you are super busy with ENVY though mate so we're not expecting anything from you at all right now, but something you could maybe think about for V1.0 relese :)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
631 [madVR] bug major always 2019-12-31 15:44 2020-02-04 19:42
Reporter: totalz Platform: Windows  
Assigned To: OS: 10  
Priority: high OS Version: 1709  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.92.17
Media Player (with version info): KMPlayer 64X_2019.11.18.03
Splitter (with version info): LAV 0.70.2
Decoder (with version info): LAV 0.74.1
Decoding: DXVA2 Copyback
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: fullscreen exclusive mode
GPU Manufacturer: AMD
GPU Model: RX570
GPU Driver Version: 2020 12 02 WHQL
Summary: Disabled(unchecked) automatic full screen exclusive mode, but still entered exclusive mode while full screen.
Description: If seems that I cannot totally disable full screen exclusive mode.
Tags:
Steps To Reproduce: Once enabled, cannot fully disable, not even system restart
Additional Information:
Attached Files:
Notes
(0002607)
madshi   
2019-12-31 21:24   
Some media players override the madVR settings. Maybe that's what's happening here? I'm not very familiar with KmPlayer. Maybe there's a setting for that in the KmPlayer options?
(0002608)
totalz   
2020-01-02 04:02   
(Last edited: 2020-01-02 07:29)
Actually, I think KMPlayer is now closely and kind of identical to MPC-HP. And I don't think there's any HDR setting in KMPlayer.

After more testing, I found that the issue happens when Windows HDR is off. But then I only enabled the fullscreen exclusive mode while Windows HDR was off. I'm not dare to test the mode while Windows HDR is on. I did try clean install display card driver, but that didn't fix the problem.

Device HDR setting in madvr set to "passthrough HDR to display", and checked "send HDR metadata to the display". Is the HDR metadata for HDR10+ & Dolby Vision?

I'm wondering if madvr has to enter "fullscreen exclusive" in order to passthrough HDR to display. Cause whenever I need to access KMPlayer's menu, the screen goes black, wait 3 sec if that option is checked in exclusive mode. And there are times that I couldn't get the menu, video picture shown, then back to black screen for 3 sec... And color can be all wrong when playback resumes, 50% of times it goes to Black&White. Windows 10 itself could be the issue here when Windows HDR is off.

(0002609)
madshi   
2020-01-03 09:29   
madVR should never go fullscreen exclusive unless you either have it enabled in the settings, or if the media player overwrites your settings.

The HDR metadata is simple HDR10. Dolby Vision and HDR10+ are not supported at the moment.

For best HDR quality I'd recommend using the latest test build from AVSForum and letting madVR do the tone mapping. That requires a good GPU, though.
(0002610)
totalz   
2020-01-03 09:53   
The effect of switching to fullscreen exclusive mode is very obvious, and I never see that in KMPlayer unless I use madVR as the Video Renderer and enabled fullscreen exclusive mode. Except in this case I couldn't disable it...
(0002611)
madshi   
2020-01-03 09:56   
What does the madVR OSD say (Ctrl+J)? Does it say fullscreen exclusive mode?
(0002615)
dom   
2020-01-16 12:17   
I'm encountering the same issue with MPC-HC.
The display goes black for a moment and then comes back - exact behavior of my display when mode/resolution/whatever is changed.
- Only occurs with MadVR
- Switch to exclusive happens a few seconds after going to full-screen in MPC
- No matter what options are set in MadVR - it always occurs
- All mode-switching and exclusive options in MPC are disabled as well

This is made worse by the fact that I'm also experiencing something sort of similar to issue 0000596 (http://bugs.madshi.net/view.php?id=596).
However, in my case, the image is significantly darker only after the switch has occurred -> dark in FSE and better-looking in FSW - i.e. the other way around.
If I watch the video in normal windowed mode (no full-screen whatsoever) then it looks fine.
-> This is what leads me to believe that the display switch that occurs after a few seconds is to full-screen exclusive
(0002617)
pittyh   
2020-01-20 11:06   
Created a account here, just confirm i am having the same issue.

Windows 10 1909
9900K
2080ti
Nvidia driver version 441.12
Potplayer 1.7.20977

 Disabled(unchecked) automatic full screen exclusive mode, but still entered exclusive mode while full screen.

I just cannot get fullscreen windowed without it going exclusive.
Changing to EVR renderer in potplayer allows fullscreen windowed no problem.
(0002618)
madshi   
2020-01-20 11:11   
Again guys, I've asked but you didn't answer:

What does the madVR OSD say (Ctrl+J)? Does it say fullscreen exclusive mode?
(0002619)
pittyh   
2020-01-20 13:07   
(Last edited: 2020-01-20 13:24)
Hi madshi,

Nope it says D3d11 fullscreen windowed (10Bit) but it's acting like it's fullscreen exclusive, because if i mouse over the seek bar or adjust volume, screen flashes black

Also lists "1 frame drop every 1.00 seconds" appears when in windowed mode, and disappears in fullscreen

Link to madvr settings image - windowed mode
https://imgur.com/DFGDyX0


Fullscreen mode
https://imgur.com/a/C1ROtoQ

(0002620)
pittyh   
2020-01-20 13:49   
Think i fixed it by totally uninstalling madvr and reinstalling.
(0002621)
madshi   
2020-01-21 23:43   
FWIW, Windows 10 has a special mode called "direct scanout", which is automatically activated by the OS and GPU driver in fullscreen windowed mode. The OS and GPU driver do this directly, practically behind the back of madVR. Which is normally fine, because this mode improves performance to near FSE levels. Plus it allows 10bit output in fullscreen windowed mode.

My best guess is that this "direct scanout" mode is somehow causing these issues for you. There's not much I can do about that, unfortunately.

Not sure why uninstalling and reinstalling madVR would fix that, though. That seems weird.
(0002626)
dom   
2020-01-26 16:09   
(Last edited: 2020-02-01 09:13)
uninstall/reboot/reinstall/reboot does NOT seem to help on my end.

It says D3D11 fullscreen windowed - the same BOTH immediately after going fullscreen in MPC-HC - and after the delay of a few seconds elapses and the screen switches and the HDR display becomes much darker.

After the "switch" it definitely behaves like fullscreen exclusive, even if MadVR debug OSD doesn't say so.
E.g.: Just mouse right-click to bring up the MPC context menu causes another switch (to what really is FSW, I think) - with the display becoming more light again... after dismissing the context-emu, there is again a "switch" (back to FSE) with display becoming much darker again.

As I mentioned before, the FSE dark display is too dark - it is unusable for watching movies.
Grey value 72 is just barely visible an non-black on my (admittedly weak) HDR display.
If in windowed mode, it is 66.
It's not just the low end - the curve seems different, e.g. dark/FSE 100 looks equal to light/FSW 80

I'm the above I'm using this: "01. black-level-v1.mp4" from "Mehanik HDR10 test patterns" (https://www.avsforum.com/forum/139-display-calibration/2943380-hdr10-test-patterns-set.html)


EDIT 2020-02-01: inserted important NOT in first line (ouch typo!) and fixed other minor typos

(0002627)
madshi   
2020-01-26 16:13   
As I said, it's a "feature" of Windows 10. There's nothing I can do about it. Maybe you can work around it by choosing appropriate GPU driver settings. E.g. make sure you're using "RGB Full" in the GPU control panel etc.

It's also possible that it only occurs when using D3D11 presentation or when using 10bit output. You could try disabling D3D11 presentation or force 8bit output instead.
(0002630)
dom   
2020-02-01 10:20   
@madshi: For my understanding, please:
What are the parameters under which this "direct scanout" gets activated?

With your tips, I experimented a bit:
- "Full RGB" was always set in nvidia settings
- "tone map HDR with pixel shaders" always set in madVR HDR settings (200, BT.2390, balanced, medium)
- the "switch" only occurs if HDR is enabled in Windows display settings (OD HDR) and "output video in HDR" is disabled in MadVR
- no difference if 8 or 10 Bit selected in nVidia settings
- If I disable OS HDR and enable "output in HDR" in MadVR (NV HDR), there also is no switch when going fullscreen (but one when the player starts, obviously). However, the image quality is bad in this NV HDR mode (way too dark)
(0002631)
madshi   
2020-02-03 10:15   
It is usually recommended that you disable the OS HDR switch and instead let madVR do the tone mapping by using pixel shaders. If you do that, I would recommend that you disable "output in HDR". Unless you're using an LG OLED display? In that case using "output in HDR" might be beneficial because the OLED might then run in a higher brightness setting.

Hopefully you're using the latest (or one of the latest) madVR HDR test builds from AVSForum? E.g. try this one:

http://madshi.net/madVRhdrMeasure112b.zip
(0002637)
dom   
2020-02-04 18:58   
My display is an ASUS PA24AC - not very good at HDR - but better than nothing.

It has a normal and an HDR mode - if I leave both "OS HDR" and "output in HDR" (NV HDR) off - then it never switches into HDR mode...
My understanding so far was that tone-mapping alone won't be good enough in this situation...?

No, I have the normal public version... I try this newer build in the next few days, Thanks.
(0002638)
madshi   
2020-02-04 19:02   
Your display doesn't do anything magical if it's in HDR mode. It practically only means that your display applies tone mapping. If you let madVR do the tone mapping instead it's better to keep your display in SDR mode, so tone mapping isn't applied twice. So the recommended approach is to disable the "output in HDR" option.

Might make sense to double check image quality, of course.
(0002639)
dom   
2020-02-04 19:42   
will do - likely will only have time next weekend, though

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
632 [madVR] bug minor always 2020-01-24 22:01 2020-01-26 14:22
Reporter: Matching_Mole Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.92.17
Media Player (with version info): J River MC25 or 26
Splitter (with version info): LAV Filters 0.74.1
Decoder (with version info): LAV Filters 0.74.1
Decoding: Software
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: RTX 2070 super (but the two other PC was with ATI Rage Nano or HD 7900)
GPU Driver Version: 441.87
Summary: madVr + J River MC25 (or 26) = issue with external subtitles for DVD playback
Description: J. River (MC25 or 26) allow to use external subtitles (as SRT files) with official DVD-video support (ifo+vob) using "browse" function in Subtitle sub-menu.

When using madVr as video renderer, the loaded external sub file is not used but still the potential internal subtitles track from the DVD.And so even if the external subtitles file entry in the J River subtitle sub-menu is indicated as selected.

To force the "switch" to the external sub, it requires to first select the "Off" entry from the J. River Subtitles sub-menu and then, with the same sub-menu, to select again the external subtitles file entry added after the initial loading. If this actions are done again (select "Off" and then whatever subtitles from the list), no subtitles is working any more (inner or external).

If other video renderer than madVr is used (as EVR), everything works as intended. This issue was reproduced in the exact same way with 3 different computers, two with Windows Seven x64, one with Windows 10 x64.
Tags:
Steps To Reproduce: Step 1: play a DVD-video in J River (MC 25 or 26) with madVr as video renderer.
Step 2: load an external subtitles file in SRT format using "browse" function in J River Subtitle sub-menu.
Step 3: madVr is still playing the potential internal subtitles even if the external subtitles file entry in the J River subtitle sub-menu is indicated as selected.
Step 4: select the "Off" entry from the J. River Subtitles sub-menu. No subtitles should be played by madVr.
Step 5: select the external subtitles file entry (added in the step 2) in the J River subtitle sub-menu. Now the external subtitles is played by madVR.
Step 6: redo the steps 4 and 5 (choosing the internal or external subtitles track). No Subtitles will work anymore.
Additional Information: If other video renderer than madVr is used (as EVR), everything works as intended.
Attached Files:
Notes
(0002622)
madshi   
2020-01-25 21:38   
Does the same problem occur with other media players? It could be a bug in the media player just as well as a bug in madVR. Other renderers working fine doesn't prove anything just yet, because the MC subtitle implementations for each renderer are probably different.
(0002623)
Matching_Mole   
2020-01-26 14:15   
I have no such issue with MPC (BE or HC) but I think they work differently from J River for the specific case of DVD-video. I suspect that the subtitles renderer of River is not the same for the internal DVD subtitles (image based) and external subtitles (text based). The action to load external subtitles seems to require a kind of change (pins change?) that is not correctly working with madVr. For instance, there is no such issue with Blu-ray Video file in J River as no such change seems required even with external subtitles due, I think, to the specifications of the Blu-ray video standard.

Currently J River team consider they have no issue from their player as all works as intended with EVR renderer. If you consider that the issue is with J River and no madVr so we are in kind of loop hole.
(0002624)
madshi   
2020-01-26 14:18   
I've no idea where the issue is. It could be their fault or mine. Just saying that it be either. Atm I'm busy working on the Envy, which doesn't have subtitle support. So it will probably take a while until I get a chance to look into this.
(0002625)
Matching_Mole   
2020-01-26 14:22   
No Problem, this is perfectly understandable. The issue is kind of minor and a workaround is existing (even if it is kind of boring).

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
596 [madVR] bug major always 2019-02-06 21:24 2020-01-16 12:22
Reporter: DMU Platform: AMD Ryzen 3 2200G  
Assigned To: OS: Windows 10 Pro  
Priority: normal OS Version: 1809  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC (64-bit) 1.8.4
Splitter (with version info): LAV 0.73.1
Decoder (with version info): LAV 0.73.1
Decoding: DXVA2 Copyback
Deinterlacing: forced film mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: windowed mode
GPU Manufacturer: AMD
GPU Model: Vega 8
GPU Driver Version: 19.1.1
Summary: HDR video is much darker in Fullscreen Windowed (FSW) mode.
Description: MadVR is in AMD HDR mode. In FSE mode all HDR video looks great. In FSW - much darker.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: fsw_dark.jpg (903,172 bytes) 2019-02-06 21:24
http://bugs.madshi.net/file_download.php?file_id=303&type=bug
fse.jpg (972,161 bytes) 2019-02-06 21:35
http://bugs.madshi.net/file_download.php?file_id=304&type=bug
Notes
(0002616)
dom   
2020-01-16 12:19   
I'm experiencing the exact opposite of this!

The HDR video looks ok in windowed mode ( no full-screen at all) and in FSW.
In full-screen exclusive, it is much MUCH darker to the point of being unwatchable.

This matter is made worse by the fact that I cannot get MadVR to stay in FSW mode - after a few seconds delay, it always switches to FSE (not matter what full-screen options are set/unset)
-> issue 0000631 (http://bugs.madshi.net/view.php?id=631)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
628 [madVR] bug major always 2019-12-07 17:55 2020-01-14 11:02
Reporter: onur Platform: 32/64  
Assigned To: madshi OS: Windows 10  
Priority: normal OS Version: 10  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.92.17
Media Player (with version info): MPC-BE.1.5.4.4850.x86
Splitter (with version info): LAV starting from 0.71.0
Decoder (with version info): LAV starting from 0.71.0
Decoding: DXVA2 Native
Deinterlacing: auto mode
DXVA2 Scaling Active: yes
Aero / Desktop Composition: On
Problem occurs with mode: windowed mode
GPU Manufacturer: Intel
GPU Model: Intel UHD 620
GPU Driver Version: 26.20.100.7463
Summary: MadVR and LAV possible Bug
Description: Playing specific files from specific resume pos is not working (black screen).
(i think when pos is short bevor keyframe everything is ok).

LAV starting from 0.71.0 is not working.
newest mpc-hc has integrated LAV 0.70.2 which is working.
EVR Renderer is working with all versions of LAV.
Tags:
Steps To Reproduce: 1.)
mpc-be player - with prefered external filter (LAV Splitter Source and LAV Video Decoder)
https://drive.google.com/file/d/12T5jjOuCUKzfylkc_wT86iWpHT637GRw/view
or
https://drive.google.com/uc?export=download&id=1PFk0HyHuFZebrNTUbctI83souI_aGTEb
(load file with resume pos 01:04)

now we have a black screen.


2.)
test with source code:
First we need a Stopped Graph, with the test file Samsung Wonderland Demo.ts
Filter Graph with LAV Source and LAV Decoder and MadVR Renderer.
when we start file playing with resume pos the screens is black.

not working:
REFERENCE_TIME rtResume=640000000;
pMSeek->SetPositions(&rtResume, AM_SEEKING_AbsolutePositioning, NULL, AM_SEEKING_NoPositioning);
pMC->Run();

not working:
REFERENCE_TIME rtResume=640000000;
pMSeek->SetPositions(&rtResume, AM_SEEKING_AbsolutePositioning, NULL, AM_SEEKING_NoPositioning);
pMC->Pause();
pMC->Run();

working:
REFERENCE_TIME rtResume=640000000;
//first seek to keyframe
hr = pMSeek->SetPositions(&rtResume, AM_SEEKING_SeekToKeyFrame, NULL, AM_SEEKING_NoPositioning);
pMC->Pause();
                
//wait until Ready
__int64 endclock = GetTickCount64() + 2000;
OAFilterState pfs;
while (pMC->GetState(10, &pfs) == VFW_S_STATE_INTERMEDIATE || pfs != State_Paused)
{
   Sleep(10);
   if (GetTickCount64() > endclock)
     break;
}

//now seek to Real Pos
hr = pMSeek->SetPositions(&rtResume, AM_SEEKING_AbsolutePositioning, NULL, AM_SEEKING_NoPositioning);
Additional Information:
Attached Files: mpc-hc.zip (4,692 bytes) 2019-12-24 14:53
http://bugs.madshi.net/file_download.php?file_id=328&type=bug
Notes
(0002599)
madshi   
2019-12-10 23:15   
So latest LAV doesn't work, but older LAV builds work? I guess it's a 50/50 chance that it's a bug in madVR or in LAV. Have you tried asking nevcairiel about it? If it worked in older LAV builds but not in the latest, that would suggest that some change in LAV caused this issue. But it could of course still be madVR's fault (as well).
(0002603)
onur   
2019-12-20 16:07   
answer of nevcairiel:
TS files are not always perfectly seekable, its just the nature of the format - its designed for broadcast and streaming. If you need flawless seeking, remux to MP4 or MKV.

my adoption:
newer LAV with EVR, EVR-CP is working without problems.
maybe LAV Source is reporting wrong size/format on start, then switch to right format, and madVR cannot handel dynamic changes on size/format?

but you are the developer, you can debug.
(0002605)
onur   
2019-12-24 14:58   
to make testing easier,
i have uploaded mpc-hc.zip which has mpc-hc.ini for mpc-hc.
you must use new version of mpc-hc from here,
https://github.com/clsid2/mpc-hc/releases
because new version uses new LAV.

and you must place "Samsung Wonderland Demo.ts" in mpc-hc folder, then you can start file from fav menu.
thanks, onur
(0002606)
madshi   
2019-12-25 15:25   
Thanks. Are you clsid?

I'll look into this when I find some time, but atm I'm extremely busy working on the Envy, so it could take a while... ;-(
(0002613)
onur   
2020-01-14 00:56   
?clsid dont know what you mean?
its ok, look at it, when you have time.

i have another question.
Is it possible that AMT/ATI Vega Graphics can output BT2020 (Windows 10).
My Display dont reports BT2020.
i have BT2020 only if i activate HDR in Windows Settings, but then its fake BT2020 (i think) (wrong nit and..).
thanks for your work, regards, onur
(0002614)
madshi   
2020-01-14 11:02   
It's a bug in the AMD driver that it doesn't report BT.2020 to the display when madVR switches the AMD into HDR mode. You can ask AMD support to fix it.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
629 [madVR] bug feature have not tried 2019-12-17 13:18 2019-12-17 13:18
Reporter: orenc Platform: Windows  
Assigned To: OS: Windows 10  
Priority: normal OS Version: 1903  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-BE v1.5.4 (build 4850)
Splitter (with version info): LAV 0.74.1
Decoder (with version info): LAV 0.74.1
Decoding: DXVA2 Native
Deinterlacing: auto mode
DXVA2 Scaling Active: yes
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: Geforce GTX 1070 ti
GPU Driver Version: 425.31
Summary: Ability to toggle 3D stereo playback by keyboard
Description: Ability to control the operation of 3d stereo via keyboard would be of a great help.
If possible, adding a keyboard shortcut to control the toggle of Rendering -> stereo 3D -> "enable stereo 3d playback".
 This would be a very "couch & kids" friendly feature to force playing 3D movies in 2D when needed. Thank you!
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
597 [madVR] bug minor always 2019-02-07 17:48 2019-12-06 11:38
Reporter: Ashkaan Platform: Windows  
Assigned To: OS: Windows 10 Pro  
Priority: low OS Version: 10  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC 1.7.13
Splitter (with version info): LAV 0.70.2.1
Decoder (with version info): LAV 0.70.2.1
Decoding: DXVA2 Native
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: GTX 1080 Ti
GPU Driver Version: 417.71
Summary: OSD in MPC disappears when using MadVR
Description: Whether in full screen or windowed, when MadVR is running, the OSD stops displaying.
Tags:
Steps To Reproduce: Ensure MadVR is preferred. Play anything.
Additional Information:
Attached Files: madshi.zip (35,454 bytes) 2019-02-07 19:35
http://bugs.madshi.net/file_download.php?file_id=305&type=bug
Notes
(0002475)
madshi   
2019-02-07 18:30   
Which OSD do you mean exactly?
(0002476)
Ashkaan   
2019-02-07 18:31   
The MPC-HTC OSD. The one that tells you the time/time remaining and the filename when you first open a file.
(0002477)
madshi   
2019-02-07 18:32   
It seems to work fine for me. Is this with MPC-HC default settings?
(0002478)
Ashkaan   
2019-02-07 18:38   
Yes, totally default. Admittedly, I played with some of MadVRs settings to try to get this to work, so I don't remember what default was. Here are my settings:

Checked:
delay playback start until...
delay playback start after...
enable windowed overlay...
use a separate device for presentation...

Unchecked:
enable automatic fullscreen...
disable desktop composition...
use Direct3D...
use a separate device for DXVA...

Greyed:
only when media player...
present a frame...

CPU queue size: 16
GPU queue size: 8
(0002479)
madshi   
2019-02-07 18:41   
Did it ever work?

FWIW, I don't remember anyone ever reporting this issue yet. So it must be really rare/weird.

You can reset madVR settings to default by double clicking "restore default settings.bat" in the madVR folder.
(0002480)
Ashkaan   
2019-02-07 18:55   
I installed MadVR with Chocolatey and the .bat file isn't in the install location.
(0002481)
madshi   
2019-02-07 18:57   
Don't really know what to say. It works here. If I can't reproduce the problem, it's hard for me to do anything about it.
(0002482)
Ashkaan   
2019-02-07 18:58   
With those exact settings, it's working fine?
(0002483)
Ashkaan   
2019-02-07 19:05   
I'm trying to upload my settings for testing, but it won't let me. What format can I upload?
(0002484)
madshi   
2019-02-07 19:15   
Try zipped.
(0002485)
Ashkaan   
2019-02-07 19:36   
Nice! Zip worked. 7z didn't.
(0002486)
madshi   
2019-02-07 20:33   
I tried, activating each of your 3 monitors, and it always works fine for me with your settings.

Suggestions:

1) Try downloading MPC-BE, just as a test. Same problem there?
2) Try downloading madVR and install it in a separate folder, just as a test. Does it work then?
(0002487)
Ashkaan   
2019-02-07 22:06   
1) I just downloaded a portable MPC-BE with default settings, I added MadVR as preferred under external filters, and same problem.

2) I downloaded madVR portable, ran the install script, totally default, same problem (in both HC and BE).
(0002488)
madshi   
2019-02-07 22:15   
I've no explanation.

FWIW, when using madVR, the MPC-HC/BE OSD is no longer drawn by MPC, but by madVR instead. Which means that it looks different. But it should still appear. At least it does for me.

Maybe try a different GPU driver? But I really have no hope for that. Nobody else has ever reported this problem, so I've no idea what's going on.
(0002489)
Ashkaan   
2019-02-09 20:07   
PS: This guy has the same issue:

https://www.reddit.com/r/software/comments/25std5/mpcbe_with_madvr_no_osd/

I bet a lot of people have it, but they just don't notice. Any other ideas or leads for me to try? How does it work? Does it rely on GPU in any way?
(0002491)
madshi   
2019-02-11 15:19   
I'd say we should wait for the next official madVR build (I don't have an ETA for that yet). The next build will have some changes which could change the OSD behaviour. If the problem then still occurs, we'll have to do some debugging/digging. So I'll leave this bug report open until then.
(0002492)
Ashkaan   
2019-02-11 17:02   
Thank you
(0002596)
niczoom   
2019-12-06 04:15   
Ok, I had madvr setup under 'External Filters' and under 'Playback\Output' was EVR (custom pres.). This setup had no OSD showing. When I removed madvr from the 'External Filters' and set it under 'Playhback\Output' the OSD now works.
(0002597)
madshi   
2019-12-06 11:38   
Yes, it's recommended to set madVR under "Output", because otherwise MPC will think it renders with EVR, and thus behave differently.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
585 [madVR] bug major always 2018-11-21 20:07 2019-11-25 08:13
Reporter: jmonier Platform:  
Assigned To: madshi OS:  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 92.17 (probably any version that supports HDR)
Media Player (with version info): Zoomplayer 14
Splitter (with version info): LAV
Decoder (with version info): LAV
Decoding: DXVA2 Copyback
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: GTX 1060, 1070
GPU Driver Version: 416.94
Summary: Cannot activate HDR via DisplayPort
Description: I have a problem with activating HDR via DisplayPort. This is with a LG 34BK95U - 5120x2160 which requires DP 1.4 to get the full width. HDMI (which limits it to 3840 width) works fine.

Basically, it seems that madVR does not recognize that HDR is supported via DP, and thus always does tonemap HDR instead. (And I HAVE checked that HDR can be activated otherwise via DP.)
Tags:
Steps To Reproduce: It only occurs with the above monitor (or probably with the 34WK95U which is identical) and only on the Displayport (1.4). Other than that, just play a HDR file with "passthrough HDR to display" set and "send HDR metadata to the display" checked and note that the HDR indicator does not appear and that the resulting image is from "tonemap HDR ..." instead.

I've included a log.

 
Additional Information: It may or may not be related, but the "identification" for this monitor is wrong, e.g. it shows NVIDIA for the manufacturer (among other things). (Again, this is only on the DisplayPort 1.4 input to this monitor - the HDMI input is fine and DisplayPort (1.2) inputs on other LG monitors are fine.) And Moninfo shows correct data for this DP 1.4 input.

Even stranger, additional identical identification entries keep getting added, always 2 at a time (but I don't know what triggers it). The data is identical for all, with all but the last grayed out. (I'm currently at 23 entries.)
Attached Files: madVR - log.zip (389,651 bytes) 2018-11-21 20:07
http://bugs.madshi.net/file_download.php?file_id=301&type=bug
Untitled.png (115,761 bytes) 2019-08-22 04:29
http://bugs.madshi.net/file_download.php?file_id=314&type=bug
png
Notes
(0002441)
jmonier   
2018-11-21 20:15   
For some reason, OS data did not appear. The problem occurs on both Win 8.1 and 10.
(0002443)
madshi   
2018-12-04 19:37   
That's really weird. I'll have to create a special build to collect more information, when I find some time...
(0002471)
jmonier   
2019-01-15 13:20   
Note that another user has reported (on Doom) what seems like exactly the same problem.
(0002472)
Dreamfall   
2019-01-16 04:49   
I have exactly the same problem. It seems that there's something wrong with NVIDIA driver 416.94 or above, 416.81 is the last working driver version. MadVR said my display does not support HDR after I upgrade to 417.22, after rolling back to 416.81 everything works fine.

Here's a thread I found in NVIDIA forum, maybe it's helpful:
https://forums.geforce.com/default/topic/1082012/geforce-drivers/hdr-not-working-with-movies-in-hdr-in-potplayer-madvr-with-new-drivers-416-94-and-newer/
(0002474)
jmonier   
2019-01-16 14:49   
(Last edited: 2019-01-16 15:10)
The problem reported directly above is NOT "exactly" the same problem as originally reported. On Win 8.1, the problem originally reported still exists with the Win 8.1 416.81 driver. I have not tested Win 10 with the 416.81 driver since I mostly use Win 8.1, although I previously tested it on Win 10 with more recent drivers.

Also, my problem is unique to to the Displayport connection on the 34WK/BK95 monitor. The HDMI port on this monitor is fine. I don't have any other monitor with both HDR and a Displayport so I don't know about any other monitor.

Information on the monitor used and whether it is on a Displayport would be very helpful.

(0002542)
zaockle   
2019-08-22 04:29   
(Last edited: 2019-08-22 04:32)
I am also having this exact same issue with an LG monitor (34GK950F). I haven't tried an HDMI connection, but it might behave like the others have reported. What's interesting that I'll add is that if I turn on the OS HDR, madVR WILL properly force output back to SDR when fullscreen with no context menu's open. But it won't work in reverse. Currently running studio driver 431.70 on a 2070S, LAV using CUVID, MPC-HC 1.8.7. Adding a screenshot.

(0002582)
zaockle   
2019-11-25 08:13   
Just following up, I was actually able to resolve this. I had to run DDU in safe mode a couple times in a row to completely remove all old drivers and monitor registry entries. Afterwards I installed the latest driver (441.28 studio) and it seems like madvr can read the EDID correctly now showing LG instead of NVIDIA as the manufacturer. it can aslo activate HDR from Win10 SDR mode when opening an HDR video.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
625 [madVR] bug crash always 2019-11-16 12:13 2019-11-16 12:13
Reporter: Dingguo Lee Platform: PC  
Assigned To: OS: Windows  
Priority: high OS Version: Windows10  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.92.17
Media Player (with version info): Potplayer(64 bit) 1.7.19955
Splitter (with version info): LAV Splitter 0.74.1
Decoder (with version info): LAV Video Decoder 0.74.1
Decoding: DXVA2 Native
Deinterlacing: auto mode
DXVA2 Scaling Active: yes
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: 2080ti
GPU Driver Version: 441.12
Summary: Crashed every time I minmized the potplayer
Description: When I minmized the potplayer, it always popped up an alert as showed in the picture. And then the potplayer crashed anyway.
Tags: compatibility
Steps To Reproduce:
Additional Information:
Attached Files: bug madvr.png (10,075 bytes) 2019-11-16 12:13
http://bugs.madshi.net/file_download.php?file_id=320&type=bug
png
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
619 [madVR] bug minor always 2019-09-24 06:21 2019-09-30 20:24
Reporter: fireattack Platform: PC  
Assigned To: madshi OS: Windows  
Priority: normal OS Version: 7  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-BE 1.5.3 (build 4488)
Splitter (with version info): MPC-BE built-in
Decoder (with version info): LAV video decoder 0.73.1
Decoding: Software
Deinterlacing: forced video mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: GTX 1050
GPU Driver Version: 430.86
Summary: Forced deinterlacing video mode or deint=on flag has no effect
Description: Forcing deinterlacing (type=video) doesn't seem to work.

The OSD will say "deinterlacing on" but no deinterlacing is happening.
Tags:
Steps To Reproduce: 1. Make sure deinterlacing feature in other parts of the playback is disabled, such as in player or decoder for testing purpose (I use LAV and just I set it to always output "progressive" flag).

2. Open a video which has actual content being (truly) interlaced.

3. Either:

1) Manually turn on deinterlacing using the shortcut (I think the default is ctrl+shift+alt+D) during the playback.

2) or simply add "deint=on" to the filename.
Additional Information: It *works* for IVTC, however.

If I put deint=film, or toggle on deinterlacing on and then toggle the type to "film", it can do the IVTC properly on telecined video.
Attached Files: bug-madvr.png (808,666 bytes) 2019-09-24 06:21
http://bugs.madshi.net/file_download.php?file_id=316&type=bug
Notes
(0002555)
madshi   
2019-09-24 08:21   
According to the OSD, deinterlacing seems to be active. Maybe the Nvidia DXVA deinterlacing simply fails to properly deinterlace this video, for some reason? Have you tried multiple different videos?
(0002556)
fireattack   
2019-09-24 08:42   
(Last edited: 2019-09-24 08:43)
Yes, it happens on all the videos.

I should mention that *AUTO* deinterlacing actually works (on this or any interlaced videos, when they have proper interlaced tag), only the forced one doesn't.

(0002558)
huhn   
2019-09-30 11:02   
i can confirmed this. it's quite odd and needs a change in the lavfilter settings to happen.

take a file that works with deinterlacing out of the box set lavfilter to deinterlacing to disabled (progressive) play the file press control+shift+alt+d for deinterlacing DXVA processing is loaded but doesn't do anything.
(0002559)
fireattack   
2019-09-30 11:05   
(Last edited: 2019-09-30 20:24)
Because this bug only happens to forced deinterlacing, not when there is a proper tag from upstream.

Alternatively, you can try with a video that has interlaced content but wrongly encoded/tagged as progressive (the principle is the same.)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
604 [madVR] bug minor always 2019-03-10 12:32 2019-09-10 20:40
Reporter: vanden Platform: DL580G5+GTX650Ti  
Assigned To: OS: Windows 10 Ent x64  
Priority: normal OS Version: 1809  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC HC x64 1.84 + MPC HC x86 1.8.4
Splitter (with version info): LAV 0.73.1
Decoder (with version info): LAV 0.73.1
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: yes
Aero / Desktop Composition: On
Problem occurs with mode: windowed mode
GPU Manufacturer: NVidia
GPU Model: GTX650Ti
GPU Driver Version: 417.71
Summary: madVR can use DXVA for chroma upscaling in 8bit (NV12 and RGB32) and in 16bit (P016) but not in 10bit (P010)
Description: For all the tests following LAV is in SOFTWARE Decoding Mode, File 1440p 10bit HDR (MPCHC x64).

If I uncheck P010 in LAV : LAV makes the converssion 10bit->16bit and in madVR I enter in 16 bit 420 (P016) and madVR makes a chroma upscaling in DXVA Mode !!!
I guess the HDR ton mapping is done in 16bit in this case ? but it does not have to be really embarrassing.
it works well GPU stable @ 58% CPU @ 15% :
https://imagizer.imageshack.com/img921/6238/o79YuP.jpg

If I uncheck P010 and P016 in LAV : LAV makes the convention 10bit->16bit in madVR I enter in 8bit 420 (NV12) and madVR makes a chroma upscaling in DXVA Mode !!!
I guess the HDR ton mapping is done in 8bit in this case ? Not ideal if that's the case.
it works well GPU stable @ 55% CPU @ 12% :
https://imagizer.imageshack.com/img923/9442/UcpGTF.jpg

If I uncheck all 420 (NV12, YV12, P010 and P016) and 422 (YuY2, UyUV, P210, v210 and P216) in LAV : In madVR I enter in RGB32 (LAV does chroma upscaling with I do not know what algorithm + convention YUV to RGB).
I guess the HDR ton mapping is done in 8bit in this case ? Not ideal if that's the case.
it does not work well, some presentation glitches GPU @ 79% CPU @ 19% :
https://imagizer.imageshack.com/img922/3079/WpxyNY.jpg

If I have everything checked in LAV : in madVR I enter in 10bit 420 (P010) and madVR does a chroma upscaling using TextureUnits/PixelShader (Bilinear, Cubic ...) and it does not work GPU @ 92% CPU @ 17% :
https://imagizer.imageshack.com/img924/3286/fv9OiE.jpg

If I have everything checked in LAV and screen set @ 2944x1656 : in madVR I enter in 10bit 420 (P010) and madVR makes a chroma+Luma upscaling (2560x1440->2944x1656) in DXVA Mode.
it works well GPU stable @ 71% CPU @ 16%
https://i.goopics.net/wEv2y.jpg

So madVR can use DXVA for chroma upscaling in 8bit (NV12 and RGB32) and in 16bit (P016) but not in 10bit (P010) ! it's very weird anyway !


[U]Edit :[/U]
For all tests following LAV is in SOFTWARE Decode Mode, File 3840x1606 10bit HDR (MPCHC x86 + Reclock). Screen in 3104x1756 and in MPCHC : Video Frame/Normal Size.

All the tests by modifying LAV does not work (NV12, P016, RGB32), example in NV12 :
https://imagizer.imageshack.com/img921/8541/1MFFhC.jpg

On the other hand If everything is ticked in LAV (P010) and I put -2% on the zoom in MPCHC (the image is resized in 3766x1576 / via DXVA chroma+Luma upscaling) it goes :
https://imagizer.imageshack.com/img922/2303/Fw3uXy.jpg

I guess in P010 and just DXVA choma upscaling it would be perfect ...
Tags:
Steps To Reproduce: alway with all P010 files
Additional Information:
Attached Files:
Notes
(0002500)
vanden   
2019-03-10 12:37   
(Last edited: 2019-03-10 16:10)
if I uncheck P010 and P016 in LAV : LAV makes the convention 10bit->8bit

i't's not 16 but 8 ....


Scaling algorithms (For all tests) :
- chroma upscaling = Bilinear
- image downscaling = DXVA2
- image upscaling = DXVA2

(0002554)
vanden   
2019-09-10 20:40   
No news ??

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
612 [madVR] bug minor always 2019-07-20 17:33 2019-08-03 23:11
Reporter: kathampy Platform:  
Assigned To: OS: Windows 10  
Priority: normal OS Version: 1903  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-BE (64-bit) 1.5.3 (build 4488)
Splitter (with version info): LAV Splitter 0.74.1
Decoder (with version info): LAV Video Decoder 0.74.1
Decoding: DXVA2 Native
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: fullscreen exclusive mode
GPU Manufacturer: NVidia
GPU Model: GeForce RTX 2080 Ti
GPU Driver Version: 431.36
Summary: NVAPI HDR does not activate on primary display but works on secondary display
Description: I have two HDR capable displays:
Acer Predator X27 (Primary, DisplayPort, G-SYNC HDR)
LG B7 (Secondary, HDMI 2.0)

HDR is switched off in Windows for both displays.

When setting the desktop to "Second screen only" to use the LG B7, madVR is able to use NVNAPI to switch on HDR automatically.

However when setting the desktop to "PC screen only" or "Extend" to use the Predator X7, madVR is unable to switch on HDR automatically. I must switch on HDR in Windows manually for this monitor. I'm not sure if the correct HDR metadata is even being sent to the display.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002538)
kathampy   
2019-07-20 17:49   
I noticed in madVR Settings > Devices that the Predator X7 entry does not become bold, indicating madVR does not think it's running on the display at all.

Each time I launch madVR it creates a new "Identification <N>" under the device, and there is a huge list of old entries.

The "Display Modes" settings also have no effect on this monitor, further confirming madVR is not correctly detecting that it's running on this display.
(0002541)
kathampy   
2019-08-03 23:09   
(Last edited: 2019-08-03 23:11)
I found the cause of the bug. I have a 3rd physically unplugged display configured in madVR which I rarely use. However the presence of this display in the "devices" list causes madVR to malfunction and apply this display's settings (display modes, 3D LUT, etc) to the primary display. Deleting this entry from madVR while the display is unplugged makes the primary display settings start working. However this is still a bug because I need to reconfigure the 3rd display in madVR each time I plug it in.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
615 [madVR] bug minor have not tried 2019-08-03 05:08 2019-08-03 05:36
Reporter: ted423 Platform: x64  
Assigned To: OS: windows  
Priority: normal OS Version: 10  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): mpc-be
Splitter (with version info): mpc-be
Decoder (with version info): mpc-be
Decoding: DXVA2 Native
Deinterlacing: none (progressive)
DXVA2 Scaling Active: yes
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: gtx 960
GPU Driver Version: newest
Summary: can't use custom modes optimize data
Description: still show testmode no apply
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: 2019-08-03 11_06_31-.png (587,118 bytes) 2019-08-03 05:08
http://bugs.madshi.net/file_download.php?file_id=313&type=bug
Notes
(0002540)
ted423   
2019-08-03 05:36   
GPU Driver Version 431.60

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
614 [madVR] bug minor always 2019-07-31 23:34 2019-07-31 23:34
Reporter: cgbug Platform: Windows  
Assigned To: OS: Windows 10  
Priority: normal OS Version: 1809  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC 1.8.7
Splitter (with version info): LAV 0.74.1.20
Decoder (with version info): LAV 0.74.1.20
Decoding: DXVA2 Copyback
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: AMD
GPU Model: Radeon RX480
GPU Driver Version: 19.7.3
Summary: Video is displayed in upper left quadrant
Description: MPC-HC launched from uTorrent. The player inherits compatibility settings from the parent process.

To be specific:
__COMPAT_LAYER = PerProcessSystemDPIForceOff GdiDPIScaling DPIUnaware

DPI is set to 150%

Problem occurs with resolution set to 4K, but not with 1080p. Launching player from explorer works correctly.
Tags:
Steps To Reproduce: 1) Open command prompt
2) set the environment variable:
set __COMPAT_LAYER=PerProcessSystemDPIForceOff GdiDPIScaling DPIUnaware
3) Launch player from same command prompt.
Additional Information: http://codecs.forumotion.net/t3232-madvr-4k-playback-issue
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
611 [madVR] bug major always 2019-06-16 15:39 2019-06-16 15:39
Reporter: DMU Platform: AMD Ryzen 3 2200G  
Assigned To: OS: Windows 10 Pro  
Priority: normal OS Version: 1903  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC (64-bit) 1.8.6
Splitter (with version info): LAV 0.74.1
Decoder (with version info): LAV 0.74.1
Decoding: DXVA2 Copyback
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: AMD
GPU Model: Vega 8
GPU Driver Version: 19.6.1
Summary: Profiles not working properly
Description: "HDR" boolean value in profile rules not working properly. Have to use "bitDepth" to select the appropriate profile.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: madshi ticket.png (5,532,341 bytes) 2019-06-16 15:39
http://bugs.madshi.net/file_download.php?file_id=311&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
610 [madVR] bug minor always 2019-06-07 18:44 2019-06-07 18:44
Reporter: tickled_pink Platform: 64  
Assigned To: OS: Windows  
Priority: normal OS Version: 7 and 10  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-BE v1.5.3
Splitter (with version info): Lav 0.74.1
Decoder (with version info): Lav 0.74.1
Decoding: Software
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: AMD + Intel
GPU Model: AMD 7750 and Intel HD3000
GPU Driver Version: N/A
Summary: Device profile corruption after resume from sleep
Description: I setup a “profile group” for "display modes". The first profile (50hz) has only “1080p50” on the “list all display modes...” line with "restore original..." checked. The second profile (59hz) has only “1080p59” on the “list all display modes...” line with “restore original...” unchecked.
The “profile auto select rule” looks like:
if (deintFps = 50)
"50hz"
else
"59hz"
Tags:
Steps To Reproduce: When I put the PC to sleep and then wake it up and login via RDP (with Concurrent RDP Wrapper), the 59hz profile is gone and the 50hz profile has the 59hz profile settings.
Additional Information: I know madVR crashes if I try to make changes to a “device” over RDP but it normally keeps them when setup directly from the attached monitor.
My intent with this rule is to use smooth motion with 25fps video and only switch the display to 50Hz with 50fps video. I know this isn’t technically the best option but I don’t like excessive display switching/flickering and it still looks good to me.
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
608 [eac3to] bug major always 2019-04-20 23:50 2019-04-20 23:50
Reporter: overdrive80 Platform: Intel  
Assigned To: OS: Windows NT  
Priority: urgent OS Version: Win 10 1809 x64  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: Lastest
Summary: Process freeze when pass1 file reach 1GB
Description:  I am trying use this line command in batch file: "-24.000 -changeTo23.976 -down32 -normalize -resampleTo48000 -r8brain", but process stop (blocked or paused) when *.pass1 file reach 1 GB.

Source file:

Origin: NTSC
Samplerate: 96000 Hz
Bitdepth: 32 float
Size: 3GB


Batch file:

@echo off
Title NTSC to FILM
COLOR A8

set "eac3to=C:\Portables\MeGUI\tools\eac3to\eac3to.exe" rem Put you directory for eac3to

md %~dp0Completed

for %%@ in (*.wav) do (

    "%eac3to%" "%%@" "%%~dpn@_FILM.wav" -24.000 -changeTo23.976 -down32 -normalize -resampleTo48000 -r8brain -log=NUL
    move "%%@" "%~dp0Completed" /Y
)

pause&exit

https://forum.doom9.org/showthread.php?p=1872274#post1872274
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
607 [eac3to] bug minor always 2019-04-19 12:22 2019-04-19 15:10
Reporter: overdrive80 Platform: Intel  
Assigned To: madshi OS: Win 10  
Priority: high OS Version: 1809  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: Last
Summary: Convert audio from 24.000 to 23.976
Description: Convert audio from 24.000 to 23.976 has issue of precision. https://forum.doom9.org/showthread.php?p=1872119#post1872119
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002518)
madshi   
2019-04-19 15:10   
libSSRC wants to use the source and target sampling rates as integer values, so no floating point. Which means I have to round them.

An additional inaccuracy comes from the use of 23.976 vs 24.000/1.001. Currently, my libSSRC code uses 23.976 instead of 24.000/1.001. I suppose that's something that I could (and should) improve.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
546 [madVR] bug crash always 2018-03-11 18:18 2019-04-17 15:39
Reporter: mclingo Platform: windows  
Assigned To: madshi OS: windows  
Priority: normal OS Version: windows 10  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: all versions I have tested, at least the last 5
Media Player (with version info): MPC-BE/HC - KODO DS
Splitter (with version info): LAV - all versions
Decoder (with version info): LAV - al versions
Decoding: DXVA2 Copyback
Deinterlacing: none (progressive)
DXVA2 Scaling Active: yes
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: AMD
GPU Model: AMD RX 550 and NVIDIA GTX 1050
GPU Driver Version: all recent versions
Summary: black screen, loss of HDMI or PC crash changing from 3D mode back to 4k desktop
Description: When playing a 3D MVC movie in any player, KODI DS, MPC-HC / MPC-BE for instance, it will play perfectly fine, smooth playback even when skipping with no frame drops or skips. However when you stop the movie and the MADVR has to switch back from 1080p MVC 3D MODE it fails, you either get a black screen or on some occasions it can totally freeze you PC.
Tags:
Steps To Reproduce: Play movie, stop movie
Additional Information: There are two workarounds.

1. Put your desktop in 1080p mode first before starting the movie, this way when it comes out of 3D mode it doesnt have to change resolution, this is where MADVR is falling over.

2. Use you media player to refresh rate switch instead, this works very well in KODI DS and MPC versions, however this is no use for NVIDIA card users who need to be able to set custom CRU.
Attached Files:
Notes
(0002378)
madshi   
2018-09-17 23:43   
It seems to work fine for me. Most other users don't seem to have this problem, either, I think? Have you tried different GPU driver versions?
(0002386)
mclingo   
2018-09-18 00:15   
ive had this problem for as long as I can remember through many driver versions but also two completely fresh PC rebuilds - and 3 different AMD cards.

could it be something to do with the way i have MADVR setup, when I use KODI DS refresh rate switching I have no problems at all, this only happens when I deploy MADVR refresh rate switching.

I used to be able to DEVCON reset to get the screen back but no i have to reboot, thats the only thing thats changed with driver versions.

Pretty sure other people have this problem to with AMD cards, thing is, there arent that many people with 3D 4K TV's so i'm not surprised this doesnt come up often on the forum.
(0002517)
mclingo   
2019-04-17 15:39   
Hi, i've been looking at this again, its actually got worse with the latest stable version, i've had to go back to v0.92.14.

3D movies open in a small square top right hand side of screen and not full screen, I also get HDMI loss when closing movie as usual.

If I untick FSE the movie opens and plays fine but I still get HDMI loss on stopping movie.

on V0.92.14 movie opens and plays fine and when I stop the movie it drops back to GUI fine (i'm using KODI DS)

Is there any difference with how MADVR is dealing with FSE between these versions maybe?

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
606 [madVR] bug feature always 2019-03-28 10:01 2019-03-28 10:01
Reporter: Error404 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): Kodi 17.6
Splitter (with version info): lavfilter
Decoder (with version info): lavfilter
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: 1060
GPU Driver Version: 417
Summary: [Feature Request] make madvr profile variables useable for external programs or scripts
Description: If a madvr profile is activated an external program can be executed.
It would be nice if you could pass parameters to the program based on the profile variables of madvr.

As an example:
If we can enter something like this in the
"command line to execute when this profile is activated" field:
C:\myCinema.bat %srcWidth% %srcHeight% %fps% %ar%

With this, it would be possible to use this parameters in a batch file to control something in the Homecinema like screen masking.


(Many Thx for your great software,
I hope here is the right place to put the feature request in.)
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
605 [madVR] bug major always 2019-03-17 10:40 2019-03-25 09:45
Reporter: kryptonite Platform: PC, MPC-HC + MadVR  
Assigned To: OS: Windows 10 x64  
Priority: high OS Version: 10.0.17763.379  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: MadVR v0.92.17 or madVRhdrMeasure78
Media Player (with version info): MPC-HC v1.84
Splitter (with version info): LAV v0.73.1
Decoder (with version info): LAV v0.73.1
Decoding: DXVA2 Native
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: windowed mode
GPU Manufacturer: NVidia
GPU Model: GTX 1060 6GB
GPU Driver Version: 417.75
Summary: Incorrect HDR nits reported
Description: Config:
Windows 10 x64 on the latest patches
MPC-HC v1.84
MadVR v0.92.17 or madVRhdrMeasure78
NVIDIA GTX 1060 6GB, drivers v417.75
LG C8 TV

Download files from here:
https://drive.google.com/drive/folders/17z94AGSQN7m0VLS1oDEkViQlr0wvpWhG

You'll that some of these files are mastered at higher than 1000 nits, but I don't see that reflecting in the madvr stats
Tags:
Steps To Reproduce:
Play 01. 240-1000nits.mp4 on MPC-HC + MadVR:
-when you press Ctrl+J on madvr, 1000 nits is correctly reported

Play 03. 900-4000nits.mp4 (or) 05. 700-10Knits.mp4 (or) 07. 3600-10Knits.mp4 or on MPC-HC + MadVR
-you'll still continue to see 100 nits reported
-Expected to see 4000 nits / 10,000 / 10,000 nits respectively

Since the max nits is being reported incorrectly, my TV tone maps accordingly only upto 1000 nits, and everything above >1000 nits is being clipped

If you however copy these files on usb drive and play them from the LG C8 TV directly, I see the TV tone map all these files very well upto 3800~4000 nits
03. 900-4000nits.mp4
05. 700-10Knits.mp4
07. 3600-10Knits.mp4

which leads me to believe the files themselves are fine, and the issue lies somewhere in the Windows -> Madvr -> NV drivers chain
Additional Information:
Attached Files: 03. 900-4000nits.mp4 on PC with Madvr.jpg (1,825,202 bytes) 2019-03-17 15:57
http://bugs.madshi.net/file_download.php?file_id=307&type=bug
03. 900-4000nits.mp4 on PC with Madvr with debug OSD enabled.jpg (2,185,878 bytes) 2019-03-17 15:58
http://bugs.madshi.net/file_download.php?file_id=308&type=bug
03. 900-4000nits.mp4 on TV directly via USB.jpg (1,767,167 bytes) 2019-03-17 15:58
http://bugs.madshi.net/file_download.php?file_id=309&type=bug
Notes
(0002501)
madshi   
2019-03-17 11:48   
It's a known issue with the newer Nvidia drivers. I've already reported this to Nvidia, but they've not fixed it yet. I hope it will be fixed in a future driver version. For now you can downgrade to an older driver version. I think the last one that sent correct metadata to the display was 397.93.
(0002502)
kryptonite   
2019-03-17 14:33   
(Last edited: 2019-03-17 14:41)
Hi,
I just tried drivers 385.25 through 398.11, and with the same files, I still see HDR 1000 nits in the madVR stats for these clipping tests, so something is still off.

I should have mentioned this before, there are other videos/movies in my collection @ 4000 nits and # 10,000 nits and madVr shows the rights stats for these, irrespective of whether I use driver 385.25 or 417.75, so I guess my issue is specific to these files. And these files themselves seem to be fine because they cleanly tone map on my TV upto 4000 nits if played directly from the TV via USB, but only upto 1000 nits when played through madvr.

Would be great if you could please take a look.

Thanks.

(0002503)
madshi   
2019-03-17 15:38   
What do you mean with "madVR stats" exactly?
(0002504)
kryptonite   
2019-03-17 15:59   
I'm referring to the debug OSD - the CTRL + J shortcut.
Also attaching 3 pictures

1) 03. 900-4000nits.mp4 on PC with Madvr.jpg
-where I'm playing the "03. 900-4000nits.mp4" file on my PC with Madvr on my LG C8 and you can see the blocks upto 1000 nits are lit, others are clipped

2) 03. 900-4000nits.mp4 on PC with Madvr with debug OSD enabled.jpg
-where I'm playing the "03. 900-4000nits.mp4" file on my PC with Madvr on my LG C8 with the debug OSD enabled and you can see HDR 1000 nits being reported, which also explains why everything above 1000 nits is being clipped as seen in (1). I think this file is at 4000 nits.

3) 03. 900-4000nits.mp4 on TV directly via USB.jpg
-where I'm playing the "03. 900-4000nits.mp4" file on my LG C8 TV directly via USB, and you can see the TV is tone mapping to almost 4000 nits, beyond which it's clipped
(0002505)
madshi   
2019-03-17 16:06   
You mean the "HDR 1000 nits" information in the OSD? That's information madVR receives from the splitter/decoder. Which decoder are you using? LAV Video Decoder?
(0002506)
kryptonite   
2019-03-17 16:10   
->You mean the "HDR 1000 nits" information in the OSD?
Yes, correct

->That's information madVR receives from the splitter/decoder. Which decoder are you using? LAV Video Decoder?
Yup, LAV 0.73.1, also tried 0.74 that was released yesterday.
(0002507)
madshi   
2019-03-17 16:51   
Ok, I've checked file "900-4000nits.mp4". It has the following metadata:

Mastering Display Peak: 1000 nits
MaxCLL: 4000 nits
MaxFALL: 1600 nits

All of this data is incorrect, though. madVR actually measures more than 6000 nits.

Anyway, the latest madVR test build should forward the proper metadata to the display, when using a proper Nvidia driver version. I'm not sure right now if the official madVR build also does that. You can try the latest test build here:

http://madshi.net/madVRhdrMeasure78.zip
(0002508)
kryptonite   
2019-03-17 17:06   
I'm actually right now on http://madshi.net/madVRhdrMeasure78.zip, and I've set it to pass through to display

With this madvr build, I tried 385.25 through 398.11 and also the latest 417.x and 419.x drivers, but nothing helps tone map to 4000 nits really.

With 385.25 & 398.11, I see peak white tone map to 1000 nits, I see one or 2 colours extend to about 1500 nits maybe, but cyan for example doesn't even tonemap to 700 nits, clips way before that

With 417.x & 419.x, I see peak white and all colours tone map very well to 1000 nits, but nothing beyond.

And everything is very different when natively played on the TV, where peak white and colour all tone map well upto 3000 nits+.

So, I'm not sure where the issue is
(0002509)
madshi   
2019-03-17 17:19   
I don't really know. Of course the video is going through very different processing paths when playing with the internal TV player vs when being fed via HDMI. So it's possible the TV doesn't handle HDR input via RGB very well.

I suppose you've already set your GPU and madVR and your TV all to RGB Full (0-255), right?
(0002510)
kryptonite   
2019-03-17 17:26   
(Last edited: 2019-03-17 17:27)
MadVR and NVIDIA Video player settings are at 0-255
Display is at 3840x2160, YCBCR 4:2:2, 12bit, 60Hz, which will be 16-235, can't do RGB 10/12bit over HDMI 2.0b
HDMI Deep colour is enabled on TV to switch to HDR on demand

If I set display to 3840x2160, RGB Full (0-255), 8bit, 60Hz, then the TV tone maps to 600-650 nits with these files, and clips everything after that, which is even worse

(0002511)
madshi   
2019-03-17 17:35   
I've no idea what happens if you send YCbCr to the TV. The Nvidia driver will convert my RGB rendered pixels to 4:2:2, using an unknown color matrix, an unknown chroma downscaling algorithm, and possibly no dithering. It's really really bad. RGB 8bit should be *much* better. Have you tried that with a proper driver, e.g. 397.93 or older?

People worry too much about bitdepth, to be honest. 8bit RGB is perfectly fine, if you use lossless high quality dithering. We do need as high as possible bitdepth for lossy content encoding. But during lossless HDMI transport, dithered 8bit is plenty good enough.
(0002512)
kryptonite   
2019-03-17 17:56   
(Last edited: 2019-03-17 18:00)
Appreciate your quick responses mate, I hadn't tried, but just did.

Driver = 397.93
Madvr set to pass through
RGB 8-bit Full 0-255 set in NV display settings
MadVR settings, NVIDIA video color settings, LAV settings set to 0-255

And I got exactly the same thing as

Driver = 417.75
Madvr set to pass through
YCBCR 12bit Limited 16-235 set in NV display settings
MadVR settings, NVIDIA video color settings, LAV settings set to 0-255

Both tone map up to 1000 nits (whites & all the colours), that's it. They're identical.

(0002513)
madshi   
2019-03-17 18:55   
Maybe the LG ignores MaxCLL when receiving RGB via HDMI? The Mastering Monitor Metadata is only 1000 nits, maybe the LG uses that in this situation? I'm only guessing, of course.
(0002514)
kryptonite   
2019-03-18 12:42   
Might very well be the case, I've made a post there on the creator's thread, hope he could share some ideas:
https://www.avsforum.com/forum/139-display-calibration/2943380-hdr10-test-patterns-set-7.html
(0002515)
kryptonite   
2019-03-20 12:54   
Hi,
Hope you had a chance to follow the discussion here:
https://www.avsforum.com/forum/139-display-calibration/2943380-hdr10-test-patterns-set-8.html

I think we've provided that Mastering display level has an effect on the TV's tonemapping when using MPC-HC + MadVR, but if the same file is played through the TV's internal player via USB, it responds to MaxCLL instead.

While the author of the files has offered to re-encode the files using matching MDL/maxCLL values, I was wondering if there is anything we should do on the madvr front to help the TV respond to maxCLL instead of MDL while using MPC-HC + madVR (we know the TV does repond to maxCLL when using it's internal player via USB)
(0002516)
madshi   
2019-03-25 09:45   
What are you suggesting? That I set MDL to maxCLL? The problem with this approach is that maxCLL doesn't have to be accurate. So if I set MDL to the same value as maxCLL, this might make things worse for some movies/display combinations. E.g. there are several movies which have these values set to some standard values which can be far too low, which would result in clipping, if the display actually made use of those values.

Actually these test patterns don't have accurate maxCLL values, either. madVR detects that by looking at whether the numbers are rounded to xxx50/xxx00. If both maxCLL and madFALL are rounded that way, there's a 99.96% chance that they were manually set and not properly calculated. In that case madVR completely ignores the maxCLL and maxFALL data.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
603 [madVR] bug block always 2019-03-09 05:32 2019-03-09 05:40
Reporter: huhn Platform: x64  
Assigned To: OS: win 10  
Priority: normal OS Version: 17134  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): mpc-hc 1.8.4
Splitter (with version info): lav 73.1
Decoder (with version info): lav 73.1
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: windowed mode
GPU Manufacturer: NVidia
GPU Model: 1060 6 gb
GPU Driver Version: 419.35
Summary: system lock after using an windows hot key
Description: the system can lock and needs to be power cycled when an hot key is used to move the player from one screen to another one.
Tags:
Steps To Reproduce: general settings checked:
delay playback until render queue is full
delay playback start after seeking. too
enable windowed overlay
use d3d11 for presentation
present a frame for every VSync
use seperate device for presentation
use seperate device for DXVA

these settings where taken from the person that report the bug i didn't try other settings system hardlock are not fun to deal with.

i moved the player from a 1080p60 screen to a 1080p120 screen using shift+windows+ü right arrow key.
the system will hang after doing this.
Additional Information: i got a debug log it's mostly way to long i needed to hard cycle the system to stop it from recording
Attached Files: madVR - log.zip (5,907,604 bytes) 2019-03-09 05:32
http://bugs.madshi.net/file_download.php?file_id=306&type=bug
Notes
(0002499)
huhn   
2019-03-09 05:40   
it'S shift+windows+right arrow key sorry.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
602 [madVR] bug block always 2019-03-09 05:30 2019-03-09 05:30
Reporter: huhn Platform: win 10  
Assigned To: OS: OS Name Microsoft Windows 10 Pro  
Priority: normal OS Version: 17134  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version:
Media Player (with version info):
Splitter (with version info):
Decoder (with version info):
Decoding:
Deinterlacing:
DXVA2 Scaling Active:
Aero / Desktop Composition:
Problem occurs with mode:
GPU Manufacturer:
GPU Model:
GPU Driver Version:
Summary: system lock after using an windows hot key
Description: the system can lock and needs to be power cycled when an hot key is used to move the player.
Tags:
Steps To Reproduce: general settings checked:
delay playback until render queue is full
delay playback start after seeking. too
enable windowed overlay
use d3d11 for presentation
present a frame for every VSync
use seperate device for presentation
use seperate device for DXVA

these settings where taken from the person that report the bug i didn't try other settings system hardlock are not fun to deal with.

i moved the player from a 1080p60 screen to a 1080p120 screen using shift+windows+ü right arrow key.
the system will hang after doing this.
Additional Information: i got a debug log it's mostly way to long i needed to hard cycle the system to stop it from recording
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
555 [madVR] bug major always 2018-05-08 14:38 2019-03-04 12:35
Reporter: Alessa Platform: Windows  
Assigned To: madshi OS: Windows 7 x64 Service Pack 1  
Priority: normal OS Version: 7601  
Status: feedback Product Version:  
Product Build: Resolution: reopened  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC 1.7.9
Splitter (with version info): 0.68.1.33-git
Decoder (with version info): 0.68.1.33-git
Decoding: DXVA2 Native
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: GTX 970
GPU Driver Version: 390.77
Summary: anoying Osd nag to update LAV filters always on with no way to disable it..
Description: I have to use the old version of LAV audio decoders because the new one makes a sound of lesser audiophile quality.
the anoying Osd nag "Please update Lavfilters to the latest version..." is always on at the begining of every video.
I could not find any way to disable it.
It prevents me from being able to make Public presentations of videos playlists using Madvr because it ruins the experience to have this OSD message at the begining of every video..
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002285)
madshi   
2018-05-08 22:36   
How do newer LAV versions reduce audiophile quality? Isn't this something you should discuss with the LAV developer?

I've been regularly receiving crash reports from older LAV versions. The crash occurs in LAV, but madVR detects the crash and reports it to the user. As a result, it's me getting all the crash notifications and user support requests. These crashes only occurred with older LAV versions and were fixed in newer builds. That's why madVR complains about LAV versions which are known to cause crashes.
(0002286)
Alessa   
2018-05-09 01:21   
Thanks, I understand your reason for making this update LAV message impossible to remove, and you are right I should discuss the diminishing audiophile quality of newer audio LAV filters with LAV devellopers.
It is just in the mean time I was hoping to find a workaround to avoid seeing always "Please update Lavfilters to the latest version..." until the newer LAV version get better audio quality.
(0002287)
madshi   
2018-05-09 09:00   
Well, you're the only user asking for this, so the question for me is if it's worth spending development time on just adding a new feature for one user. My development time is very limited at the moment, anyway. So I prefer to spend my time on things that are beneficial to as many users as possible.

I'd say if there's a valid technical reason why older LAV versions had better audio quality, and if nevcairiel refuses to fix the issue, for some reason, then I'd be willing to add an undocumented hack for you to disable the madVR warnings message. But otherwise please have patience and let nevcairiel take care of the problem. Of course you should properly report it to him, with as many details and explanations as necessary for him to understand and fix the problem.
(0002288)
Alessa   
2018-05-09 10:18   
(Last edited: 2018-05-09 11:28)
Thanks, i will try to pinpoint at wich LAV filter version the audio start lost quality exactly and report the issue to nevcairiel in the hope that it can get fixed.

(0002380)
madshi   
2018-09-17 23:47   
I'll close this for now. If there's a need to reopen, feel free to do that.
(0002494)
Muhd   
2019-03-03 14:30   
This is still happening with newest version of LAV and newest version of madVR
(0002495)
madshi   
2019-03-03 14:52   
Is it possible you have multiple LAV installations on your PC? E.g. some media players ship with their own private LAV installation. If madVR complains about the LAV version, it's *probably* a correct warning.
(0002498)
Muhd   
2019-03-04 12:35   
(Last edited: 2019-03-04 12:35)
Ah yes that's what happened. The media player was using LAV from another player's installation. I updated the LAV in that directory and now it is actually using the newest version.

Thanks


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
601 [madVR] bug minor always 2019-02-26 06:57 2019-02-26 06:57
Reporter: krthebee Platform: Windows  
Assigned To: OS: 8.1  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC 1.7.13
Splitter (with version info): LAV Splitter 0.70.2.1-git
Decoder (with version info): LAV Video Decoder 0.70.2.1-git
Decoding: DXVA2 Copyback
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: GTX 970
GPU Driver Version: 388.13
Summary: Long startup when the internet connection is limited.
Description: My internet connection was down and I tried to watch a video with MPC-HC + MadVR and noticed videos taking abnormally long to start(10+ seconds). After the video had loaded switching to another video was quick like normal, but if I closed MPC-HC and tried opening another video it would be slow again.

When using a different renderer in MPC-HC this problem did not occur. I reset both MPC-HC and MADVR's settings and it didn't not fix the issue.

Disabling my ethernet adapter made the issue go away. And now that my internet is back and working MadVR is behaving normally again.
Tags:
Steps To Reproduce: I disabled the ethernet adapter and madvr behaved normally, but I could reproduce it by enabling the ethernet adapter and loading another video.
Additional Information: I have "delay playback start until render queue is full" enabled. Without it selected the video would take less time to start playing, but would play for a few seconds with a black screen and drop hundreds of frames.

Sorry, if I did anything wrong, first time submitting a bug and thank you for all your hard work on the program!
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
600 [madVR] bug minor always 2019-02-25 15:57 2019-02-25 15:57
Reporter: tp4tissue Platform: Intel z68/z97/ amd gpu  
Assigned To: OS: Win 7/10  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 94.17
Media Player (with version info): mpchc last
Splitter (with version info): lav filter 73.1
Decoder (with version info): All
Decoding: DXVA2 Copyback
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: 1060, 580, 7970, 7870
GPU Driver Version: Happens regardless of version
Summary: Blackbar detection not working correctly with NGU
Description: For example

If using NGU, the scalar creates a double of 1918 or 1919 width, This causes madvr to do Lanzcos again to reach the destination width of 3840

In normal scalar, black bar detection can be set to ignore scalar if pixel change is small. but I suppose this is not run a second time to disable scalar after NGU.

This eats quite alot of performance depending on the video spec and is certainly undesirable since NGU is already giving us the goods, why put lanczos on top of that just to cut away 1 pixel vertical bar.
Tags:
Steps To Reproduce:
Additional Information: For most wide screen video cases, a quick fix would be to disable vertical bar detection, but keep horizontal bar detection. because they're usually small if they exist, and I think most users can live with that to preserve the performance and straight NGU output.

Also, detection could be run again after NGU, that way maybe the Ignore scaling function would work.
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
599 [madVR] bug minor always 2019-02-23 06:18 2019-02-23 08:48
Reporter: glc650 Platform: i3-3220 3.3, 4GB RAM, 256GB SSD  
Assigned To: OS: Windows 10 Pro  
Priority: normal OS Version: 1809  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 92.17
Media Player (with version info): mpc-hc 1.8.4
Splitter (with version info): LAV 0.73.1
Decoder (with version info): LAV 0.73.1
Decoding: Software
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: windowed mode
GPU Manufacturer: NVidia
GPU Model: GTX 1060
GPU Driver Version: 418.91
Summary: frames in advance = 16 but shows x/15 on osd
Description: Present several frames in advance is enabled with 16 but present queue shows x/15 on the OSD. Doesn't seem to affect anything.
Tags:
Steps To Reproduce: just select the above settings...soon as I change to something else (say 14) it shows up correctly on the osd
Additional Information: decoding is actually NOT software but handled by LAV d3d11 cb direct
Attached Files:
Notes
(0002493)
madshi   
2019-02-23 08:48   
This is not a bug but a Direct3D limitation. It doesn't go above 15.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
17 [madVR] bug minor always 2013-02-24 13:28 2019-02-21 13:32
Reporter: DarkSpace Platform: x64  
Assigned To: madshi OS: Windows 7 Ultimate  
Priority: normal OS Version: 6.1.7601  
Status: acknowledged Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.86.1
Media Player (with version info): MPC-HC 1.6.5.6366 (744df1c)
Splitter (with version info): Haali Media Splitter 1.11.288.0
Decoder (with version info): LAV Video Decoder 0.55.3
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: AMD
GPU Model: Radeon HD 6970M
GPU Driver Version: 2D Driver 8.01.01.1162, Direct3D 7.14.10.0841, OpenGL 6.14.10.10834
Summary: Display Aspect Ratio changes too early
Description: When playing files that change the Video Aspect Ratio mid-stream, the Target Rectangle changes too early so that the last few frames of the un-AR-changed sequence appear distorted.
Tags:
Steps To Reproduce: Any file that changes Display Aspect Ratio mid-stream should do, the attached files achieve this via Ordered Chapters, so it's irrelevant which file you open as the order stays the same:
Each of the files contains 50 frames and the respective frame numbers (0-49 and 50-99) displayed on the right side.
Frames 0-49 are to be displayed in 16:9 Aspect Ratio, and frames 50-99 in 4:3 Aspect Ratio.
Additional Information: The other renderers I tested (EVR-CP, EVR Sync and Haali Renderer) worked fine regarding the time at which the Aspect Ratio switch was supposed to happen.

How much earlier than it's supposed to the switch happens appears to be somewhat connected to the CPU Queue size (the larger, the earlier), but it also happens earlier in Windowed Mode than it does in FSE Mode.


I'm not yet sure if the fact that madVR only displays up to frame 98 is a bug in madVR or in the player or somewhere else, as all my tests with EVR stopped at a much earlier frame than 98, and Haali Renderer displays a blank screen instead of the last frame.
Attached Files: test.rar (397,960 bytes) 2013-02-24 13:28
http://bugs.madshi.net/file_download.php?file_id=2&type=bug
Notes
(0000046)
madshi   
2013-03-16 11:10   
I was aware of this issue, but didn't get around fixing it yet. Not sure how difficult it will be to fix. Which means that I don't know how soon I'll be able to implement this.
(0000051)
DarkSpace   
2013-03-17 19:30   
Well, the samples were unnecessary then, it seems. Anyway, thanks for the response, I appreciate your looking into it.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
598 [madVR] bug feature always 2019-02-19 22:20 2019-02-19 22:20
Reporter: ParcelRot Platform:  
Assigned To: OS: Windows 10  
Priority: normal OS Version: 1809  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC 1.7.x
Splitter (with version info): LAV 0.73
Decoder (with version info): LAV 0.73
Decoding: DXVA2 Copyback
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: Geforce GTX 1080
GPU Driver Version: 399.24
Summary: Support for 47 hz and 48 hz
Description: Recent NVIDIA drivers have made it extremely difficult to use my nearly-perfect 23.976 hz custom resolutions. NVIDIA created a 23.9775 hz, which conflicts with the 23.976 hz settings I've been using for the last 3 years.

I cannot play 24 hz and 23.976 hz videos if I create a 47.952 hz custom resolution (see additional information for my reasons for doing this).

My workaround is to create a 47.952 hz resolution. Unfortunately, MadVR fails to use this if I also have 1080p24 in the display modes line.

If my display mode line contains 1080p47 but does NOT contain 1080p24, it works fine. If 1080p47 AND 1080p24 is defined, MadVR always selects 1080p24, which is incorrect and I get repeated frames.
Tags:
Steps To Reproduce: Define a 47.952 hz 1920x1080p custom resolution. Assuming late version NVIDIA drivers (399.24 and later is a good baseline). This mode works on my Sony HW40ES projector, which was very surprising.

Add the following to MadVR Display Mode: 1080p47, 1080p24.

Play a 23.976 hz video file. MadVR will always select the 1080p24, ignoring the proper 47.952 hz, resulting in repeated frames.

Edit the Display Mode to only contain 1080p47. Now the 23.976 hz file plays back at 47.952hz as expected.
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
594 [madVR] bug major always 2019-01-18 17:12 2019-01-18 17:12
Reporter: tp4tissue Platform: Intel z68, z97, AMD gpu.  
Assigned To: OS: Windows 10, Windows 7  
Priority: normal OS Version: 1809,  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPCHC
Splitter (with version info): LAV
Decoder (with version info): Latest
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: AMD
GPU Model: 7870xt, RX 580
GPU Driver Version: catalyst 15.11 (last one for 7870xt, Tested 18.5.1 and 19.1.1 w/ RX580
Summary: Measure frame nits does not show up on OSD, Highlight Recovery does not work
Description: I do not know if the measure nits function is working, but it does not show up on the OSD, like on my Nvidia setup.

Highlight recovery produces no change between off -- minimum -- max

I've tested both on my amd 7870xt and rx 580
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
592 [madVR] bug crash always 2019-01-12 11:25 2019-01-14 14:40
Reporter: kathampy Platform:  
Assigned To: OS: Windows 10  
Priority: normal OS Version: 1809  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-BE x64 1.5.2 (build 4105)
Splitter (with version info): LAV SPlitter 0.73.1
Decoder (with version info): LAV Video Decoder 0.73.1
Decoding: DXVA2 Native
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: RTX 2080 Ti
GPU Driver Version: 417.58
Summary: Minimizing player on Monitor 1 causes display mode change on Monitor 2
Description: Monitor 1 does not have any "display modes" settings.
Monitor 2 has "switch to matching display mode" configured.
The desktop is set to "Extend" mode.
MPC-BE is playing on Monitor 1.
Monitor 2 has no windows on it.
Tags:
Steps To Reproduce: Minimize MPC-BE or press Win+D.
Monitor 2 has its display mode change unnecessarily.

Restore the window.
Video playback may freeze. MPC-HC hangs on closing the window.
Additional Information:
Attached Files:
Notes
(0002467)
madshi   
2019-01-13 11:12   
Hmmmm... Which is your primary monitor? Monitor 1 or 2?
(0002468)
kathampy   
2019-01-14 14:34   
(Last edited: 2019-01-14 14:37)
Monitor 1 is primary. I do not use Monitor 2 at all in extended desktop mode - it's offscreen in the top left corner for HDMI audio output only. When I do use Monitor 2 (for HDR), I use it exclusively as the only display, hence I've set the display modes on it.

A related problem is when I maximize an application window on Monitor 1 and it touches the top left corner, the animation stutters, probably due to it copying the framebuffer to Monitor 2. This should only happen when moving the window into Monitor 2's space, but it happens even on maximize.

However for this bug report, MPC-BE is not maximized and runs in a small window on Monitor 1. Minimizing it does not cause it to touch anything close to the top left corner where Monitor 2 is.

(0002469)
madshi   
2019-01-14 14:36   
Hmmmm... If you use monitor 2 only for HDMI audio output, why do you have "switch to matching display mode" activated?

My best guess is that in minimized state, for some reason madVR considers the media player to be on monitor 2. Not sure why, though...
(0002470)
kathampy   
2019-01-14 14:38   
(Last edited: 2019-01-14 14:40)
I use Monitor 2 exclusively sometimes for HDR and I need the display modes to correctly use it's built-in frame interpolation.

Even if it switches the display mode on Monitor 2 due to a bug, it shouldn't crash or freeze on restoring the window.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
590 [madVR] bug minor always 2019-01-03 21:40 2019-01-07 18:51
Reporter: Dreamject Platform: Laptop i7-3632QM HD4000  
Assigned To: OS: Win10  
Priority: normal OS Version: Last  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): any PotPlayer
Splitter (with version info): internal PP splitter
Decoder (with version info): interdan ffmpeg/lav
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: Intel
GPU Model: HD4000
GPU Driver Version: 10.18.10.5059
Summary: Dropped frames on bigger than 1.0 speed
Description: If I play files faster than 1.0 speed , I have more and more dropped frames, the result is unwatchable. Maybe my config is not enought, but, for example, if I have 24 fps movie and speed it to 1.5, I get 36 frames. But if I use svp with multiplers to make 60fps and 1x speed, madvr works well.

Even if I select worst quality settings and increase speed, my GPU and CPU loaded <50% but I still have lot of dropped frames
Tags:
Steps To Reproduce: Increase playback speed (at least in PotPlayer)
Additional Information:
Attached Files:
Notes
(0002466)
madshi   
2019-01-07 18:51   
Which refresh rate does your monitor/display have when you increase the playback speed with e.g. a 24fps movie?

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
588 [madVR] bug minor always 2018-12-23 20:48 2018-12-23 22:03
Reporter: truexfan81 Platform: desktop  
Assigned To: OS: Windows 10  
Priority: normal OS Version: any  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: any
Media Player (with version info): any
Splitter (with version info): any
Decoder (with version info): any
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: yes
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: any
GPU Driver Version: any
Summary: display mode changes refresh rate even when a matching mode is not specified
Description: when playing a pal 25fps video, madvr changes the refresh rate to 29.97fps resulting in choppy playback. expected behavior: when no mode is specified for 25fps it should leave the screen at default refresh rate.
Tags:
Steps To Reproduce: play a 25fps video on a screen that doesn't support 25fps
Additional Information:
Attached Files:
Notes
(0002455)
madshi   
2018-12-23 22:03   
Currently madVR by design picks one of the modes from your list and activates that. That's not a bug, but intended behaviour.

Sooner or later I'm going to redesign the whole display mode section. But for now, it's not going to change, sorry.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
586 [madVR] bug minor always 2018-11-29 21:12 2018-12-05 10:58
Reporter: MK36 Platform: Acer Aspire VX5-591G  
Assigned To: madshi OS: Windows 10 Home  
Priority: low OS Version: 1809 64-bit  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC-HC (Nightly, 64-bit) 1.8.3.8 (fc4fb469a)
Splitter (with version info): LAV Splitter: 0.73.1.0
Decoder (with version info): LAV Video: 0.73.1.0
Decoding: <select>
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia + Intel
GPU Model: NVIDIA GeForce GTX 1050
GPU Driver Version: 25.21.14.1701
Summary: Unable to play some videos with DXVA11 (Native) hardware acceleration
Description: Repeating frames of two parts of the video displayed indefinitely(attachment).
Problem occur with 10bit HVEC video, only when using DXVA11 (Native) hardware acceleration AND ordered chapters.
No bugs with ordinary 10bit HVEC videos.
No bugs on this configuration when playing AVC 10bit with ordered chapters.
No bugs on different hardware acceleration profiles including DXVA11 copy-back.
Tags:
Steps To Reproduce: 1)Open mkv (10bit?) HVEC file with ordered chapters.
2)Jump to any time in video file.
3)Enjoy!
Additional Information: MPC-HC (Nightly, 64-bit)
------------------------

Build information:
    Version: 1.8.3.8 (fc4fb469a)
    Compiler: MSVC v19.14.26433
    Build date: Nov 24 2018

LAV Filters:
    LAV Splitter: 0.73.1.0
    LAV Video: 0.73.1.0
    LAV Audio: 0.73.1.0
    FFmpeg compiler: MinGW-w64 GCC 7.3.0

Operating system:
    Name: Windows NT 10.0 (build 17763)
    Version: 10.0 (64-bit)

Hardware:
    CPU: Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz
    GPU: NVIDIA GeForce GTX 1050 (driver version: 25.21.14.1701)
System Description Codec Tweak Tool | Log file | Generated at 2019-01-04 14:52:34

##### System Information #####

OS: Windows 10 Home (10.00.17763) (x64)
CPU name: Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz
CPU speed: 2496 MHz (4t)
Memory: 16256 MB
Screen size: 1920x1080 (32bits) (60Hz)
Video card 1: Intel(R) HD Graphics 630
              VendorID: 8086, DeviceID: 591b
Video mem: 1024 MB
Video driver: igdumdim64.dll (Version 25.20.100.6471) (12-10-2018)
Video card 2: NVIDIA GeForce GTX 1050
              VendorID: 10de, DeviceID: 1c8d, SubSys: 11281025
Video mem: 4096 MB
Video driver: nvldumdx.dll (Version 25.21.14.1735) (12-11-2018) (NV 417.35)
Audio device: NVIDIA Virtual Audio Device (Wave Extensible) (WDM)
              VendorID: 0955, DeviceID: 9000
Audio driver: nvvad64v.sys (Version 4.11.1.0) (8-22-2018)

##### K-Lite Codec Pack #####

KLCP version: 14.6.2 (base 14.6.1)
KLCP type: full

Speaker conf: 2.0

MPC renderer: madVR
MPC subs: ISR
MPC audio: System Default

##### Decoder Settings #####

LAV Video:
H264=D3D11VA HEVC=D3D11VA VP9=D3D11VA VC1=D3D11VA MPEG2=D3D11VA MPEG4=1 WMV3=0

LAV Audio:
MP3=1 AC3=B DTS=B DTSHD=B EAC3=B TRUEHD=B AAC=1 Vorbis=1 LPCM=1 WMA=0

##### DirectShow Filters (64-bit) #####

Description: 3DYD Youtube Source
File name: c:\program files (x86)\3dyd youtube source\source_filter64.ax
File version: 1.9.6.0
File size: 6054912 bytes
File MD5: 8a62452f5f59ce775295bbab6c2b906e
CLSID: {55C39876-FF76-4AB0-AAB0-0A46D535A26B}
Merit: 00600000 = MERIT_NORMAL

(A total of 70 filters, 1 shown, 69 hidden)

##### ICM Class Manager (64-bit) #####

(A total of 2 filters, 0 shown, 2 hidden)

##### Default source filters (64-bit) #####

.vob {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source

(A total of 56 default source filters, 1 shown, 55 hidden)

##### ACM and VFW Codecs (64-bit) #####

Description: RivaTuner Video Codec
ID: VIDC.RTV1
File name: C:\WINDOWS\system32\rtvcvfw64.dll
File size: 246272 bytes
File MD5: af47d6660569dfa46bc4e1cd21e1624b

(A total of 14 codecs, 1 shown, 13 hidden)
Attached Files: mpc-hc64_nvo_2018_11_29_19_55_15_108~1.mkv (1,389,404 bytes) 2018-11-29 21:12
http://bugs.madshi.net/file_download.php?file_id=302&type=bug
Notes
(0002442)
madshi   
2018-12-04 12:50   
Do you have a small video sample with which I might be able to reproduce the problem on my PC?
(0002444)
MK36   
2018-12-05 10:45   
https://drive.google.com/open?id=1zNGCanU1u780z3iLykUFoUIKBsL50PDk OP standalone plays just fine, problem apparently lies in the first file.
(0002445)
madshi   
2018-12-05 10:58   
Thanks, files are downloaded, and I can reproduce it. So you can remove the files again, if you like. I'll have a look at this, when I find some time. Might take a big, though.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
584 [madVR] bug major always 2018-11-21 20:06 2018-11-21 20:11
Reporter: jmonier Platform: PC  
Assigned To: OS: Windows  
Priority: normal OS Version: 8.1, 10  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version:
Media Player (with version info):
Splitter (with version info):
Decoder (with version info):
Decoding:
Deinterlacing:
DXVA2 Scaling Active:
Aero / Desktop Composition:
Problem occurs with mode:
GPU Manufacturer:
GPU Model:
GPU Driver Version:
Summary: Cannot activate HDR via DisplayPort
Description: I have a problem with activating HDR via DisplayPort. This is with a LG 34BK95U - 5120x2160 which requires DP 1.4 to get the full width. HDMI (which limits it to 3840 width) works fine.

Basically, it seems that madVR does not recognize that HDR is supported via DP, and thus always does tonemap HDR instead. (And I HAVE checked that HDR can be activated otherwise via DP.)
Tags:
Steps To Reproduce: It only occurs with the above monitor (or probably with the 34WK95U which is identical) and only on the Displayport (1.4). Other than that, just play a HDR file with "passthrough HDR to display" set and "send HDR metadata to the display" checked and note that the HDR indicator does not appear and that the resulting image is from "tonemap HDR ..." instead.

I've included a log.

 
Additional Information: It may or may not be related, but the "identification" for this monitor is wrong, e.g. it shows NVIDIA for the manufacturer (among other things). (Again, this is only on the DisplayPort 1.4 input to this monitor - the HDMI input is fine and DisplayPort (1.2) inputs on other LG monitors are fine.) And Moninfo shows correct data for this DP 1.4 input.

Even stranger, additional identical identification entries keep getting added, always 2 at a time (but I don't know what triggers it). The data is identical for all, with all but the last grayed out. (I'm currently at 23 entries.)
Attached Files:
Notes
(0002440)
jmonier   
2018-11-21 20:11   
Sorry for the extra report. It apparently occurred when I tried to upload a .7z file. 585 is the complete report and this one can be ignored.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
450 [eac3to] bug major always 2016-11-24 03:24 2018-10-21 20:36
Reporter: tebasuna51 Platform:  
Assigned To: madshi OS:  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.31
Summary: don't support some eac3 files
Description: Problems with some eac3 files reported by eac3to with core like this:
E-AC3, 7.1 channels, 0:01:23, 768kbps, 48kHz, dialnorm: -27dB
(core: AC3, 5.1 channels, 0:01:23, 448kbps, 48kHz, dialnorm: -27dB)

eac3to Sample.eac3 without_DN.eac3
Removing AC3 dialog normalization...
Applying (E-)AC3 delay failed. <ERROR> ????
Aborted at file position 262144. <ERROR>

eac3to Sample.eac3 Decoded.wav <ABORT ALSO>

DelayCut v1.3.0 show wrong info, etc.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Sample.zip (7,786,293 bytes) 2016-11-24 03:24
http://bugs.madshi.net/file_download.php?file_id=227&type=bug
Notes
(0001927)
madshi   
2017-11-18 21:25   
Tried to do a quick fix, but failed. It's of course fixable, but it will take a bit of time which I currently don't have, so it will have to wait.

FWIW, using "-core", decoding seems to work.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
582 [madVR] bug minor always 2018-10-11 07:56 2018-10-11 10:36
Reporter: mkver Platform:  
Assigned To: madshi OS:  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): 1.5.2 (build 4000) beta
Splitter (with version info): Internal MPC-BE Splitter from version 1.5.2 (build 4000) beta
Decoder (with version info): Internal MPC-BE Decoder from version 1.5.2 (build 4000) beta
Decoding: DXVA2 Native
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: Intel
GPU Model: i3 4005U
GPU Driver Version: 10.18.14.4889
Summary: Matroska/Upstream cropping doesn't work in DXVA2 Native mode
Description: Hello,

the Matroska/Upstream cropping doesn't work correctly in DXVA2 Native mode. The size of the rectangle and the aspect ratio is right, but the choosen pixels aren't: It doesn't crop at the top, but only at the bottom (and it crops more than it should there -- so much that the size is right). Here is the pin info MPC-BE reports:

- Connection media type:

Video: dxva 1280x720 (16:7) 25fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_NV12 {3231564E-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo2 {F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1382400
cbFormat: 112

VIDEOINFOHEADER:
rcSource: (0,80)-(1280,640)
rcTarget: (0,80)-(1280,640)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 400000 (25.000 fps)

VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000081
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 16
dwPictAspectRatioY: 7
dwControlFlags: 0x0000a581
- VideoChromaSubsampling: 5
- NominalRange : 2 (16-235)
- VideoTransferMatrix : 1 (BT.709)
- VideoLighting : 0
- VideoPrimaries : 0
- VideoTransferFunction : 0
dwReserved2: 0x00000000
Tags:
Steps To Reproduce: Play the file "Matroska.Container.Cropping.mkv" in MPC-BE with its internal filters with DXVA2 native enabled. You'll see a black bar at the top and you'll also see that the white rectangle isn't centered, but below the middle of the video (it should be a white square in the middle of the video and you shouldn't see black bars at all).
Additional Information: I have already reported it on doom9 here: http://forum.doom9.org/showthread.php?p=1854410#post1854410
The EVR and EVR-CP renderers are able to correctly crop in DXVA2 mode (if the cropping doesn't respect the subsampling, they are off by one, but I'd be satisfied with this).
It works correctly when not in DXVA2 native mode.
LAV Filters ignores the Matroska container cropping parameters and can therefore not be used to reproduce this issue. But MPC-BE's internal filters work.
Attached Files: Matroska.Container.Cropping.mkv (2,208,576 bytes) 2018-10-11 07:56
http://bugs.madshi.net/file_download.php?file_id=300&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
581 [madVR] bug crash sometimes 2018-10-03 08:22 2018-10-03 08:22
Reporter: noob00224 Platform: MPC HC  
Assigned To: OS: Win7 x64  
Priority: normal OS Version: Ultimate  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.17
Media Player (with version info): MPC HC Nightly 1.8.2.4
Splitter (with version info): Lav 0.72.0.15
Decoder (with version info): Lav 0.72.0.15
Decoding: DXVA2 Copyback
Deinterlacing: auto mode
DXVA2 Scaling Active: yes
Aero / Desktop Composition: On
Problem occurs with mode: fullscreen exclusive mode
GPU Manufacturer: NVidia
GPU Model: GTX 1060 6GB
GPU Driver Version: 411.70
Summary: MPC HC crash
Description: I have ripped a 3D bluray with DVDFab with the 3D MKV MVC shell. I have to activate 3D stereoscopic from NVCP manually.
It plays fine in windowed mode. When I try to play it in fullscreen MPC HC crashes. The PJ resets itself to 3d frame packing when I go fullscreen.
OS is Win7 x64, 398.82 driver version, latest MPC HC/Lav/madvr. Output is from a GTX 1060 via HDMI to a Benq W2000(HT3050).
Also tried Make MKV and Any DVD ripper, same issue.

LE: I updated to 411.70, still crashed. I accidentally played a 2D movie (while the PJ was in 3D mode) and when it went to fullscreen it crashed. Tried an mkv and an mp4.
Strange that some 3D ripped files (3D MKV) did go into fullscreen (witout 3d effects). Also changed the Hardware Accelaration fron dxva2 copyback to all the other alternatives in Lav Video decoder to no avail.
FSE is active. I am able to view 3d movies (from disc) with WinDVD.
Tags:
Steps To Reproduce: Fullscreen has error in 3d stereoscopic mode.
Additional Information: Problem signature:
Problem Event Name: BEX
Application Name: mpc-hc.exe
Application Version: 1.8.2.4
Application Timestamp: 5bace0b2
Fault Module Name: nvwgf2um.dll
Fault Module Version: 24.21.13.9882
Fault Module Timestamp: 5b5f4be7
Exception Offset: 0015cc4a
Exception Code: c0000409
Exception Data: 00000000
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: bf80
Additional Information 2: bf8015ebbd3b4897e1fb57b607478160
Additional Information 3: fe8e
Additional Information 4: fe8e20b1fa58fc8d6a6c0b521c8da54c

And Event Viewer:

Log Name: Application
Source: Microsoft-Windows-WMI
Date: 03-Oct-18 7:03:23 AM
Event ID: 10
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer:
Description:
Event filter with query "SELECT * FROM __InstanceModificationEvent WITHIN 60 WHERE TargetInstance ISA "Win32_Processor" AND TargetInstance.LoadPercentage > 99" could not be reactivated in namespace "//./root/CIMV2" because of error 0x80041003. Events cannot be delivered through this filter until the problem is corrected.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-WMI" Guid="{1edeee53-0afe-4609-b846-d8c0b2075b1f}" EventSourceName="WinMgmt" />
<EventID Qualifiers="49152">10</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2018-10-03T04:03:23.000000000Z" />
<EventRecordID>49639</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer> </Computer>
<Security />
</System>
<EventData>
<Data>//./root/CIMV2</Data>
<Data>SELECT * FROM __InstanceModificationEvent WITHIN 60 WHERE TargetInstance ISA "Win32_Processor" AND TargetInstance.LoadPercentage > 99</Data>
<Data>0x80041003</Data>
</EventData>
</Event>
Attached Files: default.rar (166 bytes) 2018-10-03 08:22
http://bugs.madshi.net/file_download.php?file_id=299&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
573 [madVR] bug minor always 2018-09-01 19:27 2018-09-30 19:42
Reporter: FortMax Platform: PC  
Assigned To: madshi OS: Windows 10  
Priority: normal OS Version: 1803  
Status: feedback Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.3 through current
Media Player (with version info): MPC-HC CCCP build 1.7.8.162
Splitter (with version info): LAV Splitter 0.65.0.5 (not active for DVD video)
Decoder (with version info): LAV Video 0.65.0.5 (not active for DVD video)
Decoding: Software
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: windowed mode
GPU Manufacturer: AMD
GPU Model: Radeon HD 6800 series
GPU Driver Version: 15.201.1151.1008
Summary: screenshots of DVD menus fail (getDIB failed,hr=80004005)
Description: Any attempt to take a screenshot of a DVD menu fails.
MPC-HC will freeze, and after a while it will unfreeze and give the error "getDIB failed,hr=80004005"
Tags:
Steps To Reproduce: Play a regular old DVD
Get to the DVD's menu.
Try to take a screencap of the menu using MPC-HC's screencap function
Additional Information: Works fine on Mad VR 0.92.2, still broken as of 0.92.14
Attached Files:
Notes
(0002346)
madshi   
2018-09-01 19:29   
Ouch, this could be complicated. DVD menus are a very special case, very different to normal video. I'll have a look at this, but it might take a while until I get to that. For now you could simply use the PrintScreen (will not work in Fullscreen Exclusive Mode, though).
(0002347)
FortMax   
2018-09-01 19:53   
My current workaround is going back to 0.92.2 where it works fine.
(0002348)
madshi   
2018-09-01 19:54   
Makes sense. That's the last build before all the new screenshot related functionality.
(0002431)
madshi   
2018-09-30 19:42   
I've tried with a DVD sample here, and it seems to work fine for me, using v0.92.17. Can you test if you still have this problem with v0.92.17? If so, can you maybe upload a small video/DVD sample, with which I/you can reproduce the problem?

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
556 [madVR] bug minor always 2018-05-10 10:15 2018-09-18 00:04
Reporter: sat4all Platform:  
Assigned To: madshi OS:  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.14
Media Player (with version info): Kodi Dsplayer 16.4
Splitter (with version info): LAVFilters-0.71.0-34
Decoder (with version info): LAVFilters-0.71.0-34
Decoding: DXVA2 Native
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: GTX 1060
GPU Driver Version: 397.64
Summary: madtpg+displaycal hdr calibration problem
Description: Hi madshi,

I think there is a bug in madtpg, the hdr calibration never finish when matpg "disable osd" is enabled, displaycal report error3 and stop after taking couple of patch measurements.
[code]2018-05-08 17:26:19,568 ', using delay of 100 msec & 0 msec inst reaction\r\npatch 1 of 175'
2018-05-08 17:26:21,427 '\rpatch 2 of 175'
2018-05-08 17:26:22,407 '\rpatch 3 of 175'
2018-05-08 17:26:23,301 '\rpatch 4 of 175'
2018-05-08 17:26:24,362 '\rpatch 5 of 175'
2018-05-08 17:26:36,559 '\rpatch 6 of 175'
2018-05-08 17:26:48,746 '\rpatch 7 of 175'
2018-05-08 17:26:51,901 '\rpatch 8 of 175'
2018-05-08 17:26:54,543 '\rpatch 9 of 175'
2018-05-08 17:26:57,135 '\rpatch 10 of 175'
2018-05-08 17:26:59,263 '\rpatch 11 of 175'
2018-05-08 17:27:00,279 'White drift was 0.000000 DE\r\nThe instrument can be removed from the screen.\r\n'
2018-05-08 17:27:00,380 'dispread: Error - dispd->read returned error code 3\r\n\r\n'[/code]

Untick "disable osd" fix the problem immediatly, with sdr calibration all is fine.
I've reported to fhoech and he asked to report to you.

Kind Regards
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
575 [madVR] bug major always 2018-09-05 16:02 2018-09-05 16:20
Reporter: elelunicy Platform: PC  
Assigned To: elelunicy OS: Windows 10  
Priority: high OS Version: 1803  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.92.14
Media Player (with version info): Potplayer 1.7.13963
Splitter (with version info): LAV Splitter 0.72
Decoder (with version info): LAV Video Decoder 0.72
Decoding: Software
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: Titan X (Pascal)
GPU Driver Version: 399.07
Summary: Hissing/static noises from speakers when MadVR is enabled
Description: So I'm having the problem when I start playing a video the speakers would make very slight hissing sound/static noise for about 10 seconds and then it stops. It's very slight but can be heard when the room is quiet. Increasing/decreasing the volume does not make the noise quieter/louder.

I've tried both Potplayer and MPC-BE and the noise issue happens with both. The issue is gone after disabling MadVR. Resetting MadVE's settings to defaults does not fix the issue. No noise issue either when using other players that don't use MadVR.

I also tried switching between LAV audio decoder and the built-in decoder and it doesn't make a difference. Changing the audio renderer between DirectSound/WaveOut/WASAPI made no difference either. It also doesn't matter what the audio format is (AAC, DTS, or TrueHD) and the noise is always there. There's no noise, however, when playing an audio only file.
Tags:
Steps To Reproduce:
Additional Information: I'm using a pair of powered stereo speakers connected to an external USB DAC.
Attached Files:
Notes
(0002351)
madshi   
2018-09-05 16:07   
It's probably the GPU running at max power for a couple of seconds. This happens because madVR fills up its internal queues, by rendering multiple video frames ahead as fast as possible. This is done to ensure smooth video playback without frame drops.

You could try using some GPU clock tool to limit the GPU clocks, or something.

Anyway, it's really nothing I can anything about. If the GPU makes noise when under full load, it's out of my control.

Maybe you could try lowering the size of the GPU queue in the madVR settings. That should reduce the number of seconds the GPU is under full stress at the start of a movie.
(0002352)
elelunicy   
2018-09-05 16:19   
That was it. I thought it was from the speakers but after listening very carefully it was indeed just GPU coil whine. I'm upgrading my GPU soon so hopefully the new GPU won't have the problem.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
558 [eac3to] bug feature always 2018-05-21 21:50 2018-05-21 21:53
Reporter: tebasuna51 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version:
Summary: DTS-HRA not recognized
Description: When load a DTS-HRA extracted from a BD UHD eac3to show:

The format of the source file could not be detected. <ERROR>

ffmpeg inform it like: DTS-HD HRA, 48000 Hz, 7.1, and it can decode, or extract the core, without problems.

Sample added.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: sample.zip (6,981,251 bytes) 2018-05-21 21:53
http://bugs.madshi.net/file_download.php?file_id=284&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
522 [eac3to] bug minor have not tried 2017-11-06 14:18 2018-04-10 09:12
Reporter: kron Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 32
Summary: Warning message
Description: Hi, first of all, congratulations for such excellent program.

Well, respectfully, does this Warning message ("XLL output not lossless") means any problem?
When I use eac3to 31 it doesn't happen, so I ask you if there is a possibilty to make it disapears in version 32?

Thank you for the attention.
Tags:
Steps To Reproduce: When converting audio DTSHD MA to flac using eac3to 32
Additional Information: eac3to v3.32
command line: "C:\Program Files\eac3to\eac3to.exe" "C:\Users\James\Desktop\Audio HD\Overdrive.2017.BluRay.1080p.DTS-HD.MA.5.1.AVC.REMUX-FraMeSToR_track2_eng.dts" "C:\Users\James\Desktop\Audio HD\Overdrive.2017.BluRay.1080p.DTS-HD.MA.5.1.AVC.REMUX-FraMeSToR_track2_eng.dts_.flac" -progressnumbers -log="C:\Program Files\eac3to\UsEac3To.log"
------------------------------------------------------------------------------
DTS Master Audio, 5.1 channels, 24 bits, 48kHz
(core: DTS, 5.1 channels, 1509kbps, 48kHz)
Decoding with libDcaDec DTS Decoder...
libDcaDec reported the warning "XLL output not lossless". <WARNING>
Encoding FLAC with libFlac...
Creating file "C:\Users\James\Desktop\Audio HD\Overdrive.2017.BluRay.1080p.DTS-HD.MA.5.1.AVC.REMUX-FraMeSToR_track2_eng.dts_.flac"...
The original audio track has a constant bit depth of 24 bits.
eac3to processing took 10 minutes, 51 seconds.
Done.
Attached Files:
Notes
(0001902)
madshi   
2017-11-08 10:52   
eac3to just passes the message on to you, which the decoder reports to eac3to. There's nothing I can do about it. Of course I could silently surpress the warning. Or maybe updating to a newer decoder build would remove the warning. But this is not really a bug in eac3to.
(0001903)
kron   
2017-11-08 13:28   
Thank you for answering, madshi.

Well, I was worried because it didn't happen in eac3to 31. It's good to know there's nothing wrong at all.

BTW would it be easy to update the decoder, I mean could it be done just replacing it (the new version) into the eac3to's folder?

I hope you can forgive me for so many questions...

Thanks again, my friend.

P.S.: I don't know why my post is repeated, how can I delete the others?
(0001904)
madshi   
2017-11-08 15:44   
If the decoder interface stayed the same you could just drop in a new version of the dll.
(0001911)
kron   
2017-11-09 17:04   
Hi, madshi,

I've just done it, and the message's now gone.

Thanks for your attention, my friend.
(0001913)
madshi   
2017-11-09 18:07   
Great, where did you get the new version from?
(0001918)
kron   
2017-11-11 20:58   
I'm not sure, madshi... I just had this file here and decided to try with eac3to, fortunately it did work. I think I got it from eMule.
(0002273)
GL1zdA   
2018-04-10 09:11   
Version 0.2.0 can be found in releases here:
https://github.com/foo86/dcadec
But the auhtor also recommends using ffmpeg now since it's integrated there.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
288 [eac3to] bug major always 2015-05-04 01:46 2018-03-11 18:06
Reporter: nautilus7 Platform:  
Assigned To: madshi OS:  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.29
Summary: Cannot extract pgs/sup subtitles from mkv files
Description: PGS/SUP subtitles cannot be demuxed correctly from mkv files. This happens with all files I have tried. It's happening now for quite a long time, if not forever.

Only way to demux pgs/sup from mkv is using mkvextract, since eac3to outputs a broken file.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002242)
mkver   
2018-03-11 08:16   
eac3to currently ignores whether the track in the Matroska file has been compressed (picture based subtitles are very compressible, so mkvmerge uses zlib compression for them by default) and simply extracts the data out of the file as is; it does not decompress it at all.
(0002243)
madshi   
2018-03-11 18:06   
That makes sense, eac3to doesn't support zlib decompression atm.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
177 [madVR] bug minor always 2014-03-12 20:22 2018-01-21 21:37
Reporter: huhn Platform: x64  
Assigned To: madshi OS: windows 7  
Priority: low OS Version: 7601  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 87.6
Media Player (with version info): mpc-hc 1.7.3
Splitter (with version info): lavfilter 60.1
Decoder (with version info): lavfilter 60.1
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: fullscreen exclusive mode
GPU Manufacturer: AMD
GPU Model: r9 270
GPU Driver Version: 14.1
Summary: playback to fast when exclusive fullscreen and SM is used with a 120 fps file on a 60 fps screen.
Description: sample http://www.file-upload.net/download-8681857/120fpssample2--1-.mkv.html
Tags:
Steps To Reproduce: play a 120 fps file on a 60 fps file in fullscreen exclusive and with active smoothmotion.
Additional Information: i can't reproduce this on my nvidia dual monitor system with a 144 hz screen.

cyberbeing got something like that too: http://forum.doom9.org/showthread.php?p=1671894#post1671894
Attached Files: madVR - log.zip (594,154 bytes) 2014-04-02 06:05
http://bugs.madshi.net/file_download.php?file_id=85&type=bug
Notes
(0000543)
madshi   
2014-04-01 18:22   
I've tried here, but I can't reproduce the problem with 60Hz FSE. How can I reproduce the problem? How do I even know that it's playing too fast?
(0000559)
huhn   
2014-04-02 06:05   
(Last edited: 2014-04-02 06:07)
i can make a file with audio but if it runs to fast you will get an black screen or see the last screen for the rest of the playback time after the last frame is rendered.

i just managed to reproduce this on my dual monitor system the file was finished after ~ 20 sec with bilinear chroma resizing so it looks like madvr fse with smoothmotion plays HFR files as fast as possible. so you may need a gpu/cpu that can run 1080p at over ~ 120 fps to reproduce this error.
if it runs to fast all queue drop except present frames in advanced. and i get ~ 100% cpu usage.

i added a log but i think it is way easier to reproduce this.

edit: don't add ~ and a number without a space!

(0000568)
madshi   
2014-04-02 22:11   
The speedup problem is caused by the GPU not being fast enough to render 120fps + SmoothMotion FRC. If you dial down the algorithms so that the GPU gets fast enough, playback should run at the normal speed. I'll keep this bug open to be fixed at some point in the future, but I consider it very low priority atm.
(0002140)
madshi   
2018-01-16 17:30   
This also occurs for me with 60p content on 23Hz, sometimes even in Windowed playback. Sometimes I need to switch to FSE to make the problem appear.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
479 [madVR] bug minor always 2017-05-14 21:47 2018-01-21 05:44
Reporter: mcn2 Platform: x86_64  
Assigned To: madshi OS: Windows  
Priority: normal OS Version: 8.1  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.91.8 (32-bit)
Media Player (with version info): MPC-HC 1.7.11 (32-bit)
Splitter (with version info): LAV Filters 0.69.0 (32-bit)
Decoder (with version info): LAV Filters 0.69.0 (32-bit)
Decoding: CUDA
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: GTX 680
GPU Driver Version: 382.05
Summary: Delay before playback starts
Description: Since version 0.91.0 I have a noticeable delay (more than 10 seconds) before playback starts.
With the more recent versions the audio starts with a delay of about 5 seconds, but the video still waits about 10 seconds.
Version 0.90.24, and the previous ones, don't have this issue.

This also happens after resetting madVR settings.

Some details on my configuration (apart from the OS everything else is 32-bit):

Nvidia GTX 680 with drivers 382.05

Windows 8.1 x64

MPC-HC 1.7.11
LAV Filters 0.69.0
madVR 0.91.8

This also happens with DVB Viewer Pro 5.5.0.0 instead of MPC-HC.

I checked the changelog for 0.91.0 but I can't see anything that might cause this.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: madVR - log.zip (1,460,468 bytes) 2017-05-17 18:20
http://bugs.madshi.net/file_download.php?file_id=243&type=bug
Notes
(0001643)
madshi   
2017-05-15 17:48   
Can you create a debug log, zip it and attached it here?
(0001644)
mcn2   
2017-05-17 18:20   
Here's the log.
I closed MPC-HC when the image appeared, approximately 8 seconds in.
(0001645)
madshi   
2017-05-17 22:43   
Hmmmm... The rendering thread seems to be stuck, but in my source code I can't find anything that would explain that. Are you 100% sure that this was introduced in v0.91.0? If you downgrade to v0.90.24 now, the problem really goes away?

Nobody else has reported a problem like this, so I wonder if it's maybe something specific to your PC. But I've no clue what it could be right now.
(0001646)
mcn2   
2017-05-18 13:45   
Yes, I made various tests and this problem only appears with v0.91.0 and later.

To add even more confusion I noticed that starting the Diablo III launcher fixes the problem, at least for some hours. Then it starts again.
This might happen with other applications too, I suppose.

However, as you say, I'm afraid it might very well be an issue with my PC.
After all, I'm still affected by this:
http://forum.doom9.org/showthread.php?p=1746207#post1746207

Thanks for your time.
(0002019)
madshi   
2018-01-14 12:32   
Sorry for the very late reply. Does this problem still occur with the latest builds? If so, I suppose I could make a few test builds to find out which exact change between v0.90.24 and v0.91.0 introduced the issue, if you still need this to be looked at?
(0002135)
mcn2   
2018-01-16 03:45   
At the moment I'm on 0.89.16, since newer versions used to often give me high CPU usage when a video gets paused (but only after some time that it has been paused).

During the week-end I'll check out the latest version and let you know.

By the way do you think that this issue:
http://forum.doom9.org/showthread.php?p=1746207#post1746207
could be caused by VRAM exhaustion on the GPU?
(0002138)
madshi   
2018-01-16 10:24   
I've no idea what causes that issue. Nobody else has ever reported a similar issue to me yet.
(0002159)
mcn2   
2018-01-21 05:44   
I'm still affected by this issue with 0.92.11.

When opening a file MPC-HC status bar shows 'Opening...' for about 4 seconds, then the audio starts and after approx. 8 seconds the video starts too.

Also, if I drag and drop a file on an instance of MPC-HC that already is showing a file the playback starts immediately as expected.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
372 [madVR] bug minor always 2015-12-29 08:24 2018-01-16 09:21
Reporter: omarank Platform:  
Assigned To: madshi OS:  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.89.19
Media Player (with version info): MPC-HC V.1.7.10.40 32 bit
Splitter (with version info): LAV Splitter v0.67.0-29
Decoder (with version info): LAV Video Decoder v0.67.0-29
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: fullscreen exclusive mode
GPU Manufacturer: AMD
GPU Model: AMD HD8970M
GPU Driver Version: v13.12
Summary: Still images getting stretched in FSE when Display Mode Changer is active and LAV decoder is used
Description: If keep the Display Mode Changer active with refresh rates 50Hz and 60Hz while "switch to matching display mode": "when media player goes fullscreen" is selected, and open a still image file (e.g. png file) such that decoding is done by LAV Video decoder, in FSE mode the image gets stretched.
Tags:
Steps To Reproduce: 1. Keep at least two refresh rates in the Display Mode Changer setting box in madVR: 50Hz and 60 Hz.

2. In that display modes page, select "switch to matching display mode": "when media player goes fullscreen"

3. Open a png file in madVR such that LAV video decoder is used

4. Switch to Fullscreen for FSE mode
Additional Information:
Attached Files:
Notes
(0002099)
madshi   
2018-01-14 20:35   
I'm sorry for the extremely late reply.

I think this issue should be fixed in the latest madVR build? Can you confirm?
(0002136)
omarank   
2018-01-16 09:21   
There is still some problem in the latest madVR build. Although the image does not get stretched now, it looks terribly blurred and there is no seekbar. The steps that I mentioned to reproduce the problem should be helpful.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
353 [madVR] bug crash always 2015-10-25 02:48 2018-01-15 14:01
Reporter: net147 Platform: Intel  
Assigned To: madshi OS: Windows  
Priority: normal OS Version: 7 64-bit SP1  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.89.12
Media Player (with version info): MPC-HC 1.7.9 846eff0 64-bit
Splitter (with version info): LAV Splitter 0.65.0
Decoder (with version info): LAV Video Decoder 0.65.0.9-git
Decoding: DXVA2 Native
Deinterlacing: auto mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: windowed mode
GPU Manufacturer: NVidia
GPU Model: GeForce GTX 760
GPU Driver Version: 355.82
Summary: Moving MPC-HC player window from primary to secondary monitor causes playback to stop
Description: If you open a H.264 video, it starts playback on primary monitor. Dragging the player window to the secondary monitor causes the playback to pause for a few seconds or so and then changes to either Stopped or Paused state. Clicking play again causes audio to play for a fraction of a second and then go back to Stopped or Paused state.
Tags:
Steps To Reproduce: See description.
Additional Information: It used to work fine in older MadVR versions - playback would pause for a few seconds or so and then continue.

0.86.11 - ok
0.87.10 - ok
0.87.13 - ok
0.87.14 - ok
0.87.15 - bad
0.87.16 - bad
0.87.21 - bad
0.88.11 - bad
0.89.12 - bad
Attached Files:
Notes
(0001218)
net147   
2015-10-25 02:50   
I mistyped the media player version. It should be "MPC-HC 1.7.9 846eff0 32-bit" not 64-bit.
(0001236)
lanboost   
2015-11-21 15:41   
Can confirm this is a issue for

Windows 10 x64 (build 10240)

Nvida gtx 960 (358.91)
MPC-HC (1.7.10)
madVR 0.89.17

Doesn't matter what video I watch, freezes and doesn't replay when moving to other monitor
(0001331)
Ede_123   
2016-05-10 21:17   
Same issue here with
 - madVR 0.90.17
 - MPC-HC 1.7.10 (including LAV Video Decoder 0.66.0)
 - Windows 10 x64

When closing MPC-HC or starting a new video after playback got stuck in the mentioned state there's the following madVR report shown for a fraction of a second:
 - creating Direct3D device failed (80070005)

The issue can be worked around by disabling DXVA2 video decoding in LAV Video Decoder (obviously undesirable)
(0001351)
Ede_123   
2016-05-22 03:15   
Possibly related: bug 404
http://bugs.madshi.net/view.php?id=404
(0002027)
madshi   
2018-01-14 13:17   
Does it happen for all of you only with DXVA2 native video decoding?
(0002029)
Ede_123   
2018-01-14 13:58   
For me it happens with "DXVA2 (native)" mode.
Setting it to "DXVA2 (copy-back)" solves the issue.

My current system information:
 - madVR 0.92.10
 - MPC-HC 1.7.13 (including LAV Video Decoder 0.70.2.1-git)
 - Windows 10 x64
 - Intel(R) HD Graphics 520 (driver version: 22.20.16.4836)
(0002030)
madshi   
2018-01-14 14:25   
How about lanboost and net147?

@Ede, have you tried D3D11 native decoding with a nightly LAV build? Does the same issue occur with that?
(0002125)
net147   
2018-01-15 11:22   
@madshi Works for me using "DXVA2 (copy-back)" instead of "DXVA2 (native)" in "Video decoder" internal filter settings.

madVR 0.92.10
MPC-HC (64-bit) 1.7.13
Windows 7 SP1 64-bit
NVIDIA GeForce GTX 760
(0002126)
madshi   
2018-01-15 14:01   
Ok, thanks, so we can probably conclude that the issue only occurs with DXVA Native decoding. Will have to double check that...

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
534 [eac3to] bug minor always 2018-01-14 22:33 2018-01-14 22:51
Reporter: Bandits Platform:  
Assigned To: madshi OS:  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.34
Summary: HEVC stream detected with unknown parameters and when demuxed results in a corrupt video stream
Description: The HEVC stream from the sample is detected with unknown parameters. Once demuxed from the m2ts it becomes unrecognizable as a video stream. The original m2ts is playable without issues.
Tags:
Steps To Reproduce: Execute first pass with eac3to.exe to see unknown parameters. Demux m2ts to get corrupt video stream. Cannot reproduce with the 8meg sample.
Additional Information: The submitted 8meg sample demuxes with a usable video file. The issue happens within the first 15megs. I cannot submit a 15meg file.
Attached Files: 00001_0.m2ts (7,340,032 bytes) 2018-01-14 22:35
http://bugs.madshi.net/file_download.php?file_id=277&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
322 [madVR] bug minor always 2015-07-06 21:33 2018-01-14 20:06
Reporter: 6233638 Platform: x64  
Assigned To: madshi OS: Windows 8.1 Pro  
Priority: normal OS Version: 6.3 (Build 9600)  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.88.15.0
Media Player (with version info): NA
Splitter (with version info): NA
Decoder (with version info): NA
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: fullscreen exclusive mode
GPU Manufacturer: NVidia
GPU Model: GTX 570
GPU Driver Version: 353.06
Summary: madTPG not entering FSE mode when used as a pattern source for CalMAN 5.5.1
Description: madTPG is not entering FSE mode (10-bit output) when used as a pattern source for CalMAN on a single display. (CalMAN's new "force fullscreen" option)
Tags:
Steps To Reproduce:
Additional Information: Looks like it may be entering FSE on the first pattern (or series of patterns) but after that it only switches to windowed mode.
 
Log contains two series' of reads from 0-100.
The first appears to be entering FSE mode (or doing something which is reinitializing the display) while the second does not.
System Description
Attached Files: madVR - log.rar (6,152,916 bytes) 2015-07-06 21:33
http://bugs.madshi.net/file_download.php?file_id=163&type=bug
Notes
(0001103)
madshi   
2015-07-06 22:34   
I can see that switching into FSE mode fails, but it's hard to say why. Does this only happen with 10bit output? Or only with DX11 output? Or does it also happen with 8bit / DX9 output? What happens if you try to switch into and out of and back into fullscreen mode manually? Does madTPG then manage to enter FSE mode multiple times?
(0001104)
6233638   
2015-07-06 22:44   
It happens with 8-bit DX11 or DX9.
Manually switching into full-screen mode by double-clicking the pattern window seems to enter FSE mode every time. (or at least re-initializes the display as if it is)
(0001105)
madshi   
2015-07-06 22:47   
Ok, I guess I'll have to test that myself, but that might take a while. Should still work alright without FSE mode, right? (No 10bit then, of course.)
(0001106)
6233638   
2015-07-06 23:11   
Yes it works fine, it's just that the output is 8-bit.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
513 [madVR] bug minor always 2017-10-19 15:28 2018-01-14 12:05
Reporter: Larwood Platform:  
Assigned To: madshi OS: Windows 10  
Priority: normal OS Version: Fall Creators  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.92.7
Media Player (with version info): MPC-HC 1.7.13
Splitter (with version info): internal LAV 0.70.2.1
Decoder (with version info): internal LAV 0.70.2.1
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: fullscreen exclusive mode
GPU Manufacturer: NVidia
GPU Model: 980 Ti
GPU Driver Version: 387.92
Summary: Fullscreen exclusive seek bar kills present queue
Description: When in fullscreen exclusive mode whenever you mouse over to make the seek bar appear the present queue will drop to 1-2/2. This also causes playback to be slightly stuttery, although no frames are dropped. Seems to happen regardless of the format being played, and regardless of using DXD11 or DXD9.

Has the additional side-effect of causing playback to momentarily speed up and slow down when the seek bar is shown or hidden, if using D3D11 without "present a frame for every VSync."
Tags:
Steps To Reproduce: Use seek bar in fullscreen exclusive.
Additional Information:
Attached Files:
Notes
(0001865)
Larwood   
2017-10-19 15:31   
I just noticed, the playback being slightly stuttery also only applies when not presenting a frame for every VSync
(0001866)
madshi   
2017-10-20 11:40   
The present queue size is intentionally limited to 2 frames as soon as any user interface is displayed which supports user interaction. The reason for that is that a big full present queue automatically results in increased user interface latency. Latency doesn't matter at all during video playback. But if the user interface takes a full second to react to anything you do, that would feel rather bad.

Of course stuttering is not a good thing, either, maybe I can improve that. Or maybe I should reduce the queue size to 3 instead of 2, maybe that would already solve the problem (although increasing latency again).

Playback speeding up without "present a frame for every VSync" probably depends on the GPU driver implementation. I'm not sure if I can change that.
(0002009)
madshi   
2018-01-14 12:05   
FWIW, I've just noticed that the "low latency" mode runs smoothly on my AMD GPU but does stutter on NVidia, for some reason. I'll have to investigate why that happens. Should be something fixable, I suppose...

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
512 [eac3to] bug minor always 2017-10-15 08:04 2017-11-19 04:46
Reporter: msg7086 Platform:  
Assigned To: madshi OS: Windows 10  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.32
Summary: Exit silently when scanning capped HEVC 4k in TS files
Description: The video in question is a commercial capped from a 4k TV station, broadcasting free of charge at that moment.

When scanning this file using eac3to 3.32, it exits silently after a fraction of second.

eac3to 3.31 was working partially since it does not try to parse HEVC stream, and at least the audio can be extracted correctly (without correct audio delay detected, of course).

The same issue applies to all similar video clips, HEVC+AAC inside TS files.
Tags:
Steps To Reproduce: 1. eac3to 4k-test.ts
Additional Information: Also expect eac3to to detect the correct audio delay so we don't have to manually sync video with audio.
Attached Files: 4k-test.ts (8,226,348 bytes) 2017-10-15 08:08
http://bugs.madshi.net/file_download.php?file_id=260&type=bug
4k-test2.ts (8,213,080 bytes) 2017-10-15 20:39
http://bugs.madshi.net/file_download.php?file_id=261&type=bug
Notes
(0001850)
madshi   
2017-10-15 20:33   
With that TS file eac3to reports "The format of the source file could not be detected" on my PC. Maybe the file is too short?
(0001851)
msg7086   
2017-10-15 20:42   
My apologies, when cutting the file to get around the size limitation I seemed to cut in a weird position.

Double checked this time and uploaded a new sample.

Thank you for your time.
(0001920)
madshi   
2017-11-15 15:02   
Is it fixed in this build?

http://madshi.net/eac3toHevcTest.rar
(0001921)
msg7086   
2017-11-15 20:46   
(Last edited: 2017-11-15 20:46)
Testing 4k-test2.ts
----------
Testing 01.ts
-
Testing 02.ts

Testing 03.ts
-
Testing 04.ts

Testing 05.ts

Testing 06.ts

Testing 07.ts

Testing 08.ts
-

9 negatives. log.txt file shows nothing useful.

(0001928)
madshi   
2017-11-18 21:55   
Hopefully fixed in v3.33?

http://madshi.net/eac3to.zip

The attached file was too short to properly detect the HEVC properties, but at least it doesn't exit silently, anymore.
(0001930)
msg7086   
2017-11-19 04:11   
Testing 4k-test2.ts
TS, 1 video track, 1 audio track, 0:00:03, 30p /1.001
1: h265/HEVC, unknown parameters
2: AAC, 2.0 channels, 185kbps, 48kHz, -740ms

Testing 01.ts
TS, 1 video track, 1 audio track, 0:30:21, 30p /1.001
1: h265/HEVC, unknown parameters
2: AAC, 2.0 channels, 185kbps, 48kHz, -1063ms

Testing 02.ts
TS, 1 video track, 1 audio track, 0:30:21, 30p /1.001
1: h265/HEVC, unknown parameters
2: AAC, 2.0 channels, 179kbps, 48kHz, -652ms

Testing 03.ts
TS, 1 video track, 1 audio track, 0:30:09, 30p /1.001
1: h265/HEVC, unknown parameters
2: AAC, 2.0 channels, 185kbps, 48kHz, -1040ms

Testing 04.ts
TS, 1 video track, 1 audio track, 0:30:27, 30p /1.001
1: h265/HEVC, unknown parameters
2: AAC, 2.0 channels, 191kbps, 48kHz, -601ms

Testing 05.ts
TS, 1 video track, 1 audio track, 0:30:37, 30p /1.001
1: h265/HEVC, unknown parameters
2: AAC, 2.0 channels, 191kbps, 48kHz, -713ms

Testing 06.ts
TS, 1 video track, 1 audio track, 0:30:23, 30p /1.001
1: h265/HEVC, unknown parameters
2: AAC, 2.0 channels, 192kbps, 48kHz, -613ms

Testing 07.ts
TS, 1 video track, 1 audio track, 0:30:15, 30p /1.001
1: h265/HEVC, unknown parameters
2: AAC, 2.0 channels, 186kbps, 48kHz, -570ms

Testing 08.ts
TS, 1 video track, 1 audio track, 0:30:17, 30p /1.001
1: h265/HEVC, unknown parameters
2: AAC, 2.0 channels, 191kbps, 48kHz, -882ms

I'll upload a longer example for further testing. Also I'll report if the audio delay is correct after comparing with my previous test.
(0001931)
msg7086   
2017-11-19 04:46   
https://drive.google.com/file/d/1vQUNV32Wu64jaqjNZYsAMLxmbRzje7q6/view?usp=sharing

Should be long enough for HEVC properties.

Regarding the audio delay, here's what I ear-detected against videos encoded with DGNV avisynth source filter.

01.ts: eac3to reports -1063ms, ear detected -700ms.
02.ts: eac3to reports -652ms, ear detected -600ms.
03.ts: eac3to reports -1040ms, ear detected -600ms.
04.ts: eac3to reports -601ms, ear detected -650ms.
05.ts: eac3to reports -713ms, ear detected -750ms.
06.ts: eac3to reports -613ms, ear detected -600ms.
07.ts: eac3to reports -570ms, ear detected -450ms.
08.ts: eac3to reports -882ms, ear detected -850ms.

Since those video clips are just landscapes with music, no accurate sync point can be found. And we wouldn't know how DGNV determines its first usable frame either, so this is for reference only.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
487 [eac3to] bug major always 2017-07-13 09:08 2017-07-14 20:38
Reporter: TheLastOfUs Platform: PC  
Assigned To: madshi OS: Windows  
Priority: urgent OS Version: 10  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.31
Summary: Slowdown / ChangeTo23.976 BROKEN on EAC3TO
Description: So I slowed down a file with EAC3To using -ChangeTo23.976 and -slowdown (same results).

I then took the original file and slowed it down -4.096% (Audacity) and it claims the runtime should be 23.06.675 NOT 23.06.649 as EAC3To is doing.

This is a difference of 36 ms....not to mention EAC3To keeps adding a 10 ms delay relative to the video, whereas the original 25 FPS file HAS NO DELAY on the audio. (I'm unclear if the delay is due to AAC encoder Nero AAC but maybe!)

Slowdown is 4.096%! Not 4.094%! It's off by 2%.
Tags:
Steps To Reproduce: Find 10.002s (in my case) minute sample of any audio file.

In audacity slow it down using .959 multiplier (Speed Change) or -4.096%.

It will state - 10min 25 . 628 as proper slowed down runtime of 23.976 FPS.

Do the same with EAC3To on this exact sample (any format - FLAC, WAV, M4A to M4A - FLAC TO FLAC, WAV TO WAV - doesn't matter).

Import into Audacity.

Check runtime....Audacity reports it is 10.25.602 (a whole 26 ms shorter!)

Nowhere close.
Additional Information: This is super disappointing. I trusted EAC3To in being accurate, but I have been incredibly let down and feel deceived.
Attached Files: 2017-07-12_23-57-45.png (109,050 bytes) 2017-07-13 09:11
http://bugs.madshi.net/file_download.php?file_id=246&type=bug
png

NEWTEST.png (125,604 bytes) 2017-07-13 22:23
http://bugs.madshi.net/file_download.php?file_id=247&type=bug
png

betterpic.png (185,017 bytes) 2017-07-13 22:25
http://bugs.madshi.net/file_download.php?file_id=248&type=bug
png

best.png (177,370 bytes) 2017-07-13 22:26
http://bugs.madshi.net/file_download.php?file_id=249&type=bug
png

newtestagain.png (147,001 bytes) 2017-07-13 22:29
http://bugs.madshi.net/file_download.php?file_id=250&type=bug
png
Notes
(0001713)
TheLastOfUs   
2017-07-13 09:25   
eac3to v3.31
command line: eac3to "WAVPCM.wav" "wow.m4a" -slowdown
------------------------------------------------------------------------------
WAV, 2.0 channels, 0:10:00, 32 bits <float>, 2822kbps, 44.1kHz
Reading WAV...
Changing FPS from 25.000 to 23.976...
Reducing depth from 64 to 32 bits...
Encoding AAC <0.50> with NeroAacEnc...
Original audio track: max 32 bits, average 29 bits, most common 29 bits.
The processed audio track has a constant bit depth of 32 bits.
eac3to processing took 19 seconds.
Done.
(0001714)
TheLastOfUs   
2017-07-13 09:26   
^ Runtime of the top is 10.25.602. Not the correct 10.25.626.

Difference always varies from 24ms to 26 ms.
(0001715)
madshi   
2017-07-13 11:15   
I've just done the following test with the Robin Hood (Disney) audio track:

1) "eac3to English.flac Stereo.wav -downStereo". Audacity reports final audio file to be 1:23:01.984.

2) "eac3to Stereo.wav Slowdown.wav -slowdown". Audacity reports final audio file to be 1:26:34.756.

Now let's do the math:

1:23:01.984 = ((1 * 60 + 23) * 60 + 01) * 1000 + 984 = 4981984 milliseconds
4981984 * 25 / (24.000 / 1.001) = 5194756 milliseconds
5194756 / 1000 / 60 = 86 minutes
5194756 - 86 * 60 * 1000 = 34756 milliseconds

So final length should be 1:26:34.756 - which is exactly what eac3to produced! So we have a *perfect* match. At least in this specific test I just made.

Two things you might not have been aware of:

A) 23.976 is really 24.000 / 1.001 = 23.976023976023976023976023976...

B) When decoding from or encoding to some compressed formats like e.g. AC3, DTS, AAC etc, audio gets either shortened or lengthened to match the compressed format's frame size. So for a really exact test both your source and target format should ideally be WAV(64), because WAV is one of the very few formats which doesn't partition the audio data into frames of a specific size.
(0001716)
TheLastOfUs   
2017-07-13 21:57   
Dear Madshi

Thanks for your response.

I did try WAV of a 10 minute sample as you can see in my 1st note. That 10 minute sample ends up becoming 10.25.602 .WAV and not 10.25.626 like a simple -4.096 on Audacity is doing.

Did you try on Audacity? I mean I am adding 23.976 (i may not be putting in 023976023976023976023976) but then how come the audio is shorter (especially wav)?

Please try just 10 minute sample of any audio.
(0001717)
madshi   
2017-07-13 22:06   
I'm not interested in whether Audacity resamples to a different duration than eac3to. I'm only interested in whether eac3to does things correctly. And as you can see in my previous comment, in my test it produced perfect results.

Your log includes AAC, which can screw everything up.

You're welcome to repeat my test with any file of any (reasonable) runtime. But if you do, please don't compare with what other software is doing (when slowing down). Instead just do the math manually to double check if eac3to is doing things correctly or not. That's the only thing that counts! And if you do this test, please use WAV for both input and output.
(0001718)
TheLastOfUs   
2017-07-13 22:11   
Ok....

I honestly can't say I know the math entirely.

eac3to v3.31
command line: eac3to wavpcm.wav nice.wav -slowdown
------------------------------------------------------------------------------
WAV, 2.0 channels, 0:10:00, 32 bits <float>, 2822kbps, 44.1kHz
Reading WAV...
Changing FPS from 25.000 to 23.976...
Reducing depth from 64 to 24 bits...
Writing WAV...
Creating file "nice.wav"...
Original audio track: max 32 bits, average 29 bits, most common 29 bits.
The processed audio track has a constant bit depth of 24 bits.
eac3to processing took 9 seconds.
Done.

For 10 minute sample at 25FPS runtime is 600000
(0001719)
TheLastOfUs   
2017-07-13 22:15   
600000 * 25 / (24/1.001) aka 15000000/23.976023976 = 625625 ms

Audacity says EAC3To audio is 10 minutes 25 seconds 592 milliseconds

10 mins = 600000 ms
25 seconds = 25000ms
592 ms = 592ms

total:

625,592 ms......

Crap
(0001722)
madshi   
2017-07-13 22:19   
Did you really repeat the test, using WAV input and WAV output? Or did you just do a writeup based on your older tests?
(0001723)
TheLastOfUs   
2017-07-13 22:23   
(Last edited: 2017-07-13 22:23)
I did a new test....attached for your reference. Apologies but it still isn't adding up right...wouldn't waste your time with lies! I'm trying hard to figure this out on my end.

(0001724)
TheLastOfUs   
2017-07-13 22:25   
Sorry I'm adding craptastic pictures. I'm adding a better one...
(0001725)
TheLastOfUs   
2017-07-13 22:27   
On the right - is the NICE.WAV i converted to.
(0001726)
TheLastOfUs   
2017-07-13 22:27   
On the left is the original nice wavpcm.wav file
(0001727)
TheLastOfUs   
2017-07-13 22:28   
I am willing to teamviewer if necessary but yes...tried WAV to wav..I will try again....
(0001728)
TheLastOfUs   
2017-07-13 22:31   
Newtestagain.png added. Wavpcm.wav to nice.wav

Final result is 10.25.592 as reported by audacity. Not 625625 ms as I calculated with your exact ratio. If I try a bigger file - up to 30 minutes, same discrepancy in numbers
(0001729)
madshi   
2017-07-13 22:49   
Strange. Why does it work on my PC? My file is not float32, though, but I don't think that's likely to make a difference. Can you upload the "Wavpcm.wav" somewhere? Then I'll try to reproduce the problem here with the exact same file you've been testing with.
(0001730)
TheLastOfUs   
2017-07-13 23:00   
Sure thing boss!
(0001731)
TheLastOfUs   
2017-07-13 23:08   
https://www.amazon.com/clouddrive/share/4YcJaGELKcf44BwzmTMZ7HvXBCCmu8NcWUykOPr8Efu?ref_=cd_ph_share_link_copy
(0001732)
madshi   
2017-07-13 23:40   
Interesting. It seems to be the sampling rate. When I convert the audio to 48khz, slowing down produces perfect results. But at 44.1khz it's not perfect.

After checking my source code it seems that the libSsrc library I'm using for resampling has "integer" parameters for source and target sampling rate, not "floating point". Which means the sampling rates are rounded down, no decimals supported. I'm not sure if there's much I can do about this.
(0001733)
TheLastOfUs   
2017-07-13 23:46   
Ah...wow that would explain a lot. Yes all my audios I work on are 44.1 - and yes I don't think there's anything you could do about it....thank you for looking into this.

Is there a way for the audio to be converted to 48 Khz right from within EAC3To or would it require me to use Audacity > save to wav > then process?
(0001734)
madshi   
2017-07-13 23:50   
Why are your audio files 44.1khz? I mean usually slowdown is needed for *movie* tracks, and both DVDs and Blu-Rays (and UHD Blu-Rays and HD DVDs) are all 48khz, IIRC. So I don't understand where you would get 44.1khz movie tracks from? Except maybe from Laserdisc or something?

For non-movie tracks of course it isn't nice if slowdown isn't perfect, but it's probably not a too dramatic problem, either, because there's no matching video track that lipsync needs to match with. But if there's no video track, I don't think slowdown would ever be useful, anyway?

eac3to can directly resample, e.g. "eac3to source.wav target.wav -resampleTo48000", but then you resample twice: From 44.1khz to 48khz, and then afterwards the slowdown, which isn't ideal.
(0001735)
TheLastOfUs   
2017-07-14 00:07   
(Last edited: 2017-07-14 00:27)
It's a laserdisc of winnie the pooh from Europe. Which is why it's probably 44.1 KHz....

wouldn't resample be just once? eac3to source.wav (resampled) -slowdown ?

Oh you mean the audio gets manipulated twice? I thought it was close to perfect if your sources are lossless?

(0001740)
TheLastOfUs   
2017-07-14 00:41   
I did Resampleto48000 and it changed the file length from 22.09.876 to 22.09.853 difference of 24 ms.

Basically if I work with any 44.1 KHz file - no go in terms of libSsrc I am guessing....now I understand what you mean by resampling 2wice.
(0001741)
madshi   
2017-07-14 01:25   
Yeah. Don't know how to solve it. I mean I could lie to libSsrc about the sampling rate and pretend it were 48khz instead of 44.1khz, but I don't know enough about the technical aspects of resampling. It might harm audio quality if I lie, I don't know for sure.
(0001742)
TheLastOfUs   
2017-07-14 04:07   
Is it possible to humbly request to you - a build in which any 44.1 KHz file is interpreted as 48 KHz?

Thank you....
(0001743)
madshi   
2017-07-14 09:47   
I don't really want to do that by default, because I don't know if it might not harm audio quality. I could add it as an (undocumented) option. It's not a matter of 5 minutes to add this, though, so it will have to wait...
(0001744)
TheLastOfUs   
2017-07-14 20:38   
An undocumented option would be MAGNIFICENT. Totally understand it isn't a 5 minute thing. Thank you for all your help brother :)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
469 [eac3to] bug minor always 2017-02-15 20:36 2017-02-15 21:23
Reporter: ramicio Platform:  
Assigned To: madshi OS:  
Priority: low OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.31
Summary: Clipping when converting to floating-point PCM
Description: It shouldn't need to do a 2nd pass to reduce volume if one is converting to a floating-point format.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
468 [eac3to] bug feature N/A 2017-02-10 13:10 2017-02-10 13:46
Reporter: ndjamena Platform:  
Assigned To: OS:  
Priority: low OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.31
Summary: Output track IDs of input files.
Description: When a program reads the EAC3To output I'd like a sure way to match the track info to the output of other programs (MediaInfo/MKVMerge). Outputting the PIDs and Matroska Track Numbers would be the surest way of achieving that.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001586)
madshi   
2017-02-10 13:46   
Please post feature requests to the doom9 forum. This is a bug tracker, intended only for bug reports, not for feature wishes. Thanks.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
453 [eac3to] bug minor always 2016-12-08 14:47 2016-12-08 15:18
Reporter: kempniu Platform: x86-64  
Assigned To: madshi OS: Windows  
Priority: normal OS Version: 7  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.31
Summary: Questionable gaps in AC-3 tracks of MPEG-TS DVB captures
Description: How exactly does eac3to determine that there are gaps in the source file?

eac3to v3.31 often finds gaps in AC-3 tracks of my MPEG-TS DVB captures. The problem is that I cannot tell why. Consider this attached raw, unprocessed sample (17 MB) straight from the capture device:

https://www.sendspace.com/file/h91rl2

"eac3to -check" claims there is a 21 ms gap in this file at playtime 0:00:03. How is this calculated? PES packets which are part of stream 0x13F0 have continuous PTS, continuity counters in TS packet headers are correct, each PES packet has exactly four AC-3 frames, there are no playback issues. So where is the alleged gap?

The gap warning is displayed regardless of the AC-3 decoder used, "-no2ndpass" also does not help. What is even more confusing is that if you cut off the _last_ megabyte or so of this sample, "eac3to -check" no longer displays the message in question. This looks like a bug in eac3to.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: audio-has-a-gap-of-21ms-at-playtime-0-00-03.7z.001.zip (7,735,835 bytes) 2016-12-08 15:06
http://bugs.madshi.net/file_download.php?file_id=229&type=bug
audio-has-a-gap-of-21ms-at-playtime-0-00-03.7z.002.zip (7,735,835 bytes) 2016-12-08 15:07
http://bugs.madshi.net/file_download.php?file_id=230&type=bug
Notes
(0001516)
madshi   
2016-12-08 15:03   
It's somewhat complicated. Looking over all the timings, if the first and last audio samples are stretched too far, eac3to reports that as a gap. Where exactly the gap is can be hard to determine because there can be a lot of jitter in the timings.

I'll put this on my to do list to have a closer look at, but atm I'm mostly concentrated on madVR development, so it could take a while.

The "-no2ndpass" switch will not stop the warnings from being displayed, but at least eac3to should not try to repair the gap.
(0001517)
kempniu   
2016-12-08 15:12   
Thanks for a lightning fast response. Taking a closer look when you find the time is all I can ask for, thanks! I also appreciate the explanation of what "-no2ndpass" does, it might come in handy.

In case the SendSpace link expires, I attached the sample in question to this ticket, after jumping through some hoops to make the upload form happy. To extract the sample, download both files (yes, they are equally sized, to the byte), strip the ".zip" extension off both of them and then extract "audio-has-a-gap-of-21ms-at-playtime-0-00-03.7z.001".
(0001518)
madshi   
2016-12-08 15:18   
Attaching is a good idea, thanks.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
373 [eac3to] bug minor have not tried 2015-12-29 16:39 2016-11-24 02:50
Reporter: shr3k Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.31
Summary: AC3 encoder delay
Description: Hi, a some time ago I found that AC3 encoder in eac3to produces some delay in output file. With comparison in Audacity it can be compensated by adding -5ms to command line (produced AC3 will be still 16 samples at 48 kHz behind the original source).
Tags:
Steps To Reproduce: Take some sound file. Encode it to AC3. Decode it to FLAC. Open in Audacity and compare waveform.
Additional Information:
Attached Files: delay.zip (927,678 bytes) 2015-12-29 16:39
http://bugs.madshi.net/file_download.php?file_id=189&type=bug
Notes
(0001503)
tebasuna51   
2016-11-24 02:50   
All encoders, even commercial ones, produce a delay in output because need initialize the soft and send a initial silence before send the input audio.

AC3 encoders send 256 PCM samples of silence, at samplerate 48000 is 5.333... ms

A workaround using Aften encoder is use the parameter -pad 0, but don't know a equivalence using ffmpeg.

BTW the problem is not related with eac3to but with each encoder.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
438 [eac3to] bug major always 2016-10-05 21:48 2016-11-24 02:34
Reporter: co5mo Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: any
Summary: AC3 poping issue on certain hardware decored
Description: hi I have a sound poping issue on z906 Logitech 5.1 speakers encoded using eac3to

it does not appear on any factory? Original DVD or iTunes encoded ac3 files

test file
https://mega.nz/#!zBZBlTaR!Pk_5qMdl55lenVF-gUAtzQTPJNF24p5yIpc6yPQ-P2w

is there anything that could be done about this? thanks!
Tags:
Steps To Reproduce: only on z906 speakers
Additional Information:
Attached Files:
Notes
(0001472)
co5mo   
2016-10-12 20:27   
more info here also http://forum.doom9.org/showthread.php?t=172212
(0001502)
tebasuna51   
2016-11-24 02:34   
Like is a problem of Aften encoder, and encoding with ffmpeg solve the problem, a workaround is encode with pipe, for instance:

eac3to INPUT stdout.w64 | ffmpeg -i - -c:a ac3 -b:a 640k -center_mixlev 0.707 OUTPUT.ac3

Of course is better if eac3to can include the ffmpeg encoder without need the pipe.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
439 [eac3to] bug feature always 2016-10-17 12:57 2016-10-17 12:57
Reporter: nautilus7 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.31
Summary: Name output files based on blu-ray playlist number instead of m2ts number
Description: Currently, when eac3to demuxes a blu-ray playlist via e.g "eac3to 1) -demux" command, the files created are named after the first m2ts file in that playlist.

So if the playlist begins with the 00000.m2ts file, the output file names will begin with 00000, e.g. "00000 - 2 - h264, 1080p24.h264".

If another playlist from the same blu-ray is also demuxed and that playlist also starts with the same m2ts file, 00000.m2ts, then the output files will have the same name and thus been overwritten.

I suggest change this behavior and base the output file name on the actual playlist number (00000.mpls --> 00000, 00001.mpls --> 00001, 00800.mpls --> 00800, etc), instead of the first m2ts file.

Doing so, it will be possible to demux all playlists in a blu-ray without any naming conflicts.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
253 [madVR] bug minor always 2015-02-14 08:51 2016-02-13 10:30
Reporter: Neroldy Platform:  
Assigned To: madshi OS: Windows  
Priority: normal OS Version: 8.1  
Status: acknowledged Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.87.13
Media Player (with version info): MPC-HC.1.7.8.x86
Splitter (with version info): LAV Splitter Source 0.64 x86
Decoder (with version info): LAV Video Decoder 0.64 x86
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: AMD
GPU Model: HD8650G + HD8790M
GPU Driver Version: Catalyst 14.501.1003
Summary: XySubFilter + madVR for cropped movie
Description: I'm sorry for my bad English.
I use XySubFiler + madVR for cropped movie, such as 1280x534, the PGS subtitle's shape will changed. But for 1280x720, everything will be fine. And if I use XySubFilter + EVR-CP, the situation will not happen.
I will upload 2 pictures.
Tags:
Steps To Reproduce: Just using XySubFilter + madVR play cropped video with PGS subtitle.
Additional Information:
Attached Files: xysub.JPG (28,267 bytes) 2015-02-14 08:51
http://bugs.madshi.net/file_download.php?file_id=114&type=bug
jpg

normal.JPG (20,060 bytes) 2015-02-14 08:52
http://bugs.madshi.net/file_download.php?file_id=115&type=bug
jpg

sample .part1.rar (5,242,880 bytes) 2015-02-15 07:21
http://bugs.madshi.net/file_download.php?file_id=116&type=bug
sample .part2.rar (5,242,880 bytes) 2015-02-15 07:24
http://bugs.madshi.net/file_download.php?file_id=117&type=bug
sample .part3.rar (5,242,880 bytes) 2015-02-15 07:27
http://bugs.madshi.net/file_download.php?file_id=118&type=bug
sample .part4.rar (3,985,704 bytes) 2015-02-15 07:30
http://bugs.madshi.net/file_download.php?file_id=119&type=bug
Notes
(0000706)
madshi   
2015-02-14 09:53   
Can I have a small sample of the video + PGS, please? The sample may be very short, I just something to reproduce the problem on my PC.
(0000707)
Neroldy   
2015-02-15 07:21   
Of course, I will upload the sample. It has 4 parts.
(0000812)
madshi   
2015-03-22 16:42   
Hmmmm... This is a difficult problem which needs some discussion:

The PGS is 1920x1080. The movie was 1280x720 and was then cropped to 1280x534. Now madVR has to scale down the PGS subtitles somehow. Currently the PGS X and Y downscaling factors are simply calculated by doing x=1920/1280 und y=1080/534. However, this results in the AR ratio of the subtitles changing.

Now I wonder what the best solution is? Probably I should be using the same scaling factor for both X and Y? But how should I calculate the scaling factor? Should I calculate both factors and simply use the smaller one?

One additional problem is that currently subtitles are drawn in a moment when madVR still only renders the active video rect. Which means that drawing subtitles into the black bars currently doesn't work yet. This will be fixed in a future version.
(0000817)
cyberbeing   
2015-03-22 19:10   
If you were going to allow PGS typesetting, I'd assume you'd need to:

Resize PGS Width to Output Width.
Resize PGS Height with the same factor used for PGS Width (maintain AR)

1920x1080 PGS + 1920x800 Output
=
1920x1080 as-is, display centered vertically on the output frame.

1920x1080 PGS + 1280x534 Output
=
Resize to 1280x720, display centered vertically on the output frame.

The problem, is that you would need to support rendering to black bars or else dialog may be hidden. If you wanted madVR to behave intelligently, you'd have a fallback behavior when black bars were not present or too small to fit the entire PGS frame in original aspect ratio.

__

One fallback solution could be to crop the top and bottom edges of the PGS frame and move them inside the video frame, though you'd probably need to double check your crop lines were transparent:

1920x1080 PGS + 1920x800 Output
=
1920x1080 cropped to 1920x800 Center + 1920x140 Top + 1920x140 Bottom. Top and Bottom crop shifted inside Center crop and displayed.

1920x1080 PGS + 1280x534 Output
=
Resize to 1280x720, crop to 1280x534 Center + 1280x93 Top + 1280x93 Bottom. Top and Bottom crop shifted inside Center crop and displayed.

__

Another fallback solution could be to resize the frame to fit inside the Output frame, while maintaining aspect ratio. This would be at the expense of typesetting positions and subtitle size:

1920x1080 PGS + 1920x800 Output
=
Resize to 1422x800, display centered horizontally on the output frame.

1920x1080 PGS + 1280x534 Output
=
Resize to 949x534, display centered horizontally on the output frame.

__

The last solution is what madVR currently does, stretching the PGS frame to match the output frame, ignoring Aspect Ratio:

1920x1080 PGS + 1920x800 Output
=
Resize to 1920x800, display.

1920x1080 PGS + 1280x534 Output
=
Resize to 1280x534, display.

__


My only concern for any solution is that fixing this for PGS does not break VSFilter compatibility in regards ASS subtitles and anamorphic video, particularly when the "Render to Original Video Size" option is enabled.
(0000819)
madshi   
2015-03-22 19:22   
Rendering in black bars is planned for a future version, so that's what I'll be doing.

The question is which scaling factor I should be using. You're saying I should only look at the width. But what happens if a 4:3 Blu-Ray is cropped? Then the encoded movie would be 960x720. In this case I'd have to look at the height, wouldn't I? I think I should calculate both X and Y downscaling factors and pick the smaller one, no?

I don't think any of this should break ASS subtitles. ASS subtitles are supposed to be rendered by XySubFilter in exactly the resolution I need, so no scaling needs to be done there. Any changes I'll do because of this bug report it going to be only for subtitle images that need scaling.
(0000825)
cyberbeing   
2015-03-22 21:26   
(Last edited: 2015-03-22 21:28)
> Rendering in black bars is planned for a future version, so that's what I'll be doing.

You'll still need some kind of fallback for situations where black bars may not exist, like Windowed mode?


> I think I should calculate both X and Y downscaling factors and pick the smaller one, no?

Yes, that sound right.

1920x1080 PGS + 1440x1080 Output
=
1920x1080 as-is, display centered horizontally on the output frame.

1920x1080 PGS + 960x720 Output
=
Resize to 1280x720, display centered horizontally on the output frame.


> Any changes I'll do because of this bug report it going to be
> only for subtitle images that need scaling.

Which is why I feared it would affect XySubFilter's "Render to Original Video Size" option, unless I'm forgetting how madVR handles that option. From the point of view of madVR, that option causes XySubFilter to report the size of ASS bitmaps in a similar way to PGS. If madVR blends subtitle bitmaps which match originalVideoSize immediately, prior to anamorphic and other scaling, it shouldn't be an issue.

(0000828)
madshi   
2015-03-22 21:59   
If the subtitle frame's "GetOutputRect()" happens to match the unscaled video resolution then I *think* madVR should not apply any scaling.
(0000857)
kasper93   
2015-03-25 13:39   
(Last edited: 2015-03-25 13:41)
It is indeed tough case to handle. We did add so called "best fit" in MPC-HC's renderer. Subtitles have always preserved aspect ratio and scaled to the video (if needed). Idea here is that to always get perfect (source like) subtitle placing and sizing also on cropped video frames. Of course in this case user need to simulate "black bars" in case there are subtitles to be drawn there. Otherwise they will be cropped. But this is by design.

(Additionally I wanted to add adaptive mode to scale down subtitles (preserving AR) if they don't fit in window rect, but we didn't decide to do that after all.)

For reference here is my commit with all math to calculate target rect. All magic is there to handle cropped 4:3 and alike.
https://github.com/mpc-hc/mpc-hc/commit/752ba8d9e651e3f19d2f2dd74cd5b391cab14cbf
We did exclude anamorphic videos later on because DVB subtitles doesn't play well with this logic, I mean it works fine but subtitles are not corrected for anamorphic since we always preserve aspect ratio of sub frame. DVB subtitles are ment to be drawn on video and streched along with it. Though I never seen cropped anamorphic sample ;p

(0000858)
madshi   
2015-03-25 14:47   
Thank you kasper95, I'll have a look at your implemention when I get around to implement/fix this.
(0001280)
fawarion   
2016-02-13 10:30   
Yeahhh.... I have Get the Same problem
when Using DXVA for Chroma Upscaling or Chroma Downscaling in HP Pavilion G4-1314au VGA is AMD APU radeon(tm) HD 6480G, if use another scaling alogarithms except DXVA. Scaling from DXVA in AMD are bettter colour from another scaling but got Cropped display.

When i have using same configuration setting in my Dell notebook with AMD ATI Radeon, there are no crooped display, nothing seriuously problem.

I'am Using same new Catalyst version 15.7.1

AMD HD Radeon APU was better than AMD ATI radeon.
Whats wrong ......? ?_?

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
87 [eac3to] bug major always 2013-06-11 11:22 2015-11-03 10:05
Reporter: r0lZ Platform:  
Assigned To: madshi OS:  
Priority: high OS Version:  
Status: feedback Product Version:  
Product Build: Resolution: reopened  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.27 and 3.30
Summary: Failure to demux subtitle tracks from SSIF or MPLS of a 3D-BD
Description: When there are subtitle tracks in the M2TS file corresponding to the dependent view of a 3D-BD, eac3to issues a lot of "The source file seems to be damaged (discontinuity)" error messages, then fails with "The SUP reader received unknown data. Aborted at file position #."

This is probably due to the presence of two times the SAME subtitle stream in the SSIF file: one time for the base view, and one time for the dependent view.

Many 3D-BDs have no subtitle in the M2TS file corresponding to the dependent view, and in that case, eac3to has no trouble demuxing them. But when there are subtitle streams in the dependent view M2TS, it fails always.

Note: Demuxing the same subtitle stream from the base or dependent M2TS file works perfectly. The problem occurs only and always when demuxing from the SSIF (combined) file, or from the MPLS.
Tags:
Steps To Reproduce: Demux any subtitle track from the SSIF or MPLS file of the movie of a 3D BD with subtitle streams associated to the dependent view.

Some examples of 3D-BDs that have subtitles in the dependent view:
Avatar
Chicken Little
Hugo Cabret
Las aventuras de Tadeo Jones
Step Up
Tangled (Disney)
Toy Story 2 (Disney/Pixar)
The Lion King (Disney)
Additional Information: More info here:
http://forum.doom9.org/showthread.php?p=1632419#post1632419
Attached Files:
Notes
(0000184)
madshi   
2013-06-11 11:24   
Ok, I have Tangled, will see if I can reproduce it, if I find some time (can take a while).
(0000270)
Shevek   
2013-07-04 03:37   
This is also happening on Shark Night 3D
(0000717)
madshi   
2015-03-10 20:18   
My Blu-Rays are currently out of reach, due to being boxed up during my recent move. Is there any way you can provide a small sample?
(0001224)
madshi   
2015-11-01 14:46   
Closed due to lack of reply.
(0001230)
r0lZ   
2015-11-03 10:05   
Sorry, I have not been notified of your comment asking for a sample.
But finally, here it is: http://download.videohelp.com/r0lZ/tmp/DTS_HD_MAsync_bug_sample.dts

It's the beginning of the file, because if I cut later, eac3to doesn't recognise the format any more. As a consequence, demuxing the subtitles from the sample produces only some discontinuity warnings, and the subtitle can be demuxed. With the full original SSIF (20.4 GB), after a lot of discontinuity warning, the demux is aborted with this message:

[...]
s07 0:26:43 The source file seems to be damaged (discontinuity).
s07 0:26:46 The source file seems to be damaged (discontinuity).
process: 47%
s07 0:26:51 The source file seems to be damaged (discontinuity).
s07 0:26:51 The source file seems to be damaged (discontinuity).
s07 The SUP reader received unknown data.
s07 0:26:55 The source file seems to be damaged (discontinuity).
Aborted at file position 10261364736.

The same problem happens with all 3DBDs containing subtitles in the M2TS of the dependent view. It's not always the case and I don't understand why some BDs (notably the Disney and Pixar BDs) include the subtitles in the dep view. As far as I know, it's totally useless.

For your information, here is the analysis of the files of the Tangled movie by eac3to:

E:\>eac3to Z:\BDMV\PLAYLIST\00004.mpls 1)
M2TS, 2 video tracks, 4 audio tracks, 5 subtitle tracks, 1:40:16, 24p /1.001
1: Chapters, 17 chapters
2: h264/AVC (left eye), 1080p24 /1.001 (16:9)
3: h264/MVC (right eye), 1080p24 /1.001 (16:9)
4: DTS Master Audio, English, 7.1 channels, 24 bits, 48kHz
   (core: DTS, 5.1 channels, 1509kbps, 48kHz)
5: AC3 Surround, English, 2.0 channels, 320kbps, 48kHz
6: AC3, Russian, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
7: AC3, Ukrainian, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
8: Subtitle (PGS), English
9: Subtitle (PGS), Russian
10: Subtitle (PGS), Ukrainian
11: Subtitle (PGS), Russian
12: Subtitle (PGS), Ukrainian

E:\>eac3to Z:\BDMV\STREAM\SSIF\00000.ssif
M2TS, 2 video tracks, 4 audio tracks, 5 subtitle tracks, 0:59:21, 24p /1.001
1: h264/AVC (left eye), 1080p24 /1.001 (16:9)
2: h264/MVC (right eye), 1080p24 /1.001 (16:9)
3: DTS Master Audio, 7.1 channels, 24 bits, 48kHz
   (core: DTS, 5.1 channels, 1509kbps, 48kHz)
4: AC3 Surround, 2.0 channels, 320kbps, 48kHz
5: AC3, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
6: AC3, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
7: Subtitle (PGS)
8: Subtitle (PGS)
9: Subtitle (PGS)
10: Subtitle (PGS)
11: Subtitle (PGS)

E:\>eac3to Z:\BDMV\STREAM\00000.m2ts
M2TS, 1 video track, 4 audio tracks, 5 subtitle tracks, 0:59:21, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)
2: DTS Master Audio, English, 7.1 channels, 24 bits, 48kHz
   (core: DTS, 5.1 channels, 1509kbps, 48kHz)
3: AC3 Surround, English, 2.0 channels, 320kbps, 48kHz
4: AC3, Russian, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
5: AC3, Ukrainian, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
6: Subtitle (PGS), English
7: Subtitle (PGS), Russian
8: Subtitle (PGS), Ukrainian
9: Subtitle (PGS), Russian
10: Subtitle (PGS), Ukrainian

E:\>eac3to Z:\BDMV\STREAM\00001.m2ts
M2TS, 1 video track, 5 subtitle tracks, 0:59:21, 24p /1.001
1: h264/MVC (right eye), 1080p24 /1.001 (16:9)
2: Subtitle (PGS), English
3: Subtitle (PGS), Russian
4: Subtitle (PGS), Ukrainian
5: Subtitle (PGS), Russian
6: Subtitle (PGS), Ukrainian

00001.m2ts is the M2TS of the dep view. As you can see, it contains also the same subtitle streams. The stream IDs are identical. Therefore, in the SSIF, the same streams with the same ID are included two times! It's probably the cause of the problem.

Demuxing the subtitles directly from one of the two M2TS work fine, without any warning. The bug occurs only when demuxing the MPLS or SSIF.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
357 [eac3to] bug minor always 2015-11-02 11:58 2015-11-02 11:58
Reporter: zhang Platform: x64  
Assigned To: OS: Windows  
Priority: normal OS Version: 10  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.30
Summary: Error removing E-AC3 normalization when demuxing TrueHD
Description: When demuxing the Bluray with TrueHD+AC3 audio track into audio.thd+ac3, it will stop working at the following step.

a03 Extracting audio track number 3...
a03 Removing E-AC3 dialog normalization...
(a03 is a TrueHD/AC33 5.1 channel track)

If I add -keepdialnorm it will work fine, so the problem lies in removing normalization.
Tags:
Steps To Reproduce: I'm using the new Leon remaster bluray source, so the clip in 0000345: https://www.sendspace.com/file/cmgie6 can be used to reproduce this issue which I have verified. Use "eac3to.exe clip.m2ts -demux"
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
150 [madVR] bug minor always 2014-02-08 08:28 2015-03-23 09:33
Reporter: turbojet Platform: Windows  
Assigned To: madshi OS: Windows 7  
Priority: normal OS Version: SP1  
Status: acknowledged Product Version:  
Product Build: Resolution: reopened  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 87.4
Media Player (with version info): Potplayer, MPC-BE
Splitter (with version info): Internal
Decoder (with version info): LAV Filters
Decoding: Software
Deinterlacing: forced film mode
DXVA2 Scaling Active: no
Aero / Desktop Composition: On
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: 250 and 650
GPU Driver Version: 327
Summary: 60i 3:2:3:2:2 cadence should produce 25fps, but madVR switches to 23Hz
Description: This is originally 25 fps source converted to 30 fps by duplicating every sixth frame.

http://www.mediafire.com/download/jd5s4c5qz4x5tlm/4%3B2cadence.mpg
Tags:
Steps To Reproduce: 1. enable deinterlace and film mode.
2. play the file
3. see good frames being removed
4. osd usually shows 3:2:3:2:2 cadence
Additional Information:
Attached Files:
Notes
(0000389)
turbojet   
2014-02-28 15:48   
Here's 3:2 detected as 4:2:2:2 http://www.mediafire.com/download/150g9d9f7ahmph2/3_2_as_4_2_2_2.mpg
(0000407)
huhn   
2014-03-03 15:59   
are you sure the 3:2:3:2:2 sample is 4:2? if the sample is 4:2 that would mean it is 20 fps.
after a short look at it. it is 3:2:3:2:2 or something like that at least 3:2 is in there. and the output fps should be 25 fps. and 3:2:3:2:2 should result in 25 fps.
the problem is not the wrong cadence detection, because they are both totally right. the problem is the decimation and frame rate control.

i'm just looking here because i was going to report a 4:2:2:2 issue where the wrong frame is droped when played with 23p like your 3_2_as_4_2_2_2.mpg
(0000418)
turbojet   
2014-03-03 22:45   
The file in the original post is 4 good, 2 duplicate frames, isn't that 4:2? Madvr should remove the second duplicate and output 24.975 fps and switch display to a multiple of 25hz.
(0000419)
huhn   
2014-03-04 09:47   
that's not how telecine work.
i think this is a bad place to talk about telecine and top/odd field so you can read the Frame rate differences part from http://en.wikipedia.org/wiki/Telecine .
you are right about the 25fps and that madvr drops the wrong frame but the source of this issue is not the cadence.

a 30i source like ntsc tv got 60 fields per sec and if these fields are 3:2:3:2:2 it should result in 25 fps. but madvr switches to 23p and drops more frames then it should be. on top of it it got quiet some cadence breaks too.
(0000420)
madshi   
2014-03-04 09:50   
madVR currently always switches to 23Hz when having forced film mode on while playing 59i content. Yeah, with some cadences 23Hz is not the optimal refresh rate. But that's not so easy to solve, especially because cadence detection can be unstable. E.g. what happens if cadence detection switches between 3:2 and between 3:2:3:2:2 all the time? Should madVR then always switch between 23Hz and 25Hz all the time, in the middle of playback? This is a problem I'll have to revisit later, but I don't consider it a "bug" right now. It's as intended, even it might not be the best (or even the correct) solution.
(0000421)
madshi   
2014-03-04 09:55   
I've downloaded the sample, added it to my cadence collection, and added an entry to my to do list to look at which refresh rates to switch to with different cadences. But as mentioned above, this will not be easy to do well, because we don't want to switch back and forth between different refresh rates all the time. So this will have to wait until I get back to the whole deinterlacing topic. For now I'll close this bug entry.
(0000422)
madshi   
2014-03-04 10:02   
P.S: Actually, I think there *is* a cadence misdetection of some sort here. Haven't had the time to look at it in detail, but this is different than just failing to switch to the correct framerate. As such I'll leave this open, after all, but it will take some time before I get to this.
(0000423)
huhn   
2014-03-04 10:19   
should i at least create a bug report for a problem with 2:2:2:4 or 4:2:2:2? because in this case madvr drops the wrong frame and the output should be 24 fps. i even found a cadence like this on a bd.
(0000424)
madshi   
2014-03-04 10:31   
Just send me a sample (or multiple samples) via PM or eMail. Thanks.
(0000453)
turbojet   
2014-03-05 00:08   
I thought cadence worked on frames instead of fields, 3:2 would be correct on either but thanks for the info.

I wouldn't expect madvr to change refresh rate every time the cadence changed but I'd expect FRC to toggle on the fly which it already can do without any noticeable change. Refresh rate changes take seconds on 2 displays here. While this wouldn't fix the issue using 24/25/30 hz displays it should work fine using higher multiples, which in some cases should be used currently.

The original post file plays wrong when 50hz is forced, like huhn said it's probably removing the wrong frame.
(0000454)
madshi   
2014-03-05 00:11   
FWIW, the cadence is for fields, not frames. E.g. the typical NTSC 3:2 cadence has one field repeated 3 times and one repeated 2 times.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
109 [madVR] bug minor always 2013-07-14 12:42 2014-04-01 19:42
Reporter: nakomaru Platform: x64  
Assigned To: madshi OS: Windows 7 Ultimate  
Priority: normal OS Version: 6.1 (Build 7601)  
Status: acknowledged Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: v0.86.8
Media Player (with version info): MPC-HC v1.6.8.7417 Jun 15 2013
Splitter (with version info): Haali Media Splitter 1.13.138.14 or MPC Internal MP4 Splitter (shown)
Decoder (with version info): MPC Internal Decoder (Worse) or ffdshow tryouts rev4515 (shown)
Decoding: Software
Deinterlacing: <select>
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: NVidia
GPU Model: GeForce GTX 460
GPU Driver Version: 320.49
Summary: Irregular frame rates when playing back at non-default speed in MPC-HC
Description: When using MPC-HC/madVR to play back video/audio at a faster than normal rate, for example, at 2.0x speed, the video stream appears to drop frames or stutter.

While using EVR or EVR-CP, the video playback appears to be very smooth and drops few/no frames.

This occurred for me with all of the filter chain combinations indicated, as well both with the ffdshow audio decoder and the built in MPC AAC decoder.

Just after finishing putting together some example files, I noticed that this does not occur in madVR when there is no audio stream. So smooth playback during fast forward is definitely possible in MPC-HC/madVR.
Tags:
Steps To Reproduce: 1. Begin playing a video file with audio in MPC-HC with madVR.
2. Increase the playback speed by some amount. (even 1.25x is noticeable)
3. Video appears to drop frames or has an irregular frame rate cadence.
Additional Information: When playing back at higher speeds such as 2.0x, the video appears to drop frames. This is demonstrated in dustforce_fastforward_evrcp_vs_madvr.mkv with evr on the left at 2.0x and madVR on the right at 2.0x. The source video dustforce_panning_60fps.mp4 provided is 60fps footage with a good amount of panning which shows this effect well. Although the comparison video is also captured at 60fps and necessarily drops half the frames, evrcp still appears smooth. I have included a 30fps capture as well to make sure this was not a high framerate issue.

When playing back at moderately increased speeds such as 1.25x, the frame rate cadence appears to be irregular. What seems to be happening is it will play ~0.5 seconds at 0000001:0000001.3x, then ~0.1 seconds at ~0.5x speed, and so on, or something to that effect. This should be obvious when the character jumps in the 30fps footage.

In addition to the 30fps audio/video mp4 capture, there is also an mkv version to show this happens with both containers, and a no audio version to show this doesn't happen with video only streams.

http://home.comcast.net/~nakospace/dustforce_panning_60fps.mp4
http://home.comcast.net/~nakospace/dustforce_fastforward_evrcp_vs_madvr.mkv
http://home.comcast.net/~nakospace/dustforce_panning_30fps.mp4
http://home.comcast.net/~nakospace/dustforce_panning_30fps.mkv
http://home.comcast.net/~nakospace/dustforce_panning_30fps_noaudio.mkv
Attached Files:
Notes
(0000550)
madshi   
2014-04-01 19:42   
Which display refresh rate did you test this on? FWIW, I see no problems here at all, as long as the sped up framerate does not exceed the display refresh rate. However, if you e.g. speed up the 60fps video by 2.0x, with 60Hz, then madVR has to drop a lot of frames, and currently it does not do this very well, resulting in stuttering. I consider this a bug, but I also don't consider it very important because you should always use a refresh rate which is higher than the (sped up) movie framerate. Or if you can't, then enable SmoothMotion FRC, and playback gets smooth again. Actually with SmoothMotion FRC is should be smoother than with EVR/VMR, if the sped up framerate exceeds the display refresh rate.

Can you confirm my test results?

I'll set the problem with non-smooth playback if the framerate exceeds the refresh rate with smooth motion FRC turned off to "acknowledged", which means that I'll fix that at some point, but it might take a while until I get to that.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
82 [madVR] bug minor random 2013-06-08 13:27 2014-04-01 19:32
Reporter: DarkSpace Platform: x64  
Assigned To: madshi OS: Windows 7  
Priority: normal OS Version: 6.1.7601  
Status: acknowledged Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.86.3
Media Player (with version info): MPC-HC 1.6.7.7114 (9eb64ec)
Splitter (with version info): LAV Splitter 0.57
Decoder (with version info): LAV Video 0.57
Decoding: Software
Deinterlacing: none (progressive)
DXVA2 Scaling Active: no
Aero / Desktop Composition: Off
Problem occurs with mode: all modes
GPU Manufacturer: AMD
GPU Model: Radeon HD 6970M
GPU Driver Version: 2D Driver 8.01.01.1162, Direct3D 7.14.10.0841, OpenGL 6.14.10.10834
Summary: Dropped frames at the beginning of playback and/or after seeking with Smooth Motion on
Description: When playing a file with Smooth Motion activated, madVR will occasionally drop some frames at the beginning of playback (especially noticeable when repeating the playback of a file) or when seeking to somewhere in the file. I think it happens outside of FSE mode as well, but I'm not sure about this.
Tags:
Steps To Reproduce: It doesn't happen always and also doesn't seem to be specific to a group of files. It may happen with one file now and then the next day, opening the same file may be fine, so it seems to be rather random. I attached a Debug Log where it happened only after seeking once (I think I did the seeking at around the three-second mark of the video).
My flush settings are the default flush / flush & wait (sleep) / don't flush / don't flush for both windowed and FSE mode.
Additional Information: I have madVR set to delay playback start until the render queue is full, both for normal playback and after seeking, and I use a separate device for presentation.
I found that the amount of dropped frames seems to depend on the GPU queue size: at my default value of 24, I got 22 dropped frames most of the time, sometimes also 21 or 23, while at the size of 16 (I only tested this briefly), I got 16 dropped frames on the first occurrence.
Attached Files: Log.rar (692,866 bytes) 2013-06-08 13:27
http://bugs.madshi.net/file_download.php?file_id=32&type=bug
Notes
(0000210)
madshi   
2013-06-15 21:11   
Yes, this is definitely an issue, have seen this myself. This will be on my short list of things to do. It will not make it into the very next build, though.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
106 [eac3to] bug minor always 2013-07-09 15:31 2013-07-09 15:31
Reporter: wavelet Platform: Intel i7  
Assigned To: OS: Win 7 Home Premium 32 bit  
Priority: normal OS Version: SP1  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
eac3to Version: 3.27
Summary: Bogus video gap warnings
Description: eac3to gives a large number of bogus "video gap" warnings when run on the following file: http://rapidshare.com/files/1415344562/DVB-T2_sample.ts

Here is the output of a "check" operation:

eac3to v3.27
command line: eac3to -check DVB-T2_sample.ts
------------------------------------------------------------------------------
M2TS, 1 video track, 2 audio tracks, 1 subtitle track, 0:00:19, 25i
1: h264/AVC, 1080i50 (16:9)
2: AAC, English, unknown parameters, -1043ms
3: AAC, English, unknown parameters, -709ms
4: Subtitle (DVB), English
[v01] The video bitstream framerate field doesn't seem to match the timestamps. <WARNING>
Bitstream parsing for tracks 2 and 3 failed. <WARNING>
Demuxing these tracks may still produce correct results - or not. <WARNING>
[v01] Extracting video track number 1...
[v01] Video has a gap of 7 frames at playtime 0:00:00. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:00. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:00. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:00. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:00. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:00. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:00. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:00. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:00. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:01. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:02. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:02. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:02. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:02. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:02. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:02. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:02. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:02. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:02. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:02. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:02. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:02. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:02. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:02. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:02. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:02. <WARNING>
[v01] Video has a gap of 15 frames at playtime 0:00:02. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:02. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 15 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:03. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 8 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:04. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 8 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:05. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 14 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 8 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:06. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:07. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:07. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:07. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:07. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:07. <WARNING>
[v01] Video has a gap of 8 frames at playtime 0:00:07. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:07. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:07. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:07. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:07. <WARNING>
[v01] Video has a gap of 22 frames at playtime 0:00:07. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:07. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:07. <WARNING>
[v01] Video has a gap of 7 frames at playtime 0:00:07. <WARNING>
[v01] Video has a gap of 21 frames at playtime 0:00:07. <WARNING>
Video track 1 contains 475 fields.
eac3to processing took 1 second.
Done.
Tags:
Steps To Reproduce: eac3to -check DVB-T2_sample.ts
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
12 [madVR] bug tweak always 2013-02-16 17:10 2013-02-16 20:59
Reporter: mark007 Platform: x64  
Assigned To: madshi OS: Windows  
Priority: low OS Version: 8  
Status: acknowledged Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
madVR Version: 0.85.8
Media Player (with version info): mpc-be build 2080
Splitter (with version info): LAV 0.55.3
Decoder (with version info): LAV 0.55.3
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 295
GPU Driver Version: 313.96
Summary: Windows -> Fullscreen
Description: During playback, switching from a small window (windowed mode) to fullscreen (exclusive mode). The transition from small to large happens in two phases instead of one, ie the image is first stretched horizontally to fill the width of the screen, then a few milliseconds later, vertically to fill the height. Its most noticeable on slower machines as it obviously happens much slower, and the user can think something has gone wrong temporarily as the image can look extremely badly out of proportion.

I put this as a tweak as it doesn't break anything, just visually looks wrong compared to other renderers that don't show this behavior. Maybe the transition can change width and height in one operation.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000033)
madshi   
2013-02-16 17:26   
Ok, bug report accepted, but extremely low priority. Not anytime soon.
(0000034)
mark007   
2013-02-16 20:59   
Thanks madshi. Thought it was best to mention it here in case you ever want to look at it in the future.