Jump to content
72 posts in this topic

Recommended Posts

Just have to say GREAT WORK guys,

I have gotten most everything working on my Compaq/HP Presario 2528EU laptop, that is all except the graphics card that is a Radeon9600 but it seems that little hurdle might be about to be solved.

Keep up the good work and if you have the time please post some kind of tutorial on how you got it working.

 

Once again, great work guys.

 

Cheers,

André

 

------------------------------------------------------

Formaly avid Linux user soon to be OSX freak

to get the bridge loading, which ID do i have to enter? pci-bus, pci-bridge, or processor to agp??? do i enter it with a comma, a space or both? would anybody mind sending me his files so that i'd have a reference?

 

Its the "CPU-to-AGP-Controller" on my System!

Than pci<VENID>,<DEVID>

 

Worked for my VIA-chipset (pci1106,b188)!

didn't work for me. my card is still shown as pci. do i have to force loading the kext?

 

You can maybe try to insert

kextload /System/Library/Extension/AppleI386PCI.kext

in your /etc/rc ?!? But I dont know its working. Just an advise!

 

Okay, now something I found out.

I have currently two modes when playing around with the ATIRadeon9700-stuff.

 

1. Purple mode: I got the screen but with an purple touch.

2. The mouse-only-mode: I only got the mouse pointer which can be moved around the screen.

 

Purple mode I get with all combinations of kexts. The mouse-only-mode I got when the ATIRadeon9700GAPlugin.bundle is loaded.

 

But It seems to me that on starting the GUI the Radeon-driver do something and crashes than. After this crash Mac OS uses the default Boot-display.

 

I added a "ioreg" command in the /etc/rc before loginwindow will be executed.

Here the important lines:

+-o AGP@1  <class IOPCIDevice, registered, matched, active, busy 0, retain count 11>
| +-o AppleI386AGP  <class AppleI386AGP, !registered, !matched, active, busy 0, retain count 8>
|   +-o VGA@0  <class IOAGPDevice, registered, matched, active, busy 0, retain count 14>
|     +-o IONDRVFramebuffer  <class IONDRVFramebuffer, registered, matched, active, busy 0, retain count 5>
|     +-o ATIRadeon9700  <class ATIRadeon9700, registered, matched, active, busy 0, retain count 4>

 

But when I do ioreg after loginwindow is started and the purple GUI ist running the lines look the following way:

+-o AGP@1  <class IOPCIDevice, registered, matched, active, busy 0, retain count 12>

| +-o AppleI386AGP  <class AppleI386AGP, !registered, !matched, active, busy 0, retain count 8>

|  +-o VGA@0  <class IOAGPDevice, registered, matched, active, busy 0, retain count 15>

|    +-o .Display_boot  <class IONDRVFramebuffer, registered, matched, active, busy 0, retain count 10>

|    | +-o display0  <class IODisplayConnect, registered, matched, active, busy 0, retain count 5>

|    | | +-o AppleDisplay  <class AppleDisplay, registered, matched, active, busy 0, retain count 7>

|    | +-o IOFramebufferUserClient  <class IOFramebufferUserClient, !registered, !matched, active, busy 0, retain c$

|    +-o ATIRadeon9700  <class ATIRadeon9700, registered, matched, active, busy 0, retain count 4>

 

My windowserver.log says:

Aug 24 12:23:42  [84] Server is starting up

Aug 24 12:23:42  [84] CGXPerformInitialDisplayConfiguration

Aug 24 12:23:42  [84]  Display 0x5b81c5c0: MappedDisplay Unit 0; Vendor 0x756e6b6e Model 0x717 S/N 0; online enabled (0,0)[1024 x 768], base addr 0x3008000

Aug 24 12:32:00  [84] kCGErrorFailure: CGXDisableUpdate: UI updates were forcibly disabled by application "Dock" for over 1 second. Server has re-enabled them.

Aug 24 12:32:40  [84] kCGErrorIllegalArgument: CGXSetWindowTransformList: Invalid window 280

Aug 24 12:32:40  [84] kCGErrorIllegalArgument: CGXSetWindowTransform: Invalid window 280

Aug 24 12:32:40  [84] kCGErrorIllegalArgument: CGXGetWindowProperty: Invalid window 280

Aug 24 12:32:40  [84] kCGErrorIllegalArgument: CGXGetWindowLevel: Invalid window 280

Aug 24 12:32:40  [84] kCGErrorIllegalArgument: CGXGetWindowProperty: Invalid window 280

Aug 24 12:32:40  [84] kCGErrorIllegalArgument: CGXGetWindowProperty: Invalid window 280

Aug 24 12:32:40  [84] kCGErrorIllegalArgument: CGXGetWindowProperty: Invalid window 280

Aug 24 12:32:41  [84] kCGErrorIllegalArgument: CGXSetWindowTransformList: Invalid window 280

Aug 24 12:32:41  [84] kCGErrorIllegalArgument: CGXSetWindowTransform: Invalid window 280

Aug 24 12:32:41  [84] kCGErrorIllegalArgument: CGXSetWindowTransformList: Invalid window 280

Aug 24 12:32:41  [84] kCGErrorIllegalArgument: CGXSetWindowTransform: Invalid window 280

Aug 24 12:32:41  [84] kCGErrorIllegalArgument: CGXSetWindowTransformList: Invalid window 280

Aug 24 12:32:41  [84] kCGErrorIllegalArgument: CGXSetWindowTransform: Invalid window 280

Aug 24 12:32:41  [84] kCGErrorIllegalArgument: CGXSetWindowTransformList: Invalid window 280

Aug 24 12:32:41  [84] kCGErrorIllegalArgument: CGXSetWindowTransform: Invalid window 280

Aug 24 12:32:41  [84] kCGErrorIllegalArgument: CGXSetWindowListTags: Invalid window 280

 

If I am in the mouse-only-mode the windowserver.log shows:

Aug 24 12:16:43  [89] Server is starting up

Aug 24 12:16:43  [89] CGXPerformInitialDisplayConfiguration

Aug 24 12:16:43  [89]  Display 0x5b81c5c0: MappedDisplay Unit 0; Vendor 0x756e6b6e Model 0x717 S/N 0; online enabled (0,0)[1024 x 768], base addr 0x3008000

Aug 24 12:16:44  [89] Accel caps: 00000003

Aug 24 12:16:44  [89] kCGErrorFailure: CGXServerLoop: Received signal (10) at unknown address

 

Okay, so much information for now. Hope it may help! :D

|    +-o .Display_boot  <class IONDRVFramebuffer, registered, matched, active, busy 0, retain count 10>

|    | +-o display0  <class IODisplayConnect, registered, matched, active, busy 0, retain count 5>

|    | | +-o AppleDisplay  <class AppleDisplay, registered, matched, active, busy 0, retain count 7>

|    | +-o IOFramebufferUserClient  <class IOFramebufferUserClient, !registered, !matched, active, busy 0, retain c$

 

I wonder if this is because the AppleACPIDisplay kext couldn't load?

Does anyone know what AppleACPIDisplay actualy does? My error is a VID mismatch trying to load it, and im thinking that it failing is what is stopping the driver from loading correctly. I looked in the plist but the vid/did looks like nothing i recongonize.

 

Edit: In fact, what would be really useful is a tool to probe what PCI devices are in the system and which ones have drivers loaded for them, as well as track which drivers fail to load on boot. Alot of the problem with these graphics drivers I think is that we need to get the entire array of chipset drivers loading before we can try to get video drivers running, and from looking at dmesg i have at least 3 other drivers failing a VID match to whatever device they are trying to load to, but it does not say which driver is failing.

[sorry for my useless reply]:

 

But this has to be the answer... what exactly is the name that is trying to be matched (where is this key stored in the system?) and what is it trying to match against.

 

We need to find the plist that has the name matching (I still believe it's the ATY,* line in the AppleNDRV folder)...

 

 

...and then we need to see what it's matching against... IE. a list of devices...

[we know it's not trying to match against the 0xVENID_DEVID... so what is it trying to match against????]

.......and then we FORCE IT! :blink:

Does anyone know what AppleACPIDisplay actualy does? My error is a VID mismatch trying to load it, and im thinking that it failing is what is stopping the driver from loading correctly. I looked in the plist but the vid/did looks like nothing i recongonize.

 

I can only speculate but ACPI is 'Advanced Configuration and Power Interface'. Essentially it's the new model for APM (Advanced Power Management), here is a bit of guff from the ACPI site;

 

ACPI (Advanced Configuration and Power Interface) is an open industry specification co-developed by Hewlett-Packard, Intel, Microsoft, Phoenix, and Toshiba.

 

ACPI establishes industry-standard interfaces for OS-directed configuration and power management on laptops, desktops, and servers.

 

ACPI evolves the existing collection of power management BIOS code, Advanced Power Management (APM) application programming interfaces (APIs, PNPBIOS APIs, Multiprocessor Specification (MPS) tables and so on into a well-defined power management and configuration interface specification.

 

The specification enables new power management technology to evolve independently in operating systems and hardware while ensuring that they continue to work together.

 

http://www.acpi.info/

 

So I believe it may just be the power management for a display device. The file I have (and on the Darwin ISO) is only 28kb and it has a huge list of unresolved symbols, this is why it's not loading (run kextload manually with the -t command to show the unresolved symbol and then run 'nm /blahblah/AppleACPIDisplay' and it will output the symbols, I'm only guessing "U" is unresovled).

 

That being said, it probably doesn't mean a whole lot to getting a video card driver working since I'd assume it's probably just used for powering on/off monitors.

 

[sorry for my useless reply]:

 

No useless replies around here, any and all information helps :blink:

 

We need to find the plist that has the name matching (I still believe it's the ATY,* line in the AppleNDRV folder)...

 

Has anyone changed this line to ATI,* ? I can't until I get home from work but it'll be interesting to see what happens. On the topic of this extension though, when I run a file against it (AFAIK this command checks what architectures the file supports), the output is;

 

/System/Library/Extensions/AppleNDRV/ATIRuntimeDriver.bundle/Contents/MacOS/ATIRuntimeDriver: header for PowerPC PEF executable

 

Now most of the other applications/extensions on the system report this;

 

/mach_kernel: Mach-0 fat file with 2 architectures
/mach_kernel (for architecture ppc): Mach-0 executable ppc
/mach_kernel (for architecture i386): Mach-0 executable i386

 

According to everyones favourite Wiki, http://en.wikipedia.org/wiki/PEF, the explaniation is;

 

The Preferred Executable Format is a file format that specifies the format of executable files and other object code. PEF executables are also called Code Fragment Manager files (CFM).

PEF was developed by Apple Computer for use in its Mac OS operating system. It was optimised for RISC processors. In Mac OS X, the Mach-O file format is the native executable format. However, PEF is still supported on PowerPC-based Macintoshes and is used by some Carbon applications ported from earlier Mac OS versions.

On June 6, 2005 at the annual WWDC, Apple Computer announced that Macintoshes would be switching to the Intel processor starting in 2006. As a result of the switch, PEF was deprecated and it was announced that the PEF binary format would not be supported on Intel Macintoshes except through the Rosetta PowerPC emulation software.

 

So we know that PEF files can be run through Rosetta. Any ideas on how we can force a PEF file to load through Rosetta on boot up or is it a dynamic kernel loading?

I tried changing the ATY,* to AT,* to no avail....

 

I'm dissapointed with your findings that the ATIRuntimeDriver is in PPC format? AFAIK the device drivers can't run on Rosetta.. but please, prove me wrong!

 

I'd imagine the mach_kernel executes the ATIRadeonDriver.bundle ... can we rename it to ATIRadeonDriverReal.bundle, create a script that then runs ./Rosetta ATIRadeonDriverReal.bundle and then see if the kernel will boot it?

 

I am now worried... I can't see ATI releasing drivers for cards that Apple don't intend on putting in their 'proprietary Intel macs' ... (ie. my RADEON 7500) .... because they aren't meant to be running with OSX86.

I think we need to focus on getting AppleACPIDisplay working because AppleACPIPlatform fails to load due to AppleACPIDisplay failing to load. and following the logs it seems that this is the last error before the windowmanager crashes when trying to load the full ati driver

Edit: In fact, what would be really useful is a tool to probe what PCI devices are in the system and which ones have drivers loaded for them, as well as track which drivers fail to load on boot. Alot of the problem with these graphics drivers I think is that we need to get the entire array of chipset drivers loading before we can try to get video drivers running, and from looking at dmesg i have at least 3 other drivers failing a VID match to whatever device they are trying to load to, but it does not say which driver is failing.

 

Try:

ioreg -bl

see:

http://developer.apple.com/documentation/D...00701/TPXREF104

for more information.

 

(BTW: google for "ATIRadeonDriver.bundle" and you will find out

what its intended function is... It's not relevant on x86 at all)

Thank you all for this information. This post is to confirm some of the details in previous postings.

 

I have a Dell Inspiron 8600 / ATI Radeon M 9600. What I'm trying to do is to get the full screen resolution (1680x1050x32) to work (with or without h/w accel).

At first, the system info applet said "VGA-compatible controller" on "PCI" bus with vendor "ATI". After following the suggestions here, I added 0x4e501002 to the IOPCIMatch field in /System/Library/Extensions/ATIRadeon9700.kext/Content/Info.plist (took me a while to figure out that the kext FILE everyone talks about is a DIRECTORY, yes I'm new to OSX ;) ).

I also added <string>pci8086,3341</string> to /System/Library/Extensions/AppleI386PCI.kext/Contents/Info.plist. I also added

 

kextload /System/Library/Extensions/ATIRadeon9700.kext/

 

to /etc/rc, but I don't think that made any difference.

I removed all kexts from the /System/Library/Extensions that begins with ATI, except the above.

 

Anyway, here's where I stand:

* The bus type changed from "PCI" to "AGP" in the sysinfo applet

* Still stuck at 1024x768 (really annoying when used to 1680x1050)

* The screen turned purple (this would also qualify as somewhat annoying)

 

AFAIK, no one has come any further ?

 

I really don't prioritize hardware blits / OpenGL, I just want to use the full screen resolution. I don't see how this can be done with the VESA driver, as there is no such mode listen at the boot screen. Can it be done?

 

Update:

* 1280x1024 works if I specify "Graphics Mode"="1280x1024x32", but none of the other resolutions listed works.

* If I remove the ATI kext, I get normal colors and still "Bus: AGP". Kernel Extension Info now reads "No Kext Loaded".

 

And why the hell does Home/End not work in OSX???

Got a problem, even in safe mode, and got this hardware(Pentium M 725

ATI 9700 Mobile

512 MB RAM

80GB Harddrive

Synoptics Touchpad v4.6)

 

I noted that darwin at its boot, before specify the boot options, says that i have a 9600 128megs, but i actually have a 9700 128 megs..so it could be the same problem with 9600 friends (let me crosspost for this, it could be useful for both topics, if it won't i'll replace this with a link to the original topic)

 

i tried to:

 

1- delete ATI9700gldrive.bundle (actually renaming it, i have only win, no mac, so i don't want to DD again if i lose some files)

 

2- edit /System/Library/Extensions/AppleI386PCI.kext/Contents/Info.plist with my cpu->agp bridge (actually the same from davidred, pci8086,3341)

 

starting both in safe or not mode hangs at the same point....actually not the same, but i think for the same problem...when in safe mode it hangs with this "VGA: family specific matching fails" for 3 times, and in normal hangs at synaptic mouse recognizing, but after displaying 2 times "VGA: family specific matching fails"

 

so now i'm going to add at /etc/rc the ATIRadeon9700 kext, and let see if it starts or it hangs again...the bad thing is that in /Library/Log/CrashReporter/ there's no crash report except two old ones from the image that i DDed (tiger-x86-flat.img), so they don't care...this is gorgeus B)

 

the problem is that i can't even boot the login, not in verbose mode it hangs always at the gray screen with the apple...

updating, done both atiradeon9700.kext kextloading and renaming everything,still don't work,always saying that the display family specific matching fails...i'm thinking this tiger don't like my laptop <_<

 

i dont' know how to boot it, even in any mode, don't need accelereted or anything, just boot :@

 

@MacFeast: thx, but don't have linux installed right now, got big problems even to boot only darwin, so disinstalled it...

I have a ATI 9600 Pro (standard PC model), and just in case your wondering when I boot up with ATI drivers removed, it detects my AGP bridge properly. With the ATI drivers there, the system hangs with the blue mouse as others have reported. Being that a 9600 Pro and 9600 Pro Mobility (as well as the very similar 9700 Pro line) are all avalible for Mac in some form, it seems that these 4 cards are the cards to focus on getting accelerated first. Seems you guys here are already trying some stuff, and I'm just encouraging it :P

 

Just my 2 cents.

I have a ATI 9600 Pro (standard PC model), and just in case your wondering when I boot up with ATI drivers removed, it detects my AGP bridge properly. With the ATI drivers there, the system hangs with the blue mouse as others have reported. Being that a 9600 Pro and 9600 Pro Mobility (as well as the very similar 9700 Pro line) are all avalible for Mac in some form, it seems that these 4 cards are the cards to focus on getting accelerated first. Seems you guys here are already trying some stuff, and I'm just encouraging it

:P

 

Just my 2 cents.

Similar errors for me, sHARD. I'm going to do a reinstall tonight to get more storage space on the HD, then I'll start having fun w/the kexts (9600 mobility on a Compaq HP NC6000, although I get a NW8230 next week).

Oh, I should mention, http://ati.com has some more (newer) drivers for ATI cards, although those don't seem to do anything at all here (it can't find any ATI cards at all). But perhaps those will offer an easier solution. Of course, they are PowerPC though.

Hey everyone,

Well today I installed my Sony Vaio laptop and so far it looks alright.

 

I've loaded all of the plist files that have ATI at the beginning of them and now i'm not getting artefacts (I was before) but I don't know how to put the resolution up from 1024x768. Is there some way I can edit a config file and force it to go up to 1400x1050?

 

Thanks,

Gecko

The hardware I'm trying out OSX on is a Dell Inspiron 8600 that comes with a 128Mb Radeon 9600 Pro Mobility card.

 

Once you have installed OSX to your native partition and booted, you will see it crash with just the error message saying to reboot your machine.  This is caused by the ATIRadeon9700GLDriver.bundle extension.  Delete this from /System/Library/Extensions/ and you no longer need to boot up into safe mode.

 

Now that it boots up, my NIC & Sound are functioning but I don't have accelerated graphics running.  The maximum resolution in this mode is 1600x1200x24 (as specified on the boot prompt).

 

Here is where I have found something interesting, not exactly a break through but getting closer.  If I add this line to /etc/rc

 

kextload /System/Library/Extensions/ATIRadeon9700.kext/

 

And also modify /System/Library/Extensions/ATIRadeon9700.kext/Contents/Info.plist and add in the device ID 0x4e501002 into the string section, I can get OSX to boot in my laptops native resolution of 1920x1200.  Although this isn't confirmed, the resolution is widescreen and (as crazy as this sounds) the mouse pointer appears to be the expected size for that size resolution.

 

However, the problem is that the display suffers alot of artification.  So we are getting half way there but just can't make the driver go that little bit further to display OSX with hardware acceleration.

 

I've this various combinations of the Maxxuss 0.2 & 0.3 SSE3 patches with the original oah750d file, CoreGraphics, mach_kernel, with the platform=ACPI|X86PC flags, etc.

 

So if anyone has any further suggestions on what I can do to get this card going, please spit them out ;).

 

Cheers

 

PS: I love this OS.  I've always loved it.  Much thanks to all the people involved in getting it to a level where it can function on white-box hardware.  If Apple ever decide to release this as a pure operating system that is not hardware dependant, then count me in.

 

Hi Davidred, I have the same notebook. A Dell Inspiron 8600 with an ATI Radeon 9600 Pro Mobility. Can you tell me how you installed MacOS? Did you make an install from the vmware image or did you do an install with pearpc and vmware?

 

My problem is that my installation doesn't work. I tried to make an installable DVD but didn't work.

 

I hope you or anybody else can help me.

 

Thanks,

 

Simon

×
×
  • Create New...