Jump to content

How to launch ATI-card by DSDT


Alex009988
 Share

98 posts in this topic

Recommended Posts

Thank you Alex for your help and sorry for late answer, been a bit busy with my daily job. I'll try different model identifier in smbios and I'll report back.

I was thinking about Clover and I wonder if other bootloader would change anything?

Regarding my DSDT: is this GFX0 added correctly? I've copied it from Rampage Dev's AMD 7xxx DSDT Injection file and added straight to PCI0 device.

Other DSDT files I was checking had GFX0 added to one of PEG devices. These were DSDT from hacks, though.

 

All that matters is the device address. NRP4, PXS1/GFX0 are just labels. Your untouched ioreg dump shows device NRP4@4 and your untouched DSDT doesn't contain a device with address Name (_ADR, 0x00040000). Instead, they are defined in one of your SSDT tables, namely in Pci16118. I would recommend you to use MaciASL if you need a way to see all tables.

 

The problem now is that you cannot create a device in the DSDT and have a duplicate in your SSDT, it will create a conflict. You can either drop your existing SSDTs and resupply them all again together with a modified Pci16118 with your video properties or - what would be easier I think - to use string injection that will let you keep your original ACPI tables untouched. If it still produces a white screen, replace device-id with ATY,DeviceID. I had more success with the latter option.

 

You also should give Clover a try. It should be possible to directly boot into EFI mode by blessing cloverx64.efi.

 

PS: Do you really need the Hamachi framebuffer? Did you notice anything not working with the default framebuffer yet?

Edited by k3nny
Link to comment
Share on other sites

PS: Do you really need the Hamachi framebuffer? Did you notice anything not working with the default framebuffer yet?

 

Thank you for clarification k3nny. I see that I shall do some more reading regarding DSDT and SSDT before I'll make my next attempt ;) I'll try Clover first.

 

With RadeonFramebuffer tesselation does not work. And maybe some other things which I didn't notice yet. Tessmark gives 0 fps and ends quickly after launch. QE/CI works, OCL as well, dual display too.

I want Hamachi, because it's proper framebuffer for Mac Edition 7950 and its connector layout does match (almost) perfectly my cards (7950 and 7870XT, only HDMI does not work, but I don't need it). I want to reduce kext edting to possible minimum. I'd like to swap cards between my Macs - if needed - without issues. Both cards are flashed with custom EFI ROMs with Hamachi framebuffer. I've made another ROM using Futomaki trying to enable HDMI, but HDMI was only port working correctly. DVI and mDPs had hotplug problems.

 

I can post ioreg from Mac Pro 4,1 with 7870 and/or 7950 if you're interested.

Link to comment
Share on other sites

TessMark doesn't work properly, whatever the reason may be - app or drivers; it crashes after ~1 second here too. Try Unigine Heaven, it should run without problems with tessellation and anti-aliasing.

 

That would be great. A dump with a 7870 is enough, thanks.

Link to comment
Share on other sites

Hi Alex,

just one question. My graphic card (Mobility 4670) is working well, the only problem is that the laptop monitor does not wake up from sleep. From your post it seems that you solved some sleep related issue injecting the dsdt. Is that correct? What kind of problem did you have before?

Thanks.

Link to comment
Share on other sites

hey guys i need some help i need a dsdt 7970 injection please i tried to do it my self follow rampage dev but it never goes right or does not work here is my dsdt all errors fixed and my ioreg. i have 6 ports my fb is ikura and my gpu name is Asus HD radeon 7970 


http://www.sendspace...YysciHO6aRy/ggA


 


back up links ioreg:http://www.sendspace.com/file/hbrqyn


DSDT:http://www.sendspace.com/file/6zpfg2


 ANYONE HELP ME PLZ

Link to comment
Share on other sites

 

hey guys i need some help i need a dsdt 7970 injection please i tried to do it my self follow rampage dev but it never goes right or does not work here is my dsdt all errors fixed and my ioreg. i have 6 ports my fb is ikura and my gpu name is Asus HD radeon 7970 

http://www.sendspace...YysciHO6aRy/ggA

 

back up links ioreg:http://www.sendspace.com/file/hbrqyn

DSDT:http://www.sendspace.com/file/6zpfg2

 ANYONE HELP ME PLZ

 

Hello! Does your card work with GraphicsInjector=Yes. Perhaps you should study this topic for your card as well (Though on Mavericks it should work more natively)

http://forum.netkas.org/index.php/topic,5619.0.html

Link to comment
Share on other sites

my card does work but only issue is my card is shown as a fireprod700 which is slower then my card and causing issues and i get a black screen with graphicsinjector=yes

Hello! Does your card work with GraphicsInjector=Yes. Perhaps you should study this topic for your card as well (Though on Mavericks it should work more natively)

http://forum.netkas.org/index.php/topic,5619.0.html

Link to comment
Share on other sites

my card does work but only issue is my card is shown as a fireprod700 which is slower then my card and causing issues and i get a black screen with graphicsinjector=yes

That's because Mavericks AMD drivers are tweaked to connect 7xxx cards with certain device ids to FirePro OpenGL engine. That's how it is with betas sometimes...

DSDT won't help here as far as I can tell - correct me if I'm wrong. Most likely they tested this FirePro engine using Radeon versions of cards instead of real Fire. Or so...

D700 is FirePro W9000, based on Tahiti XT chip, which is also a heart of 7970.

Link to comment
Share on other sites

others have had this issue and it was fixed by dsdt i just need help cause all my attempts have failed 

That's because Mavericks AMD drivers are tweaked to connect 7xxx cards with certain device ids to FirePro OpenGL engine. That's how it is with betas sometimes...

DSDT won't help here as far as I can tell - correct me if I'm wrong. Most likely they tested this FirePro engine using Radeon versions of cards instead of real Fire. Or so...

D700 is FirePro W9000, based on Tahiti XT chip, which is also a heart of 7970.

Link to comment
Share on other sites

Hey, I'm sorry if this is a clumsy way of getting your attention, but:

 

I have a problem getting my 6870 working as I want it to - with all the connectors, especially both DVIs. Here's a post over on the Graphics/ATI section of the forum, where I've enclosed a bit more information about my endeavours. There's my DSDT edits and modifications to the ATI6000Controller.kext, as well as a redsock_bios_decode of my atiflash rom dump.

 

Could you guys take a look at it, and tell me if everything is in order? And if possible, correct the mistakes made or push me in the right direction.

 

Thank you very much.

 

http://www.insanelymac.com/forum/topic/250804-ati-radeon-6xxx-working-qeci/page-36?do=findComment&comment=1927265

 

Here's a ioreg of my system as well: https://www.dropbox.com/s/7bg1vgdsqkyb7pv/xophers%20Mac%20Pro.ioreg

Link to comment
Share on other sites

 

Hey, I'm sorry if this is a clumsy way of getting your attention, but:

 

I have a problem getting my 6870 working as I want it to - with all the connectors, especially both DVIs. Here's a post over on the Graphics/ATI section of the forum, where I've enclosed a bit more information about my endeavours. There's my DSDT edits and modifications to the ATI6000Controller.kext, as well as a redsock_bios_decode of my atiflash rom dump.

 

Could you guys take a look at it, and tell me if everything is in order? And if possible, correct the mistakes made or push me in the right direction.

 

Thank you very much.

 

http://www.insanelymac.com/forum/topic/250804-ati-radeon-6xxx-working-qeci/page-36?do=findComment&comment=1927265

 

Here's a ioreg of my system as well: https://www.dropbox.com/s/7bg1vgdsqkyb7pv/xophers%20Mac%20Pro.ioreg

 

If your Graphics are detected corrected but some monitors doesn't work. Therefore the problem is framebuffer.

Which framebuffer did you patch. And show framebuffer what you use

Link to comment
Share on other sites

If your Graphics are detected corrected but some monitors doesn't work. Therefore the problem is framebuffer.

Which framebuffer did you patch. And show framebuffer what you use

Yes, it's correctly detected.

 

I used the Duckweed frambuffer. At the moment I use Duckweed and no mods, with only one monitor.

ioreg | grep ATY
    | |   |   | +-o ATY,Duckweed@0  <class AtiFbStub, id 0x1000002ce, registered, matched, active, busy 0 (20 ms), retain 8>
    | |   |   | +-o ATY,Duckweed@1  <class AtiFbStub, id 0x1000002cf, registered, matched, active, busy 0 (0 ms), retain 8>
    | |   |   | +-o ATY,Duckweed@2  <class AtiFbStub, id 0x1000002d0, registered, matched, active, busy 0 (0 ms), retain 8>
    | |   |   | +-o ATY,Duckweed@3  <class AtiFbStub, id 0x1000002d1, registered, matched, active, busy 0 (0 ms), retain 8>
kextstat | grep AMD
   66    2 0xffffff7f8157c000 0x72000    0x72000    com.apple.kext.AMDSupport (8.1.0) <42 10 9 7 5 4 3 1>
   67    0 0xffffff7f8160a000 0x1e7000   0x1e7000   com.apple.kext.AMD6000Controller (8.1.0) <66 42 10 9 5 4 3 1>
   70    0 0xffffff7f81de0000 0x3b7000   0x3b7000   com.apple.AMDRadeonAccelerator (1.0.6) <69 68 42 10 7 5 4 3 1>
   71    0 0xffffff7f815ee000 0x14000    0x14000    com.apple.kext.AMDFramebuffer (8.1.0) <66 42 10 9 7 5 4 3 1>

The funny thing is though, that with GraphicsEnabler=0, both monitors work, QE/CI works. Still, it's not correctly identified, and e.g. DVD-player crashes, higher temps on gfx.

 

This is my "Graphics/Displays"-section in System Profiler when using the DSDT with gfx added to it. Using it I have good temps and DVD-player works.

AMD Radeon HD 6870:

  Chipset Model:	AMD Radeon HD 6870
  Type:	GPU
  Bus:	PCIe
  Slot:	Slot-1
  PCIe Lane Width:	x16
  VRAM (Total):	1024 MB
  Vendor:	ATI (0x1002)
  Device ID:	0x6738
  Revision ID:	0x0000
  ROM Revision:	113-AD00800-112
  EFI Driver Version:	01.00.3180
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

@xopher Have you tried patching the Gibba framebuffer? It's what I use for my 6870 and works like charm since Lion.

I have, but I always tend to get worse performance with Gibba, compared to Duckweed.

 

Another user helped me get my card to work though, so I'm all good for now. So if anyone else has an Asus EAH6870 DC card and wonder how to get it working, refer to these posts by xmen107:

 

http://www.insanelymac.com/forum/topic/250804-ati-radeon-6xxx-working-qeci/page-36?do=findComment&comment=1929473

http://www.insanelymac.com/forum/topic/250804-ati-radeon-6xxx-working-qeci/page-37?do=findComment&comment=1929640

 

I ended up modifying both my DSDT (adding the GFX-section) and the ATI6000Controller.kext.

Link to comment
Share on other sites

  • 1 month later...

Hi Alex!

You told me in this topic http://www.insanelymac.com/forum/topic/291148-sleepwake-issue/ To send you some files. I really appreciate your help :)

https://www.dropbox.com/s/sz6ixrc6qcg27b2/Archive.zip

Hello. Try this variant of DSDT. I Put Vbios to the Device (P0P2).

You can rename my DSDT to the a.aml, for example and check it with DSDT=/Extra/a.aml for the case if it doesn't work.  if you are using Chameleon.

 Delete all of the graphics parameters from you org.Chameleon.boot.plist(GE=Yes, AniConfig)

------

And if it doesn't work you can  try Clover. In this case you must put 1002_0502.rom into EFI/CLOVER/ROM and add the key

<key>LoadVBios</key>

<true/>

I think  graphics part of Clover config should look so

	<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>MotMot</string>
	</dict>

1002_0502.rom.zip

dsdt.aml.zip

Link to comment
Share on other sites

Inject for ATI7XXX

            Device (GFX0)
            {
                Name (_ADR, Zero)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x0E)
                        {
                            "model",
                            Buffer (0x13)
                            {
                                "AMD Radeon HD 7770"
                            },
                            "ATY,DeviceID",
                            Buffer (0x04)
                            {
                                0x3D, 0x68
                            },
                            "@0,name",
                            Buffer (0x0E)
                            {
                                "ATY,Dashimaki"
                            },
                            "@1,name",
                            Buffer (0x0E)
                            {
                                "ATY,Dashimaki"
                            },
                            "@2,name",
                            Buffer (0x0E)
                            {
                                "ATY,Dashimaki"
                            },
                            "@3,name",
                            Buffer (0x0E)
                            {
                                "ATY,Dashimaki"
                            },
                            "hda-gfx",
                            Buffer (0x0A)
                            {
                                "onboard-1"
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            } 

You must change ATY,DeviceID, framebuffer Dashimaki and model of your card by your data.

Also you can add other parameters as "ATY,bin_image",  and others

Link to comment
Share on other sites

  • 3 weeks later...

Can someone help me with ATI DSDT patch and connectors for my ATI 5650m? I'm using Mountain Lion 10.8.3.

here my BIOS (onboard and dedicated with files decoded), ioreg, ddst, GPUz screen, AIDA64 GPU Report, chameleon config, clover config and some screenshots.

If you need some thing more, just tell me. =]

 

https://dl.dropboxusercontent.com/u/18542301/Files/Files_dv6-3080br_5650m.rar

Link to comment
Share on other sites

Can someone help me with ATI DSDT patch and connectors for my ATI 5650m? I'm using Mountain Lion 10.8.3.

here my BIOS (onboard and dedicated with files decoded), ioreg, ddst, GPUz screen, AIDA64 GPU Report, chameleon config, clover config and some screenshots.

If you need some thing more, just tell me. =]

 

https://dl.dropboxusercontent.com/u/18542301/Files_dv6-3080br_5650m.rar

Hi. To be honest for me it is hard case. Having two cards is very complex task.

You have ATI 5650 and ATI 4250. And you couldn't have worked at least one card with Clover or Chameleon, could you?

Because IOReg with working cards could shed some light on details. But I see no card working in it.

Link to comment
Share on other sites

Working with acceleration not, In System Information App, The Display is always on PCI device, 9712:1002. So I have only 4MB of memory. So I can use MLion, but slow when I click in App Launcher for example.. =/

The worst thing is that my BIOS don't have option to disabled one card. Ane other way to disabled it?

Link to comment
Share on other sites

Working with acceleration not, In System Information App, The Display is always on PCI device, 9712:1002. So I have only 4MB of memory. So I can use MLion, but slow when I click in App Launcher for example.. =/

The worst thing is that my BIOS don't have option to disabled one card. Ane other way to disabled it?

Unfortunately, I don't know a solution for it even though people were trying to do it.

http://www.insanelymac.com/forum/topic/289053-disabling-ati-card-through-dsdt/

Link to comment
Share on other sites

 Share

×
×
  • Create New...