[mythtv-users] XvMC, nvidia 5336 drivers, and 2.6 kernel
Simon at the Threshold
dweller at the-threshold.org
Thu Feb 12 03:15:40 EST 2004
Sabin Dang wrote:
> Hell everyone,
>
> I've been trying to recompile my myth setup to include XvMC support.
> I've uncommented the lines in settings.pro and recompiled (without
> errors). My problem is when I try and watch any video my frontend
> segfaults with the message : "No XvMC found"
Hell back to you too <Chuckle>
First check that you accualy have XVMC active using the xdpyinfo if
you've got a XVdeo Motion Compensation (you have).
Otherwise its likey that your attempting to use XVMC on the secondary
display. I had to play around with my screenlayout in my XF86config file
before I could get it to your on my second screen. Now of course it
works on the tv-out and not on the main monitor
Try the attached config file..
Simon
--
The hardest thing in the world to understand is the income tax.
-- Albert Einstein
--
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