Problem in multiseat configuration

"[email protected]" <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAJPN8o=-Ecak7zRJ2vUTvbTs=wzssWjhRb5xqfvS9Rp_KtHqHw@mail.gmail.com>
Hello,

I am trying to use a multiseat configuration but I am having problem
with gnome shell or ubuntu unity. I use Ubuntu 11.10 with mesa libmesa
7.11.

My system has two graphics cards, the integrated intel card from a
core i5 2500 CPU and a Radeon 5450. Here is the output from lspci |
grep VGA:

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation
Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: ATI Technologies Inc Cedar PRO
[Radeon HD 5450]

Both cards work well in a single seat setting.But once I try to use
both cards at once in a multiseat setting the secondary card fails to
load correctly the libraries for 3D. In my case the ATI card is the
secondary card. If I use it in singles sear I get (from glxinfo):

OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD CEDAR
OpenGL version string: 2.1 Mesa 7.12-devel

While in the multiseat version I get

OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.11

It seems that since mesa is loaded in the primary card to use the
Intel direct rendering driver it fails in the secondary card.

Is this behavior expected? Is there a work around. Right now I can run
glxgears with good performance in the secondary card but gnome shell
and unity fail to work.

Any advice?

Paulo

Obs: I send attached the glxinfo output for single seat and multi seat
using the ATI card and my xorg.conf files.

-- 
Paulo José da Silva e Silva
Professor Associado, Dep. de Ciência da Computação
(Associate Professor, Computer Science Dept.)
Universidade de São Paulo - Brazil

e-mail: [email protected]         Web: http://www.ime.usp.br/~pjssilva

_______________________________________________
mesa-users mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-users
glxinfo_singleseat (application/octet-stream, 24.6 KB) - not displayed
glxinfo_multiseat (application/octet-stream, 18.8 KB) - not displayed
xorg.conf (application/octet-stream, 3.9 KB)
Section "Monitor"
	Identifier  "Dummy Monitor"
	Option	    "VendorName"    "Unknown"
	Option	    "ModelName"     "Generic Autodetecting Monitor"
	Option      "DPMS"
EndSection

Section "Monitor"
	Identifier  "Monitor0"
	Option	    "VendorName"    "Unknown"
	Option	    "ModelName"     "Generic Autodetecting Monitor"
	Option      "DPMS"
EndSection

Section "Monitor"
	Identifier  "Monitor1"
	Option	    "VendorName"    "Unknown"
	Option	    "ModelName"     "Generic Autodetecting Monitor"
	Option      "DPMS"
EndSection

Section "Screen"
	Identifier      "Dummy Screen"
	Device          "Dummy Device"
	Monitor         "Dummy Monitor"
	DefaultDepth	24
	SubSection "Display"
		Modes           "320x240"
	EndSubSection
EndSection

Section "Screen"
	Identifier          "Screen0"
	Device              "Device0"
	Monitor             "Monitor0"
	DefaultDepth        24
	SubSection "Display"
		Depth           24
	EndSubSection
EndSection

Section "Screen"
	Identifier          "Screen1"
	Device              "Device1"
	Monitor             "Monitor1"
	DefaultDepth        24
	SubSection "Display"
		Depth           24
	EndSubSection
EndSection

Section "Module"
        Load           "dri"
	Load           "dbe"
	Load	       "glx"
	Load           "record"
	Load           "dri2"
	Load           "extmod"
 
EndSection

Section "InputDevice"
	Identifier     "kbd_0"
	Driver         "evdev"
	Option         "Device"     "/dev/input/by-path/pci-0000:00:1a.0-usb-0:1.5:1.0-event-kbd"
	Option         "XkbRules"   "xorg"
	Option         "XkbModel"   "microsoftccurve2k"
	Option         "XkbLayout"  "br"
	Option         "Protocol"   "Standard"
EndSection

Section "InputDevice"
	Identifier     "mouse_0"
	Driver         "evdev"
	Option         "Device"     "/dev/input/by-path/pci-0000:00:1a.0-usb-0:1.5:1.1-event-mouse"
	Option         "GrabDevice" "on"
EndSection

Section "InputDevice"
	Identifier     "kbd_1"
	Driver         "evdev"
	Option         "Device"     "/dev/input/by-path/pci-0000:00:1a.0-usb-0:1.2.1:1.0-event-kbd"
	Option         "XkbRules"   "xorg"
	Option         "XkbModel"   "abnt2"
	Option         "XkbLayout"  "br"
	Option         "Protocol"   "Standard"
EndSection

Section "InputDevice"
	Identifier     "mouse_1"
	Driver         "evdev"
	Option         "Device"     "/dev/input/by-path/pci-0000:00:1a.0-usb-0:1.2.2:1.0-event-mouse"
	Option         "GrabDevice" "on"
EndSection

Section "ServerLayout"
	Identifier  "Dummy"
	Screen      0               "Dummy Screen"  0       0
	Option      "AutoEnableDevices"     "false"
	Option      "AutoAddDevices"        "false"
	Option      "AllowEmptyInput"       "true"
EndSection

Section "ServerLayout"
	Identifier  "Layout0"
	Screen      0               "Screen0"       0       0
	InputDevice "kbd_0"         "CoreKeyboard"
	InputDevice "mouse_0"       "CorePointer"
	Option      "AutoEnableDevices"     "false"
	Option      "AutoAddDevices"        "false"
	Option      "AllowEmptyInput"       "true"
    Option      "SingleCard"            "true"
EndSection

Section "ServerLayout"
	Identifier  "Layout1"
	Screen      0               "Screen1"       0       0
	InputDevice "kbd_1"         "CoreKeyboard"
	InputDevice "mouse_1"       "CorePointer"
	Option      "AutoEnableDevices"     "false"
	Option      "AutoAddDevices"        "false"
	Option      "AllowEmptyInput"       "true"
    Option      "SingleCard"            "true"
EndSection

Section "Device"
	Identifier      "Dummy Device"
	Driver          "dummy"
	VideoRam        75
EndSection

Section "Device"
	Identifier     "Device0"
	Driver         "intel"
	VendorName     ""
	BoardName      ""
	BusID          "PCI:0:2:0"
	Screen         0
EndSection

Section "Device"
	Identifier     "Device1"
	Driver         "radeon"
	VendorName     ""
	BoardName      ""
	BusID          "PCI:1:0:0"
	Screen         0
EndSection

Section "ServerFlags"
	Option         "Xinerama"           "false"
EndSection

Section "DRI"
    Mode 0666
EndSection
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.