madshi bug tracker - madVR
View Issue Details
0000609madVRbugpublic2019-06-02 11:542019-06-03 08:45
tormozit 
 
normalminorhave not tried
newopen 
AllAllAll
0.92.17
MPC-BE, MPC-HC
all
all
DXVA2 Copyback
auto mode
yes
On
all modes
NVidia
Geforce 1080 Ti
430
0000609: I want option "Prefer closest refresh rate" and "Prefer closest resolution" in "Display mode" page of "Device" hive
I (and millions of other people =) have TV with frame interpolation feature connected to my PC. So if my PC outputs 50-60Hz singal to TV, I see no TV's frame interpolation (at least not stable). I need to output exactly original refresh rate to TV to see perfect frame interpolation. As madVR chooses doubled reshresh rate when it avaible I do not use it's mode switcher and use old good tool "Autofrequency" but it is not supported by developer for many years. So checkbox "Prefer closest refresh rate" will let me replace Autofrequency with great madVR.

The same story about "Prefer closest resolution". It will allow to use TV's powerfull object-recognition-based picture magnification.
No tags attached.
png Clip 90275 copy.png (34,455) 2019-06-02 11:54
http://bugs.madshi.net/file_download.php?file_id=310&type=bug
png
Issue History
2019-06-02 11:54tormozitNew Issue
2019-06-02 11:54tormozitFile Added: Clip 90275 copy.png
2019-06-02 12:04madshiNote Added: 0002519
2019-06-02 12:32tormozitNote Added: 0002520
2019-06-02 12:33tormozitNote Edited: 0002520bug_revision_view_page.php?bugnote_id=2520#r567
2019-06-02 12:35madshiNote Added: 0002521
2019-06-02 20:13tormozitNote Added: 0002522
2019-06-02 20:13tormozitNote Edited: 0002522bug_revision_view_page.php?bugnote_id=2522#r569
2019-06-02 20:14tormozitNote Edited: 0002522bug_revision_view_page.php?bugnote_id=2522#r570
2019-06-02 20:15tormozitNote Edited: 0002522bug_revision_view_page.php?bugnote_id=2522#r571
2019-06-02 20:17tormozitNote Edited: 0002522bug_revision_view_page.php?bugnote_id=2522#r572
2019-06-02 20:23madshiNote Added: 0002523
2019-06-02 20:33tormozitNote Added: 0002524
2019-06-02 20:34tormozitNote Edited: 0002524bug_revision_view_page.php?bugnote_id=2524#r574
2019-06-02 20:35tormozitNote Edited: 0002524bug_revision_view_page.php?bugnote_id=2524#r575
2019-06-02 21:37madshiNote Added: 0002525
2019-06-02 21:46tormozitNote Added: 0002526
2019-06-02 21:48tormozitNote Edited: 0002526bug_revision_view_page.php?bugnote_id=2526#r577
2019-06-02 21:49madshiNote Added: 0002527
2019-06-02 21:51madshiNote Added: 0002528
2019-06-02 22:03tormozitNote Added: 0002529
2019-06-02 22:04tormozitNote Edited: 0002529bug_revision_view_page.php?bugnote_id=2529#r579
2019-06-02 22:05tormozitNote Edited: 0002529bug_revision_view_page.php?bugnote_id=2529#r580
2019-06-02 22:30madshiNote Added: 0002530
2019-06-02 23:19tormozitNote Added: 0002531
2019-06-03 00:10madshiNote Added: 0002532
2019-06-03 06:15tormozitNote Added: 0002533
2019-06-03 06:16tormozitNote Edited: 0002533bug_revision_view_page.php?bugnote_id=2533#r582
2019-06-03 08:45madshiNote Added: 0002534

Notes
(0002519)
madshi   
2019-06-02 12:04   
madVR does not prefer double refresh rate. It prefers single refresh rate. Maybe you're using files which are not clearly marked as progressive? If madVR is not sure if the files are progressive or interlaced then it chooses a higher refresh rate because that's what deinterlacing would produce.
(0002520)
tormozit   
2019-06-02 12:32   
(edited on: 2019-06-02 12:33)
After I added iterlaced modes to modes string
2160i23, 2160i24, 2160i25, 2160i29, 2160i30, 2160i50, 2160i59, 2160i60, 1080i23, 1080i24, 1080i25, 1080i29, 1080i30, 1080i50, 1080i59, 1080i60
madVR began to choose original refresh rate.

But when modes string was only "2160p23, 2160p24, 2160p25, 2160p29, 2160p30, 2160p50, 2160p59, 2160p60, 1080p23, 1080p24, 1080p25, 1080p29, 1080p30, 1080p50, 1080p59, 1080p60" it choosed doubled refresh rate. Is it correct behaviour?

Thanks.

(0002521)
madshi   
2019-06-02 12:35   
It depends on the video file. If you play an original untouched Blu-Ray disc (1080p24), does madVR then switch 1080p48 or 1080p60?

Can you give an example if a video file where madVR switches to the "wrong" refresh rate? Please also attached a screenshot of the OSD (Ctrl+J).
(0002522)
tormozit   
2019-06-02 20:13   
(edited on: 2019-06-02 20:17)
https://drive.google.com/open?id=1Ef-5m1aCMRA8kkiAcQx9I5l9FkwR8Bp5 [^]
Autofrequency - chooses 25Hz
MadVR - chooses not to change 2160p 60Hz

General
Format : WebM
Format version : Version 2
File size : 131 MiB
Duration : 11 min 15 s
Overall bit rate mode : Variable
Overall bit rate : 1 631 kb/s
Writing application : Lavf57.72.101
Writing library : Lavf57.72.101

Video
ID : 1
Format : VP9
Codec ID : V_VP9
Duration : 11 min 15 s
Bit rate : 1 429 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Bits/(Pixel*Frame) : 0.028
Stream size : 115 MiB (88%)
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

(0002523)
madshi   
2019-06-02 20:23   
Screenshot of the Ctrl+J OSD, when playing this file?
(0002524)
tormozit   
2019-06-02 20:33   
(edited on: 2019-06-02 20:35)
https://i.imgur.com/c5ArEhJ.png [^] - madVR
Why composition rate 60Hz?

(0002525)
madshi   
2019-06-02 21:37   
Hmmmm... The video file looks like it should be progressive, not 100% sure right now, though. Does it change anything if you add "deint=film" to the file name?
(0002526)
tormozit   
2019-06-02 21:46   
(edited on: 2019-06-02 21:48)
Can you try reproduce my problem in your environment? Then you will be able to debug your code.
My display modes string = 2160p23, 2160p24, 2160p25, 2160p29, 2160p30, 2160p50, 2160p59, 2160p60, 1080p23, 1080p24, 1080p25, 1080p29, 1080p30, 1080p50, 1080p59, 1080p60, 2160i23, 2160i24, 2160i25, 2160i29, 2160i30, 2160i50, 2160i59, 2160i60, 1080i23, 1080i24, 1080i25, 1080i29, 1080i30, 1080i50, 1080i59, 1080i60

(0002527)
madshi   
2019-06-02 21:49   
I don't have much time atm. So you'll have to do the testing.

Does it change anything if you add "deint=film" to the file name?
(0002528)
madshi   
2019-06-02 21:51   
BTW, do these modes actually exist? If you write down 2160p25, but Windows (or the GPU driver) doesn't actually have that mode for your TV, then madVR will try to enable that mode and fail. So please double check that these modes really do exist. For example 2160p50 usually exists, but 2160p25 only sometimes exist, depending on what the TV reports to the GPU.
(0002529)
tormozit   
2019-06-02 22:03   
(edited on: 2019-06-02 22:05)
Yes. They exist. "Autofrequency" makes it always right - https://i.imgur.com/07idctx.png [^]
I don't understand how to add "deint=film" to filename. For example filename is "horodo_2kre.mpeg". What will be new filename?

(0002530)
madshi   
2019-06-02 22:30   
E.g.:

"horodo_2kre deint=film.mpeg"

Or:

"horodo_2kre [deint=film].mpeg"
(0002531)
tormozit   
2019-06-02 23:19   
Renaming file has no effect.
(0002532)
madshi   
2019-06-03 00:10   
Alright. Need a log file then. Like this:

1) Enable OSD (Ctrl+J), keep it enabled while creating the log.
2) Double click "activate debug mode.bat".
3) Start your media player with the settings that you expect to use 25p.
4) Play the video for 2 seconds.
5) Close the media player.
6) Zip up the file "madVR - log.txt" on your desktop and attach it here.
7) Double click "activate release mode.bat".
(0002533)
tormozit   
2019-06-03 06:15   
(edited on: 2019-06-03 06:16)
Where is "activate debug mode.bat" file located?
In madVR directory i have:
D:\Program Files (x86)\SVP 4\madVR\legal stuff
D:\Program Files (x86)\SVP 4\madVR\amd_ags_x64.dll
D:\Program Files (x86)\SVP 4\madVR\amd_ags_x86.dll
D:\Program Files (x86)\SVP 4\madVR\changelog.txt
D:\Program Files (x86)\SVP 4\madVR\dbghelp.dll
D:\Program Files (x86)\SVP 4\madVR\enable nvidia 3d.reg
D:\Program Files (x86)\SVP 4\madVR\install_nopause.bat
D:\Program Files (x86)\SVP 4\madVR\license.txt
D:\Program Files (x86)\SVP 4\madVR\madHcCtrl.exe
D:\Program Files (x86)\SVP 4\madVR\madHcNet32.dll
D:\Program Files (x86)\SVP 4\madVR\madHcNet64.dll
D:\Program Files (x86)\SVP 4\madVR\madLevelsTweaker.exe
D:\Program Files (x86)\SVP 4\madVR\madTPG.exe
D:\Program Files (x86)\SVP 4\madVR\madVR.ax
D:\Program Files (x86)\SVP 4\madVR\madVR64.ax
D:\Program Files (x86)\SVP 4\madVR\mvrSettings32.dll
D:\Program Files (x86)\SVP 4\madVR\mvrSettings64.dll
D:\Program Files (x86)\SVP 4\madVR\readme.txt
D:\Program Files (x86)\SVP 4\madVR\restore default settings.bat
D:\Program Files (x86)\SVP 4\madVR\uninstall_nopause.bat
D:\Program Files (x86)\SVP 4\madVR\unrar.dll

(0002534)
madshi   
2019-06-03 08:45   
That's not a full madVR installation. Probably it was shipped with your media player or with SVP 4? It's missing the debug version of the madVR ax files and the "activate debug mode.bat".

You could download the latest official madVR build and just overwrite all files in that folder with the official build.