Package: nvidia-glx
Version: 1.0.9755-1
Followup-For: Bug #404948

I've been bitten by this bug, and I'm now looking round online for how
to downgrade to 1.0.96xx.  I thought I should give my views about
what I'd consider a more intuitive way of dealing with this.

The most important thing for me is that I can do `apt-get upgrade` and
it doesn't break anything, second-most important is that I get the
latest version that works.  My first thought on seeing this bug was that
there should be a 'nvidia-glx-GeForce4-MX-440-AGP-8x metapackage that
tracks the latest version that works for me - although I assume that
would lead to way too many packages to be practical.  A more practical
alternative would be for installation to fail (or at least require
confirmation) if your card was supported in older versions, but isn't
supported in this version.  This wouldn't be too hard to implement, and
(although it's not a particularly elegant solution) would at least catch
problems before it's too late.  Here's a proof-of-concept bash script to
explain what I'm talking about:

#!/bin/sh

! grep -q -F -e "0x0040
0x0041
0x0043
0x0044
0x0045
0x0046
0x0047
0x0048
0x004E
0x0090
0x0091
0x0092
0x0093
0x0098
0x0099
0x009D
0x00C0
0x00C1
0x00C2
0x00C3
0x00C8
0x00C9
0x00CC
0x00CD
0x00CE
0x00F0
0x00F1
0x00F2
0x00F3
0x00F4
0x00F5
0x00F6
0x00F8
0x00F9
0x00FA
0x00FB
0x00FC
0x00FD
0x00FE
0x00FF
0x0140
0x0141
0x0142
0x0143
0x0144
0x0145
0x0146
0x0147
0x0148
0x0149
0x014A
0x014C
0x014E
0x014F
0x0160
0x0161
0x0163
0x0164
0x0165
0x0166
0x0167
0x0168
0x0191
0x0193
0x01D1
0x01D3
0x01D7
0x01D8
0x01DA
0x01DB
0x01DC
0x01DE
0x01DF
0x0211
0x0212
0x0215
0x0218
0x0221
0x0240
0x0241
0x0242
0x0247
0x0290
0x0291
0x0292
0x0294
0x0298
0x0299
0x029A
0x029B
0x029C
0x029D
0x029E
0x029F
0x02E1
0x0301
0x0302
0x0308
0x0309
0x0311
0x0312
0x0314
0x031A
0x031B
0x031C
0x0320
0x0321
0x0322
0x0323
0x0324
0x0325
0x0326
0x0327
0x0328
0x032A
0x032B
0x032C
0x032D
0x0330
0x0331
0x0332
0x0333
0x0334
0x0338
0x033F
0x0341
0x0342
0x0343
0x0344
0x0347
0x0348
0x034C
0x034E
0x0391
0x0392
0x0393
0x0398
0x039E" /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/device
export supported_97xx=$?

! grep -q -F -e "0x0110
0x0111
0x0112
0x0113
0x0170
0x0171
0x0172
0x0173
0x0174
0x0175
0x0176
0x0177
0x0178
0x0179
0x017A
0x017C
0x017D
0x0181
0x0182
0x0183
0x0185
0x0188
0x018A
0x018B
0x018C
0x01A0
0x01F0
0x0200
0x0201
0x0202
0x0203
0x0250
0x0251
0x0253
0x0258
0x0259
0x025B
0x0280
0x0281
0x0282
0x0286
0x0288
0x0289
0x028C" /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/device
export supported_96xx=$?

! grep -q -F -e "0x0020
0x0028
0x0029
0x002C
0x002D
0x00A0
0x0100
0x0101
0x0103
0x0150
0x0151
0x0152
0x0153" /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/device
export supported_71xx=$?

echo "Supported in 97xx: $supported_97xx
Supported in 96xx: $supported_96xx
Supported in 71xx: $supported_71xx"

if [ $supported_96xx == 1 -a $supported_97xx == 0 ]
then
        echo "Your card is no longer supported, refusing to install"
        exit
fi

echo "Your card is supported (or wasn't supported before), allowing install"


-- Package-specific info:
uname -r:
Linux nautilus 2.6.18-4-k7 #1 SMP Mon Mar 26 17:57:15 UTC 2007 i686 GNU/Linux


/proc/version:
Linux version 2.6.18-4-k7 (Debian 2.6.18.dfsg.1-12) ([EMAIL PROTECTED]) (gcc 
version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Mon Mar 26 
17:57:15 UTC 2007


01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 
8x] (rev a2)


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages nvidia-glx depends on:
ii  libc6        2.5-4                       GNU C Library: Shared libraries
ii  libx11-6     2:1.0.3-7                   X11 client-side library
ii  libxext6     1:1.0.3-2                   X11 miscellaneous extension librar
ii  nvidia-kerne 1.0.9755-1+2.6.18.dfsg.1-12 NVIDIA binary kernel module for Li
ii  x11-common   1:7.1.0-18                  X Window System (X.Org) infrastruc

nvidia-glx recommends no packages.

-- debconf information:
* nvidia-glx/tlsyes: true
  nvidia-glx/tlsno: false


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to