summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/Xconfigurator.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm
index c110c2922..fe8906648 100644
--- a/perl-install/Xconfigurator.pm
+++ b/perl-install/Xconfigurator.pm
@@ -575,10 +575,9 @@ sub testFinalConfig {
$skiptest || $o->{card}{server} =~ 'FBDev|Sun' and return 1; #- avoid testing with these.
#- needed for bad cards not restoring cleanly framebuffer, according to which version of XFree are used.
- my $bad_card = $o->{card}{identifier} =~ /Riva.*128/ ||
- ($o->{card}{use_xf4} ?
- $o->{card}{identifier} =~ /Matrox|SiS.*SG86C2.5|SiS.*559[78]|SiS.*300|SiS.*540|SiS.*6C?326|SiS.*6C?236|Tseng.*ET6\d00/ :
- $o->{card}{identifier} =~ /i740|Rage Mobility [PL]|3D Rage LT/);
+ my $bad_card = ($o->{card}{use_xf4} ?
+ $o->{card}{identifier} =~ /Matrox|SiS.*SG86C2.5|SiS.*559[78]|SiS.*300|SiS.*540|SiS.*6C?326|SiS.*6C?236|Tseng.*ET6\d00|Riva.*128/ :
+ $o->{card}{identifier} =~ /i740|Rage Mobility [PL]|3D Rage LT/);
log::l("the graphic card does not like X in framebuffer") if $bad_card;
my $verybad_card = $o->{card}{driver} eq 'i810';