[mythtv-users] nvidia with tvout and X (to a
monitor) simultaneously.
Simon at the Threshold
dweller at the-threshold.org
Wed Feb 18 02:49:16 EST 2004
Matt Welland wrote:
> If this can't be done with twinview I guess I'll have to try backstreet-ruby
> but I'd really rather not go down that path - recompiling kernels and endless
> configuration stuff - sigh.
>
> Has anyone sucessfully done this and if so how did you do it?
>
> Any help very much appreciated.
Twinview is a MPITA IMHO, I pratted around with my nvidia config for
weeks and finaly settled on this one. Basicly I have my main monitor
screen :0.0 and the tv out screen :0.1 which is logicaly below the main
monitor. Its not cloned and the tv-out support XVMC.
YOu may well have to tweak the config for your own box (input devices
and supported resolution) but it works very well.
Simon
--
When things go well, expect something to explode, erode, collapse or
just disappear.
--
This email and any attachments hereto are strictly confidential and
intended solely for the addressee. It may contain information which is
covered by legal, professional or other privilege. If you are not the
indended addressee, you must not disclose, forward, copy or take any
action in reliance of this email or attachments. If you have received
this email in error, please notify us as soon as possible.
-------------- next part --------------
# Config by Simon
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules/extensions/nvidia"
ModulePath "/usr/X11R6/lib/modules/extensions"
ModulePath "/usr/X11R6/lib/modules"
FontPath "unix/:7100"
EndSection
Section "Module"
# Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "v4l"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "USB Mice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
Identifier "Monitor"
VendorName "Dell"
ModelName "Dell D2128-TCO"
HorizSync 31.0 - 102.0
VertRefresh 50.0 - 150.0
EndSection
Section "Monitor"
Identifier "SVIDEO"
VendorName "Sony"
ModelName "Sony IDTV"
HorizSync 10.0 - 60.0
VertRefresh 50.0 - 120.0
ModeLine "800x576" 15.4 800 823 895 984 576 580 583 625 -hsync -vsync interlace
ModeLine "800x576i" 15.4 800 823 895 984 576 580 583 625 -hsync -vsync interlace
ModeLine "768x576" 14.8 768 789 858 944 576 580 583 625 -hsync -vsync interlace
ModeLine "768x576i" 50.0 768 832 856 1000 576 590 595 630 -hsync -vsync interlace doublescan
ModeLine "768x576p" 50.0 768 832 846 1000 576 590 595 630
ModeLine "720x576" 30.1 720 752 912 976 576 578 590 616 -hsync -vsync
ModeLine "1024x768x45" 45 1024 1048 1208 1264 768 776 784 817 Interlace
ModeLine "1024x768x48" 44.9 1024 1048 1208 1264 768 776 784 817 Interlace
ModeLine "1024x768x50" 51.89 1024 1064 1168 1312 768 769 772 791 -HSync +Vsync
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "nvidia"
BoardName "NVIDIA GeForce 4 MX (generic)"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "nvidia"
BoardName "NVIDIA GeForce 4 MX (generic)"
Option "NoLogo" "1"
Option "NvAGP" "1"
Option "Overlay" "1"
Option "RenderAccel" "1"
Option "DigitalVibrance" "42"
Option "TVOverScan" "1.0"
Option "TVStandard" "PAL-I"
BusID "PCI:1:0:0"
Screen 1
EndSection
# TV-screen via SVIDEO cable
#
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "SVIDEO"
DefaultDepth 24
Option "TVStandard" "PAL-I"
Option "TVOutFormat" "SVIDEO"
SubSection "Display"
Depth 24
Modes "1025x768"
EndSubSection
EndSection
# Main monitor
#
Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1440" "1600x1200" "1280x1024" "1024x768" "640x480"
EndSubSection
EndSection
# Make the primary screen (NVIDIA terms) the TVOUT so we can do XVMC
#
Section "ServerLayout"
Identifier "TVOUT"
Screen 0 "Screen1" 0 0
Screen 1 "Screen0" Below "Screen1"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "USB Mice" "CorePointer"
InputDevice "USB Mice" "SendCoreEvents"
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
More information about the mythtv-users
mailing list