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

James Pifer jep at obrien-pifer.com
Wed Aug 29 18:23:38 UTC 2007



>         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
> 

I have two device and two screen sections. Which ones would they go
under? How would my file above be modified with your things to try?

Thanks,
James



More information about the mythtv-users mailing list