Jump to content

ATI HD framebuffer driver (10.5/10.6) with source code


dong
 Share

900 posts in this topic

Recommended Posts

Hi

I was trying to get this framebuffer to work on my ati mobility radeon hd4330.

 

from the console system.log I get:

"

Feb 7 15:19:44 computer'sname com.apple.kextd[10]: Can't load RadeonHD.kext - no code for running kernel's architecture.

Feb 7 15:19:44 computer'sname com.apple.kextd[10]: Failed to load RadeonHD.kext - (libkern/kext) requested architecture/executable not found.

Feb 7 15:19:44 computer'sname com.apple.kextd[10]: Load com.dong.driver.RadeonHD failed; removing personalities.

"

 

what's wrong?

 

EDIT:

 

problem solved:

I wasn't booting with -x32 on snow leo

 

now it works perfectly even without QE/CI and I' surprised that also battery control is now working fine!!

 

I only experience a slow bootup, around 2 times slower than the previous times...

 

I'm gonna try what happens if I put again x2000 kext in S/L/E hihihi

 

 

EDIT 2:

 

tried to boot with ATIRadeonX2000.kext with edited info.plist with my card's device ID in S/L/E.

Got Kernel Panic

 

from the system log:

 

"Feb 7 16:23:12 computer'sname com.apple.kextd[9]: Can't load ATIRadeonX2000.kext - validation problems.

Feb 7 16:23:12 computer'sname com.apple.kextd[9]: Failed to load ATIRadeonX2000.kext - (libkern/kext) validation failure (plist/executable).

Feb 7 16:23:12 computer'sname com.apple.kextd[9]: Load com.apple.ATIRadeonX2000 failed; removing personalities."

 

maybe could be an useful info.

Link to comment
Share on other sites

i have a Lenovo R60 with x1400.

i can change the resolution from 640x480 to 1400x1050.

But i cannot make screenshots.

with Atombios i got a black screen. With newest without Atombios it woks stable and nice, but not really perfekt.

It´s equal, if i use x1000.kext or not. I add the EDID in the RadeonHD .

 

Why i cannot make Screenshots?

 

Thanks for your work!

Link to comment
Share on other sites

i have a Lenovo R60 with x1400.

i can change the resolution from 640x480 to 1400x1050.

But i cannot make screenshots.

with Atombios i got a black screen. With newest without Atombios it woks stable and nice, but not really perfekt.

It´s equal, if i use x1000.kext or not. I add the EDID in the RadeonHD .

 

Why i cannot make Screenshots?

 

Thanks for your work!

Do you have QE/CI? You possiblly did not use x1000.kext correctly. As for the black screen, try set enableBackLight to false, or BackLightLevel to 0.

Link to comment
Share on other sites

Hi Dong. Thank you for kext work perfectly on Dell Latitude D531.

0x791f - ATI Radeon x1270. :D

 

EDID for Dell Latitude D531:

 

AP///////wAAABcHAAAAAAoKAQEMHhe+6C3JoFdHmCcSSEwAAAABAQEBAQEBAQEBAQEBAQEBAAAA/

gBTUlhGYWtlRURJRAogAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQ

EBAQEBAQEBAQEBAFo=

and for x1270 with my EDID.

RadeonHD.kext.zip

 

best regards

Link to comment
Share on other sites

Dong, I have a Radeon HD3450/3470 and thanks to your efforts, the card is detected in system profiler and I am able to get my Lenovo T400 to display very well in native resolution. But as you may already know the QE does not work. In addition, if i try to add the HW ID to ATIRadeonx2000.kext the screen is unreadable as shown in previous posts. My question would be:

 

Is the lack of this functionality a frambuffer issue or the fact that i need to add the EDID? If it is EDID, how do I go about doing this? Are you still developing more changes or are you hanging up the gloves?

 

No matter what your response is I admire your expertise and my hat goes off to you and all the people who make this initiative possible.

Link to comment
Share on other sites

Yes i changed the DEV ID in the X1000, but no QE/CI.

I have 10.6.2 retail install.

Whats the different between with atombio and without atombios.

Which version is better for x1400?Thanks for help.

 

Do you have QE/CI? You possiblly did not use x1000.kext correctly. As for the black screen, try set enableBackLight to false, or BackLightLevel to 0.
Link to comment
Share on other sites

Yes i changed the DEV ID in the X1000, but no QE/CI.

I have 10.6.2 retail install.

Whats the different between with atombio and without atombios.

Which version is better for x1400?Thanks for help.

For OSX 10.6, you have to touch the new kext and /System/Library/Extensions directory each time after any edit of the kext to make sure it is really kick in. The kextcache system in 10.6 is very tricky. It's very easy to misleading you when kext drivers are tested.

Since my laptop has a x1400, I'd say every version I released should work for this card.

Link to comment
Share on other sites

Hello

 

I have installed the 12/18/2009 kext and on first look it worked fine, res is now what it should be and looks like you can change it, also system profiler lists it as the card it is (3470) but my cursor is a weird 3/4" square of little lines of different colours, some of it it see through. This never changes either.

 

Also this driver don't appear to let me take advantage of the openGL, like features in Adobe PS CS4 (Animated Zoom, View Rotate, 3D tools)

 

Thank you

Link to comment
Share on other sites

dong, thank you for your work! I've tried RadeonHD on my T60p (FireGL V5200) and the latest version works just fine. I can even load it from /Extra/Extensions if I generate .mkext cache for it, so I can still have /S/L/E 100% vanilla. Brightness controls work fine for me, although it boots with brightness one step below maximum, so I have to adjust it with Fn keys.

 

A few other notes, I hope some of them might be helpful for future development:

- I suppose you don't utilize PNLF device for brightness control. With older ATINDRV when I add PNLF to DSDT I get brightness slider in Displays preferences. But with that old ATINDRV brightness controls are very uneven, close to unusable.

- I've tried the version without AtomBios and it didn't work for me. With Debug on it fails to load, with Debug off it blinks the screen for a second during boot, but stays on the boot log (-v in chameleon). From what I understand the version without AtomBios might work for me (0x71C4 is listed), but it might be too old. Can you compile the latest version with AtomBios, or is it already too tightly coupled?

- I had a strange effect during boot - right before the desktop should appear instead of desktop I saw a very weird artefact, like someone spilled green paint on the screen and it slowly covered whole screen area.

- If I close the lid and open it again, the screen is garbled, need to reboot. I had the same problem with ATINDRV and vanilla X1000.kext. I suppose there's no way to fix it, or is there?

- I really wanted to try AtomBios-lees version for x64 mode, but no luck. Do think there's a chance x64 version with AtomBios might appear sometime in the future?

 

The kextcache system in 10.6 is very tricky. It's very easy to misleading you when kext drivers are tested.

 

Try pfix tool, it has been a real savior for me during many (many, many) tests with various kexts: http://osx86.sojugarden.com/2010/02/pfix-v2-6-released/

Link to comment
Share on other sites

Hi everybody,

 

I have a Mobility Radeon HD 3650 (id:9591) on Vaio VGN-FW285D iPC 10.5.6 upgraded with a Combo Upgrade to 10.5.8.I've installed the latest Radeon HD kext I'm running in full res of 1920x1080 but I'm not able to run with CI/QE. Someone can give me some suggestion?

 

 

Many thanks

Link to comment
Share on other sites

Hi everybody,

 

I have a Mobility Radeon HD 3650 (id:9591) on Vaio VGN-FW285D iPC 10.5.6 upgraded with a Combo Upgrade to 10.5.8.I've installed the latest Radeon HD kext I'm running in full res of 1920x1080 but I'm not able to run with CI/QE. Someone can give me some suggestion?

 

 

Many thanks

 

See post #414 on this thread

Link to comment
Share on other sites

EDID export for mac

 

download this on google SwitchResX4.zip install open and find on last item Export EDID.

then open file and find text like this

 

00FFFFFF FFFFFF00 00001707 00000000 0A0A0101 0C1E17BE E82DC9A0 57479827 12484C00 00000101 01010101 01010101 01010101 01010000 00FE0053 52584661 6B654544 49440A20 01010101 01010101 01010101 01010101 01010101 01010101 01010101 01010101 01010101 01010101 01010101 01010101 01010101 0101005A

 

copy and paste it to http://home2.paulschou.net/tools/xlate/ to HEX and get your result in BASE64

like this

 

AP///////wAAABcHAAAAAAoKAQEMHhe+6C3JoFdHmCcSSEwAAAABAQEBAQEBAQEBAQEBAQEBAAAA/

gBTUlhGYWtlRURJRAogAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB

AQEBAQEBAQEBAQEBAFo=

 

paste it to info.plist in RadeonHD.kext

DONE

Link to comment
Share on other sites

EDID export for mac

 

download this on google SwitchResX4.zip install open and find on last item Export EDID.

then open file and find text like this

 

00FFFFFF FFFFFF00 00001707 00000000 0A0A0101 0C1E17BE E82DC9A0 57479827 12484C00 00000101 01010101 01010101 01010101 01010000 00FE0053 52584661 6B654544 49440A20 01010101 01010101 01010101 01010101 01010101 01010101 01010101 01010101 01010101 01010101 01010101 01010101 01010101 0101005A

 

copy and paste it to http://home2.paulschou.net/tools/xlate/ to HEX and get your result in BASE64

like this

 

AP///////wAAABcHAAAAAAoKAQEMHhe+6C3JoFdHmCcSSEwAAAABAQEBAQEBAQEBAQEBAQEBAAAA/

gBTUlhGYWtlRURJRAogAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB

AQEBAQEBAQEBAQEBAFo=

 

paste it to info.plist.

DONE

 

 

Hello and thank you for helpping, what does this do?

Link to comment
Share on other sites

Your framebuffer driver works great. I can change the resolution, no artifacts.

I have the right atix1000.kext with changed dev ID 7145. But no frontrow and no screensaver which needed graphics acceleration.

i always look with kextstat which kext are loaded, and use the kextutility after every change.

It is equal, which efi i use (boot file in root)? At the moment i use the newest from netkas.

 

For OSX 10.6, you have to touch the new kext and /System/Library/Extensions directory each time after any edit of the kext to make sure it is really kick in. The kextcache system in 10.6 is very tricky. It's very easy to misleading you when kext drivers are tested.

Since my laptop has a x1400, I'd say every version I released should work for this card.

 

Now i have a fully working x1400 mobility!

I copied all ATI*.kext from Snowleopard Server to my Extensions Folder, changed DEV ID to 7145,

started kextutility and after restart, i had full acceleration :D

Newest Netkas boot, ATIX1000Radeon.kext from Snowleopard Server 10.6.2, RadeonHD.kext und ATISupport.kext

Link to comment
Share on other sites

Hy dong,

 

anything new about getting HD4570 mobility to work in SL 10.6.2?

My laptop: Toshiba U500 - 115

 

Hi! It works well on my Studio 1557 with ATI Mobility HD4570 under 10.6.2; apart that i have a bad looking mouse pointer (i have tried to put enableHWcursor to false but it didn't work - i need to check why). My display is in 1920x1080x32 and it's great! (and i can change resolution but the other resolutions didn't look fine at first):

Jeu de composants : Mobility Radeon HD 4500 Series

Type : Processeur graphique (GPU)

Bus : PCIe

Longueur de la voie PCIe : x16

VRAM (totale) : 256 Mo

Fournisseur : ATI (0x1002)

Identifiant du périphérique : 0x9553

Identifiant de révision : 0x0000

Moniteurs :

Moniteur de type inconnu :

Résolution : 1920 x 1080

Profondeur de pixels : Couleurs 32 bits (ARGB8888)

Moniteur principal : Oui

Miroir : Désactivé

Connecté : Oui

 

I had to (re)move ATI4500Controller and ATIX2000 extensions so they didn't load.

 

I will keep trying with PCEFI 10.6/Chameleon (the card is also recognized but there is no output - LCD panel is not recognized - i need to connect by VNC) in order to have QE/CI but i'm already really API to have the full resolution on my computer under Mac OS X for the first time, many thanks Dong!

Link to comment
Share on other sites

Hi! It works well on my Studio 1557 with ATI Mobility HD4570 under 10.6.2; apart that i have a bad looking mouse pointer (i have tried to put enableHWcursor to false but it didn't work - i need to check why). My display is in 1920x1080x32 and it's great! (and i can change resolution but the other resolutions didn't look fine at first):

Jeu de composants : Mobility Radeon HD 4500 Series

Type : Processeur graphique (GPU)

Bus : PCIe

Longueur de la voie PCIe : x16

VRAM (totale) : 256 Mo

Fournisseur : ATI (0x1002)

Identifiant du périphérique : 0x9553

Identifiant de révision : 0x0000

Moniteurs :

Moniteur de type inconnu :

Résolution : 1920 x 1080

Profondeur de pixels : Couleurs 32 bits (ARGB8888)

Moniteur principal : Oui

Miroir : Désactivé

Connecté : Oui

 

I had to (re)move ATI4500Controller and ATIX2000 extensions so they didn't load.

 

I will keep trying with PCEFI 10.6/Chameleon (the card is also recognized but there is no output - LCD panel is not recognized - i need to connect by VNC) in order to have QE/CI but i'm already really API to have the full resolution on my computer under Mac OS X for the first time, many thanks Dong!

 

What do you mean by vnc i have the same as yours and qe never works no matter what you do but your saying qe after vnc how explain please on details

Link to comment
Share on other sites

Hmm...its interesting that you still have that problem when you set HWcursor to false. I have the same laptop just with the 720p screen and have no issues. Maybe its the different resolution thats causing problems.

Link to comment
Share on other sites

 Share

×
×
  • Create New...