summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-14 19:40:41 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-14 19:40:41 +0000
commitf488dbc42559953213d8214eff35c48704ec6f77 (patch)
tree3df1b4d322a7daaecb9052460d837a72bf338f83 /perl-install/Xconfig
parent23ca113d2f9324ba79d89437b91e0b9e6e0f6fe9 (diff)
downloaddrakx-backup-do-not-use-f488dbc42559953213d8214eff35c48704ec6f77.tar
drakx-backup-do-not-use-f488dbc42559953213d8214eff35c48704ec6f77.tar.gz
drakx-backup-do-not-use-f488dbc42559953213d8214eff35c48704ec6f77.tar.bz2
drakx-backup-do-not-use-f488dbc42559953213d8214eff35c48704ec6f77.tar.xz
drakx-backup-do-not-use-f488dbc42559953213d8214eff35c48704ec6f77.zip
use nvidia legacy drivers for TNT2/GeForce/GeForce2
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r--perl-install/Xconfig/card.pm9
1 files changed, 8 insertions, 1 deletions
diff --git a/perl-install/Xconfig/card.pm b/perl-install/Xconfig/card.pm
index 4a16e04fb..486ec13d3 100644
--- a/perl-install/Xconfig/card.pm
+++ b/perl-install/Xconfig/card.pm
@@ -298,7 +298,13 @@ sub install_server {
}
my %proprietary_Driver2 = (
- nvidia => [ 'nvidia-kernel', 'nvidia' ], #- using NVIDIA driver (TNT, TN2 and GeForce cards only).
+ nvidia => [
+ $card->{NVIDIA_LEGACY} ?
+ #- using NVIDIA Legacy driver for old NVIDIA cards (TNT, TNT2, Vanta, Quadro, Quadro2, GeForce and GeForce2)
+ ('nvidia_legacy-kernel', 'nvidia_legacy') :
+ #- using current NVIDIA driver for recent NVIDIA cards (Geforce/Quadro 3/4/FX/6x00/NVS)
+ ('nvidia-kernel', 'nvidia')
+ ],
fglrx => [ 'ati-kernel', 'ati' ], #- using ATI fglrx driver (Radeon, Fire GL cards only).
);
if (my $rpms_needed = $proprietary_Driver2{$card->{Driver2}}) {
@@ -525,6 +531,7 @@ sub readCardsDB {
BAD_FB_RESTORE => sub { $card->{BAD_FB_RESTORE} = 1 },
FB_TVOUT => sub { $card->{FB_TVOUT} = 1 },
UNSUPPORTED => sub { delete $card->{Driver} },
+ NVIDIA_LEGACY => sub { $card->{NVIDIA_LEGACY} = 1 },
COMMENT => sub {},
};