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

scollaco
26th January 2016, 15:40
I'm having issues getting 3D to work. I'm a noob so maybe I missed something.

1) I have windows 10 and the latest 6th generation NUC with Intel Iris Pro 540 Graphics. (NUC6i5syk).
2) I installed madVR v.0.90.3 and the latest LAV filters fromt he nightly builds (0.67.0-65).
This is what I did:
1) I set the display control panel to have 3D "on".
2) In madVR I turned off "exclusive mode". I enabled "use Direct3D11 for presentation (is this correct?) and also check marked "present a frame for every VSync" (Is this a needed step too?)
3) I didn't touch any settings in madVr's stereo 3D area besides the default that si checked "enable stereo 3d playback"

When playing a 3d mkv made using makemkv, I see that LAV filters is using the "msdk mvc" decoder.

on playing a movie, the projector correctly switches resolution to 1920x2205 for framepacked 3D. However the image that shows up is frozen and the movie doesn't play any further. At that point I cannot exit out of my MPC-BE player and need to kill it using the task manager. I'm stuck because it looks like it all correctly switches to 3d and I have a proper 3d image on screen, but it is frozen and refuses to play the movie.

I also tried setting my scaling algorithms to the most basic but still same issue. Any advice what I'm doing wrong or what step I'm missing?

Are you using x86 or x64 version of MPC-BE? If you're using x64, try x86 instead, just to double check.

Thanks for the reply madshi.

I'm think I'm already using the x86 version of MPC-BE. As well madVR & LAV as well. LAV and mpc-be install in C:\Program Files (x86)\mpc-be.exe

Any other advice?

madshi
26th January 2016, 15:45
Thanks for the reply madshi.

I'm think I'm already using the x86 version of MPC-BE. As well madVR & LAV as well. LAV and mpc-be install in C:\Program Files (x86)\mpc-be.exe

Any other advice?
Ok, in that case please create a debug log, zip it and upload it somewhere. Don't attach it to this forum, thanks.

huhn
26th January 2016, 19:45
That would be great :thanks:

i switched the nvidia GPU with my AMD R9 270 and in general there are no problems with madVR.

windows doesn't wanted to change to FHD resolution and was sending a letterbox but i got that fixed.

1080p60
Radeon Software Version 15.11 (crimson)
windows 10 10547
madVR 0.90.3
cx700 hdmi

if you have an iGPU try it to make sure the issue isn't windows.

BetA13
27th January 2016, 00:44
THX madshi for the test builds.. i hope will come around soon to test em and report back..
as soon as i have time i will test them....

greetz

edit:

testing it now. With teh 32bit player like you wanted, didnt try 64bit yet

i used the zzz - builds2.rar and started with number 5.

5. (5 - videotext and vsync) = works
4. ..............(OSD).............= FAIL
3. OpenCL.........................= FAIL

Dindt bother testing 2 and 1, since they would also fail??
Or should i test them also?

Greetings :)

MSL_DK
27th January 2016, 08:33
I get an error in the upper left corner that says something like: Could not read display mode. It only happens if I disable FSE. AMD control panel crashes and windows behave very strangely and I will have to restart.

Windows 10 x64
MPC-HC x86 latest
madVR x86 latest
AMD R9 270 with latest driver
Display 1920x1080 60Hz

i switched the nvidia GPU with my AMD R9 270 and in general there are no problems with madVR.

windows doesn't wanted to change to FHD resolution and was sending a letterbox but i got that fixed.

1080p60
Radeon Software Version 15.11 (crimson)
windows 10 10547
madVR 0.90.3
cx700 hdmi

if you have an iGPU try it to make sure the issue isn't windows.

I have found the problem. The problem occurs at Rendering> windowed mode> how many video frames ....> 16

If I set it to 14, the problem does not occur.

MSL_DK
27th January 2016, 09:08
i switched the nvidia GPU with my AMD R9 270 and in general there are no problems with madVR.

windows doesn't wanted to change to FHD resolution and was sending a letterbox but i got that fixed.

1080p60
Radeon Software Version 15.11 (crimson)
windows 10 10547
madVR 0.90.3
cx700 hdmi

if you have an iGPU try it to make sure the issue isn't windows.

Thank you for looking at it.

While we're at it, can I get you to test properties> the native display bitdepth is> 10 bit (or higher) and Rendering> General settings> use Direct3D 11 for presentation> present a frame for every VSync

and tell me the result of your monitor behavior?

My screen seems to switch modes and render and present queue queue is not filled out. (1-3 / 14 and 1-3 / 14)

:thanks:

omarank
27th January 2016, 09:22
This is a GPU driver problem with AMD cards when using 24Hz and 60Hz refresh rates. With 23p, 50p and 59p the queues get filled properly. Some user reported here that with the newer drivers, the problem is fixed with either of 24p and 60p (don’t remember which one, perhaps 24p).

Backflash
27th January 2016, 15:08
Are you using x86 or x64 version of your media player and madVR? If you're using x64, try using x86 instead to see if you have the same display driver crash problem with that. If you have the same crashes in x86, then please look at this post:

http://forum.doom9.org/showthread.php?p=1754526#post1754526

I tested both MPC x64 and x86 nightly 1.7.10.86

Builds 5-2 - works fine i couldn't replicate the crash, relaunched different videos 7-10 times on both players.
Build 1 caught a crash on 4th video playback start on x64 player, driver recovered this time, works fine on x86 after 10 relaunches.
Oh and yes, it happens only on video start - timer doesn't tick and in 2-3 second screen goes black when driver can't recover.

Thing is, this crash is seemingly random, sometimes it doesn't happen at all during the day sometimes it happens once or twice. Very hard to tell when it actually will happen.

madshi
27th January 2016, 15:46
I have found the problem. The problem occurs at Rendering> windowed mode> how many video frames ....> 16

If I set it to 14, the problem does not occur.
Ah yes, some users had problem with 16, I'm not sure why. Could be running out of RAM, or a driver problem, or something else.

testing it now. With teh 32bit player like you wanted, didnt try 64bit yet

i used the zzz - builds2.rar and started with number 5.

5. (5 - videotext and vsync) = works
4. ..............(OSD).............= FAIL
3. OpenCL.........................= FAIL

Dindt bother testing 2 and 1, since they would also fail??
Or should i test them also?
Thanks. No need to test builds 1 and 2. How reliable is the "fail/works" for you? Are you 100% sure 5 is fine and 4 has a problem? Or is there a bit of randomness involved? Just asking, to be safe.

I tested both MPC x64 and x86 nightly 1.7.10.86

Builds 5-2 - works fine i couldn't replicate the crash, relaunched different videos 7-10 times on both players.
Build 1 caught a crash on 4th video playback start on x64 player, driver recovered this time, works fine on x86 after 10 relaunches.
Oh and yes, it happens only on video start - timer doesn't tick and in 2-3 second screen goes black when driver can't recover.

Thing is, this crash is seemingly random, sometimes it doesn't happen at all during the day sometimes it happens once or twice. Very hard to tell when it actually will happen.
Thanks. Reading your description it seems to be quite random, which makes me fear that maybe builds 2-5 might also crash if you try often enough. Just to be safe, can you try with just build 2, maybe 20-30 times, do be extra safe that build 2 is working fine? I'm asking because if builds 1 crashes, it's possible but "weird" to have build 2 work fine because the difference between builds 1 and 2 is very small. I would have expected build 1 and 2 to give identical results. So considering that it's somewhat random, I'd appreciate if you could double check, just to be extra safe. Thanks.

Backflash
27th January 2016, 16:26
Thanks. Reading your description it seems to be quite random, which makes me fear that maybe builds 2-5 might also crash if you try often enough

Ran build 2 on both x64/x86, 70 times on different videos, from sd to 720p 10bit - couldn't crash it.

madshi
27th January 2016, 17:14
Ran build 2 on both x64/x86, 70 times on different videos, from sd to 720p 10bit - couldn't crash it.
That's quite interesting. Practically this means that probably in x64 the GPU driver crashes when madVR tries to create multiple DirectCompute shaders at the same time in different threads. This looks like a GPU driver bug because in theory D3D11 should be thread safe.

So I'll have to redesign the DirectCompute stuff to be done in one thread, only. Very sad, but not a big problem.

Edit: Which GPU and OS are you using?

Backflash
27th January 2016, 18:12
Edit: Which GPU and OS are you using?

R9 390(i7 2600/8Gb) Windows 10 Pro 1511(10586.63) x64, Crimson 16.1

BetA13
27th January 2016, 23:56
Thanks. No need to test builds 1 and 2. How reliable is the "fail/works" for you? Are you 100% sure 5 is fine and 4 has a problem? Or is there a bit of randomness involved? Just asking, to be safe.




hy there,

yes, "5" is working everytime i think. i didnt had any odd behavior with it. testet most settings with it and watched about 3 movies..
resizing works, fullscreen switching works, no drops, no stutter when i move teh mouse, video is in sync and normal speed, shaders work, just like with 0.89.19 :)

Sidenote:
only thing i noticed wich is different (i think, i didnt see that change before) is that in windowed mode, videos are played with 48fps and in Fullscreen (exclusive) mode its 60fps.
Wasnt it 60fps in windowed and fullscreen before? Of course only if you have 60hz ??
Or was this changed? Anyway, im totaly fine with that because it eats less power from my gpu in 48fps (windowed) in fullscreen i prefer teh 60fps like it is...

"4" and downwards allways produce the error i have been struggling with in the start.

so, im 99% shure that 5 is the winner for me...

greetings
:thanks:

daglax
28th January 2016, 00:06
I dont get it. If i start any .mkv-movie (SBS-format) the madvr on screen display never shows 4:2:0 (3D), it's always 4:2:0.

I installed the latest LAV Filters and activated the filters in MPC's external filter section, but still no sign of 3D. Why is LAV not decoding in 3D?

sneaker_ger
28th January 2016, 00:09
At the moment the new 3D features of LAV and madVR are for MVC-in-MKV only. There is no special handling of SBS files.

daglax
28th January 2016, 00:28
Lol that makes sense. Didn't find any information about that the last couple of pages or maybe i didn't understand.
Thank you for clarification.

Is SBS- Playback planned eventually?

scollaco
28th January 2016, 01:18
Does someone have an example code of how they are using profiles for including 3d now? I'm not very code savvy and would appreciate the help.

Also what settings are people using for 3d as my scaling algorithms etc...seem to be too much to play 3D

huhn
28th January 2016, 01:24
Is SBS- Playback planned eventually?

madVR can already do that.

Thank you for looking at it.

While we're at it, can I get you to test properties> the native display bitdepth is> 10 bit (or higher) and Rendering> General settings> use Direct3D 11 for presentation> present a frame for every VSync

and tell me the result of your monitor behavior?

My screen seems to switch modes and render and present queue queue is not filled out. (1-3 / 14 and 1-3 / 14)

:thanks:

i don't have the card at the Tv anymore.

but don't waste your time on 10 bit and this screen.

derpycat
28th January 2016, 02:07
At the moment the new 3D features of LAV and madVR are for MVC-in-MKV only. There is no special handling of SBS files.

Sorry I'm a noob. Does this mean we can't play 3d Bluray yet?

SamuriHL
28th January 2016, 02:17
Sorry I'm a noob. Does this mean we can't play 3d Bluray yet?

Correct. Right now it only works with MKV's made with MakeMKV. At some point, once it matures a bit and some bugs are worked out, they'll expand support for blu-ray itself, albeit with some limitations. We'll get there, but, right now at this time, we're not there yet.

derpycat
28th January 2016, 02:38
Thanks, I guess it's easy enough to make my own MKVs. Was wondering why I couldn't get 3d working :p

derpycat
28th January 2016, 03:17
Edit: silly question

madshi
28th January 2016, 19:07
yes, "5" is working everytime i think. i didnt had any odd behavior with it. testet most settings with it and watched about 3 movies..
resizing works, fullscreen switching works, no drops, no stutter when i move teh mouse, video is in sync and normal speed, shaders work, just like with 0.89.19 :)

Sidenote:
only thing i noticed wich is different (i think, i didnt see that change before) is that in windowed mode, videos are played with 48fps and in Fullscreen (exclusive) mode its 60fps.
Wasnt it 60fps in windowed and fullscreen before? Of course only if you have 60hz ??
Or was this changed? Anyway, im totaly fine with that because it eats less power from my gpu in 48fps (windowed) in fullscreen i prefer teh 60fps like it is...
Can you please try this build:

http://madshi.net/madVRBetA13.rar

Does it work? If not, please create a debug log for me with this build (don't attach to this forum, upload it somewhere else and link here), which shows the "too fast playback". Also, please compare which refresh rates madVR lists in both windowed and fullscreen mode, with this build compared to v0.89.19. I suppose if you get the "too fast playback", probably the refresh rate isn't shown correctly?

MSL_DK
28th January 2016, 19:37
Could be running out of RAM

Yes, it is true in my case.

BetA13
28th January 2016, 20:30
Can you please try this build:

http://madshi.net/madVRBetA13.rar

Does it work? If not, please create a debug log for me with this build (don't attach to this forum, upload it somewhere else and link here), which shows the "too fast playback". Also, please compare which refresh rates madVR lists in both windowed and fullscreen mode, with this build compared to v0.89.19. I suppose if you get the "too fast playback", probably the refresh rate isn't shown correctly?

hy there,

:( nope this build also has the problem occuring..

umm, sorry for teh noobish question, but how do i do an debug report? i did try to look for an key combo but couldnt find one.

What i did do is compared teh OSD and refresh rate from windowed to fullscreen and from 0.89.19 to your Beta13 build..

And yes, you are correct, theres is something wrong with the "hz"

i made some screenshots:

madVRBetA13 build:

windowed mode:
http://s10.postimg.org/hqsygy105/Unbwenannt.jpg (http://postimg.org/image/hqsygy105/)

Fullscreen mode:
http://s28.postimg.org/bh0b96iop/sdfsdfsdf.jpg (http://postimg.org/image/bh0b96iop/)

0.89.19 Build (working Build):

windowed mode:
http://s18.postimg.org/q85k3v2g5/sfeegfsegfsf.jpg (http://postimg.org/image/q85k3v2g5/)

Fullscreen Mode:
http://s22.postimg.org/c04ixia3x/sefwfwfsf.jpg (http://postimg.org/image/c04ixia3x/)


Got the error report also, its quite big lol..

Steps i did:

Started debug log - started movie in windowed mode - after 3-5 sek. i changed to fullscreen mode - 2 sek. later i changed to windowed and quit the player, enden debug mode..

Link to Log:
http://filehorst.de/d/bAuhGbwH


i hope this will help you a bit... :)

greetings

MSL_DK
28th January 2016, 20:46
In the madVR folder run the debug.bat Can't remember the exact name of the file.

Then play a movie. On the desktop you will find the debug result, a txt file.

BetA13
28th January 2016, 21:20
In the madVR folder run the debug.bat Can't remember the exact name of the file.

Then play a movie. On the desktop you will find the debug result, a txt file.

ok, found teh bat. started it. left it open (teh cmd window) and started teh movie..etc.

now, wheres teh LOG?
i cant find it in the madvr folder or in c:/

MSL_DK
28th January 2016, 21:32
Right click the .bat run as admin, play a movie. After that, run the .bat again for leaving debug-mode

BetA13
28th January 2016, 21:37
Right click the .bat run as admin, play a movie. After that, run the .bat again for leaving debug-mode

right worked as intended. debug mode was started, video was played by me, video was stopped player exited and run the bat again to release debugmode again.

i feel very noobish about now since i still cant find a file .. theres no new file made , not in the madvr folder or c:

im pretty confused now haha

aha, you edited your comment, its on the desktop.. THANK you a lot mate.. haha

apgood
28th January 2016, 21:47
right worked as intended. debug mode was started, video was played by me, video was stopped player exited and run the bat again to release debugmode again.

i feel very noobish about now since i still cant find a file .. theres no new file made , not in the madvr folder or c:

im pretty confused now haha

aha, you edited your comment, its on the desktop.. THANK you a lot mate.. haha
It should be on your desktop

BetA13
28th January 2016, 21:59
hehe, yeah i got it now :)
Thanks for all the help from you guys ;)

@madshi

Got the error report also, its quite big lol..

Steps i did:

Started debug log - started movie in windowed mode - after 3-5 sek. i changed to fullscreen mode - 2 sek. later i changed to windowed and quit the player, enden debug mode..

Link to Log:
http://filehorst.de/d/bAuhGbwH


i hope this will help you a bit... :)

greetings

clsid
28th January 2016, 22:05
Next time zip/rar the log before you upload it. Then it will be much smaller, and the upload/download will be quicker.

XMonarchY
28th January 2016, 23:11
Does GeForce GTX 960 have any advantages over GTX 970 and 980 series? I know it supports newer CUVID decoding and is much faster at decoding HEVC than GTX 970/980 and Titan X.

- Can LAV Filter CUVID decoding also produce artifacts on GTX 960 like it can on GTX 970/980?
- Does GTX 960's faster CUVID HEVC decoding have any impact on DXVA Copy-Back decoding?

huhn
28th January 2016, 23:20
wrong thread...

the 960 doesn't use hybrid decoding and can decode 10 bit HEVC using an full function decoder that doesn't need GPU or CPU processing power.

the hybrid decoder from the 970 and higher is totally useless in comparison.

and forget CUVID plz...

Thunderbolt8
29th January 2016, 00:01
the 960 doesn't use hybrid decoding and can decode 10 bit HEVC using an full function decoder that doesn't need GPU or CPU processing power.is it save to assume that the GTX960 will be sufficient for 4K HEVC downscaling to 1080p with madvr in the future?

huhn
29th January 2016, 00:25
is it save to assume that the GTX960 will be sufficient for 4K HEVC downscaling to 1080p with madvr in the future?


depends on the algorithm. the 960 is not really powerful. i would set my eyes on the upcoming polaris or pascal GPUs.

Shiandow
29th January 2016, 01:35
is it save to assume that the GTX960 will be sufficient for 4K HEVC downscaling to 1080p with madvr in the future?

Should be reasonably safe. It depends a bit on how you handle the chroma, but really the most sensible thing to do would be to not scale the chroma which is slightly more complicated, but still doable. Downscaling the image also isn't particularly expensive, even this (http://screenshotcomparison.com/comparison/158879) new experimental downscaler runs quite comfortably on my GTX 960 (although strangely enough I take a bigger performance hit than on my late 560 Ti, memory speed seems to be the limiting factor). I can even run that algorithm in combination with use NNEDI3 (16 neurons) chroma scaling, which is a ridiculously inefficient way to shift chroma half a pixel.

madshi
29th January 2016, 09:41
Should be reasonably safe. It depends a bit on how you handle the chroma, but really the most sensible thing to do would be to not scale the chroma which is slightly more complicated, but still doable. Downscaling the image also isn't particularly expensive, even this (http://screenshotcomparison.com/comparison/158879) new experimental downscaler runs quite comfortably on my GTX 960 (although strangely enough I take a bigger performance hit than on my late 560 Ti, memory speed seems to be the limiting factor). I can even run that algorithm in combination with use NNEDI3 (16 neurons) chroma scaling, which is a ridiculously inefficient way to shift chroma half a pixel.
Did you have time to look into the potential patent issues yet? If there are no problems, I'd love to add your algo to madVR ASAP. I expect downscaling 4K content to 1080p will be a big thing, so good quality downscaling will be more important than ever. Thanks.

Shiandow
29th January 2016, 10:27
Did you have time to look into the potential patent issues yet? If there are no problems, I'd love to add your algo to madVR ASAP. I expect downscaling 4K content to 1080p will be a big thing, so good quality downscaling will be more important than ever. Thanks.

Somewhat. I'm quite sure the method I'm using is different enough from the method they're describing that it won't fall under such a patent application. Also, at the moment it is their responsibility to give sufficient warning of the potential existence of any patent, and given that the content their paper is quite frankly unpatentable it's somewhat unclear what exactly they are trying to patent. At the very least there don't seem to be any patents titled 'perceptually based downscaling of images'.

I could try to see if there's any way to contact them ask them for the patent number (if there even is one), although legally, I don't have to. In fact, I don't gain any legal advantage by making myself aware of any potential patents at this point.

iSunrise
29th January 2016, 10:43
@Shiandow
Wow, the results of that algorithm are quite astonishing. Sharpness of fine details is so much better, it's not even funny. With that algorithm it should be a lot less necessary to even use any sharpener at all when downscaling.

Does it have any side-effects like pronouncing edges with moving images or is it all about getting most of the detail transfered to lower resolution but NOT adding any kind of artificially sharpened edges?

It would be a BIG win if you and madshi could work together on this one.

I would also be highly interested to test it against madshi's "Catmul-Rom with linear-light" downscaling combination. If this is even better than that, then my hats go off to the inventor.

How does it compare performance-wise to say Bilinear or Catmull-Rom?

madshi
29th January 2016, 11:15
Somewhat. I'm quite sure the method I'm using is different enough from the method they're describing that it won't fall under such a patent application. Also, at the moment it is their responsibility to give sufficient warning of the potential existence of any patent, and given that the content their paper is quite frankly unpatentable it's somewhat unclear what exactly they are trying to patent. At the very least there don't seem to be any patents titled 'perceptually based downscaling of images'.

I could try to see if there's any way to contact them ask them for the patent number (if there even is one), although legally, I don't have to. In fact, I don't gain any legal advantage by making myself aware of any potential patents at this point.
Sounds good to me. So would it make sense to include your algo into this weekend's madVR build?

BTW, does your algo ring?

TMDaines
29th January 2016, 13:20
Ok. In some situations the default location might be ok. But often it is not. E.g. look here, playing a DVD (using an LAV test build with the new LAV DVD subtitle export to madVR) with MPC-HC with the "notify media player" zoom control option activated:

default position (http://madVR.com/doom9/stuff/MpcNotifyDefault.png) - | - move up = down (http://madVR.com/doom9/stuff/MpcNotifyMove.png)

Or here with the "notify media player" zoom control option deactivated:

default position (http://madVR.com/doom9/stuff/MpcDefault.png) - | - move up (http://madVR.com/doom9/stuff/MpcMoveUp.png) - | - move down (http://madVR.com/doom9/stuff/MpcMoveDown.png)

Isn't any of the move options always better (in this example at least)? I think having one subtitle line in the active video area and one subtitle line in the black bar is rather bad, and it happens quite often with the standard location.
I am using LAV Nightlies and the latest madVR but cannot get this to work with DVD subtitles. I have a DVD (the German DVD of Die innere Sicherheit) (http://www.amazon.de/Die-innere-Sicherheit-Special-Edition/dp/B00005U8PS) which is non-anamorphic and has a 1.66:1 film windowboxed into the 4:3 space. The subtitles on the DVD itself are partly in the video and partly in the black bars underneath. No matter what combination of settings I use, the DVD subtitles do not move. If I load a separate .srt file into XySubFilter, I can easily get the black bars cropped and the subtitles managed correctly.

Do I somehow need to activate the "new LAV DVD subtitle export to madVR"?

Shiandow
29th January 2016, 14:38
Sounds good to me. So would it make sense to include your algo into this weekend's madVR build?

BTW, does your algo ring?

That should be doable, the method itself is simple enough.

Haven't seen any ringing yet, or aliasing. Mostly it seems a pretty solid algorithm, but there might be some specific cases where things go wrong.

Sunset1982
29th January 2016, 16:22
That should be doable, the method itself is simple enough.

Haven't seen any ringing yet, or aliasing. Mostly it seems a pretty solid algorithm, but there might be some specific cases where things go wrong.

So let's check it out! :goodpost:

Sunset1982
29th January 2016, 16:27
The combination of Nevcairiel, Shaindow and madshi is epic!

Because of guys like these I love my hobby to get the best picture quality possible even more!

Just want to say thank you guys for your hard work!!!

Thunderbolt8
29th January 2016, 16:43
yeah, please implement this algorithm in madvr. Ive mailed the guy who made the algorithm paper about adding some 4k to 1080p downscaled comparisons which he said he wants to add, but so far nothing has happened yet at his website.

har3inger
29th January 2016, 22:23
4k-> 1080p may be big in the future, but for many users, downscaling is already being used all the time for 720p->1440p->1080p. I think it's a great idea to implement it ASAP for testing.

Nevilne
29th January 2016, 22:29
There's plenty of lower hanging fruit for downscaling, such as box or negative b bicubic as well.

bcec
30th January 2016, 06:20
@madshi: I noticed that on my nVidia 980 Ti, 1080p frame packed 3D 23Hz translates to really ~23.000fps (so about every 3-4minutes there's a glitch). If I remember correctly, it was mentioned that madVR forces 3D 1080p at 23Hz. Is there a way to change that to 24Hz instead? Both are supported by nVidia at 1080p frame packed 3D, and 24Hz will be a lot closer to 23.976 than 23.

AFAIK, there doesn't seem to be a way to override/create a custom 3D resolution the same way it exists for non-3D resolutions.

Asmodian
30th January 2016, 07:13
@madshi: I noticed that on my nVidia 980 Ti, 1080p frame packed 3D 23Hz translates to really ~23.000fps (so about every 3-4minutes there's a glitch). If I remember correctly, it was mentioned that madVR forces 3D 1080p at 23Hz. Is there a way to change that to 24Hz instead? Both are supported by nVidia at 1080p frame packed 3D, and 24Hz will be a lot closer to 23.976 than 23.

AFAIK, there doesn't seem to be a way to override/create a custom 3D resolution the same way it exists for non-3D resolutions.

23Hz means ~23.976Hz, if you really had 23.000Hz there would be a glitches continuously, not every 3-4 minutes.

A glitch every 3-4 minutes is a real refresh rate of ~23.971Hz or ~23.981Hz. My 980 Ti runs at about 23.9715Hz so I think you are exactly as expected. Sorry. :(

You will have to run Reclock or similar for 3D for now because smooth motion does not work with 3D (yet ;) ).