Jump to content

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


dong
 Share

900 posts in this topic

Recommended Posts

There is nothing to prevent it from working for desktop card, just there is better choice for them. As for the bios dump code, if you mean the one from ATIFramebuffer, I already added it in current source. But it only works for cards later than RHD_R600.

well. 43xx/45xx/46xx framebuffer can work only with dvi for example.

 

 

So it isnt better ;)

Link to comment
Share on other sites

version from 20091028 confirmed to be working on most outdated, yet available on the market chipset - ATI RS690G,

which is NUMA based shared memory but ATOMBIOS based one (the first one based on ATOMBIOS from Mobility world I guess).

it's full name is ATI Radeon Mobility Xpress x1200 series (mean x1250, x1270 and even x1300 mobility ones).

this chipset originally was provided in 2 editions - Intel based and AMD based.

for Intel edition no extra fixes require (will be re-confirmed, but so far it's just working)

for AMD edition start of RadeonHD was unsuccessful until ACPIfix wasn't applied. (Dong, please take a notice!)

Link to comment
Share on other sites

it's full name is ATI Radeon Mobility Xpress x1200 series (mean x1250, x1270 and even x1300 mobility ones).

this chipset originally was provided in 2 editions - Intel based and AMD based.

for Intel edition no extra fixes require (will be re-confirmed, but so far it's just working)

for AMD edition start of RadeonHD was unsuccessful until ACPIfix wasn't applied. (Dong, please take a notice!)

I have no idea about the ACPIfix. Can you tell me more?
Link to comment
Share on other sites

HI

Please help me! It somehow does not work for me. On a fresh install of iDeneb 10.5.6 i installed the kext and got the followings. I have a hp6910p with ATI X2300 card

 

thank you very much

 

 

 

Nov 5 22:18:13 balints-somemodel kernel[0]: 0) 1328 1360 (1405) 1405 800 (800) 803 809 (822) 822

Nov 5 22:18:13 balints-somemodel kernel[0]: Call to AtomBIOS Get Panel Mode succeeded

Nov 5 22:18:13 balints-somemodel kernel[0]: Query for AtomBIOS Get Panel EDID: failed

Nov 5 22:18:13 balints-somemodel kernel[0]: Crtc[0]: found native mode from Monitor[LVDS Panel]:

Nov 5 22:18:13 balints-somemodel kernel[0]: Modeline "1280x800" 69 1280 1328 1360 1405 800 803 809 822

Nov 5 22:18:13 balints-somemodel kernel[0]: Connector "PANEL" uses Monitor "LVDS Panel":

Nov 5 22:18:13 balints-somemodel kernel[0]: DxModeValid: CRTC 1

Nov 5 22:18:13 balints-somemodel kernel[0]: Listing modesetting layout:

Nov 5 22:18:13 balints-somemodel kernel[0]: CRTC 1: tied to PLL 1 and LUT A:

Nov 5 22:18:13 balints-somemodel kernel[0]: Outputs: LVDS (PANEL)

Nov 5 22:18:13 balints-somemodel kernel[0]: CRTC 2: unused

Nov 5 22:18:13 balints-somemodel kernel[0]: Unused Outputs: DAC A, DAC B, TMDS A

Nov 5 22:18:13 balints-somemodel kernel[0]: Validating Modes from Monitor "LVDS Panel" on "PANEL"

Nov 5 22:18:13 balints-somemodel kernel[0]: FUNCTION: DxFBValid: CRTC 1

Nov 5 22:18:13: --- last message repeated 4 times ---

Nov 5 22:18:13 balints-somemodel kernel[0]: FUNCTION: DxFBValid: CRTC 2

Nov 5 22:18:13 balints-somemodel kernel[0]: Using 112x97 DPI.

Nov 5 22:18:13 balints-somemodel kernel[0]: Using 1280x800 Framebuffer with 1280 pitch

Nov 5 22:18:13 balints-somemodel kernel[0]: Free FB offset 0x00000000 (size = 0x04000000)

Nov 5 22:18:13 balints-somemodel kernel[0]: Display resolutions detected:

Nov 5 22:18:13 balints-somemodel kernel[0]: 1280 X 800 @ 60Hz

Nov 5 22:18:13 balints-somemodel kernel[0]: 1024 X 768 @ 60Hz

Nov 5 22:18:13 balints-somemodel kernel[0]: 800 X 600 @ 60Hz

Nov 5 22:18:13 balints-somemodel kernel[0]: 640 X 480 @ 60Hz

Nov 5 22:18:13 balints-somemodel kernel[0]: D1CRTCDisable: 0 loops

Nov 5 22:18:13 balints-somemodel kernel[0]: LVDSPower(LVDS,POWER_RESET)

Nov 5 22:18:13 balints-somemodel kernel[0]: Setting up "1024x768" (1024x768@60Hz)

Nov 5 22:18:13 balints-somemodel kernel[0]: FUNCTION: DxFBSet: CRTC 1 (1024[1024]x768@32bpp) +0x0 )

Nov 5 22:18:13 balints-somemodel kernel[0]: FUNCTION: DxModeSet: CRTC 1

Nov 5 22:18:13 balints-somemodel kernel[0]: FUNCTION: DxScaleSet: CRTC 1 viewport: 1024x768 - OverScan: T: 0 B: 0 R: 0 L: 0

Nov 5 22:18:13 balints-somemodel kernel[0]: Full

Nov 5 22:18:13 balints-somemodel kernel[0]: RHDPLLSet: Setting PLL 1 to 65000kHz

Nov 5 22:18:13 balints-somemodel kernel[0]: PLL Calculation: 65000kHz = (((27000 / 0x1B) * 0x28A) / 0xA) (0kHz off)

Nov 5 22:18:13 balints-somemodel kernel[0]: PLL1Calibrate: lock in 257 loops

Nov 5 22:18:13 balints-somemodel kernel[0]: Shutting down DAC A

Nov 5 22:18:13 balints-somemodel kernel[0]: DACPower(DAC A,POWER_SHUTDOWN)

Nov 5 22:18:13 balints-somemodel kernel[0]: Shutting down DAC B

Nov 5 22:18:13 balints-somemodel kernel[0]: DACPower(DAC B,POWER_SHUTDOWN)

Nov 5 22:18:13 balints-somemodel kernel[0]: Shutting down TMDS A

Nov 5 22:18:13 balints-somemodel kernel[0]: TMDSAPower(TMDS A,POWER_SHUTDOWN)

Nov 5 22:18:13 balints-somemodel kernel[0]: LVDSPower(LVDS,POWER_ON)

Nov 5 22:18:13 balints-somemodel kernel[0]: LVDSSetBacklight: trying to set BL_MOD_LEVEL to: 0

Link to comment
Share on other sites

Nov 5 22:18:13 balints-somemodel kernel[0]: LVDSSetBacklight: trying to set BL_MOD_LEVEL to: 0
It looks like you are not using the latest 10/28 version. I already added code to avoid set BL_MOD_LEVEL to: 0
Link to comment
Share on other sites

Im very new to OSX so I may be doing something wrong.

 

Have a Sony laptop with ATI Mobility HD 3470.

 

Installed the RadeonHD.kext (10.6) using the Kext helper and after rebooting etc. no changes so I ran "sudo kextload -v RadeonHD.kext" I get the following errors:-

 

kextload: extension RadeonHD.kext appears to be loadable

 

kextload: loading extension RadeonHD.kext

 

/System/Library/Extensions/System.kext/PlugIns/IOKit.kext/IOKit: Undefined in symbol set: __ZN14IOPMrootDomain24systemPowerEventOccurredEPK8OSSymbolP8OSObject

 

/System/Library/Extensions/System.kext/PlugIns/IOKit.kext/IOKit: Undefined in symbol set: __ZN14IOPMrootDomain24systemPowerEventOccurredEPK8OSSymbolj

 

10RadeonDump is not compatible with its superclass, 9IOService superclass changed?

 

kextload: a link/load error occured for kernel extension RadeonHD.kext

 

link/load failed for extension RadeonHD.kext

 

(run kextload with -t for diagnostic output)

 

 

I have checked permissions etc. and they are all okay. Any ideas what im doing wrong (OSX is 10.5.4)?

 

Thanks,

 

Dean

Link to comment
Share on other sites

Pefect job it worked in my ati x1200 I just needed to add my resolution to the boot.plist now I'm working at 1152x864 it's not the best resolution but its better than the default one (I dont remember wich is).

 

Thank you so much, I hope you can get qe/ci working for this card.

(sorry for my english).

Link to comment
Share on other sites

Pefect job it worked in my ati x1200 I just needed to add my resolution to the boot.plist now I'm working at 1152x864 it's not the best resolution but its better than the default one (I dont remember wich is).

 

Thank you so much, I hope you can get qe/ci working for this card.

(sorry for my english).

no, this is probably same story, as mine with RS690G (mobility xpress x1200 series).

by default you shouldn't need any resolution hardcoding inside Boot.plist, instead you'll have display menu with choices to select.

on my side this fixed once I applied ACPIfix (available inside iDeneb 1.6), please confirm about yours.

I'm going to look on how to extract logs in such case.

Link to comment
Share on other sites

Im very new to OSX so I may be doing something wrong.

 

Have a Sony laptop with ATI Mobility HD 3470.

 

Installed the RadeonHD.kext (10.6) using the Kext helper and after rebooting etc. no changes so I ran "sudo kextload -v RadeonHD.kext" I get the following errors:-

 

kextload: extension RadeonHD.kext appears to be loadable

 

kextload: loading extension RadeonHD.kext

 

/System/Library/Extensions/System.kext/PlugIns/IOKit.kext/IOKit: Undefined in symbol set: __ZN14IOPMrootDomain24systemPowerEventOccurredEPK8OSSymbolP8OSObject

 

/System/Library/Extensions/System.kext/PlugIns/IOKit.kext/IOKit: Undefined in symbol set: __ZN14IOPMrootDomain24systemPowerEventOccurredEPK8OSSymbolj

 

10RadeonDump is not compatible with its superclass, 9IOService superclass changed?

 

kextload: a link/load error occured for kernel extension RadeonHD.kext

 

link/load failed for extension RadeonHD.kext

 

(run kextload with -t for diagnostic output)

 

 

I have checked permissions etc. and they are all okay. Any ideas what im doing wrong (OSX is 10.5.4)?

 

Thanks,

 

Dean

 

 

If you are using 10.5.4 then try the Leopard version of RadeonHD.kext (10.5)

Link to comment
Share on other sites

no, this is probably same story, as mine with RS690G (mobility xpress x1200 series).

by default you shouldn't need any resolution hardcoding inside Boot.plist, instead you'll have display menu with choices to select.

on my side this fixed once I applied ACPIfix, please confirm about yours.

I'm going to look on how to extract logs in such case.

 

Hmm I thought it was working well it's Ok I'll give it a try to the ACPIfix and I'll tell you, rigth now my sytem its not working but I will try it :)

Link to comment
Share on other sites

If the ATIRadeonX2000.kext loads for you independently of RadeonHD or any other FB and is giving you QE/CI support without resolution change, you are in luck.

 

Otherwise you will not get acceleration unless dong, or someone else, writes (ports?) entire 2D/3D acceleration code to Mac. That has always been a problem in Callisto, which was only a Framebuffer and not an Accelerator. But back then Accelerator did not have device-id and chip feature specific locks like today so it worked for everyone.

 

 

Well ATIRadeonX2000.kext has a dependency on the ATI Framebuffer which the earlier accelerators didn't afaik. Specifically the set_display_mode_and_vram() function, which fails if the ATI FB is missing. I have build RadeonHD with more logging code to see the differences with and without the accelerator, the jury is still out though :-)

 

Writing a framebuffer is one thing (it just a block of mapped memory and some card config functions really), but writing an accelerator is a completely different kettle of fish altogether. For example the open source linux drivers don't have proper 3d acceleration implemented yet - and most of the programmers actually work for AMD! As long as Apple are using ATI cards, there will be accelerator support with all the additional drm/powerplay, etc for all the chipset families (if not specific cards ), so it's much, much more practical to erm "tweak" the existing files for specific cards, than to attempt the impossible.

Link to comment
Share on other sites

Could you someone help me with this?

 

I have a Fujitsu N6410 with Radeon X1400

 

Display:

 

 

 

Type: Display

 

Bus: PCIe

 

PCIe Lane Width: x16

 

VRAM (Total): 128 MB

 

Vendor: ATI (0x1002)

 

Device ID: 0x7145

 

Revision ID: 0x0000

 

Kernel Extension Info: No Kext Loaded

 

Displays:

 

Display:

 

Resolution: 1152 x 864

 

Depth: 32-Bit Color

 

Core Image: Software

 

Main Display: Yes

 

Mirror: Off

 

Online: Yes

 

Quartz Extreme: Not Supported

 

I had tried put in the System/Library/Extensions but it don't work.

 

I'm new to osx86, maybe i did something wrong here.

 

Thanks

Link to comment
Share on other sites

HI again I got good and bad news, it worked on my Ati x1200 completely, it boot with a resolution that is not supported but i can see everything well (the dock my desktop everything except the menu bar because of the resolution). I can see the displays in my pref panel but (here is the bad new) when I try to change the resolution everything becomes black. I had to remove the kext and install it again and it seems to boot with different resolution everytime I resinstall it, well thats all I hope you can help me.

 

Sorry for my english :(

Link to comment
Share on other sites

 Share

×
×
  • Create New...