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

Bug#292495: xdebconfigurator: whether to chose nv or nvidia



Package: xdebconfigurator
Version: 1.13.demudi2
Severity: important

Hi,

on this  Dell Inspiron 8600, the  latest  hwinfo package suggests both
"nvidia" and "nv" as X driver:

20: PCI 100.0: 0300 VGA compatible controller (VGA)
  [...]
  Model: "ATI GeForce FX Go5200"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x0324 "GeForce FX Go5200"
  SubVendor: pci 0x1028 "ATI Technologies Inc"
  SubDevice: pci 0x019c 
  Revision: 0xa1
  Driver: "nvidia"
  [...]
  Driver Info #0:
    XFree86 v4 Server Module: nv
  Driver Info #1:
    XFree86 v4 Server Module: nvidia
    3D Support: yes
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #10 (PCI bridge)

and latest xdebconfigurator chooses "nvidia" over "nv":

VIDEO DRIVER: nvidia
VIDEO DRIVER SRC: hwinfo

Obviously the generated XF86Config-4 does not work  unless one has the
nvidia packages and the  appropriate kernel module installed, and  the
problem is that nvidia is non-free.

Personally I  have the nvidia  driver installed, but  this  is not the
rule (e.g. A/DeMuDi doesn't ship any non-free software).

Moreover notice that changing:

Driver		"nvidia"

with

Driver		"nv"


in the generated /etc/X11/XF86Config-4, does  works as well, and gives
the same results as with "nvidia".

However tuning the    generated /etc/X11/XF86Config-4 with  the  patch
below gives MUCH better and nicer results.

So what I'd do is before choosing nvidia as X driver run the test:

if test ! -e "`modprobe -l nvidia`" && $(dpkg -l nvidia-glx | grep -q ^ii)
then
        # Ok let's use nvidia, and write an improved XF86Config-4 (see the patch below)
else
        # Just use nv
fi

Here follows a patch  to get  the best performance  out of  the NVidia
drivers.   It works    on my   machine    and  should work  in    most
cases. Additional information  can be found  in the appendix D of this
document:

ftp://download.nvidia.com/XFree86/Linux-x86/1.0-6629/README.txt

--- /etc/X11/XF86Config-4	2005-01-27 11:36:10.000000000 +0100
+++ XF86Config-4.MY	2005-01-27 11:37:23.000000000 +0100
@@ -66,15 +66,19 @@
 	Option		"Emulate3Buttons"	"true"
 EndSection
 
+
 Section "Device"
 	Identifier	"ATI GeForce FX Go5200"
 	Driver		"nvidia"
	Option "NoLogo" "1"
 EndSection
 
 Section "Monitor"
 	Identifier	"Xdebc Monitor"
-	HorizSync	28-50
-	VertRefresh	43-75
+	HorizSync	30-92
+	VertRefresh	50-85
+	Option "IgnoreEDID" "1"
+	Modeline "1280x800" 83.91 1280 1312 1624 1656 800 816 824 841
 	Option		"DPMS"
 EndSection
 
@@ -82,7 +86,7 @@
 	Identifier	"Default Screen"
 	Device		"ATI GeForce FX Go5200"
 	Monitor		"Xdebc Monitor"
-	DefaultDepth	16
+	DefaultDepth	24
 	SubSection "Display"
 		Depth		1
 		Modes		"1024x768" "800x600" "640x400" "640x480" "320x240" "320x200" "320x400"
@@ -105,7 +109,7 @@
 	EndSubSection
 	SubSection "Display"
 		Depth		24
-		Modes		"1024x768" "800x600" "640x400" "640x480" "320x240" "320x200" "320x400"
+		Modes		"1920x1200" "1680x1050" "1280x800"
 	EndSubSection
 EndSection
 

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (901, 'testing'), (101, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-multimedia-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages xdebconfigurator depends on:
ii  debconf [debconf-2.0]         1.4.30.11  Debian configuration management sy
ii  discover1                     1.7.6      hardware identification system
ii  kudzu                         1.1.67-1   The Red Hat Linux hardware probing
ii  perl-modules                  5.8.4-5    Core Perl modules

-- debconf information:
  base-config/menu/xdebconfigurator:
* xdebconfigurator/generate-at-boot: false




Reply to: