Re: DRI (was Re: OpenOffice crashes due to incorrect access permissions on /dev/dri/card*)

From: Dave Airlie
Date: Sat Jan 29 2005 - 18:18:03 EST


>
> No, XAA is normally used for 2D acceleration. This is hardware
> accelerated but doesn't use DRI, X does 2D accel by talking directly to
> the hardware without the kernel's involvement.
>
well not totally true, X on radeon/r200/r300 cards needs the DRM to
load the microcode for the command processor, this enables some major
speedups in the 2D code (it still talk direct to the card, but needs
the CP loading...) but X runs as root so it has no worries opening the
device...

the issue is with using having the perms set to 0660 since the drm
started supporting sysfs and udev... normally X created the dri
devices and set the permissions to what was in the X config, normally
666.... or 660 with a dri group...

Dave.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/