On Thu, 28 Jun 2007, tom jacobs wrote: > Thanks. What needs to be done to make existing working X DRI drivers work > under miniglx? They they just need a DDX replacement? > And so this is the problem in this case that the miniglx DDX replacement > isn't doing the right thing? > Excuse my DRI-newbieness, but to what extent is it possible to pull out the > DDX code from X and put it into the miniGLX replacement? >
Pretty much we put the code that sets up the DRI from the DDX into the server/radeon_dri.c which miniglx builds into the dri.so, you can sorta compare that file and the radeon_dri.c from the radeon DDX driver. However I'm sure most of the pcie code made it over at one point but I may not have published it.. and have probably since lost it.. Dave. > Tom. > > On 6/28/07, Dave Airlie <[EMAIL PROTECTED]> wrote: >> >> >> > "[drm:radeon_do_init_cp] *ERROR* Cannot use PCI Express without GART in >> FB >> > memory" >> > when trying to use miniglx (running ./sample_server from a non-X ubuntu >> > environment), on my machine with a Mobile x600 Radeon PCI-Express card. >> > DRI radeon acceleration is working ok on my standard X-enabled ubuntu >> > install with that card I believe, so it looks to be a miniglx issue? >> > All my running code (the radeon drm module, radeon_dri.so etc) is the >> > latest, built from git source. >> > >> > What does that error mean? >> >> It means that the miniglx DDX code radeon_server.c didn't allocate memory >> for the GART table and tell the DRM where it was.. >> >> I'm not sure I ever got PCIE miniglx working on radeon, on my r300 I think >> it used to hang on the first packet I sent it and gave up.. >> >> Dave. >> >> -- >> David Airlie, Software Engineer >> http://www.skynet.ie/~airlied / airlied at skynet.ie >> Linux kernel - DRI, VAX / pam_smb / ILUG >> >> > > > -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied at skynet.ie Linux kernel - DRI, VAX / pam_smb / ILUG ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
