From 7ea4a5bfe5896b6aea9771e59ed1140b48f4dc52 Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Thu, 19 Jun 2008 00:36:22 +0000 Subject: - XFdrake: o use nvidia-current default settings for nvidia173 as well --- lib/Xconfig/proprietary.pm | 2 +- lib/Xconfig/various.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Xconfig/proprietary.pm b/lib/Xconfig/proprietary.pm index e31b7ea..ab89520 100644 --- a/lib/Xconfig/proprietary.pm +++ b/lib/Xconfig/proprietary.pm @@ -95,7 +95,7 @@ sub may_use_Driver2 { log::explanations("Using specific NVIDIA driver and GLX extensions"); $card2->{DRI_GLX_SPECIAL} = 1; - $card2->{Options}{IgnoreEDID} = 1 if $card2->{DriverVersion} ne '-current'; + $card2->{Options}{IgnoreEDID} = 1 if member($card2->{DriverVersion}, qw(71xx 96xx)); $card2; } elsif ($card2->{Driver} eq 'fglrx') { $check_drv->('fglrx_drv', "fglrx$card2->{DriverVersion}") or return; diff --git a/lib/Xconfig/various.pm b/lib/Xconfig/various.pm index d6aff9d..feaa772 100644 --- a/lib/Xconfig/various.pm +++ b/lib/Xconfig/various.pm @@ -50,7 +50,7 @@ sub default { isLaptop => $isLaptop, xdm => 1, Composite => !($card->{Driver} eq 'fglrx' || $card->{Driver} eq 'nvidia' && $card->{DriverVersion} eq '71xx'), - if_($card->{Driver} eq 'nvidia', RenderAccel => $card->{DriverVersion} eq '-current', + if_($card->{Driver} eq 'nvidia', RenderAccel => !member($card->{DriverVersion}, qw(71xx 96xx)), Clone => 0, ForceModeDVI => 0), if_($card->{Driver} eq 'savage', HWCursor => 1), if_($card->{Driver} eq 'intel' && $isLaptop, Clone => 0), -- cgit v1.2.1