Comment 35 for bug 34590

Revision history for this message
audiophyl (audiophyl) wrote : Re: [Bug 34590] Re: DRI not Automatically Enabled for ATI Rage Mobility P/M - Mach64

I may be off on the dependencies (only the Linux kernel headers, GCC & make
stuffs, and git, I believe), but you should be able to get by in Feisty and
Hardy with minimal building from sources. From what I can tell nothing
needs to be compiled except mach64.ko, and drm.ko needs a recompilation.

The instructions are fairly straight-forward (assuming you've already
apt-get'd the aforementioned stuffs):

(terminal)
git clone git://anongit.freedesktop.org/git/mesa/drm
cd drm/linux-core
make mach64.o (that's not a typo, and this builds drm.ko & mach64.ko)
sudo cp *.ko /lib/modules/<kernel version>/kernel/drivers/char/drm/
sudo depmod -n
(reboot and glxinfo | grep "direct")

Oh yeah, and make sure your default bit depth is right ahead of time.
16bpp@1024x768 is the best you can hope for with 8MB. I don't think you can
do much of anything with 4MB.

When the kernel is officially updated, a simple depmod will not suffice.
You will need to recompile the mach64.ko module. It doesn't take long. May
as well update the sources, anyhow.

Can someone confirm these instructions from a fresh(er) install, and, more
specifically, post a definitive list for apt-get prior to building?

-Philip

On Mon, Mar 10, 2008 at 6:01 PM, Roland Arendes <email address hidden> wrote:

> I second that. Just trying to get my old laptop with an ATI mach64
> mobility to work in DRI mode in hardy alpha 6, but no chance. mach64.ko
> is still missing and I'm not able to compile the rather old snapshots
> from http://dri.freedesktop.org/snapshots/ due to compilation problems
> with the hardy kernel.
>
> Any idea when this will be fixed for hardy? There isn't much time left.
>
> --
> DRI not Automatically Enabled for ATI Rage Mobility P/M - Mach64
> https://bugs.launchpad.net/bugs/34590
> You received this bug notification because you are a direct subscriber
> of the bug.
>