From fb2b91ab2cf1d9a3c7769611b5e961fe01290051 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 8 Aug 2002 12:16:51 +0000 Subject: (configure_FB_TVOUT): add ModeLines (Florent Beranger says it displays better with them) --- perl-install/Xconfig/various.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/perl-install/Xconfig/various.pm b/perl-install/Xconfig/various.pm index de356c0e3..45b2c256e 100644 --- a/perl-install/Xconfig/various.pm +++ b/perl-install/Xconfig/various.pm @@ -89,6 +89,12 @@ sub configure_FB_TVOUT { my $xfree4 = $raw_X->{xfree4}; $xfree4->set_monitors({ HorizSync => '30-50', VertRefresh => ($use_FB_TVOUT->{norm} eq 'NTSC' ? 60 : 50) }); + first($xfree4->get_monitor_sections)->{ModeLine} = [ + { val => '"640x480" 29.50 640 675 678 944 480 530 535 625', pre_comment => "# PAL\n" }, + { val => '"800x600" 36.00 800 818 820 960 600 653 655 750'}, + { val => '"640x480" 28.195793 640 656 658 784 480 520 525 600', pre_comment => "# NTSC\n" }, + { val => '"800x600" 38.769241 800 812 814 880 600 646 649 735'}, + ]; $xfree4->set_devices({ Driver => 'fbdev' }); my ($device) = $xfree4->get_devices; -- cgit v1.2.1