Slice Posted August 13, 2007 Share Posted August 13, 2007 I want to make an attempt to write a better driver for Radeon Mobility 9000IGP DevID=0x5835. I compiled OpenATI and it works! It work twice as fast as Callisto. With Callisto I have Quartz Graphics Test 32.26 Line 31.11 2.07 Klines/sec [50% alpha] Rectangle 24.58 7.34 Krects/sec [50% alpha] Circle 26.46 2.16 Kcircles/sec [50% alpha] Bezier 59.30 1.50 Kbeziers/sec [50% alpha] Text 36.36 2.27 Kchars/sec OpenGL Graphics Test 24.10 Spinning Squares 24.10 30.58 frames/sec User Interface Test 36.44 Elements 36.44 167.22 refresh/sec With AGPGart+Ati I have Quartz Graphics Test 51.25 Line 47.58 3.17 Klines/sec [50% alpha] Rectangle 56.48 16.86 Krects/sec [50% alpha] Circle 54.39 4.43 Kcircles/sec [50% alpha] Bezier 64.04 1.62 Kbeziers/sec [50% alpha] Text 40.27 2.52 Kchars/sec OpenGL Graphics Test 24.07 Spinning Squares 24.07 30.54 frames/sec User Interface Test 82.72 Elements 82.72 379.63 refresh/sec This driver have two classes ATIFramebuffer and ATIAccelerator in very initial stage. I have more advanced sources for Framebuffer that is needed for change resolutions. It's a way to work. I have no any sample for IOAccelerator class but may be all that I need is to connect to RadeonGA.plugin etc. Any help? Suggestions? I want to look to AGPGart sources to understand what is the diffeence between IOPCIDevice and IOAGPDevice. It would be helpful. Any links? Where can I get Linux sources for the ATI driver for RS300 chip? Link to comment Share on other sites More sharing options...
bladecgn Posted August 15, 2007 Share Posted August 15, 2007 This is very good news!!! If you can get it to work it would be great. Link to comment Share on other sites More sharing options...
bladecgn Posted August 19, 2007 Share Posted August 19, 2007 linux ati driver sources Source The components of the DRI have been moved into their respective upstream repositories. The DRI drivers reside within Mesa, and the 2D drivers reside in [X.Org http://www.x.org/]. The remaining component is the DRM, which is maintained in a git tree on freedesktop.org. http://dri.freedesktop.org Link to comment Share on other sites More sharing options...
betolley Posted August 19, 2007 Share Posted August 19, 2007 I have software Opengl. In x11 with glgears I get 117 fps. I am using Katana .03a4. I removed the 8500 kext. Any sugestions for hardware opengl? I replaced 10.4.6 with 10.4.1 version of opengl framework...Software is a little faster now. Graphics/Displays: Radeon Mobility 9000 Lf: Chipset Model: Radeon Mobility 9000 Lf Type: Display Bus: AGP VRAM (Total): 64 MB Vendor: ATI (0x1002) Device ID: 0x4c66 Revision ID: 0x0002 Displays: Color LCD: Resolution: 1024 x 768 @ 60 Hz Depth: 32-bit Color Core Image: Not Supported Main Display: Yes Mirror: Off Online: Yes Quartz Extreme: Not Supported Link to comment Share on other sites More sharing options...
BOBSONATOR Posted August 19, 2007 Share Posted August 19, 2007 Hey guys, i just put JAS 10.4.8 on my 600m, which is the first script/driver i should try? Thanks Link to comment Share on other sites More sharing options...
BOBSONATOR Posted August 20, 2007 Share Posted August 20, 2007 hmm screensavers should work ok, just very slowly. OS X works ok without QE and hardware OpenGL. Seriously its not all that bad if thats the only bottleneck on your computer. Movies are slightly choppy, theres a bit less eye candy, and I suppose its not exactly great for gaming but beyond that the OS itself works fine. This is what i am getting, Scrolling is slow, but everything works, the screensaver is like a slide show.. Link to comment Share on other sites More sharing options...
Slice Posted August 21, 2007 Share Posted August 21, 2007 linux ati driver sources Source The components of the DRI have been moved into their respective upstream repositories. The DRI drivers reside within Mesa, and the 2D drivers reside in [X.Org http://www.x.org/]. The remaining component is the DRM, which is maintained in a git tree on freedesktop.org. http://dri.freedesktop.org Latest source dated by 2002! It does not reliable for our card. I found that AGPGart is not correctly work with AGP bus. It checks AGP devices 0x5830-0x5833 but not 0x5838 which I have. It is why any ATIRadeonXXXX.kext don't work correctly with some Radeon Mobility AGP cards. AppleI386AGP don't work with ATI AGP. Any other drivers? Wait for news... Link to comment Share on other sites More sharing options...
Krazubu Posted August 22, 2007 Share Posted August 22, 2007 Slice, very good new that you try to write a driver, What's wrong with source code being from from 2002 ? These cards are a bit old now. I don't know if it can be usefull but the RV500 code has been recently reverse engineered, watch here http://lists.freedesktop.org/archives/xorg...une/025506.html. You may also find some valuable infos inside the radeon.efi file. You should get in touch with Omni he could probably provide you some usefull infos, you'll find him on the hu server. About AGPGart, you'll find Joblo10 and all infos here http://x86dev.org/ Good luck Link to comment Share on other sites More sharing options...
Slice Posted August 23, 2007 Share Posted August 23, 2007 What's wrong with source code being from from 2002 ? These cards are a bit old now. I have more recent code I don't know if it can be usefull but the RV500 code has been recently reverse engineered, watch here http://lists.freedesktop.org/archives/xorg...une/025506.html. I saw at this site Of course here is the URL to grab source code:git clone git://anongit.freedesktop.org/git/avivo/xf86-video-avivo Where is git client for MacOSX? You may also find some valuable infos inside the radeon.efi file. Link? You should get in touch with Omni he could probably provide you some usefull infos, you'll find him on the hu server.About AGPGart, you'll find Joblo10 and all infos here http://x86dev.org/ Yes, I'll do... but Re: Where is JOBLO10????????« Reply #12 on: May 15, 2007, 03:40:54 AM » He disappear again!!!! Joblo 10 WHERE ARE U? We need U! Link to comment Share on other sites More sharing options...
Krazubu Posted August 23, 2007 Share Posted August 23, 2007 Slice, afaik there's no compiled git for OSX, about radeon.efi you need to dump it off the EFI it's a tricky process, I know omni has it, and probably some other people. Edit : I found a git port here http://metastatic.org/text/Concern/2007/08...e-for-mac-os-x/ I tested it, it's OK Link to comment Share on other sites More sharing options...
Slice Posted August 24, 2007 Share Posted August 24, 2007 Edit : I found a git port here http://metastatic.org/text/Concern/2007/08...e-for-mac-os-x/ I tested it, it's OK Thanks! There are no live contacts with joblo10 or omni group. But I need help. I don't understand why: in AGPGart I see IOLog("%08lx\n",dev); switch (dev) { case 0xcab01002: return ("ATI RS100 AGP bridge"); case 0xcab21002: return ("ATI RS200 AGP bridge"); case 0xcab31002: return ("ATI RS250 AGP bridge"); case 0x58301002: return ("ATI RS300_100 AGP bridge"); case 0x58311002: return ("ATI RS300_133 AGP bridge"); case 0x58321002: return ("ATI RS300_166 AGP bridge"); case 0x58331002: return ("ATI RS300_200 AGP bridge"); case 0x58381002: return ("ATI RS300_233 AGP bridge"); }; Its info.plist IONameMatch pci1002,5838 ioreg -l tell me | | +-o AGP@1 | | | | { | | | | "built-in" = | | | | "device-id" = | | | | "IOPCIConfigured" = Yes | | | | "name" = "pci-bridge" | | | | "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/AGP@10000" | | | | "IOName" = "pci-bridge" | | | | "class-code" = | | | | "compatible" = | | | | "IODTPersist" = | | | | "subsystem-id" = | | | | "child-slot-names" = {"5"="AAPL,slot-name=PCI"} | | | | } | | | | | | | +-o AGPGart | | | | { and finally I get dmesg IOPCI2PCIBridge: bad bridge bus numbering, no room to fix, bailing out!58311002 AGP: Found ATI RS300_133 AGP bridge AGP: new AGP device Why 5831??? Link to comment Share on other sites More sharing options...
jodo Posted August 24, 2007 Share Posted August 24, 2007 Hi there, unfortunately I have no educated comment converning the code, I just wanted to say that it is great that again there is process in this thing. I've tried several times to get my 9000 card using QE...but no luck with the kexts around... Slice, if you need any help with that next to programming, just send me a PM. And if you really manage to get QE working on the 9000 series (my device id is 4c66) you can be sure to get a reward from me (via paypal or whatever). No, I do not want you to make it for money...just to show you how desperately I want to get this thing running! And I'm sure that I'm not the only one... Actually I would say that this 9000 series driver issue is one of the big big unsolved problems of osx86... And now I will try again to go into this... Regards, jodo Link to comment Share on other sites More sharing options...
Krazubu Posted August 26, 2007 Share Posted August 26, 2007 Slice, maybe you simply found an error Link to comment Share on other sites More sharing options...
Slice Posted August 28, 2007 Share Posted August 28, 2007 Slice, maybe you simply found an error Yes, I think this is a first problem that we must solve: an error in working with this AGP bus. Neither ATIRadeon8500 nor ATIRadeon9700 can get real addresses of the card. May be this is a last problem. Link to comment Share on other sites More sharing options...
iktus Posted September 2, 2007 Share Posted September 2, 2007 Slice, you are my Hero if you really create a driver for my 5838 graphic card, and QE finally are activate, i must donate whit paypal a simbolic gift I stay tuned by Link to comment Share on other sites More sharing options...
Slice Posted September 3, 2007 Share Posted September 3, 2007 Thank for all for supports! It is very hard work. I try three ways 1. AGPGart for ATI - near for finish, but with non-understandable error. 2. RadeonFB - approximately as Callisto, but still without QE/CI. Maybe. Not working yet. 3. OpenAti - very far from complete. Link to comment Share on other sites More sharing options...
Slice Posted September 4, 2007 Share Posted September 4, 2007 Linux driver is a {censored}! /* !!!! FIXME !!!! NOTE: THIS FILE HAS BEEN CONVERTED FROM r128_reg.h * AND CONTAINS REGISTERS AND REGISTER DEFINITIONS THAT ARE NOT CORRECT * ON THE RADEON. A FULL AUDIT OF THIS CODE IS NEEDED! */ and DESCRIPTION radeonis a XFree86 driverfor ATI RADEON based video cards. It contains full support for 8, 15, 16 and 24 bit pixel depths, dual-head setup, flat panel, hardware 2D acceleration, hardware 3D acceleration (except R300 and IGP series cards), hardware cursor,XVextension, Xinerama extension. SUPPORTED HARDWARE Theradeondriversupports PCI and AGP video cards based on the following ATI chips R100 Radeon 7200 RV100 Radeon 7000(VE), M6 RS100 Radeon IGP320(M) (2D only) RV200 Radeon 7500, M7, FireGL 7800 RS200 Radeon IGP330(M)/IGP340(M) (2D only) RS250 Radeon Mobility 7000 IGP (2D only) R200 Radeon 8500, 9100, FireGL 8800/8700 RV250 Radeon 9000PRO/9000, M9 RS300 Radeon 9100 IGP (2D only) And in Ubuntu I have no switch resolution and some strange mini-GL driver. Link to comment Share on other sites More sharing options...
jodo Posted September 4, 2007 Share Posted September 4, 2007 Damn! Could we assume that the Apple driver for 8500 is derived from this broken driver? It would explain why for instance people with a 7500 have more success than those with a 8500-9200... Link to comment Share on other sites More sharing options...
dpeddi Posted September 5, 2007 Share Posted September 5, 2007 Linux driver is a {censored}!and And in Ubuntu I have no switch resolution and some strange mini-GL driver. Does it exist a source tree of a video driver? Where I can find actual source of openati? Regards Link to comment Share on other sites More sharing options...
Slice Posted September 6, 2007 Share Posted September 6, 2007 Does it exist a source tree of a video driver? Where I can find actual source of openati? Regards It's here: http://sourceforge.net/project/showfiles.php?group_id=151388 But as I already mentioned it is in very initial stage. Only empty classes. The project include linux sources as docs directory. Analogous sources can be found in git://anongit.freedesktop.org/git/avivo/xf86-video-avivo but I go to the address by ftp and successfully download sources of ati driver and i810 driver Are you programmer? Are you want to join me? 2 jodo Don't worry! I work on other way. But for now I test only my chip. As I know you have 4c66 so send me information from ioreg -l >ioreg.txt. In future I would need additional informations. Link to comment Share on other sites More sharing options...
dpeddi Posted September 6, 2007 Share Posted September 6, 2007 It's here: http://sourceforge.net/project/showfiles.php?group_id=151388But as I already mentioned it is in very initial stage. Only empty classes. The project include linux sources as docs directory. Analogous sources can be found in git://anongit.freedesktop.org/git/avivo/xf86-video-avivo but I go to the address by ftp and successfully download sources of ati driver and i810 driver Are you programmer? Are you want to join me? 2 jodo Don't worry! I work on other way. But for now I test only my chip. As I know you have 4c66 so send me information from ioreg -l >ioreg.txt. In future I would need additional informations. You will release source code of your work? I'm a sysadmin, and sometime I build and patch some program/driver under linux, if I have a working osx driver as example, I can try to help in porting linux driver to osx. I have no problem in getting driver for linux but I need a skeleton of working osx driver, and I haven't find it yet. Eddi Link to comment Share on other sites More sharing options...
jodo Posted September 6, 2007 Share Posted September 6, 2007 2 jodo Don't worry! I work on other way. But for now I test only my chip. As I know you have 4c66 so send me information from ioreg -l >ioreg.txt. In future I would need additional informations. For sure! Here you go! Quite cool that you are enthusiastic to make it! If you need someone for testing...or more info - I'm here ioreg.txt Link to comment Share on other sites More sharing options...
Slice Posted September 7, 2007 Share Posted September 7, 2007 Damn! Could we assume that the Apple driver for 8500 is derived from this broken driver? It would explain why for instance people with a 7500 have more success than those with a 8500-9200... Is there anybody successfully use ATIRadeon8500 or it never works? As I see you have Intel AGP bus? Strange. I have not analized this codes yet. But for ATI AGP there are two mistakes: 1. It doesn't work with AGP@1 (as for you too) 2. /*- * Copyright © 2000 Doug Rabson * All rights reserved. * ............... * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ................ * * $FreeBSD: /repoman/r/ncvs/src/sys/pci/agpreg.h,v 1.17 2005/12/20 22:45:24 jhb Exp $ */ ............... #define ATI_GART_FEATURE_ID 0x00 //Slice - this is a reg for VENDOR_ID we can't write to it #define ATI_GART_BASE 0x04 //Slice - this is a reg for COMMAND but not for addresses What is radeonTool you have installed? 2 dpeddi I have no problem in getting driver for linux but I need a skeleton of working osx driver, and I haven't find it yet. OpenATI project is a working sceleton for OSX. Why you can't download it from sourceforge? For now I write only testing code to trace possible errors and understand why. To write a driver we need to know why previous one is not working. Link to comment Share on other sites More sharing options...
jodo Posted September 7, 2007 Share Posted September 7, 2007 Is there anybody successfully use ATIRadeon8500 or it never works? From what I know the 8500 driver never works. As I see you have Intel AGP bus? Strange. I have not analized this codes yet. I'm fiddling around with this stuff on a Thinkpad R50 with an i855-chipset. Actually it shows AGP in the sys profiler - could you perhaps explain the problem a little bit more? Just out of interest... What is radeonTool you have installed? To be honest: I don't know It's a remainder of my efforts getting the 7500-method to work. It comes from this thread: http://forum.insanelymac.com/index.php?sho...p;hl=radeontool Link to comment Share on other sites More sharing options...
Krazubu Posted September 7, 2007 Share Posted September 7, 2007 (Maybe) A great new, watch this : http://www.vnunet.com/vnunet/news/2198235/...-door-ati-linux Link to comment Share on other sites More sharing options...
Recommended Posts