How can I have dual displays (Laptop screen and TV)?

Yousef Raffah yraffah at savola.com
Thu Aug 3 16:47:31 UTC 2006


I like to watch movies and clips alot, so a 15.4" is not really and
impressive or a great option, therefore, I wanted to be able to plug my
laptop to the Samsung TV at home through an S-Video cable in order to
watch the movies.

However, I was not able to properly configure xorg.conf and I googled
for S-Video and xorg but most of the results I found were Linux related
(although I doubt it would make a big difference) but none worked with
me. My xorg.conf is appended.

If I connect my laptop to the TV while my X is running and fn+F5 my TV
screen tries to display X but the screen keeps on flickering. I tried
shutting down X, connecting and fn+F5 it works fine but after I start X
again, it keeps on flickering :(

Any help would be really appreciated :)

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "TV" RightOf "Card0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath "/usr/X11R6/lib/X11/fonts/ae_fonts_mono"
        FontPath "/usr/X11R6/lib/X11/fonts/ae_fonts1/AAHS"
        FontPath "/usr/X11R6/lib/X11/fonts/ae_fonts1/AGA"
        FontPath "/usr/X11R6/lib/X11/fonts/ae_fonts1/FS"
        FontPath "/usr/X11R6/lib/X11/fonts/ae_fonts1/Kasr"
        FontPath "/usr/X11R6/lib/X11/fonts/ae_fonts1/MCS"
        FontPath "/usr/X11R6/lib/X11/fonts/kacst_fonts"
        FontPath "/usr/X11R6/lib/X11/fonts/ae_fonts1/Shmookh"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath "/usr/X11R6/lib/X11/fonts/artwiz-fonts"
        FontPath "/usr/X11R6/lib/X11/fonts/webfonts/"
        FontPath "/usr/local/share/fonts/"
        FontPath "/home/yraffah/fonts"
        FontPath "/usr/local/share/fonts/cmpsfont/type1"
        FontPath "/usr/X11R6/lib/X11/fonts/dejavu/"
EndSection

Section "Module"
        Load  "dbe"
#       Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "record"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbRules"          "xorg"
        Option      "XkbModel"          "pc101"
        Option      "XkbLayout"         "us,ar"
        Option      "XkbOptions"        "grp:alt_shift_toggle"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/sysmouse"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        #DisplaySize      330   210     # mm
        Identifier   "Monitor0"
        VendorName   "CPT"
        ModelName    "138a"
#       Modeline "1280x800"
EndSection

Section "Monitor"
        Identifier      "TV"
        HorizSync       30-50
        VertRefresh     60
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "Dac8Bit"                   # [<bool>]
        #Option     "BusType"                   # [<str>]
        #Option     "CPPIOMode"                 # [<bool>]
        #Option     "CPusecTimeout"             # <i>
        #Option     "AGPMode"                   # <i>
        #Option     "AGPFastWrite"              # [<bool>]
        #Option     "AGPSize"                   # <i>
        #Option     "GARTSize"                  # <i>
        #Option     "RingSize"                  # <i>
        #Option     "BufferSize"                # <i>
        #Option     "EnableDepthMoves"          # [<bool>]
        #Option     "EnablePageFlip"            # [<bool>]
        #Option     "NoBackBuffer"              # [<bool>]
        #Option     "PanelOff"                  # [<bool>]
        #Option     "DDCMode"                   # [<bool>]
        #Option     "MonitorLayout"             # [<str>]
        #Option     "IgnoreEDID"                # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "VideoKey"                  # <i>
        #Option     "MergedFB"                  # [<bool>]
        #Option     "CRT2HSync"                 # [<str>]
        #Option     "CRT2VRefresh"              # [<str>]
        #Option     "CRT2Position"              # [<str>]
        #Option     "MetaModes"                 # [<str>]
        #Option     "MergedDPI"                 # [<str>]
        #Option     "NoMergedXinerama"          # [<bool>]
        #Option     "MergedXineramaCRT2IsScreen0"       # [<bool>]
        #Option     "DisplayPriority"           # [<str>]
        #Option     "PanelSize"                 # [<str>]
        #Option     "ForceMinDotClock"          # <freq>
        #Option     "RenderAccel"               # [<bool>]
        #Option     "SubPixelOrder"             # [<str>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "DynamicClocks"             # [<bool>]
        Identifier  "Card0"
        Driver      "ati"
        VendorName  "ATI Technologies Inc"
        BoardName   "Unknown Board"
        BusID       "PCI:1:0:0"
        Option      "DPMS"
        Screen 0
EndSection

Section "Device"
        Identifier "TV"
        Driver  "ati"
        Option  "MonitorLayout" "TV,LFP"
        Option  "TVStandard" "PAL"
        Option  "TVOutFormat" "SVIDEO"
        Option  "ConnectedMonitor" "TV"
        Screen 1
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes     "1280x800"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes     "1280x800"
        EndSubSection
EndSection

Section "Screen"
        Identifier "TV"
        Device "TV"
        Monitor "TV"
        DefaultDepth 24
        SubSection "Display"
                Viewport 0 0
                Depth   24
                Modes   "1024x768" "800x600"
        EndSubSection
EndSection


-- 

Sincerely,

Yousef Adnan Raffah
The Savola Group

-------------------
Aren't you using Firefox? Get it at http://www.getfirefox.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060803/ed5dbabc/signature.pgp


More information about the freebsd-questions mailing list