[mythtv-users] XvMC and dual head or TV out. Is this possible?

Brad Fuller bradallenfuller at yahoo.com
Sat Jan 20 00:08:47 UTC 2007



Listbox wrote:
> Dang.
> "cannot connect to X server"
>
> Thanks Brad, but that's not working with my setup.
>
> ~> export DISPLAY=:0.1
> ~> mythfrontend
> mythfrontend: cannot connect to X server :0.1
>   

Well.. that's probably your problem... uh... or your symptom. How to
fix? Don't know.
Do you have anything visible on the 2nd screen? I see you are using
nvidia, so you should see the Nvidia full screen logo when booting up X
(if you don't have the logo specifically turned off in xorg.)

You can press Ctl+Alt+Backspace to restart X. Be sure to save any data
first!


> ~> export DISPLAY=:0.0
> ~> mythfrontend
> 2007-01-19 16:01:02.812 Using runtime prefix = /usr
> 2007-01-19 16:01:02.817 DPMS is disabled.
> 2007-01-19 16:01:02.844 New DB connection, total: 1
> 2007-01-19 16:01:02.851 Connected to database 'mythconverg' at host: janus
> 2007-01-19 16:01:02.853 Total desktop dim: 1024x1368, with 2 screen[s].
> 2007-01-19 16:01:02.858 Using screen 1, 800x600 at 0,768
> 2007-01-19 16:01:02.873 Current Schema Version: 1160
> 2007-01-19 16:01:02.873 mythfrontend version: 0.20.20060828-3 www.mythtv.org
> 2007-01-19 16:01:02.873 Enabled verbose msgs:  important general 
> ....
>
> -----Original Message-----
> From: Brad Fuller [mailto:bradallenfuller at yahoo.com] 
> Sent: Friday, January 19, 2007 3:41 PM
> To: listbox at hymerfania.com; Discussion about mythtv
> Subject: Re: [mythtv-users] XvMC and dual head or TV out. Is this possible?
>
>
>
> Listbox wrote:
>   
>> Hi,
>> I have a crt multisync monitor and a NTSC television. I would like 
>> mythfrontend  to use the television as its display. It ALMOST works if 
>> I use Xinerama and set the display to "1", but I must use XvMC to get 
>> acceptable performance. When I use xvmc, the GUI shows up on the TV, 
>> but I get no video on the tv at all, just a blank screen.
>> Is there a configuration that will work? Here is my xorg.conf:
>>     
> Do you export the DISPLAY before you start mythfrontend? Like:
>
> export DISPLAY=:0.1
> mythfrontend
>
> I put this in a script (and also turn off screen saver)
>
> (Why do you have Screen1 Below Screen0? I have RightOf. Probably doesn't
> make a difference. Probably only matters where you send your mouse pointer)
>   
>>  
>>  
>> # Xorg configuration created by Listbox
>>  
>> Section "ServerLayout"
>>     Identifier     "Dual head configuration"
>>     Screen      0  "Screen0" 0 0
>>     Screen      1  "Screen1" Below "Screen0"
>>     InputDevice    "Mouse0" "CorePointer"
>>     InputDevice    "Keyboard0" "CoreKeyboard"
>>     Option         "Xinerama" "on"
>>     Option         "Clone" "off"
>> EndSection
>>  
>> Section "Files"
>>  
>> # Multiple FontPath entries are allowed (they are concatenated 
>> together) # By default, a font server independent of the X server is # 
>> used to render fonts.
>>     FontPath        "unix/:7100"
>>     ModulePath
>>
>>     
> "/usr/lib/xorg/modules/extensions/nvidia,/usr/lib/xorg/modules/extensions,/u
> sr/lib/xorg/modules"
>   
>> EndSection
>>  
>> Section "Module"
>>     Load           "dbe"
>>     Load           "extmod"
>>     Load           "fbdevhw"
>>     Load           "glx"
>>     Load           "record"
>>     Load           "freetype"
>>     Load           "type1"
>>     Load    "v4l"
>>     Load      "synaptics"
>> # Load  "dri"
>> 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         "kbd"
>>     Option         "XkbModel" "pc105"
>>     Option         "XkbLayout" "us"
>> EndSection
>>  
>> Section "InputDevice"
>>     Identifier     "Mouse0"
>>     Driver         "mouse"
>>     Option         "Protocol" "IMPS/2"
>>     Option         "Device" "/dev/input/mice"
>>     Option         "ZAxisMapping" "4 5"
>>     Option         "Emulate3Buttons" "yes"
>> EndSection
>>  
>> Section "Monitor"
>> # Option     "dpms"
>>     Identifier     "Monitor0"
>>     VendorName     "NEC Vendor"
>>     ModelName      "NEC MultiSync 90"
>>     DisplaySize     370    270
>>     HorizSync       31.0 - 96.0
>>     VertRefresh     55.0 - 160.0
>> EndSection
>>  
>> Section "Monitor"
>>     Identifier     "Monitor1"
>>     VendorName     "Monitor Vendor"
>>     ModelName      "Crappy Television"
>>     HorizSync       30.0 - 50.0
>>     VertRefresh     60.0 - 60.0
>> EndSection
>>  
>> Section "Device"
>>     Identifier     "CRT"
>>     Driver         "nvidia"
>>     VendorName     "nVidia Corporation"
>>     BoardName      "nVidia Corporation NV43 [GeForce 6200]"
>>     BusID          "PCI:2:0:0"
>>     Option       "RenderAccel" "true"
>>     Option       "AllowGLXWithComposite" "true"
>>     Screen          0
>> EndSection
>>  
>> Section "Device"
>>     Identifier     "TV"
>>     Driver         "nvidia"
>>     VendorName     "nVidia Corporation"
>>     BoardName      "nVidia Corporation NV43 [GeForce 6200]"
>>     BusID          "PCI:2:0:0"
>>     Option       "RenderAccel" "true"
>>     Option       "AllowGLXWithComposite" "true"
>>     Screen          1
>> EndSection
>>  
>> Section "Screen"
>>     Identifier     "Screen0"
>>     Device         "CRT"
>>     Monitor        "Monitor0"
>>     DefaultDepth    24
>>     SubSection     "Display"
>>  Modes    "1024x768" "800x600" "640x480"
>>      Viewport    0 0
>>         Depth       24
>>     EndSubSection
>> EndSection
>>  
>> Section "Screen"
>>     Identifier     "Screen1"
>>     Device         "TV"
>>     Monitor        "Monitor1"
>>     DefaultDepth    24
>>     Option         "TVStandard" "NTSC-M"
>>     Option     "ConnectedMonitor" "TV"
>>     Option         "TVOutFormat" "SVIDEO"
>>     Option         "TVOverScan" "0.5"
>>     SubSection     "Display"
>>         Modes      "800x600"
>>         Viewport    0 0
>>         Depth       24
>>     EndSubSection
>> EndSection
>>  
>>  
>> ----------------------------------------------------------------------
>> --
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>   
>>     
>
>
>
>   


More information about the mythtv-users mailing list