On Tue, 22 May 2001, Daryll Strauss wrote:

>> Then, you should have at least a couple megabytes left over for
>> the X pixmap cache and for OpenGL textures.
>
>Please realize these are important and significant parts of the
>calculation. For example, in the tdfx driver you can be using up to 1MB
>of command fifo, you can have 2048 lines (times the screen width) of
>offscreen pixmap cache, and basically whatever extra is used as
>textures. There may also be interesting alignment issues. Memory had to
>sit on 4k boundaries on the tdfx hardware. The driver tries to make
>intelligent choices, but sometimes they are difficult. Would you rather
>have offscreen pixmap memory which can be used for playing a video or
>have more texture memory which makes quake go faster?
>
>So, the calculation Brian listed is the minimum requirement for 3D to
>work in a given mode, but it isn't the maximum. Each board is different
>and may change as the code changes. You're not going to get one formula
>that says "With ram X and depth Y your maximum resolution is Z"

Right, but what I want is "Here are your options, and you cannot
choose DRI in a configuration that will make the machine lock up
due to memory constraints."

Just a question:  Does Windows suffer from similar problems?
I've never noticed myself, but I'm just wondering how this is
handled in Windows video drivers, or is it a problem there too?
Or is this something due to X not being able to change depth on
the fly?

I'm just trying to understand the problem a bit better so that I
can come up with a solution that allows users to choose the best
configuration with the fewest problems by default.

Also, is it the RandR extension that will provide depth switching
support?  I remember Keith talking at the XFree86 BOF at LWE
about it.  Does depth switching fit under "Resize"?  Or is that
another extension?


----------------------------------------------------------------------
Mike A. Harris                  Shipping/mailing address:
OS Systems Engineer             190 Pittsburgh Ave., Sault Ste. Marie,
Red Hat Inc.                    Ontario, Canada, P6C 5B3
http://www.redhat.com           Phone: (705)949-2136
----------------------------------------------------------------------
Latest XFree86 test RPMS:      ftp://people.redhat.com/mharris/testing


_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to