At 2007-05-22T18:32:02+1200, Roy Britten wrote:
> I'm not currently benefiting from hardware graphics acceleration, and
> sadly have no idea what to do to enable it. The Q965 chipset seems to
> be pretty new and my google-fu has failed me. Suggestions, including
> "you should have googled for XXXX you idiot" welcomed.

965Q is supported by recent versions of the Intel X.org drivers.  Looking at
Ubuntu Feisty's package selection, xserver-xorg-video-i810 is available in
the core repository, but xserver-xorg-video-intel is only available via the
universe repository.

It looks like latter is a newer version of the former, but with a new
package name.  I'm not really sure.  In Fiesty, the i810 driver is 1.7.4,
the Intel driver is 1.9.94.  Fedora 7 only has i810 and is at version 2.0.0.

I know that Fedora's i810 driver was sufficient to get 3D acceleration
working on a 965Q based desktop I've got here.

>From your xorg.conf, it looks like you're already using the Intel driver...

> $ glxinfo|grep -i direct
> direct rendering: No

Right, so there's a small flock of ducks you need to have page aligned to
get 3D acceleration working with Linux.

Firstly, the kernel's DRM driver needs to be working.  It sounds like you've
got the right modules loaded for your chipset, but you should check the
kernel log to see if it has recognized your hardware and initialized
correctly.

Then, look in the Xorg.log in /var/log to see if you're using the correct
driver for your video card (i.e. it hasn't fallen back to vesa or
something), and that DRI initialized correctly.

Make sure you haven't got DRI disabled in xorg.conf.

You can probably assume that the appropriate OpenGL bits are already in
place and working, most modern distros will install these by default.  The
NVIDIA proprietary drivers (used to) futz around with these, which could
leave the machine in a broken state if you tried to switch to non-NVIDIA
drivers.

> glxgears running fullscreen is claiming ~150 fps, but just looking at it
> I'd say it's rendering maybe 1.5 fps.

glxgears is pretty much useless as a benchmark.  Even so, ~150 is definitely
in the realm of software rendering.  There's no way it's 1.5 unless you're
running on a 486-era machine.

> but the gnome screen resolution controller offers many more -- I'm
> assuming it's querying my monitor (a ViewSonic VG2021m) for its
> capabilities.

Not directly.  It's just querying X via the X RandR protocol.  You can run
xrandr(1) at the command line and see what's available as well.

The days of the rigid configuration of xorg.conf are very numbered--in fact,
with the current Fedora packages you can run X without an xorg.conf file at
all, and everything Just Works (unless you want to do fancier things like
multihead, which still requires some manual configuration for now).

Cheers,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                    [EMAIL PROTECTED]

Reply via email to