Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 26th January 2025, 18:43   #65621  |  Link
Megalith
Registered User
 
Join Date: Mar 2011
Posts: 143
Right, but I have FSE turned off.
Megalith is offline   Reply With Quote
Old 26th January 2025, 18:54   #65622  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 8,623
in rare cases nvcontrol center -> adjust desktop colour settings content type reported to display.

but this is super rare.
a player can in theory also tell madVR to use FSE while FSE is disabled again very unlikely to be the case 99% of all user don't even know this option exists and that good this way.

madVR is treated as a game by the GPU driver not it's choice.
huhn is offline   Reply With Quote
Old 26th January 2025, 19:12   #65623  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,787
Another possibility is that Windows is outputting Dolby Vision to your TV when running in desktop mode. Then it switches to HDR10 when you go fullscreen with madvr. Showing player seekbar triggers desktop mode again.
But usually the TV OSD shows such mode switches.
__________________
MPC-HC 2.6.1
clsid is offline   Reply With Quote
Old 26th January 2025, 20:21   #65624  |  Link
647830
Registered User
 
Join Date: Dec 2024
Posts: 11
important frame repeats MPC-BE+MadVR

I have important frame drops and need advice from experts here.

My set-up is the following:

Windows 10 22H2 build 19045.5247
GPU NVidia GTX1080 (385.28), CPU i7-7700 3.6GHz, JVC DLA-RS46
MPC-BE 1.8.2, LAV Filter 0.78, MadVR 0.92.17, 113 beta

I am playing a 2160p 24Hz UHD with Dolby Atmos 7.1 sound track.

During the first 25 min or so all works well, my rendering timings look ok at c. 30ms.


Then suddenly the clock deviation increases, decoder queue changes, I have a lot of frame repeats, sound is distorded and clock deviation deviates a lot:



After a few minutes, it gets back to "normal".


I am wondering what to do, I have tried several things without success. Can it be that the filters applied are too demanding for my GPU? or should I consider looking at other things please?

Any help much appreciated and many thanks for your advice.

Last edited by 647830; 26th January 2025 at 20:22. Reason: add picture
647830 is offline   Reply With Quote
Old 26th January 2025, 20:58   #65625  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,787
Win10 Settings > System > Display > Graphics Settings > disable on "Hardware-Accelerated GPU Scheduling"

If that does not help, then lower CPU queue size in madvr to 8.

If that does not help, then change the hardware decoder from D3D11 native to D3D11 copyback or DXVA2 copyback.

If that does not help, then set NVIDIA to high performance power mode and complain to NVIDIA.
__________________
MPC-HC 2.6.1
clsid is offline   Reply With Quote
Old 26th January 2025, 21:46   #65626  |  Link
647830
Registered User
 
Join Date: Dec 2024
Posts: 11
Quote:
Originally Posted by clsid View Post
Win10 Settings > System > Display > Graphics Settings > disable on "Hardware-Accelerated GPU Scheduling"

If that does not help, then lower CPU queue size in madvr to 8.

If that does not help, then change the hardware decoder from D3D11 native to D3D11 copyback or DXVA2 copyback.

If that does not help, then set NVIDIA to high performance power mode and complain to NVIDIA.
Thank you clsid.

For the first one, I don't have this option in my win10 (maybe due to the NV driver I have which is old but supposed to work for HTPC?). I did lower the CPU queue to 8, not solving the issue. DXVA2 copyback no change either. My NV was already set at "high performance power mode".
I can complain to NV, but not sure it will move the needle. Any other idea please?
and, last question, is there a graphic card / GPU on earth which works well for HTPC with not issue, good sync to avoid CustomRes, etc. ??

Best
647830 is offline   Reply With Quote
Old 27th January 2025, 01:42   #65627  |  Link
mclingo
Registered User
 
Join Date: Aug 2016
Posts: 1,434
For the last year or less I've been getting playback glitches, just aclittle stutter here, just enough to annoy me though. I've tried everything I even built a new PC and it continued so I'm pretty sure it's madvr and not my hardware. The thing is, it showed none of these Issues in madVR itself. I've been experimenting with other players and they've all had their own problems however I've just tried the latest kodi 21, I've not tried the stock kodi it for years and I'm pleasantly surprised. It's done HDR for a while but the tone mapping settings do a fairly decent job of Brightening up the picture in the same way madvr has done for me... Main thing is no glitching, Just perfectly smooth playback with all file types, resolutions and refresh rates.

The sort of stutters as I'm talking about are those that you'll only see very rarely in a panning shot and even then it's less than a second but it's just enough to take me out of the experience, there's a good chance that most people won't see these and just think there are no issues with madvr at all but I think it's been broken for a while with Windows 11. I was tempted to go back to Windows 10 but with it finishing support soon I just still want to have that concern about security updates and stuff. I'll be keeping madvr for 3D mvc play back, but other than that it's dead to me. I'll probably try again in 6 months or so to see if anything has changed or if version 1.0 is ever finally released. Thanks for all the help I've had on here, see you all in a bit.
__________________
LG OLED EF950-YAM RX-V685-RYZEN 5700 - 48GBRAM - WIN11 RX 7800xt - https://www.videohelp.com/software/madVR/old-versions
mclingo is offline   Reply With Quote
Old 27th January 2025, 11:12   #65628  |  Link
Nemo1985
Registered User
 
Join Date: Nov 2020
Posts: 4
Hello, I'm impressed that noone speak about the amd driver issues with madvr.
The latest driver I could use without issues were the 24.3, I updated the driver back in october (and kept doing so) still nowadays ED2 as dither method hangs up the application for half of a minute with mpc-hc.
I also tried the bet version of madvr but with no changes.
How is it possible that noone with radeon 6xxx video card has this issue?
Even changing the dither method to something else doesn't solve the problem, instead of hanging when a video is loaded it hangs after it's played.

Reference: https://github.com/clsid2/mpc-hc/issues/3223

I wonder, amd is notorious for their bugged video driver, madvr is not updated in ages, is there any solution to solve the issue?
Nemo1985 is offline   Reply With Quote
Old 27th January 2025, 12:05   #65629  |  Link
mclingo
Registered User
 
Join Date: Aug 2016
Posts: 1,434
sounds like an issue specific to your setup, i've had AMD cards for 15+ years and never had that issue, didnt have it on my last card 5700 and I dont have it on my 7800xt

Try asking on here, the only issue I am aware of with 5000/6000 cards is the following which was fixed with 7000 series.

https://forum.doom9.org/showthread.php?t=176013


Known limitations of Radeon RX 5000 and 6000 GPUs (other generations like RX 7000 are fine):
• Hardware deinterlacing is broken in every driver version -> It is poor quality when applied to
interlaced video and it is not adaptive anymore, which is a NO-GO for HTPC usage.
You can check this issue yourself: Download this short MBAFF sample file
The Hardware Deinterlacer should be aware that the characters above "WWW.D88.COM" are
progressive and should not be deinterlaced, otherwise you will see flickering like in this picture
See here for more details
• Color levels (full 0-255 vs. limited 16-235) are broken. That means limited 16-235 which is the
standard range for videos are interpreted as 0-255 and this leads to elevated blacks and dimm
whites.
This issue can be best seen on displays which want full range 0-255, like TVs in PC Mode (PC
mode for full 4:4:4/RGB support, so you do not use color subsampling like 4:2:2 or 4:2:0)
Also overriding the range for test purposes in MPC-BE (video tab -> Output range) does not
take effect.
Dear AMD, if any of your driver programmers read this: Please fix this fundamental video bugs.
These are present since RX 5000 series launch.
__________________
LG OLED EF950-YAM RX-V685-RYZEN 5700 - 48GBRAM - WIN11 RX 7800xt - https://www.videohelp.com/software/madVR/old-versions
mclingo is offline   Reply With Quote
Old 27th January 2025, 12:39   #65630  |  Link
Nemo1985
Registered User
 
Join Date: Nov 2020
Posts: 4
Quote:
Originally Posted by mclingo View Post
sounds like an issue specific to your setup, i've had AMD cards for 15+ years and never had that issue, didnt have it on my last card 5700 and I dont have it on my 7800xt

Try asking on here, the only issue I am aware of with 5000/6000 cards is the following which was fixed with 7000 series.

https://forum.doom9.org/showthread.php?t=176013


Known limitations of Radeon RX 5000 and 6000 GPUs (other generations like RX 7000 are fine):
• Hardware deinterlacing is broken in every driver version -> It is poor quality when applied to
interlaced video and it is not adaptive anymore, which is a NO-GO for HTPC usage.
You can check this issue yourself: Download this short MBAFF sample file
The Hardware Deinterlacer should be aware that the characters above "WWW.D88.COM" are
progressive and should not be deinterlaced, otherwise you will see flickering like in this picture
See here for more details
• Color levels (full 0-255 vs. limited 16-235) are broken. That means limited 16-235 which is the
standard range for videos are interpreted as 0-255 and this leads to elevated blacks and dimm
whites.
This issue can be best seen on displays which want full range 0-255, like TVs in PC Mode (PC
mode for full 4:4:4/RGB support, so you do not use color subsampling like 4:2:2 or 4:2:0)
Also overriding the range for test purposes in MPC-BE (video tab -> Output range) does not
take effect.
Dear AMD, if any of your driver programmers read this: Please fix this fundamental video bugs.
These are present since RX 5000 series launch.
Thank you for the answer, I need to fully disagree, as stated on my previous post I didn't have the issue with older drivers, I do with current (let's say after april 2024), clearly is a driver issue as most of the stuff you pasted up there are drivers issues. I'm glad you didn't have a single issue in 15 years of AMD, I'm sure it's a record, still statistically a single example is not significant, I can claim that I had issues and describe what they were. Also it's not a "issue of my specific setup" since on the github link there is at least another user with the same issue with the same series of video card and again change the dither method solve this issue but it creates another one. Probably the series 7 is not affected, well done amd for not introducing bugs on the "newest" video cards.

Last edited by Nemo1985; 27th January 2025 at 12:42.
Nemo1985 is offline   Reply With Quote
Old 27th January 2025, 13:06   #65631  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 8,623
Quote:
Originally Posted by 647830 View Post
I have important frame drops and need advice from experts here.

My set-up is the following:

Windows 10 22H2 build 19045.5247
GPU NVidia GTX1080 (385.28), CPU i7-7700 3.6GHz, JVC DLA-RS46
MPC-BE 1.8.2, LAV Filter 0.78, MadVR 0.92.17, 113 beta

I am playing a 2160p 24Hz UHD with Dolby Atmos 7.1 sound track.

During the first 25 min or so all works well, my rendering timings look ok at c. 30ms.


Then suddenly the clock deviation increases, decoder queue changes, I have a lot of frame repeats, sound is distorded and clock deviation deviates a lot:



After a few minutes, it gets back to "normal".


I am wondering what to do, I have tried several things without success. Can it be that the filters applied are too demanding for my GPU? or should I consider looking at other things please?

Any help much appreciated and many thanks for your advice.
your decoder queue or subtitle queue is the issue. check your CPU load or try a risky decoder like d3d11 native.

if it is the subtitles starving the decoder try the same part without subtitles.
Quote:
Originally Posted by Nemo1985 View Post
Hello, I'm impressed that noone speak about the amd driver issues with madvr.
The latest driver I could use without issues were the 24.3, I updated the driver back in october (and kept doing so) still nowadays ED2 as dither method hangs up the application for half of a minute with mpc-hc.
I also tried the bet version of madvr but with no changes.
How is it possible that noone with radeon 6xxx video card has this issue?
Even changing the dither method to something else doesn't solve the problem, instead of hanging when a video is loaded it hangs after it's played.

Reference: https://github.com/clsid2/mpc-hc/issues/3223

I wonder, amd is notorious for their bugged video driver, madvr is not updated in ages, is there any solution to solve the issue?
the solution is not using ED2.

AMD had a copyback bug with openCL for the entire life time of the products series this is nothing in comparison.
hell nvidia had openCL bugs for many many years making it run so slow it was utterly unusable.
huhn is offline   Reply With Quote
Old 27th January 2025, 14:06   #65632  |  Link
mclingo
Registered User
 
Join Date: Aug 2016
Posts: 1,434
Quote:
Originally Posted by Nemo1985 View Post
Thank you for the answer, I need to fully disagree, as stated on my previous post I didn't have the issue with older drivers, I do with current (let's say after april 2024), clearly is a driver issue as most of the stuff you pasted up there are drivers issues. I'm glad you didn't have a single issue in 15 years of AMD, I'm sure it's a record, still statistically a single example is not significant, I can claim that I had issues and describe what they were. Also it's not a "issue of my specific setup" since on the github link there is at least another user with the same issue with the same series of video card and again change the dither method solve this issue but it creates another one. Probably the series 7 is not affected, well done amd for not introducing bugs on the "newest" video cards.

I hear you, i've had so many issues i've wanted to blame on drivers only to find its a local issue, i've had some really odd shit going on where I had to do a full system restore to fix a problem with MADVR as a full AMD driver wipe using DDU didnt work, that was after a BSOD using MADVR.

i've had it ED2 turn on for years with no issues, assuming you are using D3D11 and not DXVA copy back / native in lav?

That being said i've scrapped MADVR for 2d playback now as I keep getting stutters which I cant fix, only use it for 3d MVC now. (also did it with an NVIDIA card I bunged in to test)
__________________
LG OLED EF950-YAM RX-V685-RYZEN 5700 - 48GBRAM - WIN11 RX 7800xt - https://www.videohelp.com/software/madVR/old-versions

Last edited by mclingo; 27th January 2025 at 14:08.
mclingo is offline   Reply With Quote
Old 27th January 2025, 16:37   #65633  |  Link
Seegs108
Registered User
 
Join Date: Nov 2008
Posts: 6
Can someone explain what happens within madVR when you choose to output in full 0-255 when playing back limited 16-235 video, as most consumer video is encoded for? Does madVR scale the content so 16 values are now 0 on the output and 235 is now 255 and the content between is scaled to the new dynamic range of the output? Playing back a Pluge test pattern to set Brightness and Contrast show video correctly clips and crushes at 16 and 235 through madVR even when outputting Full 0-255 and I would just like to know how madVR manages to make this happen.
Seegs108 is offline   Reply With Quote
Old 27th January 2025, 16:45   #65634  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 8,623
ycbcr video are 16-235 16-240 16-240 and it converting that to RGB 0-255.

literally part of the ycbcr -> rgb spec.
huhn is offline   Reply With Quote
Old 27th January 2025, 16:58   #65635  |  Link
Seegs108
Registered User
 
Join Date: Nov 2008
Posts: 6
Quote:
Originally Posted by huhn View Post
ycbcr video are 16-235 16-240 16-240 and it converting that to RGB 0-255.

literally part of the ycbcr -> rgb spec.
Yes, but you can output in RBG 16-235 if you wanted to as well. I'm asking how it converts 16-235 content to 0-255 specifically. The former sounds more straight forward than the latter. Can you link to the standard/spec on how this conversion is done?
Seegs108 is offline   Reply With Quote
Old 27th January 2025, 17:08   #65636  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 8,623
it can output any level you want.
the shader that does this are not shared.
will be in the ball park of this:
Code:
sampler s0 : register(s0);

#define const_1 ( 16.0 / 255.0)
#define const_2 (255.0 / 219.0)

float4 main(float2 tex : TEXCOORD0) : COLOR
{
	// original pixel
	float4 c0 = tex2D(s0, tex);

	return ((c0 - const_1) * const_2);
}
limited range RGB and limited range YCbCr have nothing to do with each other. there are direct conversation to both and even if you use limited you can just use a shader likes how atop to get full range RGB. the produced error if 16 or 32 bit float is used for using the 2 step over the direct way is neglectable. madVR always does limited range first. it even converts full range RGB to limited it's just how it works.

https://www.compression.ru/download/...space/ch03.pdf
huhn is offline   Reply With Quote
Old 28th January 2025, 14:34   #65637  |  Link
647830
Registered User
 
Join Date: Dec 2024
Posts: 11
Quote:
Originally Posted by huhn View Post
your decoder queue or subtitle queue is the issue. check your CPU load or try a risky decoder like d3d11 native.

if it is the subtitles starving the decoder try the same part without subtitles.

.
Thank you huhn, i have disables subtitles, tried another decoder but without success. It is indeed a decoder queue issue apparently but don't understand why. On some movies, no issue at all, on others it is awful. looks like it is happening on 4K 24Hz movies with Dolby Atmos only.

Any other recommendation? If not I will reset my PC and restart from scratch ... but have no backup.
647830 is offline   Reply With Quote
Old 28th January 2025, 15:10   #65638  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 8,623
what hardware are you using?
huhn is offline   Reply With Quote
Old 28th January 2025, 16:06   #65639  |  Link
GCRaistlin
Registered User
 
GCRaistlin's Avatar
 
Join Date: Jun 2006
Posts: 375
Epson EH-TW9200, Radeon HD7850, Crimson 17.7.1, Win81x64, MPC-HC and MPC-HC64
In exclusive mode, madVR recognizes 24 Hz screen refresh rate as 23 Hz. As a result, when I play a 24p video I get one dropped frame every 40 seconds instead of every 14 minutes (at least that's what debug OSD says). 50 Hz mode and 60 Hz mode are recognized just fine. What can be done about that?
__________________
Windows 8.1 x64

Magically yours
Raistlin

Last edited by GCRaistlin; 28th January 2025 at 17:04.
GCRaistlin is offline   Reply With Quote
Old 29th January 2025, 08:34   #65640  |  Link
647830
Registered User
 
Join Date: Dec 2024
Posts: 11
Quote:
Originally Posted by huhn View Post
what hardware are you using?
Windows 10 22H2 build 19045.5247
GPU NVidia GTX1080 (385.28), CPU i7-7700 3.6GHz, JVC DLA-RS46 (X35)
647830 is offline   Reply With Quote
Reply

Tags
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:03.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.