Jump to content

which framebuffer and what modification?


boy_iran_64
 Share

38 posts in this topic

Recommended Posts

Hi

this is my vbios decocoder:

         SubsystemVendorID: 0x1002 SubsystemID: 0x292f

         IOBaseAddress: 0x3000

         Filename: HK5.019    

         BIOS Bootup Message:

THAMES SONY_Quanta_HK5_Thames_Pro_M2_DDR3                                  

PCI ID: 1002:6841

Connector at index 0

         Type [@offset 44700]: LVDS (7)

         Encoder [@offset 44704]: INTERNAL_UNIPHY (0x1e)

         i2cid [@offset 44774]: 0x96, OSX senseid: 0x7

Connector at index 1

         Type [@offset 44710]: HDMI-A (11)

         Encoder [@offset 44714]: INTERNAL_UNIPHY1 (0x20)

         i2cid [@offset 44797]: 0x90, OSX senseid: 0x1

Connector at index 2

         Type [@offset 44720]: VGA (1)

         Encoder [@offset 44724]: INTERNAL_KLDSCP_DAC1 (0x15)

         i2cid [@offset 44824]: 0x97, OSX senseid: 0x8

and output of ati-personality.pl 0.11 (0.10 not work):

Personality: Iago
ConnectorInfo count in decimal: 0
Disk offset in decimal 539520
Kext /System/Library/Extensions/ATI2600Controller.kext/Contents/MacOS/AMD2600Controller
Personality: Hypoprion
ConnectorInfo count in decimal: 0
Disk offset in decimal 539488
Personality: Lamna
ConnectorInfo count in decimal: 0
Disk offset in decimal 539520
Kext /System/Library/Extensions/ATI3800Controller.kext/Contents/MacOS/AMD3800Controller
Personality: Megalodon
ConnectorInfo count in decimal: 0
Disk offset in decimal 539472
Personality: Triakis
ConnectorInfo count in decimal: 0
Disk offset in decimal 539520
Kext /System/Library/Extensions/ATI4600Controller.kext/Contents/MacOS/AMD4600Controller
Personality: Flicker
ConnectorInfo count in decimal: 0
Disk offset in decimal 535312
Personality: Gliff
ConnectorInfo count in decimal: 0
Disk offset in decimal 535360
Personality: Shrike
ConnectorInfo count in decimal: 0
Disk offset in decimal 535408
Kext /System/Library/Extensions/ATI4800Controller.kext/Contents/MacOS/AMD4800Controller
Personality: Cardinal
ConnectorInfo count in decimal: 0
Disk offset in decimal 531248
Personality: MotMot
ConnectorInfo count in decimal: 0
Disk offset in decimal 531280
Personality: Quail
ConnectorInfo count in decimal: 0
Disk offset in decimal 531312
Kext /System/Library/Extensions/ATI5000Controller.kext/Contents/MacOS/AMD5000Controller
Personality: Douc
ConnectorInfo count in decimal: 0
Disk offset in decimal 635296
Personality: Langur
ConnectorInfo count in decimal: 0
Disk offset in decimal 635344
Personality: Uakari
ConnectorInfo count in decimal: 0
Disk offset in decimal 635392
Personality: Zonalis
ConnectorInfo count in decimal: 0
Disk offset in decimal 635456
Personality: Alouatta
ConnectorInfo count in decimal: 0
Disk offset in decimal 635552
Personality: Hoolock
ConnectorInfo count in decimal: 0
Disk offset in decimal 635616
Personality: Vervet
ConnectorInfo count in decimal: 0
Disk offset in decimal 635664
Personality: Baboon
ConnectorInfo count in decimal: 0
Disk offset in decimal 635728
Personality: Eulemur
ConnectorInfo count in decimal: 0
Disk offset in decimal 635776
Personality: Galago
ConnectorInfo count in decimal: 0
Disk offset in decimal 635824
Personality: Colobus
ConnectorInfo count in decimal: 0
Disk offset in decimal 635872
Personality: Mangabey
ConnectorInfo count in decimal: 0
Disk offset in decimal 635920
Personality: Nomascus
ConnectorInfo count in decimal: 0
Disk offset in decimal 635968
Personality: Orangutan
ConnectorInfo count in decimal: 0
Disk offset in decimal 636048
Kext /System/Library/Extensions/ATI6000Controller.kext/Contents/MacOS/AMD6000Controller
Personality: Pithecia
ConnectorInfo count in decimal: 0
Disk offset in decimal 648896
Personality: Bulrushes
ConnectorInfo count in decimal: 0
Disk offset in decimal 648928
Personality: Cattail
ConnectorInfo count in decimal: 3
Disk offset in decimal 649024
0000000    02  00  00  00  40  00  00  00  29  05  00  00  00  00  00  05
0000010    00  04  00  00  04  03  00  00  00  01  00  00  11  02  01  01
0000020    00  04  00  00  00  01  00  00  00  09  10  00  21  03  02  02
0000030
Personality: Hydrilla
ConnectorInfo count in decimal: 0
Disk offset in decimal 649088
Personality: Duckweed
ConnectorInfo count in decimal: 0
Disk offset in decimal 649168
Personality: Fanwort
ConnectorInfo count in decimal: 3
Disk offset in decimal 649232
0000000    02  00  00  00  40  00  00  00  29  05  00  00  00  00  00  04
0000010    00  04  00  00  04  03  00  00  00  01  00  00  11  02  01  01
0000020    00  04  00  00  00  01  00  00  00  09  10  00  21  03  02  02
0000030
Personality: Elodea
ConnectorInfo count in decimal: 0
Disk offset in decimal 649296
Personality: Kudzu
ConnectorInfo count in decimal: 0
Disk offset in decimal 649376
Personality: Gibba
ConnectorInfo count in decimal: 0
Disk offset in decimal 649408
Personality: Lotus
ConnectorInfo count in decimal: 0
Disk offset in decimal 649488
Personality: Ipomoea
ConnectorInfo count in decimal: 0
Disk offset in decimal 649536
Personality: Muskgrass
ConnectorInfo count in decimal: 0
Disk offset in decimal 649584
Personality: Juncus
ConnectorInfo count in decimal: 0
Disk offset in decimal 649648
Personality: Osmunda
ConnectorInfo count in decimal: 0
Disk offset in decimal 649712
Personality: Pondweed
ConnectorInfo count in decimal: 0
Disk offset in decimal 649776
Personality: Spikerush
ConnectorInfo count in decimal: 3
Disk offset in decimal 649824
0000000    02  00  00  00  40  00  00  00  29  05  01  00  00  00  00  05
0000010    00  04  00  00  04  03  00  00  00  01  02  00  11  02  01  01
0000020    00  04  00  00  00  01  00  00  00  09  02  00  21  03  02  02
0000030
Personality: Typha
ConnectorInfo count in decimal: 0
Disk offset in decimal 649888
Kext /System/Library/Extensions/ATI7000Controller.kext/Contents/MacOS/AMD7000Controller
Personality: Aji
ConnectorInfo count in decimal: 0
Disk offset in decimal 662624
Personality: Buri
ConnectorInfo count in decimal: 0
Disk offset in decimal 662688
Personality: Chutoro
ConnectorInfo count in decimal: 0
Disk offset in decimal 662752
Personality: Dashimaki
ConnectorInfo count in decimal: 0
Disk offset in decimal 662832
Personality: Ebi
ConnectorInfo count in decimal: 0
Disk offset in decimal 662896
Personality: Gari
ConnectorInfo count in decimal: 0
Disk offset in decimal 662976
Personality: Futomaki
ConnectorInfo count in decimal: 0
Disk offset in decimal 663056
Personality: Hamachi
ConnectorInfo count in decimal: 0
Disk offset in decimal 663120
Personality: OPM
ConnectorInfo count in decimal: 0
Disk offset in decimal 663184
Personality: Ikura
ConnectorInfo count in decimal: 0
Disk offset in decimal 663280
Personality: IkuraS
ConnectorInfo count in decimal: 0
Disk offset in decimal 663296
Personality: Junsai
ConnectorInfo count in decimal: 0
Disk offset in decimal 663392
Personality: Kani
ConnectorInfo count in decimal: 0
Disk offset in decimal 663488
Personality: KaniS
ConnectorInfo count in decimal: 0
Disk offset in decimal 663504
Personality: DashimakiS
ConnectorInfo count in decimal: 0
Disk offset in decimal 663600
Personality: Maguro
ConnectorInfo count in decimal: 0
Disk offset in decimal 663664
Personality: MaguroS
ConnectorInfo count in decimal: 0
Disk offset in decimal 663680

please guide me for kext modification

i study

Editing ATI/AMD Framebuffer Personality by rampagedev

but i confuse for selected framebuffer (which is better ? Cattail !Fanwort ! Spikerush!) and find ControlFlags

thanks

(my Graphics card is radeon7650m and my laptop is vaio sve15117fdb)

Link to comment
Share on other sites

redsock_bios_decoder :

THAMES SONY_Quanta_HK5_Thames_Pro_M2_DDR3                                  

Subsystem Vendor ID: 1002

       Subsystem ID: 292f

Object Header Structure Size: 199

Connector Object Table Offset: 34

Router Object Table Offset: 0

Encoder Object Table Offset: 99

Display Path Table Offset: 12

Connector Object Id [14] which is [LVDS]

         encoder obj id [0x1e] which is [INTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] linkb: false

Connector Object Id [12] which is [HDMI_TYPE_A]

         encoder obj id [0x20] which is [INTERNAL_UNIPHY1 (osx txmit 0x11 [duallink 0x1] enc 0x2)] linkb: false

Connector Object Id [5] which is [VGA]

         encoder obj id [0x15] which is [INTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)]

linkb: false

Please guide me for making modification kext

:help: 

i not find

Link to comment
Share on other sites

You have three ports.

Kext /System/Library/Extensions/ATI7000Controller.kext/Contents/MacOS/AMD7000Controller
Personality: Aji
ConnectorInfo count in decimal: 4
Disk offset in decimal 608736
0000000    00  04  00  00  04  03  00  00  00  01  01  00  12  04  05  01
0000010    00  04  00  00  04  03  00  00  00  01  02  00  22  05  04  02
0000020    04  00  00  00  14  02  00  00  00  01  03  00  00  00  03  06
0000030    00  08  00  00  04  02  00  00  00  01  04  00  11  02  01  04
0000040
Personality: Buri
ConnectorInfo count in decimal: 4
Disk offset in decimal 608800
0000000    02  00  00  00  00  01  00  00  29  05  01  00  10  00  05  05
0000010    00  04  00  00  04  03  00  00  00  09  02  00  11  02  01  01
0000020    00  04  00  00  04  03  00  00  00  09  03  00  21  03  02  02
0000030    00  08  00  00  04  02  00  00  00  01  04  00  12  04  03  03
0000040
Personality: Chutoro
ConnectorInfo count in decimal: 5
Disk offset in decimal 608864
0000000    02  00  00  00  00  01  00  00  09  01  01  00  12  04  03  03
0000010    00  04  00  00  04  03  00  00  00  01  02  00  11  02  01  01
0000020    00  04  00  00  00  01  00  00  00  09  03  00  21  03  02  02
0000030    00  04  00  00  00  01  00  00  00  09  04  00  22  05  04  04
0000040    00  04  00  00  04  03  00  00  00  01  05  00  10  00  05  05
0000050
Personality: Dashimaki
ConnectorInfo count in decimal: 4
Disk offset in decimal 608944
0000000    00  04  00  00  04  03  00  00  00  01  01  00  12  04  02  02
0000010    00  04  00  00  04  03  00  00  00  01  02  00  22  05  03  05
0000020    04  00  00  00  14  02  00  00  00  01  03  00  00  00  04  04
0000030    00  08  00  00  04  02  00  00  00  01  04  00  11  02  01  01
0000040
Personality: Ebi
ConnectorInfo count in decimal: 5
Disk offset in decimal 609008
0000000    02  00  00  00  00  01  00  00  09  01  01  00  12  04  03  03
0000010    00  04  00  00  04  03  00  00  00  01  02  00  11  02  01  01
0000020    00  04  00  00  00  01  00  00  00  09  03  00  21  03  02  02
0000030    00  04  00  00  00  01  00  00  00  09  04  00  22  05  04  04
0000040    00  04  00  00  04  03  00  00  00  01  05  00  10  00  05  05
0000050
Personality: Gari
ConnectorInfo count in decimal: 5
Disk offset in decimal 609088
0000000    02  00  00  00  00  01  00  00  09  01  01  00  12  04  03  03
0000010    00  04  00  00  04  03  00  00  00  01  02  00  11  02  01  01
0000020    00  04  00  00  00  01  00  00  00  09  03  00  21  03  02  02
0000030    00  04  00  00  00  01  00  00  00  09  04  00  22  05  04  04
0000040    00  04  00  00  04  03  00  00  00  01  05  00  10  00  05  05
0000050
Personality: Futomaki
ConnectorInfo count in decimal: 4
Disk offset in decimal 609168
0000000    00  04  00  00  04  03  00  00  00  01  01  00  12  04  04  01
0000010    00  04  00  00  04  03  00  00  00  01  02  00  22  05  05  02
0000020    04  00  00  00  14  02  00  00  00  01  03  00  00  00  06  06
0000030    00  08  00  00  04  02  00  00  00  01  04  00  11  02  01  03
0000040
Personality: Hamachi
ConnectorInfo count in decimal: 4
Disk offset in decimal 609232
0000000    00  04  00  00  04  03  00  00  00  01  01  00  12  04  05  01
0000010    00  04  00  00  04  03  00  00  00  01  02  00  22  05  04  02
0000020    04  00  00  00  14  02  00  00  00  01  03  00  00  00  03  06
0000030    00  08  00  00  04  02  00  00  00  01  04  00  11  02  01  04
0000040
Personality: OPM
ConnectorInfo count in decimal: 6
Disk offset in decimal 609296
0000000    00  04  00  00  04  03  00  00  00  01  00  00  11  02  01  01
0000010    00  04  00  00  04  03  00  00  00  01  00  00  21  03  02  02
0000020    00  04  00  00  04  03  00  00  00  01  00  00  12  04  03  03
0000030    00  04  00  00  04  03  00  00  00  01  00  00  22  05  04  04
0000040    00  04  00  00  04  03  00  00  00  01  00  00  10  00  05  05
0000050    00  04  00  00  14  03  00  00  00  01  00  00  20  01  06  06
0000060
Personality: Ikura
ConnectorInfo count in decimal: 6
Disk offset in decimal 609392
0000000    00  04  00  00  04  03  00  00  00  01  01  00  11  02  01  03
0000010    00  04  00  00  04  03  00  00  00  01  02  00  21  03  02  04
0000020    00  04  00  00  04  03  00  00  00  01  83  00  12  04  03  01
0000030    00  04  00  00  04  03  00  00  00  01  04  00  22  05  04  02
0000040    00  04  00  00  04  03  00  00  00  01  05  00  10  00  05  05
0000050    00  04  00  00  04  03  00  00  00  01  06  00  20  01  06  06
0000060
Personality: IkuraS
ConnectorInfo count in decimal: 1
Disk offset in decimal 609488
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010

As you can see there is no card for 3-ports. But it's not mean that we can nothing to do.

 ConnectorType
02 00 00 00  LVDS
04 00 00 00  DVI DL(Dual Link)
00 02 00 00  DVI SL(Single Link)
10 00 00 00  VGA
80 00 00 00  S-V
00 04 00 00  DP
00 08 00 00  HDMI 

02  00  00  00  00  01  00  00  09  01  01  00  10  00  00  07

00  08  00  00  04  02  00  00  00  01  04  00  11  02  01  01

10  00  00  00  10  00  00  00  00  01  00  00  00  10  02  08

00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00

 

02  00  00  00  00  01  00  00  09  01  01  00  10  00  00  07

00  08  00  00  04  02  00  00  00  01  04  00  11  02  01  01

10  00  00  00  10  00  00  00  00  01  00  00  00  10  02  08

00  00  00  00  00  00  00  00  00  00  00  00  00  00  03  00

 

02  00  00  00  00  01  00  00  09  01  01  00  10  00  01  07

00  08  00  00  04  02  00  00  00  01  04  00  11  02  02  01

10  00  00  00  10  00  00  00  00  01  00  00  00  10  03  08

00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00

Choose third variant and patch Buri for example.

If it doesn't work. Try second and first variant.

+ you must have injection by DSDT or boor-loader.

Link to comment
Share on other sites

my laptop have 3 port:

1-lvsd

2-VGA

3-HDMI

my graphics card(Radeon HD 7650M) use AMD6000Controller.kext because my graphics is based on the same chip as the Radeon HD 6650M, but has a lower core clock of 450 - 550 MHz.

I'm confused :(

Now, I'm confused because I always thought ATI5xxx should use AMD5000Controller. With 6000 and 7000 either.

But try to patch AMD7000Controller. If it is unsuccessful, you can look at 6000 framebuffers and correct yours if it's necessary

Link to comment
Share on other sites

please guide me

i did this modification on Pondweed framebuffer:

orginal Pondweed
020000000001000009010100100005050004000004030000000102001102010100040000040300000001030021030202
Patched Pondweed
020000000400000009010000120100070008000004030000000100001001010110000000100000000001000000010208

result:

lvds = dark screen

hdmi = Not work

vga= White screen but not log in mac descktop

whithout modification (original pondweed) only hdmi work for me

Link to comment
Share on other sites

whithout modification (original pondweed) only hdmi work for me

Good information. How is card detected in this case. ATI Mobility Radeon HD 6000/7000/7650/6650?

Wait a little, I'll make frame-buffer for AMD6000

02  00  00  00  00  01  00  00  09  01  01  00  10  00  05  01

00  04  00  00  04  03  00  00  00  01  02  00  11  02  01  01

00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00

if it doesn't work, try 00, 02, 03, 04

Second variant.

00  04  00  00  04  03  00  00  00  01  00  00  10  00  00  01

00  04  00  00  04  03  00  00  00  01  02  00  11  02  01  01

00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00

if it doesn't work, try 01, 02, 03, 04

i have a few Question:

is my lvds Encoder 01 or 00?

is my lvds ATY,ControlFlags 10 00 00 00  or 04 00 00 00?

is my lvds Features 09 01 or 08 01 ?

1) 00

2) and 3) We know exactly only ConnectorType, transmitter, encoder and senseID. Opher parts shold be sorted out.

Although sometimes we nullify transmitter in order to get working sleep and ConnectorType we also change if we wasn't manage to get working display as LDVS.

Link to comment
Share on other sites

hi

i can with patch enable vga in Pondweed :)  but HDMI and LVDS not work :(

 

020000004000000009010000120000070008000002000000000100001001010110000000100000000001000000010208

 

I have prepared three ioreg file in three case ( i did whit original ATI6000Controller.kext) :

boot with this command GraphicsEnabler=No

LVDS=Enable

HDMI=Disable

VGA=Disable

http://d-h.st/WGC

boot with this command GraphicsEnabler=Yes AtiConfig=Pondweed AtiPorts=3

LVDS=Disable

HDMI=Enable

VGA=Disable

http://d-h.st/Wwn

boot with this command GraphicsEnabler=yes AtiConfig=Gibba

LVDS=Disable

HDMI=Disable

VGA=Enable

http://d-h.st/G5g

Link to comment
Share on other sites

02  00  00  00  00  01  00  00  09  01  01  00  10  00  02  01

00  04  00  00  04  03  00  00  00  01  02  00  11  02  01  01

00  02  00  00  14  02  00  00  00  01  00  00  00  00  03  05

Try this frame.

Your first point where LDVS=Enabled is false. Your IOreg show that AMD6000 is not loaded.

In this case your graphics works at the cost of processor.

But When you see black screen it means ATI6000 is loaded but with incorrect framebuffer

Link to comment
Share on other sites

yes when my lvds enable Pondweed frame buffer not load.
it is only case that Lvds enable (GraphicsEnabler=No)
 

02  00  00  00  00  01  00  00  09  01  01  00  10  00  02  01

00  04  00  00  04  03  00  00  00  01  02  00  11  02  01  01

00  02  00  00  14  02  00  00  00  01  00  00  00  00  03  05

Try this frame.

Your first point where LDVS=Enabled is false. Your IOreg show that AMD6000 is not loaded.

In this case your graphics works at the cost of processor.

But When you see black screen it means ATI6000 is loaded but with incorrect framebuffer

Should I replace it with Pondweed framebuffer in kext?

Link to comment
Share on other sites

Usually you need EDID injection and possibly DualLink patch if senseid is 07 for LVDS on 6-th series mobile ATI cards. Moreover, EDID injection should be done through DSDT or Clover bootloader instead of DisplayProductID-717. Otherwise it won't work no matter what framebuffer patch you use.

  • Like 1
Link to comment
Share on other sites

Usually you need EDID injection and possibly DualLink patch if senseid is 07 for LVDS on 6-th series mobile ATI cards. Moreover, EDID injection should be done through DSDT or Clover bootloader instead of DisplayProductID-717. Otherwise it won't work no matter what framebuffer patch you use.

Thanks for useful information.

So Graphic part for config clover  should look so. But it must be edited for your card

<key>Graphics</key>

<dict>

<key>InjectATI</key>

<true/>

<key>VRAM</key>

<integer>512</integer>

<key>LoadVBios</key>

<true/>

<key>InjectEDID</key>

<true/>

<key>VideoPorts</key>

<integer>2</integer>

<key>FBName</key>

<string>Shrike</string>

</dict>

you must put 1002_292F.rom(rename your Vbios so) into EFI/CLOVER/ROM for key <key>LoadVBios</key>

Link to comment
Share on other sites

thanks for your attention

i cant use clover because my laptop is efi but cant recognize efi partition i try  but i not win in install bootloader (i install my hackintosh by my hack)

how to i inject EDID in DSDT?

Should I use (Connector Type DVIDL 0×00000004 = 04  00  00  00   Note: Dual Link DVI) to my framebuffer instead of (Connector Type LVDS 0×00000002  = 02  00  00  00  Note: Laptop Monitor)?

i am sorry for my bad engelish :blush:

Link to comment
Share on other sites

Try these LDVS lines after  you installed EDIT kext. If LDVS still doesn't work

02  00  00  00  40  00  00  00  29  05  00  00  10  00  00  07

 

02  00  00  00  00  01  00  00  09  01  00  00  10  00  00  07

02  00  00  00  40  00  00  00  09  01  00  00  10  00  00  07

02  00  00  00  00  01  00  00  29  05  00  00  10  00  00  07

Also here can be 07

Link to comment
Share on other sites

 Share

×
×
  • Create New...