Contribute
Register

Clover resolution ≠ Chameleon resolution

Status
Not open for further replies.
Joined
Mar 31, 2012
Messages
74
Motherboard
ASUS Z370-P
CPU
i5 9600K
Graphics
Intel UHD Graphics 630
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hi!

I've patched my GeForce 8400 GS VBIOS and substituted 1600x1200 resolution with 1600x1000. Everything worked with Chemeleon, I've had native 1600x1000 resolution during boot (max VESA resolution my card supports).

Things changed with UEFI bios and Clover. I now get 1600x1200 resolution again:
Code:
0:298  0:019  CsmVideoDriverBindingStart
0:300  0:001  mixed support=40010
0:301  0:001  Controller is [030000]
0:303  0:001  Check for VBE
0:480  0:177    0 640x480 attr=3BF - ok, 640x480, working, highest, pref=0
0:491  0:011    1 800x600 attr=3BF - ok, 800x600, working, highest, pref=1
0:502  0:010    2 1024x768 attr=3BF - ok, 1024x768, working, highest, pref=2
0:512  0:010    3 1280x1024 attr=3BF - ok
0:523  0:011    4 1600x1200 attr=3BF - ok
0:528  0:004    5 1280x800 attr=3BF - ok
0:531  0:003  CsmVideo: New mode: 2 1024x768 - set
0:677  0:146   - SetMode pref 2 (2) = Success
0:679  0:001  CsmVideoCheckForVbe - Success
0:681  0:001  CsmVideoDriverBindingStart end Success
0:686  0:005  CsmVideo: New mode: 2 1024x768 - blocking that switch
0:930  0:244  LoadDrivers() end
0:933  0:002  Dump SMC keys from NVRAM:
0:956  0:022     fakesmc-key-#KEY-ui32:00 00 00 11
0:967  0:011     fakesmc-key-$Adr-ui32:00 00 03 00
0:978  0:010     fakesmc-key-$Num-ui8:01
0:983  0:005     fakesmc-key-RMde-char:41
0:990  0:006     fakesmc-key-RPlt-ch8*:6B 36 30 00 00 00 00 00
1:007  0:016     fakesmc-key-RBr -ch8*:6B 36 30 00 00 00 00 00
1:023  0:016     fakesmc-key-EPCI-ui32:05 30 07 00
1:033  0:010     fakesmc-key-REV -ch8*:01 71 0F 00 00 22
1:047  0:013     fakesmc-key-BEMB-flag:00
1:053  0:005     fakesmc-key-BATP-flag:00
1:058  0:005     fakesmc-key-BNum-ui8:00
1:066  0:007     fakesmc-key-MSTc-ui8:00
1:071  0:005     fakesmc-key-MSAc-ui16:00 00
1:078  0:007     fakesmc-key-MSLD-ui8:00
1:084  0:005     fakesmc-key-MSWr-ui8:00
1:090  0:005     fakesmc-key-MSFW-ui8:01 00
1:097  0:007     fakesmc-key-MSPS-ui16:00 03
1:125  0:028  SetScreenResolution: 1600x1000 - not found!
1:128  0:003  Console modes reported: 4, available modes:
1:130  0:001    Mode 1: 80x25 (current mode)
1:131  0:001    Mode 2: 80x50
1:133  0:001    Mode 3: 100x31
1:135  0:001    Mode 4: 128x30
1:138  0:003    Setting mode (4): Success

Why the hell it's doing it? Attaching debug.log. I've already tried CSM disabling. No decent how-to about VBIOS bytes patching found (Clover Wiki sucks in general, along with the bunch of features it definitely lacks documentation), I'll be grateful if anyone points me to it.
 

Attachments

  • debug.txt
    22 KB · Views: 179
Code:
 CsmVideoDriverBindingStart
0:444  0:001  mixed support=40010
0:446  0:001  Controller is [030000]
0:447  0:001  Check for VBE
0:473  0:025  EdidOverrideFound!
0:474  0:001   found Detail Timing 1920x1200
0:483  0:008    0 640x480 attr=3BF - ok, edid+, 640x480, working, highest, pref=0
0:495  0:011    1 800x600 attr=3BF - ok, edid+, 800x600, working, highest, pref=1
0:506  0:011    2 1024x768 attr=3BF - ok, edid+, 1024x768, working, highest, pref=2
0:518  0:011    3 1280x1024 attr=3BF - ok, edid+, working, highest, pref=3
0:534  0:016    4 1600x1200 attr=3BF - ok, edid+, working, highest, pref=4
0:545  0:010    5 1280x800 attr=3BF - ok, edid+, working
0:553  0:008    6 1920x1200 attr=3BF - ok, edid+, working, highest, pref=6
0:563  0:009  CsmVideo: New mode: 6 1920x1200 - set
0:859  0:296   - SetMode pref 6 (6) = Success
0:861  0:001  CsmVideoCheckForVbe - Success
0:863  0:001  CsmVideoDriverBindingStart end Success
0:865  0:001  CsmVideo: New mode: 2 1024x768 - blocking that switch
0:869  0:004  CsmVideo: New mode: 2 1024x768 - blocking that switch
0:875  0:005  CsmVideo: New mode: 2 1024x768 - blocking that switch
1:137  0:261  EmuVariable InstallEmulation: orig vars copied, emu.var.services installed, CreateEvent VirtualAddressChange = Success, CreateEvent ExitBootServices = Success, set Status=Success
1:246  0:108  === [ InitScreen ] ========================================
1:311  0:065  SetScreenResolution: 1920x1200 - already set

I'll just leave it here (GeForce 8400 GS 512 Mb):
Code:
        <key>PatchVBiosBytes</key>
        <array>
            <dict>
                <key>Find</key>
                <data>
                bwiwBA==
                </data>
                <key>Replace</key>
                <data>
                bwjoAw==
                </data>
            </dict>
        </array>
 
1920x1200:
Code:
<key>EDID</key>
        <dict>
            <key>Custom</key>
            <data>
            AP///////wBMLSUIMzYxMyUYAQOANCB4KnOhpFRNmSYPUFQjCACB
            AIFAgYCVAKlAswABAQEBKDyAoHCwI0AwIDYABkQhAAAaAAAA/QA4
            PB5REQAKICAgICAgAAAA/ABTTVMyNEE4NTAKICAgAAAA/wBITE5G
            OTAwMDEzCiAgAGY=
            </data>
            <key>Inject</key>
            <true/>
            <key>ProductID</key>
            <string>0825</string>
            <key>VendorID</key>
            <string>4C2D</string>
        </dict>
 
Status
Not open for further replies.
Back
Top