diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-08 12:16:51 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-08 12:16:51 +0000 |
commit | fb2b91ab2cf1d9a3c7769611b5e961fe01290051 (patch) | |
tree | 410b4b3c5cd8ccd9ca15a4e8eefe86c603267061 /perl-install | |
parent | eeaeb5c308e24d2a0be20cd62985b9a928387b35 (diff) | |
download | drakx-fb2b91ab2cf1d9a3c7769611b5e961fe01290051.tar drakx-fb2b91ab2cf1d9a3c7769611b5e961fe01290051.tar.gz drakx-fb2b91ab2cf1d9a3c7769611b5e961fe01290051.tar.bz2 drakx-fb2b91ab2cf1d9a3c7769611b5e961fe01290051.tar.xz drakx-fb2b91ab2cf1d9a3c7769611b5e961fe01290051.zip |
(configure_FB_TVOUT): add ModeLines (Florent Beranger says it displays better with them)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/Xconfig/various.pm | 6 |
1 files changed, 6 insertions, 0 deletions
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; |