summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2004-02-12 14:48:06 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2004-02-12 14:48:06 +0000
commit19381e1c6971ddbfe75558c7271ea9d69d46794c (patch)
treea1337c6c01d218b683d7cc1a5d7c49411c256bee /perl-install/install2.pm
parent255923bbbdd445bbb8e6e930ad427c4067eb305b (diff)
downloaddrakx-19381e1c6971ddbfe75558c7271ea9d69d46794c.tar
drakx-19381e1c6971ddbfe75558c7271ea9d69d46794c.tar.gz
drakx-19381e1c6971ddbfe75558c7271ea9d69d46794c.tar.bz2
drakx-19381e1c6971ddbfe75558c7271ea9d69d46794c.tar.xz
drakx-19381e1c6971ddbfe75558c7271ea9d69d46794c.zip
i810fb on 2.6 needs intel-agp module, doesn't like hwcur and xcon parameters
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index a9db0042b..7783c7238 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -308,11 +308,12 @@ sub start_i810fb() {
my $xres = $vga_to_xres{$vga} || '800';
log::l("trying to load i810fb module with xres <$xres> (vga was <$vga>)");
+ eval { modules::load('intel-agp') };
eval {
any::ddcxinfos(); # keep the result otherwise ddcxinfos doesn't return good results afterwards
modules::load([ 'i810fb',
"xres=$xres", 'hsync1=32', 'hsync2=48', 'vsync1=50', 'vsync2=70', #- this sucking i810fb does not accept floating point numbers in hsync!
- 'vram=2', 'bpp=16', 'accel=1', 'mtrr=1', 'hwcur=1', 'xcon=4' ]);
+ 'vram=2', 'bpp=16', 'accel=1', 'mtrr=1' ]);
};
}