[systemd-devel] help : loginctl won't add new seat
Laércio de Sousa
laerciosousa at sme-mogidascruzes.sp.gov.br
Wed Sep 2 03:43:00 PDT 2015
Hi Benoit!
I guess you forgot to tag your seat1 card as "master-of-seat".
2015-09-02 6:52 GMT-03:00 Benoit Barthelet <benoit.barthelet at gmail.com>:
> long story short I had a working multiseat setup with 2 GPU / 2 mices
> and 2 keyboards
>
> I changed GPU drivers from open-source radeon to fglrx and it stopped
> working
>
> before the driver change I had configured the 2nd seat to used the gpu
> / mice / keys with :
>
> loginctl attach seat1
> /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0/
> etc..
>
> the issue with the new drivers it seems is that I can't find the card0
> in the /sys hierarchy,
>
> for instance, it seems to be one of my card, but no seat tag :
> udevadm info --query=all
> --path=/sys/devices/pci0000:00/0000:00:07.0/0000:03:00.0
>
> P: /devices/pci0000:00/0000:00:07.0/0000:03:00.0
> E: DEVPATH=/devices/pci0000:00/0000:00:07.0/0000:03:00.0
> E: DRIVER=fglrx_pci
> E: ID_MODEL_FROM_DATABASE=Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280]
> E: ID_PCI_CLASS_FROM_DATABASE=Display controller
> E: ID_PCI_INTERFACE_FROM_DATABASE=VGA controller
> E: ID_PCI_SUBCLASS_FROM_DATABASE=VGA compatible controller
> E: ID_VENDOR_FROM_DATABASE=Advanced Micro Devices, Inc. [AMD/ATI]
> E: MODALIAS=pci:v00001002d0000679Asv0000174Bsd0000E207bc03sc00i00
> E: PCI_CLASS=30000
> E: PCI_ID=1002:679A
> E: PCI_SLOT_NAME=0000:03:00.0
> E: PCI_SUBSYS_ID=174B:E207
> E: SUBSYSTEM=pci
> E: USEC_INITIALIZED=4263516
>
> So I tried to create manually a udev rule
>
> /etc/udev/rules.d/71-ati.rules
>
> SUBSYSTEM=="pci",
> DEVPATH=="/devices/pci0000:00/0000:00:01.0/0000:01:00.0", TAG+="seat",
> TAG+="master-of-seat"
> SUBSYSTEM=="pci",
> DEVPATH=="/devices/pci0000:00/0000:00:07.0/0000:03:00.0", TAG+="seat",
> TAG+="seat1"
>
> and now loginctl seat-status seat0 gives a master tag after udevadm
> trigger :
> ├─/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0
> │ [MASTER] pci:0000:01:00.0
>
> but I can never have a seat1, it never appears so the display manager
> never tries to launch 2nd X session )
>
> I'm at a loss here. any help appreciated
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
--
*Laércio de Sousa*
*Orientador de Informática*
*Escola Municipal "Professor Eulálio Gruppi"*
*Rua Ismael da Silva Mello, 559, Mogi Moderno*
*Mogi das Cruzes - SPCEP 08717-390*
Telefone: (11) 4726-8313
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150902/b5f45599/attachment.html>
More information about the systemd-devel
mailing list