From 19381e1c6971ddbfe75558c7271ea9d69d46794c Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 12 Feb 2004 14:48:06 +0000 Subject: i810fb on 2.6 needs intel-agp module, doesn't like hwcur and xcon parameters --- perl-install/install2.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' ]); }; } -- cgit v1.2.1