Bug#737217: nvidia-detect: incorrect detection for 304xx and current nvidia devices when using wheezy-backports nvidia-detect

2014-02-05 Thread Lennart Sorensen
On Fri, Jan 31, 2014 at 08:54:03PM +0100, Andreas Beckmann wrote:
 On 2014-01-31 15:06, Kent Mathern wrote:
  Here's an example using the pciid of a GeForce GT 640, 10de:1282
Uh oh. Your card is only supported by the 71.86 legacy drivers series, 
  which
  is not in any current Debian suite.
  
  With wheezy-backports enabled, I believe it should have returned either
  'nvidia-driver' or 'nvidia-glx'.
 
 No, 71xx legacy hardware won't be supported by any newer driver.

A GT 640 is NOT legacy hardware.  It is almost certainly only supported
by current.

-- 
Len Sorensen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#737217: nvidia-detect: incorrect detection for 304xx and current nvidia devices when using wheezy-backports nvidia-detect

2014-01-31 Thread Kent Mathern
Package: nvidia-detect
Version: 319.72-1~bpo70+1
Severity: important

Dear Maintainer,

The wheezy-backports nvidia-detect appears to incorrectly detect current nvidia
devices, i.e. those supported by the 319.72-1~bpo70+1 version nvidia-driver
package. It also appears to incorrectly detect 304xx legacy devices. 173xx and
96xx devices are detected correctly.

Some examples are below. I'm feeding nvidia-detect the device ids since I don't
have the actual hardware
The device ids are from:
http://us.download.nvidia.com/XFree86/Linux-x86/319.72/README/supportedchips.html


Here's an example using the pciid of a GeForce GT 640, 10de:1282

  $ nvidia-detect 10de:1282
  Checking driver support for PCI ID [10de:1282]
  Uh oh. Your card is only supported by the 71.86 legacy drivers series, which
is not in any current Debian suite.

With wheezy-backports enabled, I believe it should have returned either
'nvidia-driver' or 'nvidia-glx'.



Here's an example using the pciid of a GeForce 6200 LE, 10de:0163
  $ nvidia-detect 10de:0163
  Checking driver support for PCI ID [10de:0163]
  Your card is supported by the default drivers and version 173.
  It is recommended to install the
  nvidia-glx
  package.

With wheezy-backports enabled, I believe it should have returned 'nvidia-
legacy-304xx-driver'



Here's an example with actual hardware, my FX5200 card.

  $ nvidia-detect
  Detected NVIDIA GPUs:
  02:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV34 [GeForce FX
5200] [10de:0322] (rev a1)
  Your card is only supported up to the 173.14 legacy drivers series.
  It is recommended to install the
nvidia-glx-legacy-173xx
  package.

The 173xx package it recommended is correct for it.



Here's an example using the pciid of a GeForce2 MX/MX 400 10de:0110

  $ nvidia-detect 10de:0110
  Checking driver support for PCI ID [10de:0110]
  Your card is only supported up to the 96.43 legacy drivers series.
  It is recommended to install the
  nvidia-glx-legacy-96xx
  package.

The 96xx package it recommended is correct for it.



I've also found that if I temporarily change /etc/debian_version from 7.3 to
jessie/sid, that the correct wheezy-backports package will be recommended for
nvidia-current and 304xx devices.



-- Package-specific info:
uname -a:
Linux mx1 3.12-0.bpo.1-686-pae #1 SMP Debian 3.12.6-2~bpo70+1 (2014-01-07) i686 
GNU/Linux

/proc/version:
Linux version 3.12-0.bpo.1-686-pae (debian-ker...@lists.debian.org) (gcc 
version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.12.6-2~bpo70+1 (2014-01-07)

/proc/driver/nvidia/version:
NVRM version: NVIDIA UNIX x86 Kernel Module  173.14.39  Wed Nov 27 14:55:50 PST 
2013
GCC version:  gcc version 4.6.3 (Debian 4.6.3-14) 

lspci 'VGA compatible controller [0300]':
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV34 [GeForce FX 
5200] [10de:0322] (rev a1) (prog-if 00 [VGA controller])
Subsystem: XFX Pine Group Inc. GeForce FX 5200 [1682:1351]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR- INTx-
Latency: 248 (1250ns min, 250ns max)
Interrupt: pin A routed to IRQ 19
Region 0: Memory at e800 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at e000 (32-bit, prefetchable) [size=128M]
[virtual] Expansion ROM at e900 [disabled] [size=128K]
Capabilities: access denied
Kernel driver in use: nvidia

dmesg:
[0.00] DMI:/nVidia-nForce, BIOS 6.00 PG 08/04/2004
[0.00] ACPI: RSDP 000f90b0 00014 (v00 Nvidia)
[0.00] ACPI: RSDT 3fff3040 0002C (v01 Nvidia AWRDACPI 42302E31 AWRD 
)
[0.00] ACPI: FACP 3fff30c0 00074 (v01 Nvidia AWRDACPI 42302E31 AWRD 
)
[0.00] ACPI: DSDT 3fff3180 0508E (v01 NVIDIA AWRDACPI 1000 MSFT 
010E)
[0.00] ACPI: APIC 3fff8280 0006E (v01 Nvidia AWRDACPI 42302E31 AWRD 
)
[0.00] Nvidia board detected. Ignoring ACPI timer override.
[0.00] Console: colour VGA+ 80x25
[0.107704] vgaarb: device added: 
PCI::02:00.0,decodes=io+mem,owns=io+mem,locks=none
[0.107706] vgaarb: loaded
[0.107708] vgaarb: bridge control possible :02:00.0
[0.781484] Linux agpgart interface v0.103
[0.781577] agpgart: Detected NVIDIA nForce2 chipset
[0.790786] agpgart-nvidia :00:00.0: AGP aperture is 128M @ 0xd800
[  193.675285] nvidia: module license 'NVIDIA' taints kernel.
[  193.976553] vgaarb: device changed decodes: 
PCI::02:00.0,olddecodes=io+mem,decodes=none:owns=none
[  193.977038] NVRM: loading NVIDIA UNIX x86 Kernel Module  173.14.39  Wed Nov 
27 14:55:50 PST 2013
[  261.083392] agpgart-nvidia :00:00.0: AGP 3.0 bridge
[  261.083413] agpgart-nvidia :00:00.0: putting AGP V3 device into 8x mode
[  261.083478] nvidia :02:00.0: putting AGP V3 device into 8x mode

OpenGL and NVIDIA 

Bug#737217: nvidia-detect: incorrect detection for 304xx and current nvidia devices when using wheezy-backports nvidia-detect

2014-01-31 Thread Andreas Beckmann
On 2014-01-31 15:06, Kent Mathern wrote:
 The wheezy-backports nvidia-detect appears to incorrectly detect current 
 nvidia
 devices, i.e. those supported by the 319.72-1~bpo70+1 version nvidia-driver
 package. It also appears to incorrectly detect 304xx legacy devices. 173xx and
 96xx devices are detected correctly.

I changed a bit of the output and added some backports awareness in the
331.38-2 upload to experimental this morning, but it may take some time
until these changes reach wheezy-backports.

 Here's an example using the pciid of a GeForce GT 640, 10de:1282
   Uh oh. Your card is only supported by the 71.86 legacy drivers series, which
 is not in any current Debian suite.
 
 With wheezy-backports enabled, I believe it should have returned either
 'nvidia-driver' or 'nvidia-glx'.

No, 71xx legacy hardware won't be supported by any newer driver.

 Here's an example using the pciid of a GeForce 6200 LE, 10de:0163
   $ nvidia-detect 10de:0163
   Checking driver support for PCI ID [10de:0163]
   Your card is supported by the default drivers and version 173.
   It is recommended to install the
   nvidia-glx
   package.
 
 With wheezy-backports enabled, I believe it should have returned 'nvidia-
 legacy-304xx-driver'

But the wheezy default drivers are fine enough so that you don't need
the backported driver.
Its more interesting for the hardware support added after 304xx: there
you will need nvidia-driver/wheezy-backports.

And 96xx is also unsupported in jessie.


Andreas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#737217: nvidia-detect: incorrect detection for 304xx and current nvidia devices when using wheezy-backports nvidia-detect

2014-01-31 Thread Kent E. Mathern
 But the wheezy default drivers are fine enough so that you don't need
 the backported driver.
 Its more interesting for the hardware support added after 304xx: there
 you will need nvidia-driver/wheezy-
 backports.
The distro I'm using is wheezy-based, but it's using the 3.12 series
wheezy-backports kernel. I think the default wheezy drivers stopped
working somewhere around the 3.8 or 3.9 kernel.


 Here's an example using the pciid of a GeForce GT 640, 10de:1282
   Uh oh. Your card is only supported by the 71.86 legacy drivers series,
which
 is not in any current Debian suite.

 With wheezy-backports enabled, I believe it should have returned either
 'nvidia-driver' or 'nvidia-glx'.
 No, 71xx legacy hardware won't be supported by any newer driver.
That's the incorrect detection I'm talking about. The GeForce GT 640 is
fairly new,
I think was introduced in mid 2012, it's definitely not 71xx legacy
hardware.
In a sid install nvidia-detect recommends nvidia-driver for that pciid, the
wheezy-backports nvidia-driver package will also support it.

 And 96xx is also unsupported in jessie.
Again, I'm using a wheezy base. 96xx supports the wheezy xorg version.
I need to doublecheck though to see if the wheezy-backports 96xx works
with a 3.12 kernel.


What brought this up is  I've created a script to install the nvidia driver,
and it uses nvidia-detect to select the correct nvidia driver package. If
it's
going to be a longtime before nvidia-detect is backports aware, I might
need to use some other detection method.


Bug#737217: nvidia-detect: incorrect detection for 304xx and current nvidia devices when using wheezy-backports nvidia-detect

2014-01-31 Thread Andreas Beckmann
On 2014-01-31 22:29, Kent E. Mathern wrote:
 What brought this up is  I've created a script to install the nvidia driver,
 and it uses nvidia-detect to select the correct nvidia driver package. If
 it's
 going to be a longtime before nvidia-detect is backports aware, I might
 need to use some other detection method.

Which means you might want some better machine parsable output ...
patches welcome ... and maybe some more switches to adjust behavior, e.g.

--distro wheezy
--distro wheezy-backports

should give different results in your case.

Glad to see someone is using nvidia-detect for some autodetection work,
maybe you can share your scripts for others to benefit from.

If you send patches, please against the lates version in experimental.
And once we have implemented something that works for you, we can push
this to bpo quickly :-)

Andreas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#737217: nvidia-detect: incorrect detection for 304xx and current nvidia devices when using wheezy-backports nvidia-detect

2014-01-31 Thread Diederik de Haas
On Friday 31 January 2014 22:46:47 Andreas Beckmann wrote:
  What brought this up is  I've created a script to install the nvidia
  driver, and it uses nvidia-detect to select the correct nvidia driver
  package. 
 
 Glad to see someone is using nvidia-detect for some autodetection work,
 maybe you can share your scripts for others to benefit from.

Debian Live also does some detection, albeit not just for nvidia.
Would be great if we all could share/integrate things so we'd all benefit and 
avoid duplication of work.

http://live.debian.net/gitweb/?p=live-config.git;a=blob;f=components/1140-xserver-xorg

Diederik

-- 
GPG: 0x138E41915C7EFED6

signature.asc
Description: This is a digitally signed message part.