[mythtv-users] Can anyone help with twinhead xorg.conf with nvidia 5200?

Tom Greer trgreer at gmail.com
Wed Aug 29 18:00:47 UTC 2007


On 8/29/07, James Pifer <jep at obrien-pifer.com> wrote:
>
> > I was doing that for a while, you can look at mine at
> >
> http://www.lukemacneil.com/articles/xorg.conf-for-dual-video-cards-monitors-and-tv-out-2.html
>
> Thanks, that got me close, I think. Using yours as a template I modified
> mine. Good news is that I didn't blow it up. Bad news is I only see the
> display on my LCD and not the TV.
>
> Secondary, is that it seems to ignore the resolution. Looks like it's
> only at 640x480.
>
> Do you see anything obviously wrong with my current one below?
>
> Thanks,
> James
>
> Section "ServerLayout"
>         Identifier     "twin head configuration"
>         Screen         "LCDScreen" 0 0
>         Screen         "TVScreen" RightOf "LCDScreen"
>         InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Files"
>         ModulePath   "/usr/lib/xorg/modules/extensions/nvidia"
>         ModulePath   "/usr/lib/xorg/modules/extensions"
>         ModulePath   "/usr/lib/xorg/modules"
> EndSection
>
> Section "Module"
>         Load  "dbe"
>         Load  "extmod"
>         Load  "fbdevhw"
>         Load  "glx"
>         Load  "record"
>         Load  "freetype"
>         Load  "type1"
>         Load  "v4l"
>         Load  "vnc"
> EndSection
>
> Section "InputDevice"
>         Identifier  "Keyboard0"
>         Driver      "kbd"
>         Option      "XkbModel" "pc105"
>         Option      "XkbLayout" "us"
> EndSection
>
> Section "Monitor"
>     Identifier     "LCDMonitor"
>     Option         "DPMS"
> EndSection
>
> Section "Monitor"
>     Identifier     "TVMonitor"
>     Option         "DPMS"
> EndSection
>
> Section "Device"
>         Identifier  "LCDVideocard0"
>         Driver      "nvidia"
>         VendorName  "Videocard vendor"
>         BoardName   "nVidia Corporation NV34 [GeForce FX 5200]"
> EndSection
>
> Section "Device"
>         Identifier  "TVVideocard0"
>         Driver      "nvidia"
>         VendorName  "Videocard vendor"
>         BoardName   "nVidia Corporation NV34 [GeForce FX 5200]"
>         Option      "TwinView" "true"
>         Option      "TwinViewOrientation" "Clone"
>         Option      "ConnectedMonitor" "CRT-0, TV-0"
>         Option      "MetaModes" "800x600,800x600"
> EndSection
>
> Section "Screen"
>         Identifier  "LCDScreen"
>         Device      "LCDVideocard0"
>         Monitor     "LCDMonitor"
>         DefaultDepth     24
>         Option      "SecurityTypes" "VncAuth"
>         Option      "UserPasswdVerifier" "VncAuth"
>         Option      "PasswordFile" "/root/.vnc/passwd"
>         SubSection "Display"
>                 Depth     24
>                 Modes    "1024x768"
>         EndSubSection
> EndSection
>
> Section "Screen"
>         Identifier  "TVScreen"
>         Device      "TVVideocard0"
>         Monitor     "TVMonitor"
>         DefaultDepth     24
>         SubSection "Display"
>                 Depth     24
>                 Modes    "1024x768"
>         EndSubSection
> EndSection
>
> Section "Extensions"
>         Option  "Composite" "Enable"
> EndSection


Add the following lines to your Device Section to force X to treat your flat
panel as the primary output.

Option         "UseDisplayDevice" "DFP,CRT"
Option         "TwinViewXineramaInfoOrder" "DFP-0"


Under the Screen Section, I have these (my CRT is left of the DFP):

    Option         "TwinView" "1"
    Option         "TwinViewOrientation" "LeftOf"

Also, I have these in my Screen Section, but you may need to tweak for your
specific configuration:
    Option         "metamodes" "CRT: 1280x1024 +0+0, DFP: 1680x1050 +1280+0;
CRT: 800x600+0+0, DFP: nvidia-auto-select +800+0; CRT: 640x480 +0+0, DFP:
nvidia-auto-select +640+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection

Good luck.

Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070829/1dd00b50/attachment.htm 


More information about the mythtv-users mailing list