diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-05-27 16:17:33 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-05-27 16:17:33 +0000 |
commit | bb5d5f6f9a104490f1d4497a091d3ed9adac0ca2 (patch) | |
tree | 0877603c17d4dbabfafd369ca159ac044f6c2e72 /perl-install/Xconfig | |
parent | 499e2a7e3a04159e41aaa033a6c762647b110c1e (diff) | |
download | drakx-bb5d5f6f9a104490f1d4497a091d3ed9adac0ca2.tar drakx-bb5d5f6f9a104490f1d4497a091d3ed9adac0ca2.tar.gz drakx-bb5d5f6f9a104490f1d4497a091d3ed9adac0ca2.tar.bz2 drakx-bb5d5f6f9a104490f1d4497a091d3ed9adac0ca2.tar.xz drakx-bb5d5f6f9a104490f1d4497a091d3ed9adac0ca2.zip |
handle freeDriver which disable using proprietary X driver (esp. for nvidia)
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r-- | perl-install/Xconfig/card.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/Xconfig/card.pm b/perl-install/Xconfig/card.pm index f7ed0fe8c..79c29b36b 100644 --- a/perl-install/Xconfig/card.pm +++ b/perl-install/Xconfig/card.pm @@ -332,7 +332,7 @@ sub configure { } sub install_server { - my ($card, $_options, $do_pkgs) = @_; + my ($card, $options, $do_pkgs) = @_; my $prog = server_binary($card); @@ -350,6 +350,10 @@ sub install_server { push @packages, 'Mesa'; } + if ($options->{freeDriver}) { + delete $card->{Driver2}; + } + my %proprietary_Driver2 = ( nvidia => [ 'NVIDIA_kernel', 'NVIDIA_GLX' ], #- using NVIDIA driver (TNT, TN2 and GeForce cards only). fglrx => [ 'ATI_kernel', 'ATI_GLX' ], #- using ATI fglrx driver (Radeon, Fire GL cards only). |