Multi seat issues with Win-PVR350 & NVIDA onboard graphics (Quadro NVS210S GPU)

Eric Benedict mythtvericquestions at yahoo.com
Wed Jul 4 20:48:44 PDT 2007


I'm trying to get a multi-seat configuration working.  I want to use the onboard graphics and the single PS/2 keyboard/mouse for a 'console' seat and then run  the other seat through the Win-PVR350's TV out port.  The second seat will only be used for the MythTV application and I'll use LIRC to run the Myth program.

System Details:
xorg: 7.2
OS: Ubuntu 7.04 (feisty) AMD 64
Processor: AMD 64 X2 4600+
Memory: 2GB (shared)
xorg.conf: (at end)


I've successfully worked through getting X to display on the TV out port, so I should have a good xorg.conf info for the TV out device/monitor/screen.  A difference from my test of the TV out and the application is that I'm still using the keyboard/mouse in this setup...

The onboard graphics have pretty much worked in a usable manner out of the box.  (Thank you all for your work on towards this -- I still remember how hard it was to get X running 10+ years ago on my 1st box...)

All but one of the FAQ's/HOWTO's I've be able to find with google have had the same number of input devices as seats (logically enough).  I did find one blog where someone did basically what I want to do, but with different hardware and an additional seat.  Thus, it would seem to be possible to do what I want, if I can just fix the problem between the monitors and the keyboard... :)

Following this example, I created two server layouts and then attempted to start two x sessions via the gdm.conf.  The first server comes up ok and presents the graphical login screen; however, there are problems with the 2nd server coming up correctly.  I tried changing the order of the servers and again the 1st server comes up, but not the second (slightly different errors...).

When I tried "Console" on 0 and "Myth" on 1, the monitor showed the graphic login and mouse responded on monitor, but the kybd went to the text "X didn't start" screen on the TV out.  Swapping the order in the gdm.conf-custom file, the graphic login appeared on the TV, but then the text "X didn't start" appeared on the TV as well!?  (Only a solid on cursor on the monitor)  Interestingly, moving the mouse would cause the graphical screen to be repainted, while moving the keyboard would refresh the text screen...

Any assistance / suggestions on how to get this working would be greatly appreciated.  Right now, I'm not clear on where to go next...


The configuration and log files follow...


##################################################################

my gdm.conf-configure file:
 
[daemon]
VTAllocation=false

[security]

[xdmcp]

[gui]

[greeter]

[chooser]

[debug]

[servers]
0=Console  vt7
1=Myth  vt7

[server-Console]
name=System Console
command=/usr/X11R6/bin/X -audit 0 -layout Console -novtswitch
flexible=true

[server-Myth]
name=Myth Session
command=/usr/X11R6/bin/X -audit 0 -layout Myth -novtswitch
flexible=true



###############################################################


my xorg.conf file

Section "ServerLayout"
        Identifier      "Console"
        Screen          "LCD Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "ServerLayout"
        Identifier      "Myth"
        Screen          "TV Screen"
        InputDevice     "KeyboardNull"
        InputDevice     "MouseNull"
        Option "AllowMouseOpenFail" "true"
EndSection

Section "Files"
        FontPath        "/usr/share/X11/fonts/misc"
        FontPath        "/usr/share/X11/fonts/cyrillic"
        FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/X11/fonts/Type1"
        FontPath        "/usr/share/X11/fonts/100dpi"
        FontPath        "/usr/share/X11/fonts/75dpi"
        FontPath        "/usr/share/fonts/X11/misc"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection


Section "ServerFlags"
        Option  "DontVTSwitch"
        Option  "HandleSpecialKeys" "Always"
EndSection

# Specific modules needed *this is important.*
Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "glx"
        Load    "int10"
        Load    "vbe"

        Load "dbe"
        Load "v4l"
        Load "extmod"
        Load "type1"
        Load "freetype"
EndSection




Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us"dm.conf-configure file:
 
        Option          "XkbOptions"    "lv3:ralt_switch"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Emulate3Buttons"       "true"
EndSection


Section "Device"
        Identifier      "Generic Video Card"
        Driver          "vesa"
        BusID           "PCI:0:5:0"
EndSection

Section "Monitor"
        Identifier      "Samsung 920 BW"
        Option          "DPMS"
        HorizSync       28-51
        VertRefresh     43-60
        DisplaySize     367 257
EndSection

Section "Screen"
        Identifier      "LCD Screen"
        Device          "Generic Video Card"
        Monitor         "Samsung 920 BW"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
EndSection


Section "Device"
        Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"

        # the driver we installed.
        Driver "ivtvdev"

        Option "fbdev" "/dev/fb0"    # frame buffer we found above

        # below settings are optional I believe I've seen lots of people with them commented out.
        Option "TVStandard" "NTSC-M" 
        Option "VideoOverlay" "on"
        Option "XVideo" "1"

        BusID "PCI:4:8:0"           # BusID we found with lspci converted as shown above

        Screen 0

EndSection

Section "Monitor"
        Identifier "TV"
        HorizSync 30-68
        VertRefresh 50-120
        DisplaySize 183 122
        Mode "720x480"
        DotClock 34.564
        HTimings 720 752 840 928
        VTimings 480 484 488 504
        Flags "-HSync" "-VSync"
        EndMode
EndSection

Section "Screen"
        Identifier "TV Screen"
        Device "Hauppauge PVR 350 iTVC15 Framebuffer"
        Monitor "TV"
        DefaultDepth 24
        DefaultFbbpp 32
        Subsection "Display"
                Depth 24
                FbBpp 32
                Modes "720x480"
        EndSubsection
EndSection


Section "InputDevice"
        Identifier "KeyboardNull"
        Driver "void"
EndSection

Section "InputDevice"
        Identifier "MouseNull"
        Driver "void"
        Option "Protocol" "auto"
EndSection


##################################################################
The Xorg.0.log file with the Myth as 0:
 Xorg.0.log.old attachment

The Xorg.1.log file with the Console as 1:
 Xorg.1.log attachment



       
---------------------------------
Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20070704/80ca73fe/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log.old
Type: application/x-trash
Size: 26957 bytes
Desc: 1124364679-Xorg.0.log.old
URL: <http://lists.x.org/archives/xorg/attachments/20070704/80ca73fe/attachment.old>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.1.log
Type: text/x-log
Size: 20638 bytes
Desc: 2921713664-Xorg.1.log
URL: <http://lists.x.org/archives/xorg/attachments/20070704/80ca73fe/attachment.bin>


More information about the xorg mailing list