Log in

View Full Version : madVR - high quality video renderer (GPU assisted)


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 [252] 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329

ryrynz
6th March 2012, 00:44
Madshi, I spotted Aleksoid's post in the MPC forum and tested both versions, no dice unfortunately. Trace logs below for each version.

http://www.mediafire.com/?7ar21fxqzx35b8j

*EDIT* Actually this is a new problem created by 0.82, build 2 actually fixes the issue with 0.81

ajp_anton
6th March 2012, 00:49
Bug:
SoftCubic can't be changed to other than 50.

BetA13
6th March 2012, 00:52
Bug:
SoftCubic can't be changed to other than 50.

Here tooo....it stays @ 50 no matter what i try..if i set to 100 it reverts back as soonest i klicked it...

is there a way to set it to 100 via editor or an config file?
50 is not so good....

i am using this normaly:

luma upscaling - Spline - 4 taps
luma downscaling - Spline - 4taps
Chroma upscaling - SoftCubic - 100 (but its 50 now cause of the bug or error)

Is this a good setting? i think its fine here..Watching on an 1080p HDTV...


PS...Quick question...
in the scaling tab...under Luma up and downscaling, theres an option called "scale in linear light" on teh bottom..what does it do?
for best quality, should i leave it off or enable it ?

THX

ryrynz
6th March 2012, 01:08
is there a way to set it to 100 via editor or an config file?

PS...Quick question...
in the scaling tab...under Luma up and downscaling, theres an option called "scale in linear light" on teh bottom..what does it do?
for best quality, should i leave it off or enable it ?


You could try downgrading to 0.81 and then setting softcubic to 100 and then upgrading to 0.8.2.1

It affects contrast, your probably best leaving it at the default gamma corrected light setting, feel free to try it out.

Plutotype
6th March 2012, 01:10
MPC-HC freezes ( not responding state in task maanger ) when display changer is ON and MPC-HC has the full screen option turned ON. Im speaking about launching for example a 23.976fps video on a 60Hz display, which switches into 23Hz, but MPC-HC hangs there.
The same happens also if MPC-HC is being launched from XMBC as external player. XBMC forces MPC-HC to go immediately fullscreen and together with the display changing it results in a full screen black with either mouse pointer or sand timer, what indicates a freeze.
Task manager solves the issue.

The only situation which works for me is launching MPC-HC in a window and then go fullscreen manually with the display freq change.

robpdotcom
6th March 2012, 01:17
Thanks for the new version.

I tested every sample I have with station animations, and madVR maintained the 3:2 cadence every time.

Also loving the faster switch in and out of FSE.

TheShadowRunner
6th March 2012, 01:21
Also loving the faster switch in and out of FSE.

Yes, I noticed manually changing resolution doesn't even seem to interfere with FSE at all anymore, fantastic!

But I just experienced an oddity, instead of seeing "Exclusive" pop up indicating that madVR was going in FSE, the screen just went black for like 1/2 second when madVR went into FSE then video playback continued normally.

Edit: I can even disable "present several frames in advance" now, this build is totally awesome, faster than ever :D

BetA13
6th March 2012, 01:27
You could try downgrading to 0.81 and then setting softcubic to 100 and then upgrading to 0.8.2.1

It affects contrast, your probably best leaving it at the default gamma corrected light setting, feel free to try it out.

:thanks: that helped...now its @ 100 again...

Thanks for the support ;)

dansrfe
6th March 2012, 01:28
I can confirm that the display changer is working perfectly on my end. Also, window dragging across screens seems to be cleaner and improved. Thanks madshi! :)

ryrynz
6th March 2012, 01:41
Thanks for the support ;)

No worries, it doesn't hurt to create a backup of your settings.bin file located in the MadVR directory just in case you something happens and you forget your settings


luma upscaling - Spline - 4 taps
luma downscaling - Spline - 4taps
Chroma upscaling - SoftCubic - 100

Is this a good setting?


The content your playing, your TV settings, the distance your viewing from, your ambient lighting all make a difference with this.
In the end it all comes down to how it looks to you, check out Catmull-Rom for an alternative for your luma.

Pat357
6th March 2012, 03:27
This build has not fixed it unfortunately.

For me this build did not fix the freezing on switching files neither.
Problem remains the same and is almost 100% repeatable.
I'll have to disable FSE in Madvr or use EVR with RGB input. :eek:

ryrynz
6th March 2012, 03:43
Madshi's sorting it out with Aleksoid (one of the MPC developers) we'll get it sorted out eventually.

Andy o
6th March 2012, 04:49
Yes, previously with 0.81 and before I got a freeze with FSE whenever changing files after a refresh rate change, like I said before, and it was fixed by using D3D11. Now it seems the freeze is different, it always happens (not just after refresh rate switch), and D3D11 doesn't fix it. It's every time jumping from file to file. I'm searching for the instructions to make a report, anyone wanna make my life easier? It's not on the OP nor the txt files.

Also, is this happening to most people? Anyone can confirm that this never happens to them?

Andy o
6th March 2012, 05:06
OK, report and debug log here http://www.mediafire.com/?65mdlko1revfazb

Using hardware in my sig except an ATI 4670 instead of 5770.

Andy o
6th March 2012, 06:30
MPC-HC freezes ( not responding state in task maanger ) when display changer is ON and MPC-HC has the full screen option turned ON. Im speaking about launching for example a 23.976fps video on a 60Hz display, which switches into 23Hz, but MPC-HC hangs there.I'm having this problem as well.

For me this build did not fix the freezing on switching files neither.
Problem remains the same and is almost 100% repeatable.
I'll have to disable FSE in Madvr or use EVR with RGB input. :eek:Madshi's sorting it out with Aleksoid (one of the MPC developers) we'll get it sorted out eventually.
I don't think you guys are having the same trouble. Pat's problem seems like what I described in my posts above.

FlashGordon
6th March 2012, 06:50
Great! The "Strike" samples are somewhat similar to the Broken Blossoms samples. Can I have 2 samples more from "Strike"? Thanks a lot!!

Each from a different VOB: http://www.mediafire.com/?n54svlhn7acdlii

Also, I finally found my MoC DVD of Nosferatu, I remember having to deinterlace it when I last watched it -- sure enough it has weird cadence changes in certain spots so I included a sample of it, let me know if you need more.

I would like to talk a little about system freezes as I have had trouble with this over the last few weeks again. Firstly when I say system freeze I am talking about a complete system lockup with the only solution being a reset. This is not madVR related so much but I hope madshi does not mind me posting this here as it may help some of you.

...and for what ever reason it was just not stable on my system as sometimes it would cause a system freeze a few seconds into playback, sometimes after an hour and sometimes not at all. ...At some point I tried the newer resampler again and everything was fine.. Basically I never found what the cause of the freeze was....

So now my system is back where it was with this issue. I personally feel its an issue between the onboard audio of my nvidia gfx card and one of the onboard LAN adapters on my mobo. It seems that the freeze only happens when either intensive audio is playing or doing something lan related... Initialting the TOR client for example can cause the freeze.

My point here being that it could have been very easy for me to point the finger at madVR given a new version was running when the freezes started to occur again during video playback. It was only my past experiance on my system that stopped me reporting to this thread. My advise to anyone now getting system freezing (esp if you updated to the new 295.xx nvidia drivers) is to try the following tests;

1) Disable any onboard LAN adapters and see if the freeze stops.
2) Take reclock out of the loop and see if system freezes stop.
3) Play a video while not using an audio device onboard a gfx card and see if the freezing stops.

Only after you have ruled out the above can you start thinking about it being an issue with madVR.

You just summed up the experience I had not too long ago... almost exact situation (except I have an ATI card). I posted in this thread about freezes I was getting with later madVR versions, as it seemed a certain older version wasn't producing the absolutely random freezing. I forgot to post a follow-up, but it turns out that I also found it was a problem with my LAN drivers (I still got freezes with test 2) and 3)). I turned off the LAN adapters and suddenly the freezing was gone, even with the later madvr versions that I thought were causing it. I ended up finding LAN drivers that worked by testing them and have not had a freeze since. I guess this only applies to non-reproducible freezes - ones that happen completely at random

ryrynz
6th March 2012, 06:52
Andy, I think you missed his reply to you earlier in the conversation.

No, second time still crashes and it seems it's not because of refresh-rate switching.
The crashing happens also if both files have the same fps, like 2 files with 23.970 fps.
Thanks for the tip about D3D11, but doesn't seem to have any influence on the crashing for me.


Also.


Problem : if MadVR is in FSE mode, it crashes MPC-HC (+itself ?) upon switching to the next/previous file.


It's the same issue I've been experiencing and it's a issue with MPC-HC.

Andy o
6th March 2012, 07:02
Oh, I understood his, but I misunderstood your issue apparently. You were talking about flush settings and how it affects and makes it more or less likely. My freezes happen every time in the situations I described above.

ryrynz
6th March 2012, 07:33
Madshi, I've retested with 0.81 with version Aleksoids's 1 and 2 builds and build 2 actually fixes it. However 0.82 introduces a new problem when switching to the next file, I thought it was the same issue.
It shows up differently, a smaller MPC-HC window displays with black background as it hangs.

All builds of MPC are experiencing this issue so it's MadVR related.

My trace reports I made with those two builds should hopefully help you discover the problem.

Cheers Andy!

Andy o
6th March 2012, 07:43
Thanks, I'll test that build. D3D11 fixed it for me with 0.81 and previous, FWIW. Could you see if it does for you? Also, it only happened after the first file skip after a refresh rate change. After it froze one time and MPC-HC was closed, it didn't happen again until the next refresh change.

ryrynz
6th March 2012, 07:48
I don't do any refresh rate changes but this does sound like the same issue, once it happened the first time it's hard to duplicate which is why I reboot every time to test it.
It's just unlucky that 0.82 introduced a new problem which appears at first glance similar to the MPC issue.
Stick with 0.81 for the time being if that fixes it for you with MPC MadVR build 2, Madshi will likely hammer out a new version fairly promptly after he wakes up.

Andy o
6th March 2012, 07:49
Thanks, will try those builds.

EDIT: confirmed that it's been fixed with 0.81.

madshi
6th March 2012, 09:06
Small typo...did you mean default cpu/gpu queue size is 16/8 or 12/8? The default is 12/8, but in the 0.81 it says 16/8
Oh, that's actually a bug. It was supposed to be 16, will be fixed in the next build.

Bug:
SoftCubic can't be changed to other than 50.
Will be fixed in the next build.

MPC-HC freezes ( not responding state in task maanger ) when display changer is ON and MPC-HC has the full screen option turned ON. Im speaking about launching for example a 23.976fps video on a 60Hz display, which switches into 23Hz, but MPC-HC hangs there.
The same happens also if MPC-HC is being launched from XMBC as external player. XBMC forces MPC-HC to go immediately fullscreen and together with the display changing it results in a full screen black with either mouse pointer or sand timer, what indicates a freeze.
Can I get a freeze report, please?

Thanks for the new version.

I tested every sample I have with station animations, and madVR maintained the 3:2 cadence every time.

Also loving the faster switch in and out of FSE.
Yes, I noticed manually changing resolution doesn't even seem to interfere with FSE at all anymore, fantastic!

Edit: I can even disable "present several frames in advance" now, this build is totally awesome, faster than ever :D
I can confirm that the display changer is working perfectly on my end. Also, window dragging across screens seems to be cleaner and improved. Thanks madshi! :)
Glad to hear not all is bad.

For me this build did not fix the freezing on switching files neither.
Problem remains the same and is almost 100% repeatable.
I'll have to disable FSE in Madvr or use EVR with RGB input. :eek:
Can I have a freeze report, please?

build 2 actually fixes the issue with 0.81
Madshi, I've retested with 0.81 with version Aleksoids's 1 and 2 builds and build 2 actually fixes it.
EDIT: confirmed that it's been fixed with 0.81.
Please confirm: Is the problem fixed with 0.81 with both new Aleksoid builds? Or just with build 2? That's important for Aleksoid to know. Thx...

Each from a different VOB: http://www.mediafire.com/?n54svlhn7acdlii

Also, I finally found my MoC DVD of Nosferatu, I remember having to deinterlace it when I last watched it -- sure enough it has weird cadence changes in certain spots so I included a sample of it, let me know if you need more.
Nosferatu appears to be field blended, so it's not suitable for IVTC. So no more samples needed from Nosferatu. Thanks!!

Ok, will look if I can do something about those freezes now... :scared:

ryrynz
6th March 2012, 09:32
Yeah I know it would be :D It's only build 2 that doesn't freeze.

nevcairiel
6th March 2012, 09:47
In one of the freeze reports posted by users, you can see the decoder actually creating a new D3D instance, which happens when loading the graph (The one with the IntelQuickSyncDecoder.dll reference)

Why would madVR still be closing down its old instance while the graph is already initializing a new decoder?
Seems rather odd to me.

madshi
6th March 2012, 10:27
In one of the freeze reports posted by users, you can see the decoder actually creating a new D3D instance, which happens when loading the graph (The one with the IntelQuickSyncDecoder.dll reference)

Why would madVR still be closing down its old instance while the graph is already initializing a new decoder?
Seems rather odd to me.
ryrynz had tracked the MPC-HC build down in which these freezes were introduced and the changes in the MPC-HC build were related to the "display mode changed" event. Basically MPC-HC tries to create a Direct3D9 device in the "display mode changed" handler, in order to find out the GPU manufacturer.

I'm not 100% sure if the freeze report with the "Intel Quicksync" reference (the one you're refering to) is also caused by the "display mode changed" event. It doesn't look that way at a quick glance - after all why should "createQuickSync" be called when the display mode has changed? But who knows. At least it seems that the freeze is gone in Aleksoid's test build in which he removed the Direct3D9 creation in the display change event handler.

madshi
6th March 2012, 12:03
How about this one?

http://madshi.net/madVR82c.zip

Does it fix the freezes?

nlnl
6th March 2012, 12:50
madshi
Thank you for .82!

For this sample (NTSC DVD film)
http://dl.dropbox.com/u/43376972/SD%20%281%29-001.mkv
Settings:
force film mode
if in doubt, activate deinterlacing,
but OSD says that deinter is off (upstream)!
So deinterlacing is not on automatically?

noee
6th March 2012, 13:09
How about this one?

http://madshi.net/madVR82c.zip

Does it fix the freezes?

Getting freeze on seek in MPC-HC (Alexoid b2), trace sent.

madshi
6th March 2012, 14:00
madshi
Thank you for .82!

For this sample (NTSC DVD film)
http://dl.dropbox.com/u/43376972/SD%20%281%29-001.mkv
Settings:
force film mode
if in doubt, activate deinterlacing,
but OSD says that deinter is off (upstream)!
So deinterlacing is not on automatically?
My fault, will be fixed in the next "official" build. You'll have to activate the "if in doubt, activate deinterlacing" again with the next build, then it should work.

Getting freeze on seek in MPC-HC (Alexoid b2), trace sent.
Next try:

http://madshi.net/madVR82d.zip

Aleksoid also appears to have fixed the other freeze problem and moves his changes to SVN. So as soon as MPC-HC revision 4128 is available, please retest. E.g. use XhmikosR's builds (http://xhmikosr.1f0.de/index.php?folder=bXBjLWhj).

LoRd_MuldeR
6th March 2012, 14:04
With latest MadVR and latest MPC-HC the problem of loosing window icon and buttons after fullscreen mode is back for me. Is that a known issue?

HitomiKun
6th March 2012, 14:07
The video picture freezes on display mode change when having automatic fullscreen exclusive mode enabled.
Please retest with the next build, once it is released.

--- Build v0.82.1 ---
The video picture now does not freeze anymore when entering fullscreen with automatic exclusive mode. But a new error now crashes MadVR when leaving fullscreen.

logs: Download (571 KB) (http://dl.dropbox.com/u/48947610/MadVR%20Bug%20Report/MadVR%20report%20logs.zip)

3 logs:
1) without display mode reset on leaving fullscreen (shows the crash, then MPC-HC gets closed, then display mode gets reset.)

2) with display mode reset 1 (shows the crash, MPC-HC gets closed, then display mode gets reset - a bit too late)

3) with display mode reset 2 (shows the crash, waiting for display mode change, closing MPC-HC after display mode has changed)

I also noticed you added an awesome wait for display mod change on entering fullscreen, please add the same function for leaving fullscreen with display mode reset.

Thank you for your huge effort ;)

noee
6th March 2012, 14:08
Quick test, still with B2, 82d solved the "next file/prev file" freeze and the seek freeze on my samples.

With latest MadVR and latest MPC-HC the problem of loosing window icon and buttons after fullscreen mode is back for me.

Heh, just noticed that too. When the video is playing, the task bar icon shows MPC-HC with the paused image. Wonder if it's related to the artwork changes recently?

madshi
6th March 2012, 14:29
With latest MadVR and latest MPC-HC the problem of loosing window icon and buttons after fullscreen mode is back for me. Is that a known issue?
Heh, just noticed that too. When the video is playing, the task bar icon shows MPC-HC with the paused image. Wonder if it's related to the artwork changes recently?
I'm not sure what you guys are talking about? Can you check whether the problem was introduced by madVR or by the new MPC-HC build? If it was introduced by madVR, how can I reproduce it? Maybe a screenshot would help me understand what you mean?

--- Build v0.82.1 ---
The video picture now does not freeze anymore when entering fullscreen with automatic exclusive mode. But a new error now crashes MadVR when leaving fullscreen.

3 logs
For crashes, debug logs don't help. For freezes, debug logs alone don't help, either. If the crash occurred inside of madVR, you should get a madVR crash box, allowing you to send a crash report to me. Did you get that box? If not, maybe the crash was not in madVR, but in MPC-HC? Or are we talking about a freeze here and not a crash? If you have a freeze, please try to get a freeze report by using Ctrl+Alt+Shift+Break. If that doesn't work, try the "madTraceProcess" tool (see v0.82 release notes).

I also noticed you added an awesome wait for display mod change on entering fullscreen, please add the same function for leaving fullscreen with display mode reset.
I'm not sure what you mean? Can you clarify?

madshi
6th March 2012, 14:30
A new MPC-HC build is available here:

http://xhmikosr.1f0.de/index.php?folder=bXBjLWhj

Can you guys please test whether the freeze with v0.81 is gone? Would be important to know, so Aleksoid knows if his fix worked or not. Thx.

LoRd_MuldeR
6th March 2012, 14:39
When I go to fullscreen mode (exclusive) and then back to windowed mode, the MPC-HC window is loosing it's icon. Sometimes the window buttons are lots too.

See:
http://img52.imageshack.us/img52/848/madvrwindowicon.png

(There should be the MPC icon in the upper left corner. And in the upper right corner there should be minimize/maximize/close buttons)

madshi
6th March 2012, 14:43
Just to be safe, are you using D3D11 presentation (madVR settings)? I've only heard of this problem yet with D3D11.

LoRd_MuldeR
6th March 2012, 14:43
Just to be safe, are you using D3D11 presentation (madVR settings)? I've only heard of this problem yet with D3D11.

Yes, I do. Bad idea?

HitomiKun
6th March 2012, 14:44
I also noticed you added an awesome wait for display mod change on entering fullscreen, please add the same function for leaving fullscreen with display mode reset.
I'm not sure what you mean? Can you clarify?
If I enter fullscreen with automatic exclusive mode, the video stops until my display mode has changed and then continues to play. But when I leave fullscreen while having "reset original display mode on fullscreen leave" on, the video does not stop and wait until my screen has changed. The video goes on while display mode changes and I can't see anything on display mode change, because I get a black screen for a few sec.

(I could be wrong and this would be just the "wait until render queue is full" function)

Well currently MadVR crashes (freezes?) on fullscreen leave. It reports:
- resetting Direct3D device failed (80070005)
- creating Direct3D device failed (80070005)

Well MPC-HC does not crash when madVR gets this error, so I guess it's a freeze? I'm trying to get a more accurate error report with the tools you provided.

madshi
6th March 2012, 14:52
Yes, I do. Bad idea?
Not necessarily. The D3D11 presentation option is there for a reason. Does this test build improve the situation for you?

http://madshi.net/madVRLoRd.zip

If I enter fullscreen with automatic exclusive mode, the video stops until my display mode has changed and then continues to play. But when I leave fullscreen while having "reset original display mode on fullscreen leave" on, the video does not stop and wait until my screen has changed. The video goes on while display mode changes and I can't see anything on display mode change, because I get a black screen for a few sec.
The "pause" you may be setting when entering FSE mode is not intentional, it's probably a side effect of some other things. I'm afraid of adding a pause or something when leaving FSE mode. There are too many problems at the moment to try and do funny new stuff, which may add even more problems.

Well currently MadVR crashes (freezes?) on fullscreen leave. It reports:
- resetting Direct3D device failed (80070005)
- creating Direct3D device failed (80070005)
That's neither a crash nor a freeze. A crash is when you get a crash box from either Windows or madVR. A freeze is when the media player gets unresponsive. What you have is a different problem.

Which OS are you using? Which GPU? Are you using D3D9 or D3D11 presentation? Do you have the option "pre-present frames in advance" turned on/off?

LoRd_MuldeR
6th March 2012, 15:02
Not necessarily. The D3D11 presentation option is there for a reason. Does this test build improve the situation for you?

http://madshi.net/madVRLoRd.zip

No difference. Sorry.

noee
6th March 2012, 15:04
A new MPC-HC build is available here:

http://xhmikosr.1f0.de/index.php?folder=bXBjLWhj

Can you guys please test whether the freeze with v0.81 is gone? Would be important to know, so Aleksoid knows if his fix worked or not. Thx.

Tested 4128 with .81 and yes, the seek, next file/prev file, File Close (Ctrl+c) and AppExit (Alt+x) are all fixed here.

HitomiKun
6th March 2012, 15:12
I pressed Ctrl+Alt+Shift+Break while the error was displayed. The file created should say everything about my PC sys (I also added some lines to my PC description and marked them as "user edited".)

Download (6,18 KB) (http://dl.dropbox.com/u/48947610/MadVR%20Bug%20Report/madVR%20-%20freeze%20report.zip)

I have "present several frames in advance" enabled and it holds the value 8 on the windowed mode and exclusive mode section.
-> Disabling this function fixed the error. <-

Edit: The freeze report log says:
exception message : The process seems to be frozen.
So it is actually a freeze? MPC-HC is unresponsive when I click stop, play and everything else. (except the close button)

madshi
6th March 2012, 15:41
I pressed Ctrl+Alt+Shift+Break while the error was displayed. The file created should say everything about my PC sys (I also added some lines to my PC description and marked them as "user edited".)

Download (6,18 KB) (http://dl.dropbox.com/u/48947610/MadVR%20Bug%20Report/madVR%20-%20freeze%20report.zip)

I have "present several frames in advance" enabled and it holds the value 8 on the windowed mode and exclusive mode section.
-> Disabling this function fixed the error. <-

Edit: The freeze report log says:
exception message : The process seems to be frozen.
So it is actually a freeze? MPC-HC is unresponsive when I click stop, play and everything else. (except the close button)
Unresponsive means if you can't click anything, respectively whatever you do is totally ignored. Usually also menus are not drawn correctly anymore etc. <- That's a freeze. What you have doesn't seem to be a freeze. The "The process seems to be frozen" message always appears if you press Ctrl+Alt+Shift+Break.

A couple of questions:

(1) Are you using D3D9 or D3D11 presentation?
(2) Does the problem always occur or just sometimes?
(3) Which exact madVR version introduced the problem for you?

HitomiKun
6th March 2012, 16:11
1) I'm using D3D9.

2) After some testing I found out that it always occures on the resolution 1920x1080 on colourful/complex scenes.

I tested a 1920x1080 file that had an pretty simple intro without much movement. If I leave fullscreen on that simple animation, it does not freeze. After I went a bit further to a more complex scene where lots of colours and movement is shown, madVR get's the error on fullscreen leave. All 1280x720 files I tested didn't get the error in any situation. I'm trying to extract a sample right now.

3) This problem came up with v0.82.1. I didn't test v0.82 because v0.82.1 got released a few minutes right after 0.82. On v0.81 I didn't experience any of these errors (except the frame freeze on fullscreen enter with automatic exclusive mode, that is fixed now)

Edit:
2) It seems to come and go whenever it wants, but I have to approve that it only happens on 1080p with complex scenes, 90% of all tests with 1080p have resulted with an error on fullscreen leave.

Edit 2:
3) I just tested v0.80 and v0.81, both didn't have the error while leaving fullscreen. It's probably some new bug introduced with the "* improved exclusive -> windowed switch a little bit more" update. I guess it now tries to refresh the frame on display mode change but while leaving fullscreen it has to switch back to windowed mode and that mode may cause the problem. (just my idea) The switch to windowed -> exclusive mode seems to work in v0.82.1 without frame freeze, the function that fixed the frame freeze may have caused the new bug.

Edit 3:
I can't get a sample, files are too big and I can't cut out a part of a mkv video without re-encoding (direct stream copy not supported on mkv I guess).

fairchild
6th March 2012, 16:52
I also started to experience MPC-HC hangs after every closing of file while in FSE as well as when skipping to next file either in same directory or playlist. I tried out PotPlayer and everything works perfect, so needless to say I'm going to start using PotPlayer from now on. It does almost everything as well as MPC-HC when it comes to integration with Lav Filters + MadVR + Reclock.

Gelatinous
6th March 2012, 17:32
Heh, just noticed that too. When the video is playing, the task bar icon shows MPC-HC with the paused image. Wonder if it's related to the artwork changes recently?

I have this bug too, but it has been happening to me since at least .80; i believe it is related to the option "delay playback start until render queue is full"

Pausing and unpausing corrects the icon for me.

zmaster
6th March 2012, 18:05
* the source levels (TV vs PC) can be stored now:thanks:

madshi
6th March 2012, 19:10
@HitomiKun and LoRd_MuldeR,

can you please try whether this build improves the situation for you?

http://madshi.net/madVR82e.zip

kalston
6th March 2012, 19:20
FSE to windowed works a lot better than before for me (both ways) on JRiver. Thanks for that!

Btw I've noticed (not specific to this version) that the FSE seek bar doesn't work on JRiver. Instead, moving the mouse to the bottom of the screen makes madVR go into windowed mode and display the same overlay as when you move the mouse to the top of the screen. So I've disabled the seek bar in madVR settings and got used to it. Still, I liked having that tiny seekbar in FSE on MPC.
When I pause with a keyboard key, I've noticed that there actually is some kind of seekbar in FSE in JRiver (with the time left etc), but it doesn't work when moving the mouse while playing.

*I only use the old FSE if that matters (nvidia user).