[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#94114: mesag3-glide2: mesag3-glide2 needs MESA_GLX_FX

On Mon, Apr 16, 2001 at 04:16:34PM +0200, Marcelo E. Magallon wrote:
>  I never said that's not possible.  I'm just saying this is not the way
>  *this* library works.  Since I don't use this particular feature of
>  Mesa, I don't know why this is so.  If you read README.3DFX you'll note
>  this is the least interesting environment variable there is.  It has
>  three possible values, and none is a good default, because, AFAICS,
>  it's hardware and configuration dependent.

But it has chosen a default anyway.  I mean it didn't just bomb out, it
actually kept working while producing a warning message telling the user
to set the environment variable.  What the policy is saying is that the
environment variable shouldn't be the only way of choosing this setting,
it must be possible to set this via a configuration file as well.

>       If a program usually depends on environment variables for its
>       configuration, the program should be changed to fall back to a
>       reasonable default configuration if these environment variables
>       are not present.
>  My point is there is no "reasonable default".  The choices are
>  fullscreen (which might not make sense if you have only one monitor),
>  windowed (which is slow) and disabled (which, err... isn't the reason
>  why you bought the card in the first place).

But the library choose a default anyway.

>  Policy is oriented towards programs, it even suggests the use of a
>  wrapper for those circumstances where it's "difficult" to change the
>  program.

The wrapper only comes into play if the program (which I argue applies
to libraries as well as executables) is difficult to modify.  Which I
don't think is the case here.

>  Anyways, I can fix this, but don't expect it to happen soon.  This is
>  not the only variable that's used by Mesa.

Well, then it would be a good thing if it had a configuration file.
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Reply to: