Jump to content

ATI Framebuffer development


  • Please log in to reply
465 replies to this topic

#441
Bandes

Bandes

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts
  • Gender:Male

yes, IDA Pro on WinXP. :P

No, it's not objective-C, it's C++. :D


I C ! :D
And how does it compile ? That would be a good thing, if it would get compiled with gcc, and then it would work..

#442
Ztardust

Ztardust

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 122 posts
  • Gender:Male
  • Location:Oslo
I modified a couple of kexts, and used ATIinject, and managed to get my x1300 mobility graphics card recognised as ATI x1600 mobility in the system profiler, but it was still not able to use the wormy framebuffer, so I was stuck at 1024x768.

I found an interesting blog where someone was saying they had managed to get the x1400 working perfectly in linux by using a driver made for x700, just by changing the devideID. Perhaps a x700 driver in OSX can be modified to work with the x1300 and x1400...(I´ve tried but not managed to get it working myself). Another alternative could perhaps be modifying the hd2300 drivers.

-Ztardust

#443
ultrahang

ultrahang

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
  • Gender:Male
Guys,

I replaced my laptop therefore I don't have any test machine for X1400, but I can share the ati kexts from 10.6_10a222 with the opengl and quartz frameworks. There is a separate kext for the X1300 controller and there is a separate kext for the atifb with a very interesting info.plist, maybe it is worth to give a shot with this as well.

atigfx_snowleo.tar.bz2

However I am not interested but still curious so please share the results ;)

uh

#444
leopard127

leopard127

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts

Guys,

I replaced my laptop therefore I don't have any test machine for X1400, but I can share the ati kexts from 10.6_10a222 with the opengl and quartz frameworks. There is a separate kext for the X1300 controller and there is a separate kext for the atifb with a very interesting info.plist, maybe it is worth to give a shot with this as well.

atigfx_snowleo.tar.bz2

However I am not interested but still curious so please share the results :rolleyes:

uh

My laptop use ati mobility radeon x1300,only I can do is open QE/CI,but there is serious mouse tearing,the resolution is locked to 1024*768!I have close widescreen in bios so as to see clearly!I will try your kext and report results

#445
Insane?

Insane?

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
Hello there,

I've read this whole thread and im interested in helping getting this driver working. I have an ATI Mobility X1250 in my laptop, thus facing all of these problems aswell. First I will try and get you some information your tools are returning.

Here's my PCI information:
VGA@5 <class IOPCIDevice, registered, matched, active, busy 0, retain 167>
| | | | {
| | | | "@0,display-link-component-bits" = <06000000>
| | | | "IOName" = <4d79526164656f6e00>
| | | | "ATY,Copyright" = <436f707972696768742041544920546563686e6f6c6f6769657320496e632e203230303500>
| | | | "IODeviceMemory" = (({"address"=0xffffffffd0000000,"length"=0x8000000}),({"address"=0xfffffffffd7f0000,"length"=0x10000}),{"parent"=({"address"=0x0,"length"=0x10000}),"offset"=0x8800,"length"=0x100},({"address"=0xfffffffffd600000,"length"=0x100000}))
| | | | "@0,display-connect-flags" = <00000000>
| | | | "built-in" = <00>
| | | | "AAPL,iokit-ndrv" = <e022ce31>
| | | | "acpi-device" = "IOACPIPlatformDevice is not serializable"
| | | | "name" = <4d79526164656f6e00>
| | | | "acpi-path" = "IOACPIPlane _linenums:0'>| | | +-o VGA@5 <class IOPCIDevice, registered, matched, active, busy 0, retain 167>| | | | {| | | | "@0,display-link-component-bits" = <06000000>| | | | "IOName" = <4d79526164656f6e00>| | | | "ATY,Copyright" = <436f707972696768742041544920546563686e6f6c6f6769657320496e632e203230303500>| | | | "IODeviceMemory" = (({"address"=0xffffffffd0000000,"length"=0x8000000}),({"address"=0xfffffffffd7f0000,"length"=0x10000}),{"parent"=({"address"=0x0,"length"=0x10000}),"offset"=0x8800,"length"=0x100},({"address"=0xfffffffffd600000,"length"=0x100000}))| | | | "@0,display-connect-flags" = <00000000>| | | | "built-in" = <00>| | | | "AAPL,iokit-ndrv" = <e022ce31>| | | | "acpi-device" = "IOACPIPlatformDevice is not serializable"| | | | "name" = <4d79526164656f6e00>| | | | "acpi-path" = "IOACPIPlane:/_SB/PCI0@180000/P0P1@10000/VGA@50000"| | | | "subsystem-vendor-id" = <43100000>| | | | "AAPL,RegEntryID" = <80e075037f1f8afc656d69537a6c7552>| | | | "IOHibernateState" = <00000000>| | | | "compatible" = <706369313034332c3134663200706369313030322c3739316600706369636c6173732c3033303303000>| | | | "@0,address" = <000000d0>| | | | "@0,model" = <4154492041544f4d42494f5300>| | | | "@0,depth" = <20000000>| | | | "@0,width" = <00040000>| | | | "@0,compatible" = <4154492c415449504300>| | | | "LCD,EDID" = <00ffffffffffff000610609c0000000004100103802216780a1cf59758508e2727505400000000101010101010101010101010101019f25a04051840c30402033004bcf1000001900000001000610000000000000000000a20000000fe0042313534505730312056300a20000000fc00436f6c6f7220443440a20202000bc>| | | | "AAPL,gart-width" = <20000000>| | | | "F8,size" = <00003000>| | | | "IOInterruptSpecifiers" = (<1200000007000000>,<0700000000000100>)| | | | "vendor-id" = <02100000>| | | | "device_type" = <4d79526164656f6e00>| | | | "VRAM,memsize" = <00000100>| | | | "chipset-model" = <4154592c525333303000>| | | | "ATY,VendorID" = <02100000>| | | | "IOPCIResourced" = Yes| | | | "IOInterruptControllers" = ("io-apic-0","IOPCIMessagedInterruptController")| | | | "subsystem-id" = <f2140000>| | | | "display-connect-flags" = <00000000>| | | | "class-code" = <00000300>| | | | "@0,built-in" = <>| | | | "revision-id" = <00000000>| | | | "assigned-addresses" = <102801c200000000000000d00000000000000008182801820000000000007ffd00000000000000020280181000000000088000000000000000100002428018200000000000060fd000000000000100>| | | | "IOChildIndex" = 0x1| | | | "@0,device_type" = <646973706c617900>| | | | "AAPL,gray-page" = <01000000>| | | | "@0,display-type" = <4c434400>| | | | "reg" = <002801000000000000000000000000000000000010280142000000000000000000000000000000818280102000000000000000000000000000001002028010100000000000000000000000000010002428010200000000000000000000000000001000>| | | | "CRT,EDID" = <00ffffffffffff004dd9005c01010101280f0103080000780ad9ada35546982410474a2dc80064f010101010101010101010101010164190040410026301d8836000000000000180e1f008051001e04080370000000000001c000000fd003a3e1e3208000a202020202020000000fc004b444c2d53333413132550a2000cb>| | | | "IOPMIsPowerManaged" = Yes| | | | "@0,name" = <4154492c415449504300>| | | | "IOPowerManagement" = {"ChildrenPowerState"=0x2,"CurrentPowerState"=0x2}| | | | "device-id" = <1f790000>| | | | "@0,linebytes" = <00100000>| | | | "AAPL,gray-value" = <c38c6400>| | | | "ATY,EFIVersion" = <30312e30302e30363800>| | | | "AAPL,ndrv-dev" = Yes| | | | "@0,height" = <00030000>| | | | }| | | | | | | +-o .Display_boot <class IONDRVFramebuffer, registered, matched, active, busy 0, retain 10>| | | | {| | | | "IOProbeScore" = 0x4e20| | | | "IOGeneralInterest" = "IOCommand is not serializable"| | | | "IOFBWaitCursorFrames" = 0xf| | | | "IOFBGammaHeaderSize" = 0xc| | | | "CFBundleIdentifier" = "com.apple.iokit.IONDRVSupport"| | | | "IOPMStrictTreeOrder" = Yes| | | | "graphic-options" = 0x0| | | | "IOMatchCategory" = "IOFramebuffer"| | | | "IOFBConfig" = {"dims"=<ffffffffffffffff0000000000000000>,"IODisplayConnectFlags"=0x0,"IOFBModes"=({"AID"=0x32556b1c,"DM"=<000400000003000000000000000000000300000000000000000000000000000000000000>,"DF"=0x3,"ID"=0x64}),"IOFB0Hz"=Yes}| | | | "IOPowerManagement" = {"ChildrenPowerState"=0x2,"CurrentPowerState"=0x2,"DriverChangePowerState"=0x1}| | | | "IOFBGammaWidth" = 0x8| | | | "IOProviderClass" = "IOPCIDevice"| | | | "IOFBTransform" = 0x0| | | | "IOFramebufferOpenGLIndex" = 0x0| | | | "IOFBWaitCursorPeriod" = 0x1fca055| | | | "IODisplayParameters" = "IOFramebufferParameterHandler is not serializable"| | | | "IOFBMemorySize" = 0x8000000| | | | "IONDRVFramebufferGeneration" = <0100000001000000>| | | | "IONameMatched" = "display"| | | | "IOClass" = "IONDRVFramebuffer"| | | | "IONameMatch" = "display"| | | | "IOFBGammaCount" = 0x100| | | | "IOFBCursorInfo" = ()| | | | }| | | | | | | +-o display0 <class IODisplayConnect, registered, matched, active, busy 0, retain 5>| | | | | {| | | | | }| | | | | | | | | +-o AppleDisplay <class AppleDisplay, registered, matched, active, busy 0, retain 6>| | | | {| | | | "IOProbeScore" = 0x7d0| | | | "IOProviderClass" = "IODisplayConnect"| | | | "DisplayProductID" = 0x717| | | | "IODisplayPrefsKey" = "IOService:/AppleACPIPlatformExpert/PCI0@180000/AppleACPIPCI/P0P1@1/IOPCI2PCIBridge/VGA@5/.Display_boot/display0/AppleDisplay-756e6b6e-717"| | | | "CFBundleIdentifier" = "com.apple.iokit.IOGraphicsFamily"| | | | "DisplayVendorID" = 0x756e6b6e| | | | "IOMatchCategory" = "IODefaultMatchCategory"| | | | "IODisplayConnectFlags" = <00000000>| | | | "IOClass" = "AppleDisplay"| | | | "IOPowerManagement" = {"CurrentPowerState"=0x3,"DeviceChangePowerState"=0x3}| | | | }| | | | | | | +-o IOFramebufferUserClient <class IOFramebufferUserClient, !registered, !matched, active, busy 0, retain 5>| | | {| | | }

And see attachment for my information (hope its readable). Currently causes crash at login screen, but maybe I just put a wrong setting in the info.plist.

Attached Files

  • Attached File  info.jpg   472.3KB   110 downloads


#446
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,973 posts
  • Gender:Male
  • Location:Moscow

Hello there,

I've read this whole thread and im interested in helping getting this driver working. I have an ATI Mobility X1250 in my laptop, thus facing all of these problems aswell. First I will try and get you some information your tools are returning.
| | | | "CRT,EDID" = <00ffffffffffff004dd9005c01010101280f0103080000780ad9ada35546982410474a2dc8006
4f010101010101010101010101010164190040410026301d8836000000000000180e1f008051001e
04080370000000000001c000000fd003a3e1e3208000a202020202020000000fc004b444c2d53333
413132550a2000cb>


And see attachment for my information (hope its readable). Currently causes crash at login screen, but maybe I just put a wrong setting in the info.plist.

I see on your screen
no property no,EDID
invalid EDID
so you need to change
CRT, EDID to no,EDID
Yes, it is driver mistake.
Hope it helps you

#447
Insane?

Insane?

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts

I see on your screen
no property no,EDID
invalid EDID
so you need to change
CRT, EDID to no,EDID
Yes, it is driver mistake.
Hope it helps you


You are right, changed it and now I got rich information. See attachment once again, will see if i can get any logfile.

From my logfile:
Dec 27 11:37:45 my-macpro31 kernel[0]: Ati: Probing.Dec 27 11:37:45 my-macpro31 ReportCrash[69]: Formulating crash report for process configd[33]Dec 27 11:37:45 my-macpro31 kernel[0]: ATI: Found Intel x86 BIOS ROM ImageDec 27 11:37:45 my-macpro31 kernel[0]: Ati: F8 written 00300000Dec 27 11:37:45 my-macpro31 kernel[0]: Ati: Set model=ATI ATOMBIOSDec 27 11:37:45 my-macpro31 kernel[0]: ATIFB: fb_phys_base=d0000000 fb_local_base=00000000Dec 27 11:37:45 my-macpro31 kernel[0]: ATI: Found Intel x86 BIOS ROM ImageDec 27 11:37:45 my-macpro31 kernel[0]: ATIFB: ATOM BIOS detected:Dec 27 11:37:45 my-macpro31 kernel[0]: Found ATI 791f named ATI ATOMBIOSDec 27 11:37:45 my-macpro31 kernel[0]: ATIFB: card detectedDec 27 11:37:45 my-macpro31 kernel[0]: ATIFB: Port0: DDCType-0, DACType-1, TMDSType-0, ConnectorType-1Dec 27 11:37:45 my-macpro31 kernel[0]: ATIFB: Port1: DDCType-0, DACType-0, TMDSType-0, ConnectorType-7Dec 27 11:37:45 my-macpro31 kernel[0]: ATIFB: Bios Connector table: Dec 27 11:37:45 my-macpro31 kernel[0]: ATIFB: connections found from BIOS:Dec 27 11:37:45 my-macpro31 kernel[0]: ATIFB: Retreived PLL infos from BIOSDec 27 11:37:45 my-macpro31 kernel[0]: ATIFB: Reference=14.32 MHz (RefDiv=13) Memory=200.00 Mhz, System=400.00 MHzDec 27 11:37:45 my-macpro31 kernel[0]: ATIFB: PLL min 64800 max 54464Dec 27 11:37:45 my-macpro31 kernel[0]: ATIFB: radeon_get_moninfo: bios 4 scratch = 3c00Dec 27 11:37:45 my-macpro31 kernel[0]: ATIFB: VGA baseAddr=d0000000 rowBytes=00001000 width=00000400 height=00000300 depth=00000020Dec 27 11:37:45 my-macpro31 kernel[0]: ATIFB: no,EDID injectedDec 27 11:37:45 my-macpro31 kernel[0]: ATIFB: radeon_check_modesDec 27 11:37:45 my-macpro31 kernel[0]: ATIFB: Parsing EDID data for panel infoDec 27 11:37:45 my-macpro31 kernel[0]: ATIFB: Setting up default mode based on panel infoDec 27 11:37:45 my-macpro31 kernel[0]: fb_edid_to_monspecsDec 27 11:37:45 my-macpro31 kernel[0]: edid_checksum OKDec 27 11:37:45 my-macpro31 kernel[0]: edid_check_header OKDec 27 11:37:45 my-macpro31 kernel[0]: ========================================Dec 27 11:37:45 my-macpro31 kernel[0]: Display Information (EDID)Dec 27 11:37:45 my-macpro31 kernel[0]: ========================================Dec 27 11:37:45 my-macpro31 kernel[0]: EDID Version 1.3Dec 27 11:37:45 my-macpro31 kernel[0]: Manufacturer: @@@Dec 27 11:37:45 my-macpro31 kernel[0]: Model: 00000000Dec 27 11:37:45 my-macpro31 kernel[0]: Serial#: 00000000Dec 27 11:37:45 my-macpro31 kernel[0]: Year: 1990 Week 0Dec 27 11:37:45 my-macpro31 kernel[0]: Display Characteristics:Dec 27 11:37:45 my-macpro31 kernel[0]: Monitor Operating Limits:    Detailed TimingsDec 27 11:37:45 my-macpro31 kernel[0]: 96 MHz 1440 1504 1536 1760 900 903 906 912 -HSync -VSyncDec 27 11:37:45 my-macpro31 kernel[0]: Supported VESA ModesDec 27 11:37:45 my-macpro31 kernel[0]: Manufacturer's mask: 0Dec 27 11:37:45 my-macpro31 kernel[0]: Standard TimingsDec 27 11:37:45 my-macpro31 kernel[0]: Detailed TimingsDec 27 11:37:45 my-macpro31 kernel[0]: ExtrapolatedDec 27 11:37:45 my-macpro31 kernel[0]: H: 30-56KHz V: 60-60Hz DCLK: 96MHzDec 27 11:37:45 my-macpro31 kernel[0]: Digital Display InputDec 27 11:37:45 my-macpro31 kernel[0]: Sync: Dec 27 11:37:45 my-macpro31 kernel[0]: Max H-size in cm: 34Dec 27 11:37:45 my-macpro31 kernel[0]: Max V-size in cm: 22Dec 27 11:37:45 my-macpro31 kernel[0]: Gamma: 2.20Dec 27 11:37:45 my-macpro31 kernel[0]: DPMS: Active no, Suspend no, Standby noDec 27 11:37:45 my-macpro31 kernel[0]: RGB Color DisplayDec 27 11:37:45 my-macpro31 kernel[0]: ChromaDec 27 11:37:45 my-macpro31 kernel[0]: RedX:     0.590 RedY:     0.345Dec 27 11:37:45 my-macpro31 kernel[0]: GreenX:   0.315 GreenY:   0.555Dec 27 11:37:45 my-macpro31 kernel[0]: BlueX:    0.155 BlueY:    0.155Dec 27 11:37:45 my-macpro31 kernel[0]: WhiteX:   0.313 WhiteY:   0.329Dec 27 11:37:45 my-macpro31 kernel[0]: First DETAILED Timing is preferredDec 27 11:37:45 my-macpro31 kernel[0]: Detailed TimingsDec 27 11:37:45 my-macpro31 kernel[0]: 96 MHz 1440 1504 1536 1760 900 903 906 912 -HSync -VSyncDec 27 11:37:45 my-macpro31 kernel[0]: Supported VESA ModesDec 27 11:37:45 my-macpro31 kernel[0]: Manufacturer's mask: 0Dec 27 11:37:45 my-macpro31 kernel[0]: Standard TimingsDec 27 11:37:45 my-macpro31 kernel[0]: Detailed TimingsDec 27 11:37:45 my-macpro31 kernel[0]: modes from EDID extractedDec 27 11:37:45 my-macpro31 kernel[0]: ========================================Dec 27 11:37:45 my-macpro31 kernel[0]: RadeonPCI::startDec 27 11:37:45 my-macpro31 kernel[0]: Range[0] d0000000:08000000Dec 27 11:37:45 my-macpro31 kernel[0]: Range[1] fd7f0000:00010000Dec 27 11:37:45 my-macpro31 kernel[0]: Range[2] 00008800:00000100Dec 27 11:37:45 my-macpro31 kernel[0]: Range[3] fd600000:00100000Dec 27 11:37:45 my-macpro31 kernel[0]: Range@0x10 d0000000:08000000Dec 27 11:37:45 my-macpro31 kernel[0]: Range@0x10 (d0000000) mapped to kernel virtual address 37779000Dec 27 11:37:45 my-macpro31 kernel[0]: ATI ROM start at 000c0000 mapped to kernel virtual address 3238a000Dec 27 11:37:45 my-macpro31 kernel[0]: ROM signature is read as: 0000aa55Dec 27 11:37:45 my-macpro31 kernel[0]: Config register@0x4 = 00100107Dec 27 11:37:45 my-macpro31 kernel[0]: Ati: Probing.Dec 27 11:37:45 my-macpro31 kernel[0]: ATI: Found Intel x86 BIOS ROM ImageDec 27 11:37:45 my-macpro31 kernel[0]: Ati: F8 written 00300000Dec 27 11:37:45 my-macpro31 kernel[0]: Ati: Set model=ATI ATOMBIOS

And the RadeonDump results.

Regs:
Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@180000/AppleACPIPCI/P0P1@1/IOPCI2PCIBridge/VGA@5/RadeonPCIit matched on name "display"0x0000:  00000000 00000000 000000A8 00000016 00040000 0128C000 00000003 000000020x0020:  00003C00 00000002 00001000 41230109 6FC02000 00070132 00010000 000100000x0040:  00000000 00080000 00000000 00000000 00000000 0F080018 00000000 000000000x0060:  00000000 00000000 00000000 00000000 00000000 00000000 00000100 7FFF78000x0080:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000000x00A0:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000000x00C0:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000000x00E0:  00020100 00000000 00000000 0000444F 00000000 00000000 08000000 000000000x0100:  D0000000 00000000 04000000 FD7F0000 00000000 00010000 00000000 000000000x0120:  00000000 00000000 00000000 00000000 00800000 00007800 00000000 000000000x0140:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000000x0160:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000000x0180:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000000x01A0:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000000x01C0:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000000x01E0:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000000x0200:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000000x0220:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000000x0240:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000000x0260:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000000x0280:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000000x02A0:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000000x02C0:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000000x02E0:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000000x0300:  0201000F 00000000 00000101 00000002 78000000 00000000 00000000 000000000x0320:  00500000 00000000 00000001 00000000 00000000 00000000 00000400 000000000x0340:  0000000E 00000000 00000000 00000000 00000218 00010000 00000000 0000031F0x0360:  00000000 00000002 00000000 00000002 00000000 00000003 009A0000 00A600000x0380:  00820000 00000000 0000002C 00000000 0000002A 00000000 0000001C 001207040x03A0:  00120704 00120704 00000000 00000000 00000000 0000D30F 00010000 000000000x03C0:  88000013 00FF0101 00000740 FF080067 00000000 0000D30F 00000000 000000000x03E0:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000000x0400:  00000001 00000003 00000000 00010000 00000000 00000007 00000000 00000000

Btw. EDID information in RadeonDump lead to segfault. I will test other versions of it aswell.

And last but not least, an Xbench score (GL tests were performed, however I only saw a black window).

Results 77.16  System Info    Xbench Version  1.3  System Version  10.5.4 (9E17)  Physical RAM  2048 MB  Model  MacPro3,1  Drive Type  ST9120822AS ST9120822AS CPU Test 62.58   GCD Loop 98.51 5.19 Mops/sec  Floating Point Basic 71.00 1.69 Gflop/sec  vecLib FFT 36.33 1.20 Gflop/sec  Floating Point Library 82.23 14.32 Mops/sec Thread Test 103.36   Computation 82.10 1.66 Mops/sec, 4 threads  Lock Contention 139.46 6.00 Mlocks/sec, 4 threads Memory Test 75.62   System 67.47    Allocate 136.39 500.87 Kalloc/sec   Fill 61.31 2981.26 MB/sec   Copy 48.03 991.94 MB/sec  Stream 86.00    Copy 88.87 1835.48 MB/sec   Scale 86.69 1790.91 MB/sec   Add 84.24 1794.59 MB/sec   Triad 84.37 1804.78 MB/sec Quartz Graphics Test 92.02   Line 75.37 5.02 Klines/sec [50% alpha]  Rectangle 86.93 25.95 Krects/sec [50% alpha]  Circle 76.24 6.21 Kcircles/sec [50% alpha]  Bezier 85.01 2.14 Kbeziers/sec [50% alpha]  Text 213.46 13.35 Kchars/sec OpenGL Graphics Test 31.15   Spinning Squares 31.15 39.52 frames/sec User Interface Test 67.25   Elements 67.25 308.65 refresh/sec Disk Test 30.12   Sequential 79.53    Uncached Write 74.95 46.02 MB/sec [4K blocks]   Uncached Write 69.10 39.10 MB/sec [256K blocks]   Uncached Read 97.00 28.39 MB/sec [4K blocks]   Uncached Read 82.17 41.30 MB/sec [256K blocks]  Random 18.58    Uncached Write 6.05 0.64 MB/sec [4K blocks]   Uncached Write 65.84 21.08 MB/sec [256K blocks]   Uncached Read 44.38 0.31 MB/sec [4K blocks]   Uncached Read 80.92 15.02 MB/sec [256K blocks]

Attached Files



#448
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,973 posts
  • Gender:Male
  • Location:Moscow
1. How did you run XBench if you can't enter GUI?
2. Black window in OpenGL test means you have bad Accelerator and GLDriver.bundle. What did you use ATIRadeonX1000 or ATIRadeonX2000?
3. Probably you can't obtain EDID by RadeonDump. Try to do that from other operating system, WinXP for example. And then inject it into no,EDID section.

#449
Insane?

Insane?

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts

1. How did you run XBench if you can't enter GUI?
2. Black window in OpenGL test means you have bad Accelerator and GLDriver.bundle. What did you use ATIRadeonX1000 or ATIRadeonX2000?
3. Probably you can't obtain EDID by RadeonDump. Try to do that from other operating system, WinXP for example. And then inject it into no,EDID section.


1. I had to disable Ati.kext (or ATILead.kext, dont know, just disabled both). Probably some error in my info.plist. Will try XBench after I got that working. I got this screen:
Update - confirmed, ATILead.kext causes the crash. Is this due to the EDID part? I currently have "no,EDID" on 2 places, followed by the EDID that was present.
Posted Image

2. They both did not exist on my system. I did not know though, so I will try putting ATIRadeonX1000.kext and reboot. Is there anything I need to change? I expected something like bad accelerator/gl driver. Just odd it did not mention that.
Update - adding my device id to ATIRadeonX1000.kext was a bad idea, instant freeze :) .

Dec 27 23:17:01 macpro31 Xbench[254]: No OpenGL pixel formatDec 27 23:17:14 macpro31 Xbench[254]: *** -[NSConditionLock unlockWithCondition:]: lock (<NSConditionLock: 0x2ea49e0> '(null)') unlocked when not lockedDec 27 23:17:14 macpro31 Xbench[254]: *** Break on _NSLockError() to debug.


3. Is there any boot CD or something to get that? Maybe I can extract it from my bios somehow? Cause I would have to install XP completely as I have only OSX Leopard on my laptop for now.

I will play around a bit with the files/kexts, but i dont know exactly what which file does. I always have them backed up, so no worries.

Update - my kextstat
ash-3.2# kextstatIndex Refs Address Size Wired Name (Version) <Linked Against>1 1 0x0 0x0 0x0 com.apple.kernel (9.4.0)2 35 0x0 0x0 0x0 com.apple.kpi.bsd (9.4.0)3 3 0x0 0x0 0x0 com.apple.kpi.dsep (9.4.0)4 50 0x0 0x0 0x0 com.apple.kpi.iokit (9.4.0)5 52 0x0 0x0 0x0 com.apple.kpi.libkern (9.4.0)6 48 0x0 0x0 0x0 com.apple.kpi.mach (9.4.0)7 28 0x0 0x0 0x0 com.apple.kpi.unsupported (9.4.0)8 1 0x0 0x0 0x0 com.apple.iokit.IONVRAMFamily (9.4.0)9 1 0x0 0x0 0x0 com.apple.driver.AppleNMI (9.4.0)10 1 0x0 0x0 0x0 com.apple.iokit.IOSystemManagementFamily (9.4.0)11 1 0x0 0x0 0x0 com.apple.iokit.ApplePlatformFamily (9.4.0)12 19 0x0 0x0 0x0 com.apple.kernel.6.0 (7.9.9)13 1 0x0 0x0 0x0 com.apple.kernel.bsd (7.9.9)14 1 0x0 0x0 0x0 com.apple.kernel.iokit (7.9.9)15 1 0x0 0x0 0x0 com.apple.kernel.libkern (7.9.9)16 1 0x0 0x0 0x0 com.apple.kernel.mach (7.9.9)17 13 0x2b9b4000 0x10000 0xf000 com.apple.iokit.IOPCIFamily (2.4.1) <7 6 5 4>18 10 0x2b9ca000 0x4000 0x3000 com.apple.iokit.IOACPIFamily (1.2.0) <12>19 5 0x2ba18000 0x3d000 0x3c000 com.apple.driver.AppleACPIPlatform (1.1.0) <18 17 12 7 4>20 0 0x2baaf000 0x5000 0x4000 com.apple.BootCache (30) <7 6 5 4 2>21 3 0x2bb73000 0x39000 0x38000 com.apple.iokit.IOHIDFamily (1.5.2) <7 6 5 4 2>22 0 0x2bbde000 0x3000 0x2000 com.apple.security.TMSafetyNet (3) <7 6 5 3 2>23 0 0x2bbf8000 0x8000 0x7000 com.apple.nke.applicationfirewall (1.0.77) <7 6 5 4 2>24 0 0x2cc38000 0x18000 0x17000 com.apple.security.seatbelt (107.1) <7 6 5 3 2>25 0 0x316e1000 0x3000 0x2000 com.apple.driver.AppleAPIC (1.2.0) <12>26 1 0x31748000 0x3000 0x2000 com.apple.iokit.IOSMBusFamily (1.1) <6 5 4>27 0 0x317a4000 0x5000 0x4000 com.apple.driver.AppleACPIEC (1.1.0) <26 19 18 12>28 0 0x317c0000 0x5000 0x4000 com.apple.driver.AppleSMBIOS (1.0.13) <12>30 0 0x3193b000 0x5000 0x4000 com.apple.driver.AppleRTC (1.0.5) <18 6 5 4 2>31 0 0x319f6000 0x3000 0x2000 com.apple.driver.AppleHPET (1.1) <18 7 6 5 4>32 0 0x3184d000 0x2000 0x1000 org.tgwbd.driver.ACPIPS2Nub (1.0.0d1) <19 18 12>33 2 0x31b17000 0x5000 0x4000 com.apple.driver.ApplePS2Controller (1.1.0) <12>34 0 0x31cea000 0x3000 0x2000 com.apple.driver.ApplePS2Keyboard (1.1.0) <33 21 12>35 0 0x31ca0000 0x4000 0x3000 com.apple.driver.AppleACPIButtons (1.1.0) <21 19 18 7 6 5 4 2>36 1 0x31cb2000 0x3000 0x2000 com.apple.driver.AppleEFIRuntime (1.1.0) <7 5 4>37 0 0x31ea9000 0x3000 0x2000 com.apple.driver.AppleACPIPCI (1.1.0) <19 18 17 12>38 9 0x31f0f000 0x18000 0x17000 com.apple.iokit.IOStorageFamily (1.5.2) <7 6 5 4 2>40 0 0x31f4d000 0x6000 0x5000 com.apple.driver.AppleEFINVRAM (1.1.0) <36 7 6 5 4>41 4 0x3205b000 0xd000 0xc000 com.apple.iokit.IOATAFamily (1.7.1f4) <6 5 4 2>42 0 0x320ed000 0x6000 0x5000 com.apple.driver.AppleGenericPCATA (1.3) <41 17 12>43 0 0x321f0000 0x6000 0x5000 com.apple.driver.AppleVIAATA (1.0.2) <41 17 12>44 5 0x32211000 0x28000 0x27000 com.apple.iokit.IOUSBFamily (3.1.5) <7 6 5 4>45 0 0x3242e000 0xb000 0xa000 com.apple.driver.AppleUSBOHCI (3.1.0) <44 17 6 5 4>46 0 0x324c9000 0x12000 0x11000 com.apple.driver.AppleUSBEHCI (3.1.5) <44 17 7 6 5 4>47 0 0x32544000 0x2000 0x1000 com.apple.iokit.IOUSBUserClient (3.0.7) <44 6 5 4>48 0 0x325c6000 0xb000 0xa000 com.apple.driver.AppleUSBHub (3.1.5) <44 6 5 4>49 4 0x3268a000 0x19000 0x18000 com.apple.iokit.IOSCSIArchitectureModelFamily (2.0.3) <6 5 4 2>50 0 0x326bf000 0x4000 0x3000 com.apple.iokit.IOATAPIProtocolTransport (1.5.0) <49 41 12>51 2 0x32813000 0x3f000 0x3e000 com.apple.iokit.IOFireWireFamily (3.4.4) <6 5 4 2>52 0 0x32887000 0x20000 0x1f000 com.apple.driver.AppleFWOHCI (3.4.4) <51 17 7 6 5 4 2>53 0 0x3295d000 0xe000 0xd000 com.apple.iokit.IOATABlockStorage (2.0.3) <41 38 6 5 4 2>54 0 0x329cb000 0x5000 0x4000 com.apple.driver.XsanFilter (2.7.91) <38 12>55 0 0x32a22000 0x4000 0x3000 com.apple.driver.AppleUSBComposite (3.0.0) <44 5 4>56 0 0x32a92000 0x6000 0x5000 com.apple.iokit.SCSITaskUserClient (2.0.3) <49 38 6 5 4 2>57 3 0x32b72000 0x8000 0x7000 com.apple.iokit.IOCDStorageFamily (1.5) <38 6 5 4 2>58 2 0x32bb2000 0x6000 0x5000 com.apple.iokit.IODVDStorageFamily (1.5) <57 38 6 5 4 2>59 1 0x32bdb000 0x16000 0x15000 com.apple.iokit.IOSCSIBlockCommandsDevice (2.0.3) <49 38 6 5 4 2>60 1 0x32bff000 0x5000 0x4000 com.apple.iokit.IOBDStorageFamily (1.5) <58 57 38 6 5 4 2>61 0 0x32c31000 0x16000 0x15000 com.apple.iokit.IOSCSIMultimediaCommandsDevice (2.0.3) <60 59 58 57 49 38 6 5 4 2>62 0 0x31b1c000 0xb000 0xa000 com.apple.filesystems.autofs (2.0.1) <7 6 5 4 2>63 1 0x31b27000 0x1c000 0x1b000 com.apple.iokit.IOGraphicsFamily (1.5.2) <17 7 6 5 4>65 2 0x31b43000 0x9000 0x8000 com.apple.driver.AppleSMC (2.0.1d2) <18 7 6 5 4>66 1 0x31eac000 0xe000 0xd000 com.apple.driver.IOPlatformPluginFamily (3.1.6d0) <12>67 0 0x31eba000 0xc000 0xb000 com.apple.driver.ACPI_SMC_PlatformPlugin (3.1.6d0) <66 65 18 17 12 7 6 5 4>68 2 0x31940000 0x5000 0x4000 com.apple.iokit.IOHDAudioFamily (1.0.0d1) <6 5 4 2>69 0 0x319f9000 0x6000 0x5000 com.apple.driver.AppleAzaliaController (1.0.0d1) <68 17 6 5 4 2>70 4 0x31ec6000 0x16000 0x15000 com.apple.iokit.IONetworkingFamily (1.6.0) <7 6 5 4 2>71 0 0x31b4c000 0x6000 0x5000 com.apple.driver.AppleRTL8169Ethernet (1.0.3) <70 17 6 5 4 2>72 0 0x31c42000 0x4000 0x3000 com.apple.driver.AppleACPIPowerSource (1.0.5) <19 18 12>73 1 0x31f53000 0x1f000 0x1e000 com.apple.iokit.IO80211Family (211.1) <70 7 6 5 4 2>74 0 0x32249000 0x90000 0x8f000 com.apple.driver.AirPort.Atheros (314.43.1) <73 70 17 7 6 5 4 2>75 0 0x31f82000 0xe000 0xd000 com.apple.iokit.IONDRVSupport (1.5.2) <63 17 7 6 5 4>76 0 0x31e05000 0x9000 0x8000 com.apple.iokit.IOFireWireIP (1.7.1) <70 51 6 5 4 2>77 0 0x31c4a000 0x3000 0x2000 com.x86dev.driver.lspcidrv (1.0) <12>78 0 0x31ca4000 0x3000 0x2000 com.apple.driver.ApplePS2Mouse (1.2.0) <33 21 12>79 1 0x31f39000 0x3000 0x2000 com.apple.kext.OSvKernDSPLib (1.1) <6 5>80 2 0x31fe6000 0x17000 0x16000 com.apple.iokit.IOAudioFamily (1.6.4b7) <79 6 5 4 2>81 0 0x321f6000 0xc000 0xb000 com.apple.driver.AppleAzaliaAudio (1.0.0d1) <80 68 6 5 4 2>82 0 0x31ffd000 0x3000 0x2000 com.dong.driver.RadeonPCI (1.0.0d1) <6 5 4>83 0 0x323a0000 0x10000 0xf000 com.apple.driver.DiskImages (195) <38 7 6 5 4 2>84 0 0x32202000 0x4000 0x3000 com.apple.driver.AudioIPCDriver (1.0.4) <80 6 5 4 2>85 0 0x319ff000 0x2000 0x1000 com.apple.dsmos (1.0.0d1) <7 5 4 2>86 0 0x32206000 0x3000 0x2000 com.apple.Dont_Steal_Mac_OS_X (6.0.2) <65 7 5 4 2>87 0 0x325f9000 0x30000 0x2f000 com.apple.filesystems.smbfs (1.4.3) <7 6 5 4 2>


#450
tomtefar

tomtefar

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 261 posts
Maybe this is of importance for this development: AMD AtomBIOS dumper/disassembler.

#451
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,973 posts
  • Gender:Male
  • Location:Moscow

Maybe this is of importance for this development: AMD AtomBIOS dumper/disassembler.

Page by page I click on phoronix news but no any file to download found. :)

#452
Boombeng

Boombeng

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 598 posts
  • Gender:Male
  • Location:France
May be there
find AtomBios in the page

EDIT : Saludos of course :)

#453
macoff

macoff

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,432 posts
  • Gender:Male
Here is the AtomDis: Attached File  AtomDis.zip   16.37KB   80 downloads

Saludos, MacOff

#454
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,973 posts
  • Gender:Male
  • Location:Moscow

Here is the AtomDis:

Saludos, MacOff

Thanks!
But it is for Linux/Debian and can't be applyed to MacOSX. About sources to interpret ATOMBIOS they are already in RadeonHD project. No new for me.

#455
asstastic

asstastic

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 318 posts
  • Gender:Male
  • Location:Austin, TX
http://www.phoronix......splay Drivers

I'd keep an eye out on the Phoronix site. While it appears that the bios dumper isn't much use, there's another earlier article talking about the release of open source R600/700 code including the GPU microcode which I'm sure could be put to good use when disassembling drivers.

#456
CptDodge

CptDodge

    InsanelyMac Protégé

  • Members
  • Pip
  • 41 posts
Slice, if you see this post can you help me please. I am having a go at programming radeonfb-updated for use with my laptop. I'm using Xcode 3.1.2 for OSX 10.5.5 and the KernelDebugKit. When i compile the source, i get a kernel panic. Using the DebugKit i've been able to trace the KP to radeonfb_pci_register(IOService * provider). According to what i have found during the debug the value 0x48 is supposed to be added to the register but it is not, all it is getting is 0x00 or sometimes 0x0c.

This is my first try at programming with C, i used to be a Visual Basic programmer. Can you just give me some help explaining what radeon_pci_register is and what i should be looking for in the source.

Any help be greatly appreciated.
Rog

#457
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,973 posts
  • Gender:Male
  • Location:Moscow

Slice, if you see this post can you help me please. I am having a go at programming radeonfb-updated for use with my laptop. I'm using Xcode 3.1.2 for OSX 10.5.5 and the KernelDebugKit. When i compile the source, i get a kernel panic. Using the DebugKit i've been able to trace the KP to radeonfb_pci_register(IOService * provider). According to what i have found during the debug the value 0x48 is supposed to be added to the register but it is not, all it is getting is 0x00 or sometimes 0x0c.

This is my first try at programming with C, i used to be a Visual Basic programmer. Can you just give me some help explaining what radeon_pci_register is and what i should be looking for in the source.

Any help be greatly appreciated.
Rog

OK, I'll try to help you. What project did you try to compile?
What is your hardware? DeviceID?
You say about 0x48. Show me more lines of code where it is.

#458
somorastik

somorastik

    InsanelyMac Protégé

  • Members
  • PipPip
  • 63 posts
So is there any developement since the source for the R600 and R700 has become open source?
Any hopes for the Ati HD 3470 mobility?

#459
Quantum_7

Quantum_7

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
or the doomed X1400... i can test any driver if you need a test machine :)

thanks for your amazing works guys :P

#460
Keny Hu

Keny Hu

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
  • Gender:Male
  • Location:Shanghai, Minneapolis
Yes, x1400, I would like to test the driver as well, if there is any...

BTW: When using a virtual machine with Leopard, I can actually get the native resolution (which for me is 1280x800); for me, I do think the native resolution is even more important than anything also like 3D support, etc.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy