On Thu, 2002-01-10 at 06:48, pesarif wrote:

> Just wondering but XMMS says that it needs to run SUID for DGA (this is the 
> equivalent of DirectX, isn't it?)

Not really. DirectX is a complex multimedia API whereas DGA basically
switches off the X server and gives you direct access to the
framebuffer.

> for visualisations.
> 
> In NT-based systems, you don't have to play games as the Administrator/root.
> Why do you need to in Linux?

As others said, because the only way for a client to access the
framebuffer is usually to mmap /dev/mem.

However, this isn't set in stone: DGA passes the client the name of the
device to open and the framebuffer's offset into that device. E.g. on
Linux, this could probably be changed rather easily to pass /dev/fbX,
which usually requires less privileges because it's safe in general.


-- 
Earthling Michel D�nzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to