From 245e67dc73ec39f5981e0c8b2f6f5afeeab02293 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 11 Sep 2003 14:42:54 +0000 Subject: fixed depth to 24 when using driver fglrx (it won't work unless 24 bits) --- perl-install/Xconfig/resolution_and_depth.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm index 3a2f9631c..d055ee42e 100644 --- a/perl-install/Xconfig/resolution_and_depth.pm +++ b/perl-install/Xconfig/resolution_and_depth.pm @@ -83,6 +83,9 @@ sub allowed { if ($using_xf4 ? $card->{Driver} eq 'fbdev' : $card->{server} eq 'FBDev') { push @resolution_and_depth, grep { $_->{Depth} == 16 } @bios_vga_modes; + } elsif ($using_xf4 && $card->{Driver} eq 'fglrx') { + $prefered_depth = 24; + push @depths, 24; } elsif ($using_xf4) { if ($card->{use_DRI_GLX}) { $prefered_depth = 16; -- cgit v1.2.1