RE: laptop screen size problem
Hi,
Have a look at the attached XF86Config. Read the comments, and try
it once you got XF86 3.3.6 (no proper Savage support before). Be very
careful with HorizSync and VertRefresh in your Monitor section.
If the first try gives you a garbled screen (or blinking, or
such), first of all try reducing HorizSync to reasonable settings
(30-40). Next, you may try to remove ModeLines which you know not to work
with your board.
Also, I did not put your "1024x768i" mode in the modes list which is
to be used by the server. Add it if the standard "1024x768" values do
not work.
Best regards,
raph
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/TW/MU d(+) s:- a-- C++ UL++>+$ P+ L+++>+ E- W N o? K? (!)w-- O? M V?
PS+ !PE Y PGP+ t? 5? X++@ R? !tv b+++ DI? D+ G++ e h r(-)% y+
------END GEEK CODE BLOCK------
# This is a generic XF86onfig file which should work with most
# recent hardware configuration. Just check the Monitor and
# Pointer values before use.
# Also, the Identifier/Vendor/Modelname strings may not suit
# your configuration, but who cares? this is just information
# afterall.
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "ServerFlags"
EndSection
Section "Keyboard"
Protocol "Standard"
AutoRepeat 500 5
XkbKeymap "xfree86(us)"
# You should check if you really need the following:
XkbDisable
EndSection
Section "Pointer"
Protocol "Microsoft"
Device "/dev/mouse"
Emulate3Buttons
Emulate3Timeout 50
EndSection
Section "Monitor"
Identifier "ToshibaLCD"
VendorName "Toshiba"
ModelName "LCD of TSP4260"
# If the following gives too much "Mode ... needs HSync freq. of ...",
# and you really need to go *that high* (70khz), change the following
# line to "HorizSync 30-70".
HorizSync 48.3, 60.0, 68.7
# Note about the previous HorizSync: these 3 values are *extremely*
# uncommon for a SVGA screen. It's very likely that you can't even
# *think* about plugging a standard external monitor to your laptop
# with such a configuration. HorizSync 30-40 is the most common setting of
# a multisync adapter, and the LCD of my Thinkpad likes it well.
VertRefresh 50-80
# The ModeLines follow. Note that the XFree86 documentation on the
# Savage boards say that "ModeLines are ignored, and only the settings
# supported by the BIOS will work". But we shall define them anyway,
# it doesn't hurt.
# This is the mode you've been (manually ?) adding
ModeLine "1024x768i" 68.7 1024 1048 1208 1264 768 776 784 817 Interlace
# These are standard xf86 modes
Modeline "640x400" 25.175 640 664 760 800 400 409 411 450
Modeline "640x480" 25.175 640 664 760 800 480 491 493 525
ModeLine "800x600" 36 800 824 896 1024 600 601 603 625
Modeline "1024x768" 44.9 1024 1048 1208 1264 768 776 784 817 Interlace
Modeline "640x400" 31.5 640 672 736 832 400 401 404 445 -HSync +VSync
Modeline "640x480" 31.5 640 680 720 864 480 488 491 521
ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -HSync -VSync
Modeline "800x600" 40 800 840 968 1056 600 601 605 628 +hsync +vsync
Modeline "640x400" 36 640 696 752 832 480 481 484 509 -HSync -VSync
ModeLine "1152x864" 65 1152 1168 1384 1480 864 865 875 985 Interlace
Modeline "800x600" 50 800 856 976 1040 600 637 643 666 +hsync +vsync
Modeline "1024x768" 65 1024 1032 1176 1344 768 771 777 806 -hsync -vsync
Modeline "640x480" 45.8 640 672 768 864 480 488 494 530 -HSync -VSync
Modeline "1152x864" 89.9 1152 1216 1472 1680 864 868 876 892 -HSync -VSync
Modeline "800x600" 60.75 800 864 928 1088 600 616 621 657 -HSync -VSync
Modeline "1024x768" 75 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
Modeline "1280x1024" 80 1280 1296 1512 1568 1024 1025 1037 1165 Interlace
Modeline "800x600" 69.65 800 864 928 1088 600 604 610 640 -HSync -VSync
Modeline "1024x768" 85 1024 1032 1152 1360 768 784 787 823
Modeline "1152x864" 92 1152 1208 1368 1474 864 865 875 895
Modeline "1280x1024" 110 1280 1328 1512 1712 1024 1025 1028 1054
Modeline "1024x768" 98.9 1024 1056 1216 1408 768 782 788 822 -HSync -VSync
Modeline "1152x864" 110 1152 1240 1324 1552 864 864 876 908
Modeline "1280x1024" 126.5 1280 1312 1472 1696 1024 1032 1040 1068 -HSync -VSync
Modeline "1152x864" 135 1152 1464 1592 1776 864 864 876 908
Modeline "1280x1024" 135 1280 1312 1456 1712 1024 1027 1030 1064
Modeline "1024x768" 115.5 1024 1056 1248 1440 768 771 781
802 -HSync -VSync
Modeline "1280x1024" 135 1280 1312 1416 1664 1024 1027 1030 1064
Modeline "1152x864" 137.65 1152 1184 1312 1536 864 866 885 902 -HSync -VSync
Modeline "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +HSync +VSync
Modeline "1280x1024" 181.75 1280 1312 1440 1696 1024 1031 1046 1072 -HSync -VSync
# These are standard VGA low-res modes, I kept them though it's unlikely
# you will find them interesting (DGA shoot-'em-up games like them, tho).
Modeline "512x384" 20.160 512 528 592 640 384 385 388 404 -HSync -VSync
Modeline "512x384" 22 512 528 592 640 384 385 388 404 -HSync -VSync
Modeline "320x200" 12.588 320 336 384 400 200 204 205 225 Doublescan
Modeline "320x240" 12.588 320 336 384 400 240 245 246 262 Doublescan
Modeline "320x240" 15.750 320 336 384 400 240 244 246 262 Doublescan
ModeLine "400x300" 18 400 416 448 512 300 301 302 312 Doublescan
Modeline "400x300" 20 400 416 480 528 300 301 303 314 Doublescan
Modeline "400x300" 25 400 424 488 520 300 319 322 333 Doublescan
ModeLine "480x300" 21.656 480 496 536 616 300 301 302 312 Doublescan
Modeline "480x300" 23.890 480 496 576 632 300 301 303 314 Doublescan
Modeline "480x300" 25 480 496 576 632 300 301 303 314 Doublescan
Modeline "480x300" 29.952 480 504 584 624 300 319 322 333 Doublescan
EndSection
# This is really dummy, you shouldn't use it, but it can be
# defined without hurt.
Section "Device"
Identifier "Generic VGA"
VendorName "NoVendor"
BoardName "AnyVGA"
Chipset "generic"
EndSection
# Your board:
Section "Device"
Identifier "ToshibaBoard"
VendorName "S3 Inc."
BoardName "Savage/IX"
# The following should be probed automatically.
# VideoRam 8192
# You MUST not tell what "Clocks" to use, this setting
# is only for chipsets which require it (for newer chipsets,
# either the clockchip is fully programmable or the Clocks list
# is probed), and the Savage is new enough to be autoprobed.
EndSection
# This is used by the XF86_SVGA server
Section "Screen"
Driver "svga"
Device "ToshibaBoard"
Monitor "ToshibaLCD"
# Change the following line to anything you like
DefaultColorDepth 16
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480" "640x400" "1280x1024" "1152x864"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480" "640x400" "1280x1024" "1152x864"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480" "640x400" "1280x1024" "1152x864"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480" "640x400" "1280x1024" "1152x864"
ViewPort 0 0
EndSubsection
EndSection
# This is used by the XF86_VGA16 server
Section "Screen"
Driver "vga16"
Device "Generic VGA"
Monitor "ToshibaLCD"
Subsection "Display"
Modes "800x600" "640x480" "640x400" "512x384" "400x300" "320x240"
ViewPort 0 0
Virtual 800 600
EndSubsection
EndSection
# This is used by the XF86_Mono server (is that its name ?)
Section "Screen"
Driver "vga2"
Device "Generic VGA"
Monitor "ToshibaLCD"
Subsection "Display"
Modes "800x600" "640x480" "640x400" "512x384" "400x300" "320x240"
ViewPort 0 0
Virtual 800 600
EndSubsection
EndSection
# This is used by the accel server (XF86_S3V in yoru case)
Section "Screen"
Driver "accel"
Device "ToshibaBoard"
Monitor "ToshibaLCD"
# Change the following line to anything you like
DefaultColorDepth 16
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480" "640x400" "1280x1024" "1152x864"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480" "640x400" "1280x1024" "1152x864"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480" "640x400" "1280x1024" "1152x864"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480" "640x400" "1280x1024" "1152x864"
ViewPort 0 0
EndSubsection
EndSection
Reply to: