Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multiseat Xorg with only one multihead Nvidia card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Stolz
Moderator
Moderator


Joined: 19 Oct 2003
Posts: 3008
Location: Hong Kong

PostPosted: Fri Jan 24, 2014 1:45 pm    Post subject: Multiseat Xorg with only one multihead Nvidia card Reply with quote

I'm trying to get a working multiseat (no multihead) xorg setup with:

  • One Nvidia card (with 2 video outputs)
  • Two monitors.
  • Two mouses.
  • Two keyboards.
  • Two xorg instances (seats), each one with it's own mouse/keyboard/screen.
I got the two seats working on the same card as long as they don't run at the same time. I also got the two seats working simultaneously if I add an extra nvidia card.The problems seems to be running two simultaneous xorg instances in the same card but each one using a different video output. When I try to run the two seats simultaneously on the same card the second seat fails to start with the next error message:
Code:
(EE) NVIDIA(GPU-0): EVO Push buffer channel allocation failed
(EE) NVIDIA(GPU-0): Failed to allocate EVO core DMA push buffer


So my question is... is it even possible to have a multiseat setup in the same nvidia card?

To launch the seats I'm using:
Code:
$ startx -- :0 -layout seat1
$ startx -- :1 -layout seat2 -sharevts


And here is my xorg.conf:

Code:
# Mouses =======================================================================

Section "InputDevice"
   Identifier "mouse1"
   Driver     "evdev"
   Option     "GrabDevice" "true"
   Option     "Device" "/dev/input/by-id/mouse1-event-mouse"
EndSection

Section "InputDevice"
   Identifier "mouse2"
   Driver     "evdev"
   Option     "GrabDevice" "true"
   Option     "Device" "/dev/input/by-id/mouse2-event-mouse"
EndSection

# Keyboards ====================================================================

Section "InputDevice"
   Identifier "keyboard1"
   Driver     "evdev"
   Option     "GrabDevice" "true"
   Option     "XkbLayout" "es"
   Option     "Device" "/dev/input/by-id/keyboard1-event-kbd"
EndSection

Section "InputDevice"
   Identifier "keyboard2"
   Driver     "evdev"
   Option     "GrabDevice" "true"
   Option     "XkbLayout" "es"
   Option     "Device" "/dev/input/by-id/keyboard2-event-kbd"
EndSection

# Graphic cards ================================================================

Section "Device"
   Identifier "card1"
   Driver     "nvidia"
   BusID      "PCI:1:0:0"
EndSection

# Screens ======================================================================

Section "Screen"
   Identifier     "screen1"
   Device         "card1"
   DefaultDepth   24
   Option         "metamodes" "DFP-0: nvidia-auto-select +0+0"

   SubSection "Display"
      Depth  24
   EndSubSection
EndSection

Section "Screen"
   Identifier     "screen2"
   Device         "card1"
   DefaultDepth   24
   Option         "metamodes" "CRT-1: nvidia-auto-select +0+0"

   SubSection "Display"
      Depth  24
   EndSubSection
EndSection

# Seats ========================================================================

Section "ServerLayout"
   Identifier  "seat1"
   Screen 0    "screen1" 0 0
   InputDevice "mouse1" "CorePointer"
   InputDevice "keyboard1" "CoreKeyboard"
EndSection

Section "ServerLayout"
   Identifier  "seat2"
   Screen 0    "screen2" 0 0
   InputDevice "mouse2" "CorePointer"
   InputDevice "keyboard2" "CoreKeyboard"
EndSection

# Global =======================================================================

Section "ServerFlags"
   Option "AutoAddDevices" "false"
EndSection


I found https://bbs.archlinux.org/viewtopic.php?id=145775 but in my case adding ProbeAllGpus options didn't help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum