Problem with debconf preseed and nvidia

2007-11-08 Thread Sjors Robroek

Hi all,

i'm pretty new to this mailing list, and starting off with a question 
that's been bothering me for a few days now:


Debconf does not seem to recognize my videocard automatically, so i 
tried configuring it with the standard debconf preseed file. Contents of 
this is as follows:


xserver-xorg   xserver-xorg/config/inputdevice/keyboard/model string pc105
xserver-xorgxserver-xorg/autodetect_monitor boolean true
xserver-xorgxserver-xorg/autodetect_keyboardboolean true
xserver-xorgxserver-xorg/autodetect_mouse   boolean true
xserver-xorgxserver-xorg/autodetect_video_card  boolean false
xserver-xorgxserver-xorg/config/device/driver   select nvidia
xserver-xorgxserver-xorg/config/device/identifier   string nVidia 
Quadro FX 440


However, instead of recognizing the card as vesa it will set the driver 
string to apm. I suspect this is because nvidia-glx is not installed yet 
at the moment xserver-xorg gets configured, causing the choice nvidia to 
not be available.


Is there a way to either force debconf to set driver to nvidia wether or 
not it exists, or to make sure nvidia-glx is installed before 
xserver-xorg is configured?


Greetings,

Sjors Robroek


Re: Problem with debconf preseed and nvidia

2007-11-08 Thread Thomas Lange
> On Thu, 08 Nov 2007 15:58:38 +0100, Sjors Robroek <[EMAIL PROTECTED]> 
> said:

> Debconf does not seem to recognize my videocard automatically, so i 
> tried configuring it with the standard debconf preseed file. Contents of 
> this is as follows:

> xserver-xorgxserver-xorg/autodetect_video_card  boolean false
> xserver-xorgxserver-xorg/config/device/driver   select nvidia
> xserver-xorgxserver-xorg/config/device/identifier   string nVidia 

> Is there a way to either force debconf to set driver to nvidia wether or 
> not it exists, or to make sure nvidia-glx is installed before 
> xserver-xorg is configured?
You can call fai-debconf and then $ROOTCMD dexconf at the end of
installation (in a shell script). This should generate a proper xorg.conf file.

-- 
regards Thomas


Re: Problem with debconf preseed and nvidia

2007-11-08 Thread Sjors Robroek

Thomas Lange wrote:

On Thu, 08 Nov 2007 15:58:38 +0100, Sjors Robroek <[EMAIL PROTECTED]> said:



> Debconf does not seem to recognize my videocard automatically, so i 
> tried configuring it with the standard debconf preseed file. Contents of 
> this is as follows:


> xserver-xorgxserver-xorg/autodetect_video_card  boolean false
> xserver-xorgxserver-xorg/config/device/driver   select nvidia
> xserver-xorgxserver-xorg/config/device/identifier   string nVidia 

> Is there a way to either force debconf to set driver to nvidia wether or 
> not it exists, or to make sure nvidia-glx is installed before 
> xserver-xorg is configured?

You can call fai-debconf and then $ROOTCMD dexconf at the end of
installation (in a shell script). This should generate a proper xorg.conf file.

  
Cheers, that did it :) I'm hardly experienced with FAI at all, but i'm 
planning on using it to replace our current (rsync based) installation 
system, and this far i'm liking it.