Monitor Tests Forum

Full Version: Custom Resolution Utility (CRU)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
(03-08-2023 09:40 PM)MightyEagle82 Wrote: [ -> ]I want to use the app in WinPE which does not have 32-bit subsystem. Could you build 64-bit version of the app?
I really need it. I have bought a laptop with UHD display but it looks like Windows 10 PE does not support it. And by default it uses 800x600 or 1024x768 that is not enough for applications which I run. So CRU would help me a lot with this.
I can't make a 64-bit version until 2.x because the compiler and frameworks I used to create 1.x are too old. CRU would not have an effect in such an environment anyway. CRU needs a graphics driver that supports EDID overrides.
I was wondering if anyone here has an educated opinion about Samsung C4RG9x (32" super ultrawide, 5120x1440, 120hz)
using the available samsungmonitor driver and editing HDR STATIC METADATA to fix HDR Mode in Windows 11 dimming the desktop by ~25% compared to HDR off. (Yes the lumination slider is all the way to the right already,in HDR settings)

Monitor driver used: [attachment=1143]

OFC i did use search to find something applicable..but no luck.

[Image: cDS0Nq.jpg]

Sleepy

The max brightness of this Screen is 1000 nits and its running in 10bit RGB via Display Port
GPU 3070 TI ,EVGA FTW3

i am a bit worried to mess around with it might cause major headache so id like to hear expert opinion about it first.

PS: im a bit puzzled that i dont see my native resolution anywhere in that screenshot btw ,strikes me as odd, the driver works fine otherwise
(03-08-2023 06:36 PM)ToastyX Wrote: [ -> ]
(03-08-2023 05:08 PM)Parallellines Wrote: [ -> ]These are my usual edits:
https://i.imgur.com/N6TIWO9.png

This is what the resolutions look like on Windows before and after any CRU edits:
https://i.imgur.com/DIgYPSl.png

The "Test" EDIDs are what I mentioned in my other post. For them, I only changed the value for the lower freesync limit and nothing else, just in three different ways:

1. Changed the 40hz lower bound to 30hz directly in CRU and exported the EDID
2. Hex edited the value in the default EDID and imported the file with CRU
3. Applied the hex edited EDID directly in the registry without using CRU

I thought CRU would only change the one byte responsible for the lower freesync limit and the checksum, but it made a bunch of other changes as you can see here (left side is the hex edited EDID and right is the CRU export). One or more of these changes break the resolutions available in Windows.

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

I expected tests #2 and #3 to yield identical results, but actually #2 was the same as #1. I rebooted and exported the previously imported hex edited EDID using CRU and the output file was the same as the direct CRU edit, byte for byte (I imagined that CRU would just accept the file and apply it directly, but instead it made edits).

The only way I could apply my hex edited EDID correctly was by adding it in the registry manually without CRU.

I tried hex editing my other usual tweaks but I couldn't figure out the rest of the file structure so I hoped you could help me with that. All I need is to extend the Freesync range and remove any resolutions above 2560x1080 (or at least just 3840x2160 I suppose, since 3840x1620 has the same aspect ratio as my native one) from the Windows selection menu while keeping the same recommended one.
CRU always sets certain things the same way for simplicity. The only major difference I see is CRU doesn't include the range limits by default except for FreeSync with DisplayPort. Does including the range limits using the "Edit..." button at the top fix the problem? This shouldn't be required except to define the FreeSync range with DisplayPort. I would consider this a driver bug because that shouldn't affect the recommended resolution, and if it were actually using that information, the 4K resolutions wouldn't be available. For HDMI, it's supposed to use the information in the HDMI data blocks, and for HDMI FreeSync, it's supposed to use the FreeSync data block.

I use HDMI, not DisplayPort, so setting the range there at the top wouldn't do anything. And yeah I suppose it's a driver bug indeed since everything worked normally with my 580.
I managed to figure out how to hex edit all my tweaks and this is the result with VSR enabled (now it properly adds the three resolutions at the top). I still had to apply it manually in the registry though, but that's okay I guess.

[Image: QphKzNh.png]

Thanks for the replies anyway!
(03-09-2023 03:46 AM)Parallellines Wrote: [ -> ]I use HDMI, not DisplayPort, so setting the range there at the top wouldn't do anything. And yeah I suppose it's a driver bug indeed since everything worked normally with my 580.
I managed to figure out how to hex edit all my tweaks and this is the result with VSR enabled (now it properly adds the three resolutions at the top). I still had to apply it manually in the registry though, but that's okay I guess.

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

Thanks for the replies anyway!
I need to know if including the range works or not, not just changing the range, which has no effect if it's not included. There's nothing special about your hex edit, so there's no reason why this shouldn't work with CRU.
(03-09-2023 03:24 AM)Sabrehawk Wrote: [ -> ]I was wondering if anyone here has an educated opinion about Samsung C4RG9x (32" super ultrawide, 5120x1440, 120hz)
using the available samsungmonitor driver and editing HDR STATIC METADATA to fix HDR Mode in Windows 11 dimming the desktop by ~25% compared to HDR off. (Yes the lumination slider is all the way to the right already,in HDR settings)
HDR is supposed to be dimmer than full brightness. The whole point of HDR is to use the brightest shades for the bright parts of HDR content only. If you want full brightness, disable HDR.
(03-09-2023 12:13 PM)ToastyX Wrote: [ -> ]
(03-09-2023 03:46 AM)Parallellines Wrote: [ -> ]I use HDMI, not DisplayPort, so setting the range there at the top wouldn't do anything. And yeah I suppose it's a driver bug indeed since everything worked normally with my 580.
I managed to figure out how to hex edit all my tweaks and this is the result with VSR enabled (now it properly adds the three resolutions at the top). I still had to apply it manually in the registry though, but that's okay I guess.

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

Thanks for the replies anyway!
I need to know if including the range works or not, not just changing the range, which has no effect if it's not included. There's nothing special about your hex edit, so there's no reason why this shouldn't work with CRU.

Including it still broke the resolutions. As I said, it happens with any edits whatsoever and I only used the Freesync range value as a quick example.

I also took the opportunity to do another test: I reset everything and simply imported the default, untouched EDID using CRU. That still broke the resolutions somehow.

And yes, the hex edit isn't special, but shouldn't CRU only touch the absolutely required bytes instead of messing with the rest of the file structure? These issues stem from those other edited bytes.

On a related note, I forgot to mention that I had a weird issue with my 580. Whenever the monitor would wake from sleep the entire screen would be dim except for the mouse cursor and the fix was to change the resolution or press CTRL+SHIFT+WIN+B. Again, that only happened when I made edits with CRU and I just dealt with it for years and didn't think much about it. This doesn't happen anymore with the 5700XT.
I'm having a problem with my Philips 27M1F5800. The monitor is capable of outputting 3840x2160 @ 144Hz, 120Hz, etc... but I can only find 3840x2160 @ 60Hz, and then a load of lower resolutions at 100Hz and 120Hz etc. I cannot find 3840x2160 @ 144Hz or 120Hz anywhere.

Can someone help me find the resolutions I see in Windows?

The GPU is a 4090

https://i.ibb.co/6sY087x/Screenshot-1.jpg

https://i.ibb.co/n1rhZSz/Screenshot-3.jpg
(03-09-2023 05:21 PM)Waldo Wrote: [ -> ]I'm having a problem with my Philips 27M1F5800. The monitor is capable of outputting 3840x2160 @ 144Hz, 120Hz, etc... but I can only find 3840x2160 @ 60Hz, and then a load of lower resolutions at 100Hz and 120Hz etc. I cannot find 3840x2160 @ 144Hz or 120Hz anywhere.

Can someone help me find the resolutions I see in Windows?
They're in the DisplayID extension block.
(03-09-2023 04:37 PM)Parallellines Wrote: [ -> ]Including it still broke the resolutions. As I said, it happens with any edits whatsoever and I only used the Freesync range value as a quick example.

I also took the opportunity to do another test: I reset everything and simply imported the default, untouched EDID using CRU. That still broke the resolutions somehow.

And yes, the hex edit isn't special, but shouldn't CRU only touch the absolutely required bytes instead of messing with the rest of the file structure? These issues stem from those other edited bytes.
It's not that simple. Every behavior in CRU is done for a reason. CRU was not originally meant to be a complete EDID editor, so certain values are always set a certain way; otherwise I would have to design a UI that allows users to edit fields that have no effect. I also have workarounds for certain driver bugs and invalid values so users don't have to worry about that stuff.

CRU 2.0 will be redesigned to be a more complete EDID editor, but there are still some cases where it may not be possible to preserve the original data, such as cases where the data has invalid parts that cannot be properly represented, which CRU 1.x currently fixes or removes automatically. I'm currently trying to think up a design that would allow CRU to handle and report all these situations without complicating the UI, and that significantly complicates the implementation.

I can explain every difference highlighted in your screenshot:

Bytes 0x23-0x25 (25 6b 80 / 25 4b 00): This is the list of established resolutions. CRU does not include certain resolutions that are ignored by Windows graphics drivers because I didn't want to clutter the list with resolutions that have no effect in Windows. In this case, the CRU version does not include 832x624 @ 75 Hz and 1152x870 @ 75 Hz because those resolutions are meant for old Macs. CRU 2.0 will include the complete list.

1e 4e 31 / 80 0e 21 (4 instances): This is the image size fields in each detailed resolution. This information is not used for anything in Windows, so CRU just sets a generic value (resolution ÷ 4). The reason it uses a generic value instead of preserving the original value is because if you add a new detailed resolution, there is no value to preserve, and I didn't want to add image size fields just to have people ask what they should put in there because it doesn't matter. I also wanted the result to be consistent if I deleted and recreated a resolution. For CRU 2.0, I want to allow editing the image size fields, but I'm still debating how to handle this because I also want to be able to copy and paste between different types of detailed resolutions, some of which might not have image size fields, such as DisplayID detailed resolutions.

Bytes 0x5a-0x7d: These are the last two detailed resolution or descriptor slots. The only reason this part is different is because CRU doesn't include the range limits by default except for DisplayPort monitors with FreeSync. This is done because it uses up a detailed resolution slot and can cause custom resolutions to be ignored if the driver uses this information. For instance, AMD listens to the max pixel clock for non-HDMI connections, but not NVIDIA. If you include the range limits, then this part should be the same in this case. CRU 2.0 will list descriptors separately and preserve them.

Byte 0x83 (f1 vs. 70): This is in the CTA-861 extension block. The first digit is four flags: YCbCr 4:2:2, YCbCr 4:4:4, basic audio, and underscan for PC resolutions. The only difference is CRU does not set the underscan flag unless it's also set in a video capability data block because Windows does not use this information. The second digit is the total number of native detailed resolutions. This is the only other difference I can think of that might be triggering the bug. I intentionally set it to 0, which means undefined, to make sure only the first detailed resolution is considered the native resolution. Technically 1 would mean the same thing, so if setting the second digit to 1 fixes the problem, then that's definitely an AMD driver bug, and I will have to force it to be 1 instead to work around the problem. This is a good example of why CRU needs to set certain values because otherwise the user would have to deal with this manually.

Bytes 0x7f and 0xff: These are checksums that are automatically calculated.



(03-09-2023 04:37 PM)Parallellines Wrote: [ -> ]On a related note, I forgot to mention that I had a weird issue with my 580. Whenever the monitor would wake from sleep the entire screen would be dim except for the mouse cursor and the fix was to change the resolution or press CTRL+SHIFT+WIN+B. Again, that only happened when I made edits with CRU and I just dealt with it for years and didn't think much about it. This doesn't happen anymore with the 5700XT.
This is a different AMD driver bug that doesn't seem to be triggered by anything particular in the EDID. I think 19.11.2 was the last driver without the bug.
I've been trying to add 1440x1080 to my monitor for a while, tried a lot of the timing modes but monitor always complains about being out of range. Is there some other fine tune things I can try to achieve it? I've attached the edid incase it is of any help
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
Reference URL's