From: Michel <mi...@da...> - 2003-07-22 15:59:14
|
On Tue, 2003-07-22 at 07:06, Leigh Dyer wrote: > > I've just been lucky enough to get a 1Ghz Powerbook G4 with 64Mb Radeon > Mobility 9000 to work on, Great machine, isn't it? :) > and I've been having a little trouble getting X and DRI working > nicely. The process so far has been: > > 1. Installed debian sid (following the branden's ibook page) > 2. Installed Daniel Stone's XFree86 4.3.0 packages > 3. Built and installed 2.4.21-ben2 kernel from source > 4. Built and installed DRI trunk from CVS BTW, are you not using my dri-trunk-sid packages intentionally? > [drm] AGP 0.99 aperture @ 0x00000000 16MB > [drm] Initialized radeon 1.9.0 20020828 on minor 0 > __ioremap(): phys addr 0 is RAM lr c0011be8 > __ioremap(): phys addr 101000 is RAM lr c0011be8 > __ioremap(): phys addr 102000 is RAM lr c0011be8 > [drm:radeon_do_init_cp] *ERROR* could not find ioremap agp regions! Your kernel lacks a vmap() implementation taking four arguments, which the DRM requires for using agpgart with AGP bridges that don't provide direct CPU access to the AGP aperture. The attached vmap-2.4.diff is what I'm using for this; alternatively, you can try merging http://penguinppc.org/~daenzer/DRI/drm-ioremapagp.diff to the current DRM. Anyway, you exposed a couple of bugs: * RADEONDRIFinishScreenInit() fails, so the DRI gets disabled, but XAA has already been set up to use the CP for 2D acceleration. This causes the CP errors you're seeing. The attached radeon-accel-init.diff moves the RADEONAccelInit() call after the RADEONDRIFinishScreenInit() call. * AGP initialization in the DRM should really fail as early as possible in this case, such that the DRI may be enabled using PCI GART. The attached drm-agp-acquire.diff tries to achieve this. So, please try only the first patch first and verify that the X server works correctly (the DRI will be disabled). Then, try the second patch and verify that the DRI is enabled, but AGP is disabled. -- Earthling Michel Dänzer \ Debian (powerpc), XFree86 and DRI developer Software libre enthusiast \ http://svcs.affero.net/rm.php?r=daenzer |