Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: HOWTO: Turn your Ubuntu Box into a Media Center Computer

  1. #1
    Join Date
    Nov 2005
    Beans
    201
    This How-To will cover how to set-up your computer to rip DVDs down from the disc to your computer, and then set-up your computer to play these files on a TV. If set-up properly you'll be able to use your computer to with the primary monitor while playing movies in Full Screen on your TV.
    (my first how-to so bear with me here)

    Before we begin I should note what I'm running this on:
    My System is a Dell Inspiron 8200 (laptop) with a NVidia GeForce2 Go.

    This how-to will assume that you have the following:
    1. A computer running Ubuntu Breezy Badger 5.10
    2. An S-Video or Composite out port on your computer
    3. A NVidia card capable of dual-screen set-up and TV-out (i'm sure this will work on lots of other cards, but i only have experience setting this up with a NVidia card)
    4. A TV with some kind of Input port (S-Video or Composite, but if you only have RCA on your TV and S-Video on your computer you can get an adaptor: http://www.cablestogo.com/product.as...2012&sku=27963)
    5. Media Player Software of some kind. I use Totem/XINE (not GStreamer) but MPlayer will work just as well if not better, and there are several others.

    This How-To is broken down into four sections:
    A. Updating your NVidia Driver
    B. Installing HandBrake
    C. Setting up Dual-Screen with TV-Out
    D. Other Tips/Recommendations

    A. Updating your NVidia Driver:

    The first thing we need to do is update the Free nv driver to the non-Free nvidia driver:
    To get this use Synaptic and search for 'nvidia-glx' to download and install the nvidia driver. Then you'll need to manually edit the xorg.conf file:
    Code:
    sudo gedit /etc/X11/xorg.conf
    Save a backup copy of this file as xorg.conf.back before you do any editing and then edit the following sections:
    In the "Module" section comment out these two lines:
    Code:
    #Load "GLcore"
    #Load "dri"
    and also make sure that the following line is in the "Module" section
    Code:
    Load "glx"
    Then Go to the "Device" section and change the following line:
    Code:
    Driver "nv"
    to:
    Code:
    Driver "nvidia"
    And voila, you've successfully updated the driver to the nvidia driver. In order for this to take effect you'll need to restart the x-server, and if you've changed it properly a pretty NVidia screen should pop up before your login. If you want this screen to go away add the following line to the "Device" section:
    Code:
    Option "NoLogo" "1"
    If this doesn't work, you should be loaded automatically into the command line, but if you're just staring at a blank screen hit CTRL+ALT+F1 to exit into the command line and type the following command:
    Code:
    $ cp /etc/X11/xorg.conf.back /etc/X11/xorg.conf
    and then restart the x server.

    B. Installing HandBrake

    Next we need a tool to encode DVDs and rip them down to your hard drive. For this we're going to use HandBrake 0.7.0 (handbrake.m0k.org). Before we install HandBrake we're going to need a few tools. Handbrake on Ubuntu needs to be installed from the source code, there is a Deb package for it, but as of right now it has unresolvable dependencies. Use Synaptic to get the following tools:

    1. make
    2. jam
    3. gcc
    4. g++
    5. dpkg-dev

    Once you've installed all of these packages, you need to get the HandBrake source, you can download the tarball for this at:
    http://handbrake.m0k.org/download.php.
    Unpack the TarBall using the command:
    Code:
    $ tar zxvf home/matt/Desktop/HandBrake-0.7.0.tar.gz
    Of course you'll have to change this for whatever location you saved the tarball to. Once you unpack the file open the folder and then open the file BUILD in a text editor: this will explain how to build handbrake, but we'll go over it in more detail here for those who are unfamiliar with building applications from source.

    First you'll need to cd to the handbrake folder:
    Code:
    $ cd /home/matt/Desktop/HandBrake-0.7.0/
    Then run jam
    Code:
    $ jam
    This command might take a while to execute but when it's done HandBrake should be installed, if you have any errors with this please feel free to reply to this How-To with the error and i'll try to help you debug it as best as possible. (Usually this is just that you forgot to install a necessary package). HandBrake for Linux has no GUI, so you'll have to run it with CLI (command line interface) the CLI program is HBTest, so to run HandBrake enter the following command:
    Code:
    $ ./HBTest options
    For those more familiar with CLI you can just run:
    Code:
    $ ./HBTest --help
    for a complete list of options. When running HandBrake make sure you're always in the handbrake directory before running the ./HBTest command, or else you'll get an error and handbrake won't run. For a complete guide on how to use the various options accessible through the CLI visit the HandBrake CLI reference page:
    http://homepage.mac.com/johnmm/HandBrake.CLI.Guide/

    A simple handbrake rip will look like this:
    Code:
    $ mount /dev/hdb
    $ cd /home/matt/Desktop/HandBrake-0.7.0
    $ ./HBTest -i /media/cdrom0/video_ts -o /home/matt/Desktop/Movies/Bloodsport.mp4
    C. Setting up Dual-Screen with TV-Out

    Now that we can rip our favorite DVDs - like bloodsport - down to our harddrive, all we need to do is set up our computer to play our videos on our TV and we'll be set. There are alot of different ways to do this, but only one of them worked for me and that's the way that i'll be explaining. We're going to be setting up the TV and the digital flat panel as two seperate monitors running two seperat X Windows (as opposed to TwinView set-up). If you want to try to set-up TwinView please see these various How-Tos:
    http://www.ublug.org/ubuntu/twinview...to-breezy.html --HowTo by a Breezy Badger user
    http://gentoo-wiki.com/HOWTO_Dual_Monitors --Gentoo Wiki Dual Monitors HowTo

    Credit for my solution goes to ubuntu forums user rbtprkr and his xorg.conf file posted at: http://ubuntuforums.org/showthread.p...ghlight=tv-out and the NVidia readme document: ftp://download.nvidia.com/XFree86/Li....0-5336/README

    Anyway, now that all proper credit has been given, on with the solution! You'll need to open your xorg.conf file as we're going to edit it manually:
    Code:
    $ sudo gedit /etc/X11/xorg.conf
    Once again you should save a copy of this as xorg.conf.back should anything go terribly wrong in the process of altering it. First we need to alter the "Device" section by altering the Identifier and adding a screen line:
    Code:
    Identifier "nvidia0"
    Screen 0
    Then we need to create a second "Device" section:
    Code:
    Section "Device"
    Identifier "nvidia1"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Screen 1
    Option "TVOutFormat" "SVIDEO"
    Option "TVStandard" "NTSC-M"
    Option "ConnectedMonitor" "TV"
    EndSection
    IMPORTANT: make sure that the value of BusID is the same as the value of BusID in the first device section.

    For the TVOutFormat and TVStandard values please substitute in the appropriate values (e.g. if you are using composite out then substitute "COMPOSITE" for "SVIDEO" or if you're standard is PAL-B substitute "PAL-B" for "NTSC-M"), for more on this see the nvidia readme appendix J.

    What we've done here is divided our nvidia card into two seperate devices that are going to provide picture out to two seperate monitors each running its own screen.

    Next we need to change the existing "Monitor" section's identifier to:
    Code:
    Identifier "Monitor0"
    and then create a second monitor section for our TV:
    Code:
    Section "Monitor"
    Identifier "Monitor1" #TV
    Option "HorizSync" "30-50"
    Option "VertRefresh" "60"
    EndSection
    Now that we've set up both of our monitors we need to set up the screens that will be displayed on each. In the existing screen section you'll need to change the identifier, device and monitor lines to match the following:
    Code:
    Identifier "Screen0"
    Device "nvidia0"
    Monitor "Monitor0"
    and then you'll need to add a second screen section for your TV:
    Code:
    Section "Screen"
    Identifier "Screen1"
    Device "nvidia1"
    Monitor "Monitor1"
    DefaultDepth 16
    SubSection "Display"
    Depth 16
    Modes "800x600"
    EndSubSection
    EndSection
    Make sure that default depth for the TV is the same as the default depth for your other monitor. You may also have to screw around with the modes, 800x600 works for my tv and will probably work for most TVs, but if you have a better TV you may want to try 1024x768 or other resolutions.
    The last thing we need to do is set up the "ServerLayout" section so that X knows how to set up your new configuration (Note: keep your own InputDevice settings for this):
    Code:
    Section "ServerLayout"
    Identifier "SimpleLayout"
    Screen 0 "Screen0"
    Screen 1 "Screen1" leftOf "Screen0"
    If your TV is to the right of your primary monitor change the leftOf to rightOf. Once you've finished this save your xorg.conf file, make sure your TV is hooked up to your computer and restart. You'll notice that if you watch a movie in full-screen on the TV it doesn't effect your primary monitor at all and you can use your computer to still do whatever you want.

    D. Other Tips/Recommendations

    Encoding a DVD takes a very long time, and during this time you might want to be using your combo drive to do something else. In this case I recommend picking up a nice little program called vobcopy. You can get this through synaptic, it allows you to copy DVDs to your harddrive, a process that takes much less time than encoding DVDs. Once you've downloaded it you'll want to run it with the -m option, which will make an exact copy of the DVD on your local drive, and then HandBrake can treat this directory the same way it would treat a DVD.
    Well I hope this works for everyone,

    cheers,
    matt

  2. #2
    Join Date
    Oct 2005
    Location
    Trondheim, Norway
    Beans
    204
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Turn your Ubuntu Box into a Media Center Computer

    Quote Originally Posted by matthewstory
    That should have been http://www.ublug.org/ubuntu/twinview...to-breezy.html

    Quote Originally Posted by matthewstory
    Credit for my solution goes to ubuntu forums user rbtprkr and his xorg.conf file posted at: http://ubuntuforums.org/showthread.p...ghlight=tv-out
    Don't know what that URL should have been. The forum software seems to cripple some URLs.
    Last edited by pbb; February 3rd, 2006 at 11:03 AM.

  3. #3
    Join Date
    Apr 2005
    Location
    Not-So-Sunny Hawaii
    Beans
    Hidden!

    Re: HOWTO: Turn your Ubuntu Box into a Media Center Computer

    read up a bit on MythTV
    So... a 1337 java programmer walks into a bar...

  4. #4
    Iandefor is offline Grande Half-n-Half Cinnamon Ubuntu
    Join Date
    Sep 2005
    Location
    New York
    Beans
    Hidden!

    Re: HOWTO: Turn your Ubuntu Box into a Media Center Computer

    I've had a bad time with Handbrake; primarily, the fact that the video output is usually sub-par and the audio and video are a few seconds out of sync. I prefer using vobcopy and ffmpeg, since the video output is usually of high quality and is extremely configurable.
    This space intentionally left blank.

  5. #5
    Join Date
    Oct 2005
    Location
    Sao Paulo, SP, Brazil
    Beans
    133
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Turn your Ubuntu Box into a Media Center Computer

    You relly should try mythtv. It has a better looking interface in TV's and can play and encode cds and dvds. Besides mythtv can handle tv channels like a tivo. It also has an snes emulator []

  6. #6
    Join Date
    Jul 2006
    Beans
    1

    Re: HOWTO: Turn your Ubuntu Box into a Media Center Computer

    Thanks, I really appreciated your how-to article, not so much for hooking up two monitors/tv but for the handbrake and ripping dvd to hard drive. Greatly appreciated.
    Thanks!!

  7. #7
    Join Date
    Jan 2005
    Location
    London, UK
    Beans
    180

    Re: HOWTO: Turn your Ubuntu Box into a Media Center Computer

    currently using acidrip but thought I'd give this HandBrake a try.

    You have to run
    Code:
    ./configure
    before you run jam - but the it will tell you this in the terminal
    new lease of life:
    366Mhz G3 iBook running Ubuntu Dapper as a webserver to host my blog
    http://kieren.demon.co.uk/wordpress/

  8. #8
    Join Date
    Jun 2007
    Beans
    8

    Re: HOWTO: Turn your Ubuntu Box into a Media Center Computer

    hey, thanks for the great how-to. quick question though. i have a computer that i sometimes use to watch dvds and other videos on my TV, but not always. i followed your guide and got the svideo out to the tv working, but i don't want the dual monitors active all the time. do you know of a quick way to disable the TV output without having to edit scripts?

    thanks

  9. #9
    Join Date
    May 2007
    Location
    Belgium
    Beans
    67
    Distro
    Xubuntu 10.04 Lucid Lynx

    Re: HOWTO: Turn your Ubuntu Box into a Media Center Computer

    I get an error :S

    I've been trying to get an output on my TV now for 2 hours, still nothing... tried twinview first though...

    my /var/log/Xorg.0.log
    Code:
    (II) Setting vga for screen 0.
    (II) Setting vga for screen 1.
    (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
    (==) NVIDIA(0): RGB weight 888
    (==) NVIDIA(0): Default visual is TrueColor
    (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    (**) NVIDIA(0): Option "NoLogo"
    (**) NVIDIA(0): Option "AddARGBGLXVisuals" "True"
    (**) NVIDIA(0): Enabling RENDER acceleration
    (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
    (II) NVIDIA(0):     enabled.
    (II) NVIDIA(0): NVIDIA GPU GeForce 6800 GT at PCI:5:0:0 (GPU-0)
    (--) NVIDIA(0): Memory: 262144 kBytes
    (--) NVIDIA(0): VideoBIOS: 05.40.02.38.07
    (II) NVIDIA(0): Detected PCI Express Link width: 16X
    (--) NVIDIA(0): Interlaced video modes are supported on this GPU
    (--) NVIDIA(0): Connected display device(s) on GeForce 6800 GT at PCI:5:0:0:
    (--) NVIDIA(0):     ACI ASUS PM17TU (DFP-0)
    (--) NVIDIA(0): ACI ASUS PM17TU (DFP-0): 165.0 MHz maximum pixel clock
    (--) NVIDIA(0): ACI ASUS PM17TU (DFP-0): External Single Link TMDS
    (II) NVIDIA(0): Assigned Display Device: DFP-0
    (II) NVIDIA(0): Validated modes:
    (II) NVIDIA(0):     "1280x1024"
    (II) NVIDIA(0):     "1024x768"
    (II) NVIDIA(0):     "800x600"
    (II) NVIDIA(0):     "640x480"
    (II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
    (--) NVIDIA(0): DPI set to (95, 96); computed from "UseEdidDpi" X config
    (--) NVIDIA(0):     option
    (**) NVIDIA(1): Depth 16, (--) framebuffer bpp 16
    (==) NVIDIA(1): RGB weight 565
    (==) NVIDIA(1): Default visual is TrueColor
    (==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
    (**) NVIDIA(1): Option "ConnectedMonitor" "TV"
    (**) NVIDIA(1): Option "TVStandard" "PAL-B"
    (**) NVIDIA(1): Option "TVOutFormat" "SVIDEO"
    (**) NVIDIA(1): Option "HorizSync" "30-50"
    (**) NVIDIA(1): Option "VertRefresh" "60"
    (**) NVIDIA(1): Enabling RENDER acceleration
    (**) NVIDIA(1): Forcing SVIDEO output
    (**) NVIDIA(1): TV Standard string: "PAL-B"
    (II) NVIDIA(1): NVIDIA GPU GeForce 6800 GT at PCI:5:0:0 (GPU-0)
    (--) NVIDIA(1): Memory: 262144 kBytes
    (--) NVIDIA(1): VideoBIOS: 05.40.02.38.07
    (II) NVIDIA(1): Detected PCI Express Link width: 16X
    (--) NVIDIA(1): Interlaced video modes are supported on this GPU
    (--) NVIDIA(1): Connected display device(s) on GeForce 6800 GT at PCI:5:0:0:
    (--) NVIDIA(1):     ACI ASUS PM17TU (DFP-0)
    (--) NVIDIA(1): ACI ASUS PM17TU (DFP-0): 165.0 MHz maximum pixel clock
    (--) NVIDIA(1): ACI ASUS PM17TU (DFP-0): External Single Link TMDS
    (EE) NVIDIA(1): Unable to find available Display Devices for screen 1.
    (II) UnloadModule: "nvidia"
    (II) UnloadModule: "ramdac"
    (II) UnloadModule: "fb"
    (--) Depth 24 pixmap format is 32 bpp
    (II) do I need RAC?  No, I don't.
    my xorg.conf
    Code:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig:  version 1.0  (buildmeister@builder26)  Thu Nov  9 17:55:59 PST 2006
    
    # /etc/X11/xorg.conf (xorg X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf(5) manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    
    Section "ServerLayout"
        Identifier "SimpleLayout"
        Screen 0 "Screen0"
        Screen 1 "Screen1" leftOf "Screen0"
        InputDevice    "Generic Keyboard"
        InputDevice    "Configured Mouse"
        InputDevice    "stylus" "SendCoreEvents"
        InputDevice    "cursor" "SendCoreEvents"
        InputDevice    "eraser" "SendCoreEvents"
    EndSection
    
    Section "Files"
    
        # path to defoma fonts
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    EndSection
    
    Section "Module"
        Load           "i2c"
        Load           "bitmap"
        Load           "ddc"
        Load           "extmod"
        Load           "freetype"
        Load           "glx"
        Load           "int10"
        Load           "vbe"
    EndSection
    
    Section "InputDevice"
        Identifier     "Generic Keyboard"
        Driver         "kbd"
        Option         "CoreKeyboard"
        Option         "XkbRules" "xorg"
        Option         "XkbModel" "pc105"
        Option         "XkbLayout" "be"
    EndSection
    
    Section "InputDevice"
        Identifier     "Configured Mouse"
        Driver         "evdev"
        Option         "CorePointer"
        Option       "Name" "Logitech USB-PS/2 Optical Mouse"
    EndSection
    
    Section "InputDevice"
        Identifier     "stylus"
        Driver         "wacom"
        Option         "Device" "/dev/input/wacom"
        Option         "Type" "stylus"
        Option         "ForceDevice" "ISDV4"        # Tablet PC ONLY
    EndSection
    
    Section "InputDevice"
        Identifier     "eraser"
        Driver         "wacom"
        Option         "Device" "/dev/input/wacom"
        Option         "Type" "eraser"
        Option         "ForceDevice" "ISDV4"        # Tablet PC ONLY
    EndSection
    
    Section "InputDevice"
        Identifier     "cursor"
        Driver         "wacom"
        Option         "Device" "/dev/input/wacom"
        Option         "Type" "cursor"
        Option         "ForceDevice" "ISDV4"        # Tablet PC ONLY
    EndSection
    
    # TFT section
    Section "Monitor"
        Identifier     "Monitor0"
        HorizSync       28.0 - 51.0
        VertRefresh     43.0 - 60.0
        Option         "DPMS"
    EndSection
    
    Section "Device"
        Identifier     "nvidia0"
        Screen 0
        Driver         "nvidia"
        BusID       "PCI:5:0:0"
        Option        "AddARGBGLXVisuals" "True"
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "nvidia0"
        Monitor        "Monitor0"
        Option       "NoLogo"
        DefaultDepth    24
        SubSection     "Display"
            Depth       1
            Modes      "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       4
            Modes      "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       8
            Modes      "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       15
            Modes      "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       16
            Modes      "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       24
            Modes      "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
    EndSection
    # end of TFT section
    
    # TV section
    Section "Device"
        Identifier "nvidia1"
        Driver "nvidia"
        BusID "PCI:5:0:0"
        Screen 1
        Option "TVOutFormat" "SVIDEO"
        Option "TVStandard" "PAL-B"
        Option "ConnectedMonitor" "TV"
    EndSection
    
    Section "Monitor"
        Identifier "Monitor1" #TV
        Option "HorizSync" "30-50"
        Option "VertRefresh" "60"
    EndSection
    
    Section "Screen"
       Identifier "Screen1"
       Device "nvidia1"
       Monitor "Monitor1"
       DefaultDepth 16
       SubSection "Display"
        Depth 16
        Modes "800x600"
       EndSubSection
    EndSection
    # end of TV section
    Linux user #451482, machine #359421. Ubuntu user #16526.

  10. #10
    Join Date
    Jun 2006
    Location
    Nashville, TN
    Beans
    19
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Turn your Ubuntu Box into a Media Center Computer

    I'm having trouble getting Video output to my TV, and here is my xorg.conf file. Perhaps someone can tell me what I have wrong. The TV will show the Ubuntu splash screen and then I get an error saying X server can't start.

    EDIT: I solved my problems by following the NvidiaTVOut documentation page
    Code:
    # /etc/X11/xorg.conf (xorg X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf(5) manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    
    Section "Files"
    	Fontpath	"/usr/share/fonts/X11/misc"
    	Fontpath	"/usr/share/fonts/X11/cyrillic"
    	Fontpath	"/usr/share/fonts/X11/100dpi/:unscaled"
    	Fontpath	"/usr/share/fonts/X11/75dpi/:unscaled"
    	Fontpath	"/usr/share/fonts/X11/Type1"
    	Fontpath	"/usr/share/fonts/X11/100dpi"
    	Fontpath	"/usr/share/fonts/X11/75dpi"
    	# path to defoma fonts
    	Fontpath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    EndSection
    
    Section "Module"
    	Load		"i2c"
    	Load		"bitmap"
    	Load		"ddc"
    	Load		"extmod"
    	Load		"freetype"
    	Load		"glx"
    	Load		"int10"
    	Load		"vbe"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Generic Keyboard"
    	Driver		"kbd"
    	Option		"CoreKeyboard"
    	Option		"XkbRules"	"xorg"
    	Option		"XkbModel"	"pc105"
    	Option		"XkbLayout"	"us"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Configured Mouse"
    	Driver		"mouse"
    	Option		"CorePointer"
    	Option		"Device"	"/dev/input/mice"
    	Option		"Protocol"	"ImPS/2"
    	Option		"ZAxisMapping"	"4 5"
    	Option		"Emulate3Buttons"	"true"
    EndSection
    
    Section "InputDevice"
    	Driver		"wacom"
    	Identifier	"stylus"
    	Option		"Device"	"/dev/input/wacom"
    	Option		"Type"	"stylus"
    	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
    EndSection
    
    Section "InputDevice"
    	Driver		"wacom"
    	Identifier	"eraser"
    	Option		"Device"	"/dev/input/wacom"
    	Option		"Type"	"eraser"
    	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
    EndSection
    
    Section "InputDevice"
    	Driver		"wacom"
    	Identifier	"cursor"
    	Option		"Device"	"/dev/input/wacom"
    	Option		"Type"	"cursor"
    	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
    EndSection
    
    Section "Device"
    	Identifier	"nVidia0"
    	Driver		"nvidia"
    	Busid		"PCI:1:0:0"
    	Screen		0
    	Option		"AddARGBVisuals"	"True"
    	Option		"AddARGBGLXVisuals"	"True"
    	Option		"NoLogo"	"True"
    EndSection
    
    Section "Device"
    	Identifier	"nvidia1"
    	Driver		"nvidia"
    	BusID		"PCI:1:0:0"
    	Screen		1
    	Option		"TVOutFormat"	"SVIDEO"
    	Option		"TVStandard"	"NTSC-M"
    	Option		"ConnectedMonitor"	"TV"
    EndSection	
    
    Section "Monitor0"
    	Identifier	"Monitor0"
    	Option		"DPMS"
    EndSection
    
    Section "Monitor"
    	Identifier "Monitor1" #TV
    	Option "HorizSync" "30-50"
    	Option "VertRefresh" "60"
    EndSection
    
    
    Section "Screen"
    	Identifier	"Screen0"
    	Device		"nvidia0"
    	Monitor		"Monitor0"
    	Defaultdepth	24
    	SubSection "Display"
    		Depth	1
    		Modes		"1280x1024"	"1152x864"	"1024x768"	"800x600"	"720x400"	"640x480"
    	
    EndSubSection
    
    Section "Screen"
    	Identifier 	"Screen1"
    	Device		"Monitor1"
    	Montior		"TV"
    	Defaultdepth	24
    	Modes		"800x600"
    EndSubSection
    EndSection
    	SubSection "Display"
    		Depth	4
    		Modes		"1280x1024"	"1152x864"	"1024x768"	"800x600"	"720x400"	"640x480"
    	Option         "TwinView"
        	Option         "MetaModes" "1280x1024,1152x864;1024x768,NULL; 800x600,NULL; 640x480,NULL"
    	EndSubSection
    	SubSection "Display"
    		Depth	8
    		Modes		"1280x1024"	"1152x864"	"1024x768"	"800x600"	"720x400"	"640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth	15
    		Modes		"1280x1024"	"1152x864"	"1024x768"	"800x600"	"720x400"	"640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth	16
    		Modes		"1280x1024"	"1152x864"	"1024x768"	"800x600"	"720x400"	"640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth	24
    		Modes		"1280x1024"	"1152x864"	"1024x768"	"800x600"	"720x400"	"640x480"
    	EndSubSection
    EndSection
    
    Section "ServerLayout"
    	Identifier	"Default Layout"
      	Screen 0  	"Screen0"
    	Screen 1	"Screen1" rightOf "Screen0"
    	Inputdevice	"Generic Keyboard"
    	Inputdevice	"Configured Mouse"
    	Inputdevice	"stylus"	"SendCoreEvents"
    	Inputdevice	"cursor"	"SendCoreEvents"
    	Inputdevice	"eraser"	"SendCoreEvents"
    EndSection
    
    Section "DRI"
    	Mode	0666
    EndSection
    Last edited by loudestnoise; August 14th, 2007 at 07:11 AM.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •