Jump to content
InsanelyMac Forum
Sign in to follow this  
ashindnile

Need help with Mobility 4530: ati.c mod, FB patch(maybe dsdt)

Recommended Posts

My card is the ATI Radeon HD 4530 mobility. It does not have native graphics enabler support. I just hoping one of you could help me with this. I'm trying using terminal to make chameleon, but it always has some kind of error. So I uploaded my modded ATI.C file hoping one of you might be able to help.

 

For those who've compiled chameleon before for other reasons, please place this file in trunk/i386/libsaio/ and then hit make in the trunk directory.

 

 If possible use make package :)

 

I'm also trying to patch framebuffers using rampagedev's guide, however it hasn't helped all that much. This is because I don't have any other ATI kexts installed and since this is my first mavericks attempt i don't know which i must. It'd be great if someone can guide me on that as well :)

 

 

Here's my bios:

radeon_bios_decode:

ATOM BIOS Rom: 
SubsystemVendorID: 0x103c SubsystemID: 0x3629
IOBaseAddress: 0x7000
Filename: BR40444.001 
BIOS Bootup Message: 
HP_CUJO_JONES_M92M_DDR3 M92 DDR3 64bit 500e/667m                            

PCI ID: 1002:9553
Connector at index 0
Type [@offset 44988]: LVDS (7)
Encoder [@offset 44992]: INTERNAL_UNIPHY2 (0x21)
i2cid [@offset 45050]: 0x16, OSX senseid: 0x7
Connector at index 1
Type [@offset 44998]: VGA (1)
Encoder [@offset 45002]: INTERNAL_KLDSCP_DAC1 (0x15)
i2cid [@offset 45073]: 0x95, OSX senseid: 0x6
Connector at index 2
Type [@offset 45008]: HDMI-A (11)
Encoder [@offset 45012]: INTERNAL_UNIPHY (0x1e)
i2cid [@offset 45096]: 0x90, OSX senseid: 0x1

 

 

redsock_bios_decode:

HP_CUJO_JONES_M92M_DDR3 M92 DDR3 64bit 500e/667m                            

Subsystem Vendor ID: 103c
       Subsystem ID: 3629
Object Header Structure Size: 197
Connector Object Table Offset: 32
Router Object Table Offset: 0
Encoder Object Table Offset: 97
Display Path Table Offset: 10
Connector Object Id [14] which is [LVDS]
	encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x12 [duallink 0x2] enc 0x4)] 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
Connector Object Id [12] which is [HDMI_TYPE_A]
	encoder obj id [0x1e] which is [INTERNAL_UNIPHY (osx txmit 0x20 [duallink 0x0] enc 0x1)] linkb: true

Original Shrike:

0000000    02  00  00  00  40  00  00  00  09  01  00  00  02  01  00  03
0000010    02  00  00  00  00  01  00  00  09  01  00  00  20  01  02  02
0000020    00  04  00  00  04  03  00  00  00  01  00  00  10  00  01  01
0000030

My conclusion(Please suggest changes/point out errors):

Connector Type LVDS      02  00  00  00  40  00  00  00  08  01  00  00  12  04  00  07
Connector Type VGA       10  00  00  00  10  00  00  00  00  01  00  00  00  10  01  06
Connector Type HDMI      00  08  00  00  00  02  00  00  00  01  00  00  20  01  02  01

Credits to rampagedev's guide

 

 

So Far No DSDT edits done. Would have if I understood Alex's guide, but he assumes we all know basics, which is a pity.

I don't know how to add a device, where to add it, and if i have to add Method DTGP. I hope Alex or anyone will be willing to help with this.

 

Here's a link to my kexts and DSDT and what not:

Files.zip

 

 

Thanking you,

Ashton

ati.c.zip

Share this post


Link to post
Share on other sites
Advertisement

I apologized for being out for a long time on this forum. The point is that I neglected using of mac because it stopped to be interesting for me.

And some little bugs really pissed me off such as flickering of display when you have something stripy on your screen, hangs of office for mac when you're working with a document which have formulas, and even clover sometimes and randomly refused to load windows without

any understandable reason and so forth.

In a word, I was tired of hesitating between two systems. Windows 8.1 render everything of what I want to.

After all, it makes me confused helping other people without having a real system. I don't see development of mac and knowledge may start to forget. And now I don't have so much free time as it used to be.

But maybe I'll be back to mac soon.

 

Let's discuss your problem.

You must.

1) patch your framebuffer.

2) add your dev-id to the plist of 4600 kext. Have you done it?

3) Inject it by bootloader. By the by, did you tried it with clover? Because you may need dual-link=0.

Share this post


Link to post
Share on other sites

Thanks for replying. Yes I totally understand your frustration :)

 

I have done the first two things. But i just can't get a grasp of clover itself. I know there's a guide, but I have a distance to go before i understand it.

But I will try. Please tell me if my conclusions regarding connector info are correct.. in your own time of course :)

Share this post


Link to post
Share on other sites

Your connector info seems correct. If you have wrong patch you'll catch a black/green/red screen. But as I understand you see grey top menu bar what testify to disabled graphics.

Could you show your config of clover. Thus, It will be easier to helpers to point out the mistake.

You may set up clover into usb stick to do some experiments.

Share this post


Link to post
Share on other sites

See that's the thing, my clover is installed to my hdd, I don't know how to even use it. I'll figure it out and send it to you withing 24 hours :)

Share this post


Link to post
Share on other sites

Yep, but I recommend doing experiments with Clover installed on usb stick just in case of fail.

I should edit graphics parts something like that http://www.insanelymac.com/forum/topic/291276-help-ati-mobility-radeon-hd-4570-doesnt-work/?p=1942221

Be careful, some keys might be renamed at new versions of clover, So you should considered it.

By default, installation of clover creates full config.plist, you must edit it and, perhaps, shorten it too.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.



  • Similar Content

    • By joseantonio2416
      Good morning, I need help, I have a hp pavilion dv6 1117es with ATI Mobility Radeon HD 4530 but only gives me 4mb, not how to fix it 512mb, Maverick and I recognized the graph but only with 4mb.

      No VBIOS will take, please help.

       

      http://www.insanelymac.com/forum/topic/302083-ayuda-con-grafica-ati-mobility-radeon-hd-4530/

    • By joseantonio2416
      Lo primero agradecer a todos los que estén dispuestos a lanzar un cable a un inutil .

      ANTECEDENTES:

      Portátil HP Pavilion dv6 1117es, he conseguido instalar Maverick y todo funciona perfectamente menos la gráfica que solo me da 4 mb en vez 512 que debería dar, pongo foto para Que veáis, he intentado sacar la VBIOS de la gráfica pero no se podido ya que al usar GPU-Z me dice que No, "putada ", también pongo foto.

      La verdad de que he hecho todo lo que yo se hacer, Que es realmente poco, por eso pido ayuda en este foro que se que hay gente competente.

      Estoy abierto a todas las sugerencias incluso a las que no me gustaría leer.....

      He pensado en renunciar al proyecto por no poder conseguir hacer funcionar la gráfica, e instalar w8.1, pero creo que no seria factible hacerlo ya que se que se ha podido, he visto vídeos en youtube con esta gráfica funcionando, he mandado correos a los que lo han conseguido pero nada de ayuda.... , pongo dos imanges para que veais que se puede, por eso sigo sin desfallecer.



      Report.htm




    • By Vadimios
      Please tell me how to enable graphics card ATI Mobility Radeon HD 4570 (0x95531002) 1024 MB on MAC OS X 10.9 Mavericks!
      _________________
      Notebook: Samsung R-540
      CPU: Intel CORE i5 (without integrated graphics)
      GPU: ATI Mobility Radeon HD 4570 (0x95531002) 1024 MB
      _________________
      I heard about the successful integration of this card in the Mavericks, but the video memory of them was 512 MB. In my video card video memory is 1 GB and I did not get it included in OS X!
       
      Here is my patch framebuffer:
      Radeon Bios Decode:
       
      ATOM BIOS Rom:
      SubsystemVendorID: 0x144d SubsystemID: 0xc07f
      IOBaseAddress: 0xd000
      Filename: BR36795.011
      BIOS Bootup Message:
      BR036795-001 M92 DDR3 64bit 720e/800m
       
      PCI ID: 1002:9553
      Connector at index 0
      Type [@offset 45650]: LVDS (7)
      Encoder [@offset 45654]: INTERNAL_UNIPHY2 (0x21)
      i2cid [@offset 45712]: 0x91, OSX senseid: 0x2
      Connector at index 1
      Type [@offset 45660]: VGA (1)
      Encoder [@offset 45664]: INTERNAL_KLDSCP_DAC1 (0x15)
      i2cid [@offset 45735]: 0x90, OSX senseid: 0x1
      Connector at index 2
      Type [@offset 45670]: HDMI-A (11)
      Encoder [@offset 45674]: INTERNAL_UNIPHY (0x1e)
      i2cid [@offset 45758]: 0x95, OSX senseid: 0x6
       
      Redsock Bios Decode:
       
      BR36795.011 :
      BR036795-001 M92 DDR3 64bit 720e/800m
       
      Subsystem Vendor ID: 144d
      Subsystem ID: c07f
      Object Header Structure Size: 197
      Connector Object Table Offset: 32
      Router Object Table Offset: 0
      Encoder Object Table Offset: 97
      Display Path Table Offset: 10
      Connector Object Id [14] which is [LVDS]
      encoder obj id [0x21] which is [iNTERNAL_UNIPHY2 (osx txmit 0x12 [duallink 0x2] enc 0x4)] 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
      Connector Object Id [12] which is [HDMI_TYPE_A]
      encoder obj id [0x1e] which is [iNTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] linkb: false
       
      I then added ID my graphics card in kext: AMD4600Controller. kext (rights restored through the kext Wizard)
       
      Then I looked at the list of framebuffers (OS X 10.9) ATI4600Controller.kext
       
      Here's what wrote a terminal:
      Kext /System/Library/Extensions/AMD4600Controller.kext/Contents/MacOS/AMD4600Controller
      Personality: Flicker
      ConnectorInfo count in decimal: 3
      Disk offset in decimal 535312
      0000000 00 04 00 00 00 04 00 00 00 01 00 00 02 01 03 05
      0000010 00 04 00 00 00 04 00 00 00 01 00 00 01 00 02 02
      0000020 00 02 00 00 14 02 00 00 00 01 00 00 00 10 01 04
      0000030
      Personality: Gliff
      ConnectorInfo count in decimal: 3
      Disk offset in decimal 535360
      0000000 02 00 00 00 40 00 00 00 09 01 00 00 02 01 00 03
      0000010 02 00 00 00 00 01 00 00 09 01 00 00 20 01 02 02
      0000020 00 04 00 00 04 06 00 00 00 01 00 00 10 00 01 01
      0000030
      Personality: Shrike
      ConnectorInfo count in decimal: 3
      Disk offset in decimal 535408
      0000000 02 00 00 00 40 00 00 00 09 01 00 00 02 01 00 03
      0000010 02 00 00 00 00 01 00 00 09 01 00 00 20 01 02 02
      0000020 00 04 00 00 04 03 00 00 00 01 00 00 10 00 01 01
      0000030
       
      I chose the Shrike.
       
      This unpatched framebuffer:
      02 00 00 00 40 00 00 00 09 01 00 00 02 01 00 03
      02 00 00 00 00 01 00 00 09 01 00 00 20 01 02 02
      00 04 00 00 04 03 00 00 00 01 00 00 10 00 01 01
       
      This patched framebuffer:
      02 00 00 00 40 00 00 00 09 01 00 00 02 04 00 02
      10 00 00 00 00 01 00 00 09 01 00 00 00 10 02 01
      00 08 00 00 04 03 00 00 00 01 00 00 00 00 01 06
       
      Then i removed all the gaps and put it in Clover Configurator(config.plist):
       
      Ati Connectors Data: 020000004000000009010000020100030200000000010000090100002001020200040000040300000001000010000101
       
      Ati Connectors Patch:020000004000000009010000020400021000000000010000090100000010020100080000040300000001000000000106
       
      Put a tick on Load VBios, Patch VBios, Inject ATI
       
      In FBName wrote Shrike, duallink = 0 VRAM = 1024
       
      But I did not succeed. At the end of the boot was a reboot (if you remove the check mark from InjectATI or Load VBIOS, then there wasn't a reboot, but the video memory was 4MB)
       
      Please help!!!!!
      And sorry for my english.
    • By pheonix137
      Hi I am trying to make at least LVDS and VGA work. I have working Shrike framebuffer (output for ioreg with SSH is ATY,Shrike), but output on LVDS is like attached picture and no output on VGA or HDMI. I have tried patching framebuffer in ATI4600Controller.kext but I don't think it's working.
       
      Here is modified Shrike can anyone tell me if it's wrong?
      02 00 00 00 40 00 00 00 09 01 00 00 12 04 00 07 LVDS 10 00 00 00 10 00 00 00 00 01 00 00 00 10 01 01 VGA 00 08 00 00 00 02 00 00 00 01 00 00 10 00 02 05 HDMI I have tried senseid 00 - 07 and none work for LVDS. Also have forced EDID to pick up LVDS which seems to force LVDS everytime with GraphicsEnabler=No but still nothing with GraphicsEnabler=Yes.
       
      Video bios dump:
      http://www.mediafire.com/?vnwa2b2xzx9nsyb
       
       
       
      UPDATE: I tried DSDT injection for my card detailed here:
      http://www.insanelymac.com/forum/topic/282637-ati-mobility-radeon-hd-4650-cant-find-lvds-senseline/
       
      Here's the DSDT I came up with. What is wrong with it? I was getting jumbled screen again but different pattern than before, closer to solid color but still missing pixels and I was not able to log in and use VNC/SSH like usual.
       
      http://www.mediafire.com/download/c35l07k7blkdkm6/DSDT.aml
       
      Also I still couldn't get Shrike personality to work. Nothing seems to work, what else can I try? And can someone take a look at the stuff I've already done...in case I messed something up?
       
      Thanks!

    • By chpe
      Hello!
      Having read this and this, I've decided to downgrade Quarz.framework and QuartzCore.framework to their 10.6.2's versions. So I copied over the both files from a 10.6.2 virtual machine I had lying around to my 10.6.6 installation and...
       
      Success! Now I've got transparent menu bar AND a regular black Apple logo.
       
      What works:
      No logo color corruption on the menu bar
      App Store icons look fine now
      Someone said there were performance issues with 10.6.2. I don't see any difference in the performance using this method.

      What doesn't:
      Photoshop with OpenGL mode higher than basic results to green color all over the picture, so it looks like OpenGL corruption is still present

      Hope this would be helpful
      I can upload both folders if you need them.
×