From da10c27cd2d85c45293eff0717cff2384bc87efb Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 25 Apr 2001 17:26:53 +0000 Subject: updated NVIDIA cards detection. --- perl-install/Xconfigurator.pm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm index 1ca9fe7d7..fdcec95fb 100644 --- a/perl-install/Xconfigurator.pm +++ b/perl-install/Xconfigurator.pm @@ -284,8 +284,12 @@ What do you want to do?"), sub { translate($_[0]{text}) }, \@choices) or return; $card->{identifier} =~ /SiS.*630/ || $card->{identifier} =~ /Radeon /); #- 16bits preferable ? #- 3D acceleration configuration for XFree 4.0 using NVIDIA driver (TNT, TN2 and GeForce cards only). - $card->{NVIDIA_glx} = $cardOptions->{allowNVIDIA_rpms} && ($card->{type} =~ /RIVA TNT/ || - $card->{type} =~ /GeForce/); + $card->{NVIDIA_glx} = $cardOptions->{allowNVIDIA_rpms} && ($card->{identifier} =~ /[nN]Vidia.*T[nN]T2/ || #- TNT2 cards + $card->{identifier} =~ /[nN]Vidia.*NV[56]/ || + $card->{identifier} =~ /[nN]Vidia.*Vanta/ || + $card->{identifier} =~ /[nN]Vidia.*GeForce/ || #- GeForce cards + $card->{identifier} =~ /[nN]Vidia.*NV1[15]/ || + $card->{identifier} =~ /[nN]Vidia.*Quadro/); #- check to use XFree 4.0 or XFree 3.3. $card->{use_xf4} = $card->{driver} && !$card->{flags}{unsupported}; -- cgit v1.2.1