Jump to content

Information on VESA modes in ATI&NVIDIA bios


  • Please log in to reply
248 replies to this topic

#141
robbederks

robbederks

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts
So, if I get it right....

If I could patch my HD3650 BIOS, it will allow to boot Snow Leopard in full 1440x900 resolution?
Now, I'm only getting 1280x1024 as max resolution.

Is it risky to flash my graphics BIOS?

Thanks,

Robbe

#142
pr0ton

pr0ton

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts

So, if I get it right....

If I could patch my HD3650 BIOS, it will allow to boot Snow Leopard in full 1440x900 resolution?
Now, I'm only getting 1280x1024 as max resolution.

Is it risky to flash my graphics BIOS?

Thanks,

Robbe


Yes, it would display the full resolution. New Chameleon RC5 build has the module Resolution.dylib, so flashing the GPU's BIOS isn't needed anymore.

#143
Mac Boy

Mac Boy

    InsanelyMac Protégé

  • Members
  • PipPip
  • 98 posts
It also seems that NVIDIA cards attached via DVI eliminate modes higher than 1280x1024. To test this out, I connected my 9800GT via VGA and 3 new 1600x1200 modes appeared! I still can't get 1920x1280. Here's a BIOS hack that shows how to remove this limitation.

#144
Funky frank

Funky frank

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 289 posts
Hello DieBuche,

the AnalyzeVBIOS tool does not report anything with this bios from my HD5570:

Attached File  1002_68d9_e142174b_over.rom.zip   38.14KB   24 downloads


Is there a special search string to find the resolution tables?

Thanks for help...

#145
marmotta

marmotta

    InsanelyMac Protégé

  • Members
  • PipPip
  • 65 posts
Any news for nvidia fermi? (i have gtx465) I have the same problems of user maxos.... black borders and vesa limited resolutions (no 1080p)

#146
AndyGuil

AndyGuil

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
HOLY {censored}


it worked!!!!!! Full 2560x1440x32 Resolution on an Apple 27" Cinema Display, Asus 6870.



Awesome guide, Thank you!!!!!

#147
vboyz

vboyz

    InsanelyMac Protégé

  • Members
  • PipPip
  • 69 posts
So how can I extract my current ROM from the vid card? Mine is NVIDIA 9800 GTX+ 512 MB

#148
ScorpionX41

ScorpionX41

    InsanelyMac Protégé

  • Members
  • Pip
  • 30 posts
  • Gender:Male
  • Location:Berlin, Germany
Hey,

didn't check this tutorial...
Could someone please help me?

Got same Problem with Gainward GTX275 896MB.
Got Windows 7 and Mac OS X Lion.

How can I get Startup Resolution to 1920x1080?

Thanks!

ScorpionX

#149
webJockey

webJockey

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts
Hi DieBuche, I have successfully updated my vbios using your guide and I really appreciate your knowledge and guide. I now have unsquased apple logo with correct resolution. But I still see black border around chameleon/apple boot screen (around all corners, about 1 inch thick). I know its under scanning issue, But I just dont know how to fix it, and you seems to me the most knowledgeble person on this. But this black border only appears if I am using DVI input and NOT on VGA. I have tried different monitors with1080p resolution, but issue remains the same, so its not a monitor issue. Once windows/mac has booted up I get get perfect resolution of 1080p. I am using ATI 5750. I have added the resolution in apple.com.plist and modified theme. ATI CCC only hepls scaliing/underscanning/overscaaning issue when syatem has booted up. It does not correct it on initial boot i.e. bios splash screen/ apple grey screen/windows safe mod when the gpu driver has not loaded.

I would really apprecaite your help on this.

#150
hys17

hys17

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts
  • Gender:Male
  • Interests:Film Editing<br />3D Animation<br />Computer Game<br />Badminton<br...
Hello there,

Thank you very much for the great post. I've tried it on my EVGA GTX 280 however it didn't work with neither 1440x900 or 1920x1080(ideal for my monitors). I've even searched info for this card and yet found it seems impossible to add new VESA modes into the BIOS of this brand.

Anyway, here're the BIOS. One is the original, one is the modified based on your guide. If anyone can find out some solution that'd be so appreciated.

Attached File  GTX_280_BIOS.zip   81.88KB   7 downloads

Thank you so much.

#151
colorfuel

colorfuel

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 125 posts

Yes, it would display the full resolution. New Chameleon RC5 build has the module Resolution.dylib, so flashing the GPU's BIOS isn't needed anymore.



Ok, so how do I get the boot menu to show up in 1680x1050?

It seems my 6870 VESA only supports 4:3 resolutions, resulting in 1400x1050 max resolution for my monitor.


Note: Once booted, any resolution works properly.

#152
AdobeEditor

AdobeEditor

    InsanelyMac Protégé

  • Members
  • Pip
  • 30 posts

Ok, so how do I get the boot menu to show up in 1680x1050?

It seems my 6870 VESA only supports 4:3 resolutions, resulting in 1400x1050 max resolution for my monitor.


Note: Once booted, any resolution works properly.


This is my dilemma as well. Hopefully someone can figure out how to fix this...

#153
Mac Boy

Mac Boy

    InsanelyMac Protégé

  • Members
  • PipPip
  • 98 posts
hys17, I took a look at your BIOSes.

Here's your original table:
-------------------------------------------------------------------------------
Table 2: 16 modes, 32 bytes each
-------------------------------------------------------------------------------
1 32483 [1024 x 768] 0004ff030000ff0317049f043f050003ff020000ff0202030803250300ff302a
2 32515 [1280 x 1024] 0005ff040000ff042f059f0597060004ff030000ff0300040304290400ff302a
3 32547 [1280 x 1024] 0005ff040000ff042f059f0597060004ff030000ff0300040304290400ff302a
4 32579 [1400 x 1050] 7805770500007705a705170697061a041904000019041a041d04290400ff483f
5 32611 [1600 x 1200] 40063f0600003f067f063f076f08b004af040000af04b004b304e10411ff204e
6 32643 [2048 x 1536] 0008ff070000ff072f083f085f080006ff050000ff0510061106120611ff5456
7 32675 [2048 x 1536] 0008ff070000ff073f085f083f090006ff050000ff0510061106120611ffa00f
8 32707 [ 800 x 600] 20031f0300001f034703c7031f04580257020000570258025c02730211ffa41f
9 32739 [1280 x 768] 0005ff040000ff042f059f0597060003ff020000ff0202030803210301ff0000
10 32771 [ 0 x 0] 0000000000000000000000000000000000000000000000000000000000ff9525
11 32803 [1440 x 900] a0059f0500009f05df05ff05df068403830300008303860389038f0300ff952e
12 32835 [1680 x 1050] 90068f0600008f06bf06df062f071a041904000019041b042104370400ff2f3f
13 32867 [1920 x 1200] 80077f0700007f07e30703088708b004af040000af04b104b704d20400ff0000
14 32899 [ 0 x 0] 0000000000000000000000000000000000000000000000000000000000ff421d
15 32931 [1280 x 800] 0005ff040000ff04c305f305ff0520031f0300001f03240327032b0300ff0000
16 32963 [ 0 x 0] 0000000000000000000000000000000000000000000000000000000000ff0020


And here's your mod:
-------------------------------------------------------------------------------
Table 2: 16 modes, 32 bytes each
-------------------------------------------------------------------------------
1 32483 [1024 x 768] 0004ff030000ff0317049f043f050003ff020000ff0202030803250300ff302a
2 32515 [1280 x 1024] 0005ff040000ff042f059f0597060004ff030000ff0300040304290400ff302a
3 32547 [1280 x 1024] 0005ff040000ff042f059f0597060004ff030000ff0300040304290400ff302a
4 32579 [1400 x 1050] 7805770500007705a705170697061a041904000019041a041d04290400ff483f
5 32611 [1600 x 1200] 40063f0600003f067f063f076f08b004af040000af04b004b304e10411ff204e
6 32643 [2048 x 1536] 0008ff070000ff072f083f085f080006ff050000ff0510061106120611ff5456
7 32675 [2048 x 1536] 0008ff070000ff073f085f083f090006ff050000ff0510061106120611ffa00f
8 32707 [ 800 x 600] 20031f0300001f034703c7031f04580257020000570258025c02730211ffa41f
9 32739 [1280 x 768] 0005ff040000ff042f059f0597060003ff020000ff0202030803210301ff0000
10 32771 [1920 x 1080] 80077f0700007f07e30703088708380437040000370439043f045a0400ff0000
11 32803 [1440 x 900] a0059f0500009f05df05ff05df068403830300008303860389038f0300ff952e
12 32835 [1680 x 1050] 90068f0600008f06bf06df062f071a041904000019041b042104370400ff2f3f
13 32867 [1920 x 1200] 80077f0700007f07e30703088708b004af040000af04b104b704d20400ff0000
14 32899 [1680 x 1050] 90068f0600008f06bf06df062f071a041904000019041b042104370400ff2f3f
15 32931 [1280 x 800] 0005ff040000ff04c305f305ff0520031f0300001f03240327032b0300ff0000
16 32963 [1440 x 900] a0059f0500009f05df05ff05df068403830300008303860389038f0300ff952e


You added some resolutions (1680x1050 and 1440x900) that were already present so they will have no effect. And 1920x1080 is not a standard VESA resolution so it might not work.

However, the real problem might be that any resolution above 1280x1024 is being blocked no matter what you have in the tables. This seems to be the case with my 9800GT. A few posts back, I posted a link to a site that showed how to unblock those modes. I just can't find the proper offsets in my BIOS to try it.

In the mean time, you can try this solution: http://www.insanelym...p...=255510&hl=

#154
AdobeEditor

AdobeEditor

    InsanelyMac Protégé

  • Members
  • Pip
  • 30 posts

hys17, I took a look at your BIOSes.

You added some resolutions (1680x1050 and 1440x900) that were already present so they will have no effect. And 1920x1080 is not a standard VESA resolution so it might not work.

However, the real problem might be that any resolution above 1280x1024 is being blocked no matter what you have in the tables. This seems to be the case with my 9800GT. A few posts back, I posted a link to a site that showed how to unblock those modes. I just can't find the proper offsets in my BIOS to try it.

In the mean time, you can try this solution: http://www.insanelym...p...=255510&hl=


Thanks. Only thing I can't figure out is if my 560Ti should be able to support VESA 1680x1050? I don't know how to find out. If I can boot into the OS and after the bootloader screens it is fine then I didn't know what approach I should take. Kind of a noob at hacking the BIOS (my specs are below in my signature if it depends on my motherboard)

#155
crocket

crocket

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
Before flashing GTX460 with a new rom

$ analysevbios haostar-gtx460.rom
Attempting to open haostar-gtx460.rom
Length:60416
Found 1. possible NVIDIA Mode at 0x4193(Decimal:16787)
Empty Table at 0x42b3(Decimal:17075)
Empty Table at 0x4333(Decimal:17203)
Empty Table at 0x4373(Decimal:17267)
Correct number of finds
Mod should be working

# hwinfo --framebuffer
02: None 00.0: 11001 VESA Framebuffer
[Created at bios.459]
Unique ID: rdCR.BfO5bYYtG87
Hardware Class: framebuffer
Model: "NVIDIA GF104 Board - 10410001"
Vendor: "NVIDIA Corporation"
Device: "GF104 Board - 10410001"
SubVendor: "NVIDIA"
SubDevice:
Revision: "Chip Rev"
Memory Size: 14 MB
Memory Range: 0xd5000000-0xd5dfffff (rw)
Mode 0x0300: 640x400 (+640), 8 bits
Mode 0x0301: 640x480 (+640), 8 bits
Mode 0x0303: 800x600 (+800), 8 bits
Mode 0x0305: 1024x768 (+1024), 8 bits
Mode 0x0307: 1280x1024 (+1280), 8 bits
Mode 0x030e: 320x200 (+640), 16 bits
Mode 0x030f: 320x200 (+1280), 24 bits
Mode 0x0311: 640x480 (+1280), 16 bits
Mode 0x0312: 640x480 (+2560), 24 bits
Mode 0x0314: 800x600 (+1600), 16 bits
Mode 0x0315: 800x600 (+3200), 24 bits
Mode 0x0317: 1024x768 (+2048), 16 bits
Mode 0x0318: 1024x768 (+4096), 24 bits
Mode 0x031a: 1280x1024 (+2560), 16 bits
Mode 0x031b: 1280x1024 (+5120), 24 bits
Mode 0x0330: 320x200 (+320), 8 bits
Mode 0x0331: 320x400 (+320), 8 bits
Mode 0x0332: 320x400 (+640), 16 bits
Mode 0x0333: 320x400 (+1280), 24 bits
Mode 0x0334: 320x240 (+320), 8 bits
Mode 0x0335: 320x240 (+640), 16 bits
Mode 0x0336: 320x240 (+1280), 24 bits
Mode 0x033d: 640x400 (+1280), 16 bits
Mode 0x033e: 640x400 (+2560), 24 bits
Mode 0x0360: 1280x800 (+1280), 8 bits
Mode 0x0361: 1280x800 (+5120), 24 bits
Config Status: cfg=new, avail=yes, need=no, active=unknown
________________________________________________________________________________
After changing
0004FF030000FF0317049F043F050003FF020000FF0202030803250300FF302A to
80077F0700007F07E30703088708380437040000370439043F045A0400FF0000 at 0x4193,
and flashing the new rom.

$ analysevbios haostar-gtx460-1920x1080.rom
Attempting to open haostar-gtx460-1920x1080.rom
Length:60416
(What? nothing?)

# hwinfo --framebuffer
02: None 00.0: 11001 VESA Framebuffer
[Created at bios.459]
Unique ID: rdCR.BfO5bYYtG87
Hardware Class: framebuffer
Model: "NVIDIA GF104 Board - 10410001"
Vendor: "NVIDIA Corporation"
Device: "GF104 Board - 10410001"
SubVendor: "NVIDIA"
SubDevice:
Revision: "Chip Rev"
Memory Size: 14 MB
Memory Range: 0xd5000000-0xd5dfffff (rw)
Mode 0x0300: 640x400 (+640), 8 bits
Mode 0x0301: 640x480 (+640), 8 bits
Mode 0x0303: 800x600 (+800), 8 bits
Mode 0x0305: 1024x768 (+1024), 8 bits
Mode 0x0307: 1280x1024 (+1280), 8 bits
Mode 0x030e: 320x200 (+640), 16 bits
Mode 0x030f: 320x200 (+1280), 24 bits
Mode 0x0311: 640x480 (+1280), 16 bits
Mode 0x0312: 640x480 (+2560), 24 bits
Mode 0x0314: 800x600 (+1600), 16 bits
Mode 0x0315: 800x600 (+3200), 24 bits
Mode 0x0317: 1024x768 (+2048), 16 bits
Mode 0x0318: 1024x768 (+4096), 24 bits
Mode 0x031a: 1280x1024 (+2560), 16 bits
Mode 0x031b: 1280x1024 (+5120), 24 bits
Mode 0x0330: 320x200 (+320), 8 bits
Mode 0x0331: 320x400 (+320), 8 bits
Mode 0x0332: 320x400 (+640), 16 bits
Mode 0x0333: 320x400 (+1280), 24 bits
Mode 0x0334: 320x240 (+320), 8 bits
Mode 0x0335: 320x240 (+640), 16 bits
Mode 0x0336: 320x240 (+1280), 24 bits
Mode 0x033d: 640x400 (+1280), 16 bits
Mode 0x033e: 640x400 (+2560), 24 bits
Mode 0x0360: 1280x800 (+1280), 8 bits
Mode 0x0361: 1280x800 (+5120), 24 bits
Config Status: cfg=new, avail=yes, need=no, active=unknown

Result : Nothing actually changed, so I flashed the old rom again.

I attached the roms as an txt files because the attachment editor wouldn't let me upload .rom files.

How can I put 1920x1080 in vbios tables?

Attached Files



#156
diskeeper

diskeeper

    InsanelyMac Protégé

  • Members
  • PipPip
  • 58 posts
  • Gender:Male
Same here with EVGA GTX460 SC. Nothing changed after flash.

#157
smsaim

smsaim

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts
  • Gender:Male
  • Location:Toronto

Same here with EVGA GTX460 SC. Nothing changed after flash.


Same here, no change after Hex edit and flash. 100% sure I edited as per instructions, and flashed successfully too.

#158
colorfuel

colorfuel

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 125 posts

This is my dilemma as well. Hopefully someone can figure out how to fix this...


I found a solution.

I installed one of the later chameleon updates (with icloud support) and put the file Resolution.dylib inside /extra/modules

and of course the

<key>Graphics Mode</key>
<string>1680x1050x32</string>

line in boot plist.


hope that helps you aswell.

#159
dublove

dublove

    InsanelyMac Protégé

  • Members
  • PipPip
  • 74 posts
I have just done this mod on my ASUS 5870 and it works!

My card is an Asus EAH5870/G/2DIS/1GD5 connected via dvi to a dell 2407. I wanted 1920x1200 for chameleons gui as I used to have this with my gtx285 using the anval booter. Since I am now using chameleon 2.1 r1650 for Lion the game has changed!


The instructions are perhaps a little scarce in the original post for ATI owners so below is a picture guide as to what I did. I will also attach the stock & modified bios so you can compare what I did.


1:

Get your bios from your 5870 using gpuz in windows.


2:

run analysevbios on it and you should get 5 'modes' shown similar to the screen shot below. We have to edit all of them.

Posted Image

write down the hex of the 5 tables, i.e. a9ee, aa0a etc.


3:

Open your extracted bios using RBE 'radeon bios editor'. Click the hex dump button.

Now on the right in the 'jump to pos' field type in the hex value of your first table and click go!

it'l jump and you will see the 6byte value on the left 20 03 00 01 58 02 exactly like in DieBuche's post. Highlighted in pic Below.

Posted Image


4: Changing the modes to 1920x1200 resolution.


Mode 1 (a9ee)

Now we are not interested in the bytes 3&4 of that string. This is the case for every table. So the first edit I change 20 03 00 01 58 02 to 80 07 00 01 B0 04. We change bytes 1&2 & 5&6, leaving bytes 3&4 as they were.

Mode 2 (aa0a)

Lets jump to position aa0a in RBE. Look at the bytes and you'll see almost the same as before except bytes 3&4 in the middle are different. Edit bytes 1&2 & 5&6 to the same as you did before. So 20 03 E0 00 58 02 becomes 80 07 E0 00 B0 04.

Posted Image

Do this for the remaining 3 modes.


5:

Lets click on 'okay (applies changes)' in RBE and make sure the checkbox 'automatic checksum handling' is ticked.

Now save the modified bios out of RBE. I called mine mod.rom for ease.


6:

Lets run analysevbios on the modified rom. Now what should actually happen is that it will show no 'modes' found. See my screenshot.

Posted Image

What is happening is analysevbios is searching for modes that are 800x600. We have just changed those modes to 1920x1200 so of course it will show nothing found because there is no longer 800x600!!!

That's it now - just got to flash the bios.


Flashing the bios.

I used the latest atiflash on a win98 bootable usb drive. You should experiment first - I created a bootable usb dos drive. Now I had to flash my bios with 'atiflash -f -p 0 mod.rom' I was planning to use the -pa flag which is supposed to flash all adaptors in the system without question - However it fails for me and demands I choose the adaptor number. atiflash -i tells me my adaptor is 0.

So knowing the right flash command i created a second bootable usb drive with my unmodified bios on. This was my blindflash failsafe. I put 'atiflash -reboot -f -p 0 stock.rom' into auto exec.bat. The reboot flag tells it to reboot after flashing so I know its finished.

Lastly on my gigabyte ex58-ud5, it seems to have an issue booting of usb reliably. To make sure the blind flash was gonna work I unplugged my regular hard drives and set the first boot drive to be 'usb-hdd' This ensures it will boot from the usb no matter what.

Enjoy!

#160
webJockey

webJockey

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts
Hi Dublove, thank you so much for detailed guide, I hope that should help many hackintoshers out there. I am trying to add 1920x1080 vesa mode to my Gigabyte HD5750 but I am stuck on step 2 (analysing vbios). when I execute the commad in terminal, all I get is info about lenth. I dont get any info on modes. I have tried many ways but same results. I am doing it on Lion, may be that is the reason.

I have attached my vbios and would really appreciate if you could analyse it on your system and tell me what are the 5 modes (eg: A9EE) for my bios. I can do the rest. Note: there are two bioses in bioses folder, one extracted via gpuz and one via winflash.

Once again, thank you so much for doing it for our hackintosh community.

Attached Files







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy