Jump to content

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


dong
 Share

900 posts in this topic

Recommended Posts

thanks dong! the RadeonHD.kext works wonderfully on my thinkpad z61m with mobility x1400 - thanks for your work. i have also modified the ATIRadeonX1000.kext to get rid of the weird cursor and to enable hardware acceleration.

only thing i can't figure out:

when closing the laptop display (the lid) and reopening it, the display is scrambled. i tried to replace the edid with the one for my display, but this didnt help...

 

post-589633-1269986606_thumb.jpg

 

any ideas?

Link to comment
Share on other sites

thanks dong! the RadeonHD.kext works wonderfully on my thinkpad z61m with mobility x1400 - thanks for your work. i have also modified the ATIRadeonX1000.kext to get rid of the weird cursor and to enable hardware acceleration.

only thing i can't figure out:

when closing the laptop display (the lid) and reopening it, the display is scrambled. i tried to replace the edid with the one for my display, but this didnt help...

There won't be a solution for this. None of the available Framebuffers can restore image after lid been closed. You should enable your Thinkpad to go to sleep after lid has been closed. That way when you open it, everything will be fine. Check my guide here, if you need more info (I have T60p).

Link to comment
Share on other sites

i reinstalled everything and customised info.plist using an edid i got from linux read-edid

 

i installed radeonhd.kext using kext helper

 

but it still doesnt work : i get random glitches and bugs on boot when display loads

 

 

 

might be more complicated as bobby99 speaks about compilations and injections.. points i don't get yet about this kext...

 

anyone ?

Link to comment
Share on other sites

i reinstalled everything and customised info.plist using an edid i got from linux read-edid

 

i installed radeonhd.kext using kext helper

 

but it still doesnt work : i get random glitches and bugs on boot when display loads

 

Can you test this? Type below in a terminal window and check what happens:

sudo kextload /System/Library/Extensions/RadeonHD.kext

Since you already removed ATI*.kext, I just want to make sure what prevented RadeonHD from loading.

If that cmd loads RadeonHD.kext without problem, please paste your IOReg output in attachment or codebox.

Link to comment
Share on other sites

After installation on my notebook, i have a problems with Cursor. Ati Radeon mobility HD 3400)

can you help me?

 

I added a small FAQ in the topic, check there for the answers.

Link to comment
Share on other sites

I added a small FAQ in the topic, check there for the answers.

dong, thanks again for your work. Just wanted to ask again a few questions/share feedback, in case you missed them from before:

 

- 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 really wanted to try AtomBios-less version for x64 mode, but no luck. Do think there's a chance x64 version with AtomBios might appear sometime in the future?

 

- Another point I noticed, which currently stops me from using RadeonHD.kext. Every now and then when I boot, mouse cursor is completely invisible (no blocks, no nothing). It is very random, on the next reboot everything is usually fine.

 

- Another thing related to cursor - it disappears on some applications. For example - on DSDTSE edit window. If I move mouse out of that window focus - cursor appears again.

Link to comment
Share on other sites

Can you test this? Type below in a terminal window and check what happens:

sudo kextload /System/Library/Extensions/RadeonHD.kext

Since you already removed ATI*.kext, I just want to make sure what prevented RadeonHD from loading.

If that cmd loads RadeonHD.kext without problem, please paste your IOReg output in attachment or codebox.

i get this :

10RadeonDump is not compatible with its superclass, 9IOService superclass changed?
kextload: a link/load error occured for kernel extension /System/Library/Extensions/RadeonHD.kext
link/load failed for extension /System/Library/Extensions/RadeonHD.kext
(run kextload with -t for diagnostic output)

i boot in safe mode

 

thanks for your attention !

Link to comment
Share on other sites

- 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.
Yes, I read your previous post. I did not use PNLF in the code and like to investigate it.
- 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 without AtomBios, or is it already too tightly coupled?
Yes, I don't have latest version without Atombios code.
- I really wanted to try AtomBios-less version for x64 mode, but no luck. Do think there's a chance x64 version with AtomBios might appear sometime in the future?
Semmantic said he is tring to build such a version, I don't know how it is going. I don't have time to work on the whole project currently and don't have a vision when it will be available.
- Another point I noticed, which currently stops me from using RadeonHD.kext. Every now and then when I boot, mouse cursor is completely invisible (no blocks, no nothing). It is very random, on the next reboot everything is usually fine.

 

- Another thing related to cursor - it disappears on some applications. For example - on DSDTSE edit window. If I move mouse out of that window focus - cursor appears again.

I have the same problem for both issue. I need check the reverse engineered ATI code to see where "updateCursor" or other cursor related functions are called but not in my RadeonHD code. If all the callbacks are also called in RadeonHD, maybe the problem can be solved.

 

i get this :

10RadeonDump is not compatible with its superclass, 9IOService superclass changed?
kextload: a link/load error occured for kernel extension /System/Library/Extensions/RadeonHD.kext
link/load failed for extension /System/Library/Extensions/RadeonHD.kext
(run kextload with -t for diagnostic output)

i boot in safe mode

Obviously you installed a wrong version (10.6). Based on your previous post, you are using 10.5.8, you should install RadeonHD.kext for 10.5.
Link to comment
Share on other sites

Hi Dong,

 

Thanks for the great work. I got a problem though.

 

I had iATKOS v4i on my Thinkpad R60. I used your driver and it works wonderfully. fixed the mouse tear, resolution and everything. However when I recently installed vanilla Snow Leopard on the same laptop, and I installed your driver again (of course the 10.6 version), but it doesn't seem to make any difference. Still got mouse tear, no resolution available. The boot log didn't contain anything that seems to relate to this driver...

 

I don't know if this is relevant but on my Snow Leopard install the laptop's keyboard and trackpoint didn't work out of box so I had to use ApplePS2Controller.kext and AppleACPIPS2Nub.kext (installed from myHack installer). The iATKOS v4i installation recognized the keyboard and trackpoint before I tried anything on it...

 

Need your help!

Link to comment
Share on other sites

Hello dong, thanks a lot for this great kext. I really appreciate your work.

i have a slight problem...

I have a ATI Mobility Radeon x1400. I have QE/CI enabled with full 1280x800 resolution. I'm using your kext which is working fabulously except for one very annoying issue. When i go to hover over a text box where you enter text the cursor will disappear. This happens in dreamweaver which makes it extremely annoying when making websites... as i cant see the cursor to click. I have to guess where it is. It displays the cursor fine in text boxes in safari and textedit but the same thing happens in the search box in iTunes. I've noticed that if i disable hardware cursor then the issue is temporary fixed but it makes the mouse blink and sometimes disappear or leave tearing on the screen.

 

Just wondered if you know whats happening?

Link

Link to comment
Share on other sites

I am still lost as to obtaining the EDID information from my laptop's video. I have gotten raw information but this is strictly binary, or all the other information. The data that is contained within the info.plist is some extended asci format data, not binary, unless I am missing something. Please inform me as to the way of obtaining the edid information in the format that will easily be inserted into the plist for the radeonhd.kext. Thanks a ton guys!!!

 

BTW I have a Dell Inspiron 1764 with a Mobility RadeonHD 4330 512MB and have iDeneb 10.5.8 Lite edition installed using the busratio=20 option when booting. Mouse and kb work with old apple ps2 driver, and have the network working with the realtek driver, but no wireless and no sound as of yet, though I just got this working yesterday.

 

I intensely appreciate all the work you guys have done here and want to thank dong for all his work on the framebuffer and ati video drivers. Good luck!!

 

Thomas

Link to comment
Share on other sites

dell inspiron 6400

Guys I have a problem, all I did well but I have refresh rate! Do not know what the problem is, if anyone had a problem similar to! Thanks in advance!

P.S job well done thanks for the drivers!

post-105531-1271109967_thumb.png

post-105531-1271109988_thumb.png

Link to comment
Share on other sites

dell inspiron 6400

Guys I have a problem, all I did well but I have refresh rate! Do not know what the problem is, if anyone had a problem similar to! Thanks in advance!

P.S job well done thanks for the drivers!

From my understanding of the linux code, it says all LCD defaults to 60Hz and other refresh rate has no practical meaning. Thus I only added 60Hz resolutions.

Link to comment
Share on other sites

From my understanding of the linux code, it says all LCD defaults to 60Hz and other refresh rate has no practical meaning. Thus I only added 60Hz resolutions.

 

Thanks dong but as soon as I add 60Hz to com.apple.Boot.plist will not boot Mac OS :-( Once again thank you

Link to comment
Share on other sites

I have tried madchicken's new kext,under i386 mode,my snow leopard works great!In the systemprofiler, it shows that it supports x86_64,so I tried boot with arch=x86_64,but it gave me five languages so that I could't boot to desktop.I don't know why.Sorry for my poor english.It's first time that I reply in this forum.This is my kext information.

RadeonHD:

 

版本: 1.0

上次修改: 10-4-12 下午3:22

种类: Universal

架构: i386, ppc, x86_64

64 位 (Intel): 是

位置: /System/Library/Extensions/RadeonHD.kext

内核扩展版本: 1

载入地址: 0x48525000

有效: 是

鉴定: 是

相关性: 满意

This is my radeondump information

Found a device of class RadeonDump: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEGP@1/IOPCI2PCIBridge/VGA@0/RadeonHD/RadeonDump

 

Mapped IO at 0x4188f000 (size 0x00010000)

FB at 0xc8000000 (size 0x08000000) mapped to 0x48b60000

Card not in database: 0x7149:0x17AA:0x3BF6; using generic modesetting.

If - and only if - your card does not work or does not work optimally

please contact radeonhd@opensuse.org to help rectify this.

Use the subject: 0x7149:0x17AA:0x3BF6: <name of board>

and *please* describe the problems you are seeing

in your message.

Detected an M52 on an unidentified card

PCIE Card Detected

Getting BIOS copy from legacy address

ATOM BIOS Rom:

SubsystemVendorID: 0x17aa SubsystemID: 0x3bf6

IOBaseAddress: 0x2000

Filename: br22136.bin

BIOS Bootup Message:

20384 M52P Acer Wistron A12 DDR2 BU BIOS 392e/370m Channel B

 

Analog TV Default Mode: 1

Found default TV Mode NTSC

VideoRAM: 131072 kByte

Framebuffer space used by Firmware (kb): 20

Start of VRAM area used by Firmware: 0x7ffb000

AtomBIOS requests 20kB of VRAM scratch space

AtomBIOS VRAM scratch base: 0x7ffb000

Default Engine Clock: 392000

Default Memory Clock: 370000

Maximum Pixel ClockPLL Frequency Output: 1100000

Minimum Pixel ClockPLL Frequency Output: 0

Maximum Pixel ClockPLL Frequency Input: 13500

Minimum Pixel ClockPLL Frequency Input: 1000

Maximum Pixel Clock: 400000

Reference Clock: 27000

Default Engine Clock: 392000

GPIO_I2C_Clk_Mask: 0x1f90

GPIO_I2C_Clk_Mask_Shift: 0x0

GPIO_I2C_Data_Mask: 0x1f90

GPIO_I2C_Data_Mask_Shift: 0x8

I2C bus "RHD I2C line 0" initialized.

GPIO_I2C_Clk_Mask: 0x1f94

GPIO_I2C_Clk_Mask_Shift: 0x0

GPIO_I2C_Data_Mask: 0x1f94

GPIO_I2C_Data_Mask_Shift: 0x8

I2C bus "RHD I2C line 1" initialized.

GPIO_I2C_Clk_Mask: 0x1f98

GPIO_I2C_Clk_Mask_Shift: 0x0

GPIO_I2C_Data_Mask: 0x1f98

GPIO_I2C_Data_Mask_Shift: 0x8

I2C bus "RHD I2C line 2" initialized.

Detected VGA mode.

MC FBIntAddress: 0xC8000000, size: 134152192.

Minimum Pixel ClockPLL Frequency Output: 0

Maximum Pixel ClockPLL Frequency Output: 1100000

Maximum Pixel Clock: 400000

Reference Clock: 27000

FB: Allocated Cursor Image at offset 0x00000000 (size = 0x00004000)

FB: Allocated Cursor Image at offset 0x00004000 (size = 0x00004000)

Using HW cursor

FirmwareInfo Revision 0104

Unused attribute: ul3DAccelerationEngineClock 0

Unused attribute: ulDriverTargetEngineClock 600000

Unused attribute: ulDriverTargetMemoryClock 600000

Unused attribute: ucASICMaxTemperature 0

Scary bits: Estimated MinEngineClock 250000 kHz

Scary bits: Estimated MinMemoryClock 250000 kHz

No VoltageObjectInfo table

Default Engine Clock: 392000

Default Memory Clock: 370000

Current Engine Clock: 391500

Current Memory Clock: 369000

Not supporting SetVoltage V1 yet

Unused attribute: SET_VOLTAGE_GET_MAX_VOLTAGE: type 6 mode 1 index 0

Power Management: used engine clock / memory clock / core (VDDC) voltage (0: ignore)

Power Management: Raw Ranges

Minimum 250000 kHz / 250000 kHz / 0 V

Maximum 0 kHz / 0 kHz / 0 V

Default 392000 kHz / 370000 kHz / 0 V

PowerPlayInfo Revision 0201

PowerPlayInfo Revision not yet implemented

Query for Get Chip Configs: not implemented

Power Management: Cannot get known good chip configurations

Power Management: Validated Ranges

Minimum 250000 kHz / 250000 kHz / 0 V

Maximum 392000 kHz / 370000 kHz / 0 V

Default 392000 kHz / 370000 kHz / 0 V

Power Management: Final Levels

Off 250000 kHz / 250000 kHz / 0 V

Idle 196000 kHz / 370000 kHz / 0 V

Slow2D 392000 kHz / 370000 kHz / 0 V

Fast2D 392000 kHz / 370000 kHz / 0 V

Slow3D 392000 kHz / 370000 kHz / 0 V

Fast3D 392000 kHz / 370000 kHz / 0 V

Max3D 392000 kHz / 370000 kHz / 0 V

User 392000 kHz / 370000 kHz / 0 V

AtomBIOS Connector[0]: VGA Device: CRT1 Output: 1 Found DDC GPIO Index: 0

HW DDC 0 NO HPD

AtomBIOS Connector[1]: PANEL Device: LCD1 Output: 4 Found DDC GPIO Index: 6

NO DDC NO HPD

AtomBIOS Connector[2]: SVIDEO Device: TV1 Output: 2 NO DDC NO HPD

Connector[0] {RHD_CONNECTOR_VGA, "VGA CRT1", RHD_DDC_0, RHD_HPD_NONE, { RHD_OUTPUT_DACA, RHD_OUTPUT_NONE } }

Connector[1] {RHD_CONNECTOR_PANEL, "PANEL LCD1", RHD_DDC_NONE, RHD_HPD_NONE, { RHD_OUTPUT_LVTMA, RHD_OUTPUT_NONE } }

Connector[2] {RHD_CONNECTOR_TV, "SVIDEO TV1", RHD_DDC_NONE, RHD_HPD_NONE, { RHD_OUTPUT_DACB, RHD_OUTPUT_NONE } }

RHDConnectorsInit: 0 (VGA CRT1) type 1, ddc 0, hpd 0

Attaching Output DAC A to Connector VGA 1

RHDConnectorsInit: 1 (PANEL LCD1) type 4, ddc 255, hpd 0

LVDS SEQ Dig onto DE: 30

LVDS SEQ DE to BL: 350

LVDS Off Delay: 550

LVDS Duallink: 0x0

LVDS 24Bit: 0x0

LVDS FPDI: 0x0

LVDS Temporal Dither : 0x1

LVDS Spatial Dither : 0x0

LVDS Grey Level: 0x2

AtomBIOS returned 2 Grey Levels

Detected a 18bit single link panel.

Printing LVDS paramaters:

MacroControl: 0x0C720407

TXClockPattern: 0x0063

PowerDigToDE: 0x001E

PowerDEToBL: 0x015E

OffDelay: 0x0226

PowerRefDiv: 0x0F9F

BlonRefDiv: 0x0000

Get BL level: 0x0

Attaching Output LVDS to Connector PANEL

RHDConnectorsInit: 2 (SVIDEO TV1) type 5, ddc 255, hpd 0

Attaching Output DAC B to Connector TV SVIDEO

Output: DAC A[0x 1] - adding devices:

Output: LVDS[0x 4] - adding devices:

Output: DAC B[0x 2] - adding devices:

DACSense: DAC: 0x00

DACSense: DAC: 0x00

rhdAtomLvdsTimings: LVDS Modeline: 1280x800 71110 1280 (1280) 1328 1360 (1440) 1440 800 (800) 803 809 (823) 823

Query for AtomBIOS Get Panel EDID: failed

Crtc[0]: found native mode from Monitor[LVDS Panel]:

Modeline "1280x800" 71 1280 1328 1360 1440 800 803 809 823

Connector "PANEL" uses Monitor "LVDS Panel":

DxModeValid: CRTC 1

Listing modesetting layout:

CRTC 1: tied to PLL 1 and LUT A:

Outputs: LVDS (PANEL)

CRTC 2: unused

Unused Outputs: DAC A, DAC B

Validating Modes from Monitor "LVDS Panel" on "PANEL"

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 2

Using 108x107 DPI.

Using 1280x800 Framebuffer with 1280 pitch

Free FB offset 0x00008000 (size = 0x07FF8000)

Display resolutions detected:

1280 X 800 @ 60Hz

1280 X 720 @ 59Hz

1152 X 768 @ 59Hz

1024 X 768 @ 59Hz

800 X 600 @ 59Hz

768 X 576 @ 59Hz

854 X 480 @ 59Hz

720 X 480 @ 59Hz

640 X 480 @ 59Hz

D1CRTCDisable: 0 loops

Attempting to set Engine Clock to 196000

Current Engine Clock: 195750

Current Memory Clock: 369000

Not supporting SetVoltage V1 yet

Unused attribute: SET_VOLTAGE_GET_MAX_VOLTAGE: type 6 mode 1 index 0

LVDSPower(LVDS,POWER_RESET)

Setting up "1280x800" (1280x800@60Hz)

FUNCTION: DxFBSet: CRTC 1 (1280[1280]x800@32bpp) +0x8000 )

FUNCTION: DxModeSet: CRTC 1

FUNCTION: DxScaleSet: CRTC 1 viewport: 1280x800 - OverScan: T: 0 B: 0 R: 0 L: 0

None

RHDPLLSet: Setting PLL 1 to 71110kHz

PLL Calculation: 71110kHz = (((27000 / 0x15) * 0x2CF) / 0xD) (1kHz off)

PLL1Calibrate: lock in 129 loops

Shutting down DAC A

DACPower(DAC A,POWER_SHUTDOWN)

Shutting down DAC B

DACPower(DAC B,POWER_SHUTDOWN)

LVDSPower(LVDS,POWER_ON)

cscGetPowerState: powerState 0 powerFlags 0

cscGetPowerState: returning state 3

cscGetPowerState: powerState 0 powerFlags 0

cscGetPowerState: returning state 3

cscGetPowerState: powerState 0 powerFlags 0

cscGetPowerState: returning state 3

cscGetPowerState: powerState 0 powerFlags 0

cscGetPowerState: returning state 3

cscSetPowerState: powerState 128 powerFlags 0

cscGetPowerState: powerState 0 powerFlags 0

cscGetPowerState: returning state 3

cscSetPowerState: powerState 129 powerFlags 0

cscGetPowerState: powerState 0 powerFlags 0

cscGetPowerState: returning state 3

cscGetPowerState: powerState 0 powerFlags 0

cscGetPowerState: returning state 3

Link to comment
Share on other sites

Sorry, I didn't tried the kext in 64bit mode, since I have some kext 32bit only and I can't boot in x86_64. I'll remove those kext and try RadeonHD in 64bit and I'll report result here.

In the meanwhile, please try with the attached kext, because I'm not sure of compilation flags in the latest one.

 

Bye

 

I have tried madchicken's new kext,under i386 mode,my snow leopard works great!In the systemprofiler, it shows that it supports x86_64,so I tried boot with arch=x86_64,but it gave me five languages so that I could't boot to desktop.I don't know why.Sorry for my poor english.It's first time that I reply in this forum.This is my kext information.

RadeonHD:

 

版本: 1.0

上次修改: 10-4-12 下午3:22

种类: Universal

架构: i386, ppc, x86_64

64 位 (Intel): 是

位置: /System/Library/Extensions/RadeonHD.kext

内核扩展版本: 1

载入地址: 0x48525000

有效: 是

鉴定: 是

相关性: 满意

This is my radeondump information

Found a device of class RadeonDump: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEGP@1/IOPCI2PCIBridge/VGA@0/RadeonHD/RadeonDump

 

Mapped IO at 0x4188f000 (size 0x00010000)

FB at 0xc8000000 (size 0x08000000) mapped to 0x48b60000

Card not in database: 0x7149:0x17AA:0x3BF6; using generic modesetting.

If - and only if - your card does not work or does not work optimally

please contact radeonhd@opensuse.org to help rectify this.

Use the subject: 0x7149:0x17AA:0x3BF6: <name of board>

and *please* describe the problems you are seeing

in your message.

Detected an M52 on an unidentified card

PCIE Card Detected

Getting BIOS copy from legacy address

ATOM BIOS Rom:

SubsystemVendorID: 0x17aa SubsystemID: 0x3bf6

IOBaseAddress: 0x2000

Filename: br22136.bin

BIOS Bootup Message:

20384 M52P Acer Wistron A12 DDR2 BU BIOS 392e/370m Channel B

 

Analog TV Default Mode: 1

Found default TV Mode NTSC

VideoRAM: 131072 kByte

Framebuffer space used by Firmware (kb): 20

Start of VRAM area used by Firmware: 0x7ffb000

AtomBIOS requests 20kB of VRAM scratch space

AtomBIOS VRAM scratch base: 0x7ffb000

Default Engine Clock: 392000

Default Memory Clock: 370000

Maximum Pixel ClockPLL Frequency Output: 1100000

Minimum Pixel ClockPLL Frequency Output: 0

Maximum Pixel ClockPLL Frequency Input: 13500

Minimum Pixel ClockPLL Frequency Input: 1000

Maximum Pixel Clock: 400000

Reference Clock: 27000

Default Engine Clock: 392000

GPIO_I2C_Clk_Mask: 0x1f90

GPIO_I2C_Clk_Mask_Shift: 0x0

GPIO_I2C_Data_Mask: 0x1f90

GPIO_I2C_Data_Mask_Shift: 0x8

I2C bus "RHD I2C line 0" initialized.

GPIO_I2C_Clk_Mask: 0x1f94

GPIO_I2C_Clk_Mask_Shift: 0x0

GPIO_I2C_Data_Mask: 0x1f94

GPIO_I2C_Data_Mask_Shift: 0x8

I2C bus "RHD I2C line 1" initialized.

GPIO_I2C_Clk_Mask: 0x1f98

GPIO_I2C_Clk_Mask_Shift: 0x0

GPIO_I2C_Data_Mask: 0x1f98

GPIO_I2C_Data_Mask_Shift: 0x8

I2C bus "RHD I2C line 2" initialized.

Detected VGA mode.

MC FBIntAddress: 0xC8000000, size: 134152192.

Minimum Pixel ClockPLL Frequency Output: 0

Maximum Pixel ClockPLL Frequency Output: 1100000

Maximum Pixel Clock: 400000

Reference Clock: 27000

FB: Allocated Cursor Image at offset 0x00000000 (size = 0x00004000)

FB: Allocated Cursor Image at offset 0x00004000 (size = 0x00004000)

Using HW cursor

FirmwareInfo Revision 0104

Unused attribute: ul3DAccelerationEngineClock 0

Unused attribute: ulDriverTargetEngineClock 600000

Unused attribute: ulDriverTargetMemoryClock 600000

Unused attribute: ucASICMaxTemperature 0

Scary bits: Estimated MinEngineClock 250000 kHz

Scary bits: Estimated MinMemoryClock 250000 kHz

No VoltageObjectInfo table

Default Engine Clock: 392000

Default Memory Clock: 370000

Current Engine Clock: 391500

Current Memory Clock: 369000

Not supporting SetVoltage V1 yet

Unused attribute: SET_VOLTAGE_GET_MAX_VOLTAGE: type 6 mode 1 index 0

Power Management: used engine clock / memory clock / core (VDDC) voltage (0: ignore)

Power Management: Raw Ranges

Minimum 250000 kHz / 250000 kHz / 0 V

Maximum 0 kHz / 0 kHz / 0 V

Default 392000 kHz / 370000 kHz / 0 V

PowerPlayInfo Revision 0201

PowerPlayInfo Revision not yet implemented

Query for Get Chip Configs: not implemented

Power Management: Cannot get known good chip configurations

Power Management: Validated Ranges

Minimum 250000 kHz / 250000 kHz / 0 V

Maximum 392000 kHz / 370000 kHz / 0 V

Default 392000 kHz / 370000 kHz / 0 V

Power Management: Final Levels

Off 250000 kHz / 250000 kHz / 0 V

Idle 196000 kHz / 370000 kHz / 0 V

Slow2D 392000 kHz / 370000 kHz / 0 V

Fast2D 392000 kHz / 370000 kHz / 0 V

Slow3D 392000 kHz / 370000 kHz / 0 V

Fast3D 392000 kHz / 370000 kHz / 0 V

Max3D 392000 kHz / 370000 kHz / 0 V

User 392000 kHz / 370000 kHz / 0 V

AtomBIOS Connector[0]: VGA Device: CRT1 Output: 1 Found DDC GPIO Index: 0

HW DDC 0 NO HPD

AtomBIOS Connector[1]: PANEL Device: LCD1 Output: 4 Found DDC GPIO Index: 6

NO DDC NO HPD

AtomBIOS Connector[2]: SVIDEO Device: TV1 Output: 2 NO DDC NO HPD

Connector[0] {RHD_CONNECTOR_VGA, "VGA CRT1", RHD_DDC_0, RHD_HPD_NONE, { RHD_OUTPUT_DACA, RHD_OUTPUT_NONE } }

Connector[1] {RHD_CONNECTOR_PANEL, "PANEL LCD1", RHD_DDC_NONE, RHD_HPD_NONE, { RHD_OUTPUT_LVTMA, RHD_OUTPUT_NONE } }

Connector[2] {RHD_CONNECTOR_TV, "SVIDEO TV1", RHD_DDC_NONE, RHD_HPD_NONE, { RHD_OUTPUT_DACB, RHD_OUTPUT_NONE } }

RHDConnectorsInit: 0 (VGA CRT1) type 1, ddc 0, hpd 0

Attaching Output DAC A to Connector VGA 1

RHDConnectorsInit: 1 (PANEL LCD1) type 4, ddc 255, hpd 0

LVDS SEQ Dig onto DE: 30

LVDS SEQ DE to BL: 350

LVDS Off Delay: 550

LVDS Duallink: 0x0

LVDS 24Bit: 0x0

LVDS FPDI: 0x0

LVDS Temporal Dither : 0x1

LVDS Spatial Dither : 0x0

LVDS Grey Level: 0x2

AtomBIOS returned 2 Grey Levels

Detected a 18bit single link panel.

Printing LVDS paramaters:

MacroControl: 0x0C720407

TXClockPattern: 0x0063

PowerDigToDE: 0x001E

PowerDEToBL: 0x015E

OffDelay: 0x0226

PowerRefDiv: 0x0F9F

BlonRefDiv: 0x0000

Get BL level: 0x0

Attaching Output LVDS to Connector PANEL

RHDConnectorsInit: 2 (SVIDEO TV1) type 5, ddc 255, hpd 0

Attaching Output DAC B to Connector TV SVIDEO

Output: DAC A[0x 1] - adding devices:

Output: LVDS[0x 4] - adding devices:

Output: DAC B[0x 2] - adding devices:

DACSense: DAC: 0x00

DACSense: DAC: 0x00

rhdAtomLvdsTimings: LVDS Modeline: 1280x800 71110 1280 (1280) 1328 1360 (1440) 1440 800 (800) 803 809 (823) 823

Query for AtomBIOS Get Panel EDID: failed

Crtc[0]: found native mode from Monitor[LVDS Panel]:

Modeline "1280x800" 71 1280 1328 1360 1440 800 803 809 823

Connector "PANEL" uses Monitor "LVDS Panel":

DxModeValid: CRTC 1

Listing modesetting layout:

CRTC 1: tied to PLL 1 and LUT A:

Outputs: LVDS (PANEL)

CRTC 2: unused

Unused Outputs: DAC A, DAC B

Validating Modes from Monitor "LVDS Panel" on "PANEL"

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 1

FUNCTION: DxFBValid: CRTC 2

Using 108x107 DPI.

Using 1280x800 Framebuffer with 1280 pitch

Free FB offset 0x00008000 (size = 0x07FF8000)

Display resolutions detected:

1280 X 800 @ 60Hz

1280 X 720 @ 59Hz

1152 X 768 @ 59Hz

1024 X 768 @ 59Hz

800 X 600 @ 59Hz

768 X 576 @ 59Hz

854 X 480 @ 59Hz

720 X 480 @ 59Hz

640 X 480 @ 59Hz

D1CRTCDisable: 0 loops

Attempting to set Engine Clock to 196000

Current Engine Clock: 195750

Current Memory Clock: 369000

Not supporting SetVoltage V1 yet

Unused attribute: SET_VOLTAGE_GET_MAX_VOLTAGE: type 6 mode 1 index 0

LVDSPower(LVDS,POWER_RESET)

Setting up "1280x800" (1280x800@60Hz)

FUNCTION: DxFBSet: CRTC 1 (1280[1280]x800@32bpp) +0x8000 )

FUNCTION: DxModeSet: CRTC 1

FUNCTION: DxScaleSet: CRTC 1 viewport: 1280x800 - OverScan: T: 0 B: 0 R: 0 L: 0

None

RHDPLLSet: Setting PLL 1 to 71110kHz

PLL Calculation: 71110kHz = (((27000 / 0x15) * 0x2CF) / 0xD) (1kHz off)

PLL1Calibrate: lock in 129 loops

Shutting down DAC A

DACPower(DAC A,POWER_SHUTDOWN)

Shutting down DAC B

DACPower(DAC B,POWER_SHUTDOWN)

LVDSPower(LVDS,POWER_ON)

cscGetPowerState: powerState 0 powerFlags 0

cscGetPowerState: returning state 3

cscGetPowerState: powerState 0 powerFlags 0

cscGetPowerState: returning state 3

cscGetPowerState: powerState 0 powerFlags 0

cscGetPowerState: returning state 3

cscGetPowerState: powerState 0 powerFlags 0

cscGetPowerState: returning state 3

cscSetPowerState: powerState 128 powerFlags 0

cscGetPowerState: powerState 0 powerFlags 0

cscGetPowerState: returning state 3

cscSetPowerState: powerState 129 powerFlags 0

cscGetPowerState: powerState 0 powerFlags 0

cscGetPowerState: returning state 3

cscGetPowerState: powerState 0 powerFlags 0

cscGetPowerState: returning state 3

RadeonHD_snowleo_10.6.kext.zip

Link to comment
Share on other sites

Sorry, I didn't tried the kext in 64bit mode, since I have some kext 32bit only and I can't boot in x86_64. I'll remove those kext and try RadeonHD in 64bit and I'll report result here.

In the meanwhile, please try with the attached kext, because I'm not sure of compilation flags in the latest one.

 

Bye

Thanks madchicken,I will try your latest kext again and reoprt the result soon!

 

Sorry, I didn't tried the kext in 64bit mode, since I have some kext 32bit only and I can't boot in x86_64. I'll remove those kext and try RadeonHD in 64bit and I'll report result here.

In the meanwhile, please try with the attached kext, because I'm not sure of compilation flags in the latest one.

 

Bye

I have tried you attached kext,the result is the same as I reported above.Without this kext,I can boot to desktop under x64 mode,while with this I can only boot under 32 mode, with x64 I only gained kernal panic.I think this kext should be modified to be more compatible with x86_64 kernal.

Link to comment
Share on other sites

First of all Thank You Dong for all the work you put into this framebuffer.

 

Okay 2 questions:

 

1. The latest compilation (April 2010), is the powermanagement fix supposed to help with fan issues? what is it supposed to do?

 

2. While I can get native resolution in Snow Leopard (Radeon Mobility 3200HD), what is the next step to be able to get QE? (Curious as I am a Comp Sci major so I believe I can help if I get pointed in the right direction).

Link to comment
Share on other sites

First of all Thank You Dong for all the work you put into this framebuffer.

 

Okay 2 questions:

 

1. The latest compilation (April 2010), is the powermanagement fix supposed to help with fan issues? what is it supposed to do?

 

The new kext has basic support of PM, so now the driver handle wake, suspend and doze events. The fan issue should not be fixed, through you can try enabling lowPowerMode in Info.plist: this should initialize PM for your video card, but is still experimental, so...

To fix all PM problems, we should try to upgrade to a newer version of the linux radeonHD driver.

 

2. While I can get native resolution in Snow Leopard (Radeon Mobility 3200HD), what is the next step to be able to get QE? (Curious as I am a Comp Sci major so I believe I can help if I get pointed in the right direction).

 

No. This kext has nothing to do with QE. This is a framebuffer driver, so gives you basic 2D features for your card.

For QE you need a new driver for acceleration. My card (X1400) is using the native Apple Radeon1000 for example.

 

Bye

Link to comment
Share on other sites

 Share

×
×
  • Create New...