Nouveau Archive mirror
 help / color / mirror / Atom feed
From: Ilia Mirkin <imirkin@alum.mit.edu>
To: Bagas Sanjaya <bagasdotme@gmail.com>
Cc: Linux Nouveau <nouveau@lists.freedesktop.org>,
	Gert Vanhaerents <gert.vanhaerents@hotmail.com>
Subject: Re: [Nouveau] Kernel problem with multiseat on one card
Date: Tue, 16 Jan 2024 18:02:40 -0500	[thread overview]
Message-ID: <CAKb7UvgS8H4WgFXMckga-LM5QS5YDyeS1PmuvOc7iRCM_WGfMA@mail.gmail.com> (raw)
In-Reply-To: <ZWsuiq7zrYS-pDli@archie.me>

On Sat, Dec 2, 2023 at 8:18 AM Bagas Sanjaya <bagasdotme@gmail.com> wrote:
>
> On Thu, Nov 30, 2023 at 11:48:24AM +0100, Gert Vanhaerents wrote:
> > Hi Kernel list,
> > I'm the IT person of a school, earlier we used multiseatcomputers for the
> > school, i have maded with a XGL implementation and it works fine but not so
> > fantastic. The school wants that i build new computers but the XGL project
> > is too outdated so i can't use it anymore.
> >
> > How can i make a multiseatcomputer with more then one user on one card with
> > systemd? I have asked already to the makers of systemd but they said it's a
> > kernel problem.
> >
> > With Systemd loginctl and the nouveau drivers you have this:
> >
> > ─/sys/devices/pci0000:00/0000:00:03.1/0000:08:00.0/drm/card0
> >           │ [MASTER] drm:card0
> >           │
> > ├─/sys/devices/pci0000:00/0000:00:03.1/0000:08:00.0/drm/card0/card0-DVI-D-1
> >           │ │ [MASTER] drm:card0-DVI-D-1
> >           │
> > ├─/sys/devices/pci0000:00/0000:00:03.1/0000:08:00.0/drm/card0/card0-HDMI-A-1
> >           │ │ [MASTER] drm:card0-HDMI-A-1
> >           │
> > └─/sys/devices/pci0000:00/0000:00:03.1/0000:08:00.0/drm/card0/card0-VGA-1
> >           │   [MASTER] drm:card0-VGA-1
> > ├─/sys/devices/pci0000:00/0000:00:03.1/0000:08:00.0/drm/renderD128
> >           │ drm:renderD128
> > ├─/sys/devices/pci0000:00/0000:00:03.1/0000:08:00.0/graphics/fb0
> >           │ graphics:fb0 "nouveaudrmfb"
> >
> > So it will be:
> >
> > loginctl attach seat1 /sys/devices/pci0000:00/0000:00:03.1/0000:08:00.0/drm/card0/card0-VGA-1
> >
> > For the seat1 (the VGA d-sub output for seat1 and the other HDMI output for
> > seat0) and of course the mouse and keyboard.
> >
> > When you do this, all the graphics outputs are on the second seat (seat1)
> > and not anymore on the first seat. So i need to move only the VGA output to
> > seat1 and not all the outputs.

(Note: I know nothing about multiseat, but I know something about nouveau.)

What GPU is this? The fact that VGA is listed makes me think it's an
older one. Pre-Kepler GPUs only support 2 CRTC's, which means you can
only have 2 outputs enabled at a time -- this is a hardware
limitation. So if this is a GFxxx or GTxxx in "lspci" (or even older,
Gxx or NVxx), then this will never work with 3 outputs / seats.

Also, I notice that you have a "fb" driver going, whose sole task is
to display the same thing on all outputs. I don't know how this
interacts with multiseat, but basically you have to ensure that you're
in "graphics" mode, which I think makes it effectively disabled. But
I've never used systemd, so I'm not completely sure how that
interaction is brokered.

Cheers,

  -ilia

      parent reply	other threads:[~2024-01-16 23:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AM7PR10MB39235DD53D163910E88FDB938E82A@AM7PR10MB3923.EURPRD10.PROD.OUTLOOK.COM>
     [not found] ` <AM7PR10MB3923E07D6024434077E95EBA8E82A@AM7PR10MB3923.EURPRD10.PROD.OUTLOOK.COM>
2023-12-02 13:18   ` [Nouveau] Kernel problem with multiseat on one card Bagas Sanjaya
2023-12-02 15:28     ` Timur Tabi
2023-12-03  2:47       ` Bagas Sanjaya
2023-12-04  8:51       ` Gert Vanhaerents
2023-12-04 14:11         ` Timur Tabi
2023-12-15  9:59           ` [Nouveau] Kernel problem with multiseat on one card - Wil be more than one window manager " Gert Vanhaerents
2024-05-21 11:27             ` Gert Vanhaerents
2024-05-21 11:30             ` Gert Vanhaerents
2023-12-04  9:10     ` Kernel problem with multiseat " Gert Vanhaerents
2023-12-04 10:25       ` Gert Vanhaerents
2024-01-16 23:02     ` Ilia Mirkin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKb7UvgS8H4WgFXMckga-LM5QS5YDyeS1PmuvOc7iRCM_WGfMA@mail.gmail.com \
    --to=imirkin@alum.mit.edu \
    --cc=bagasdotme@gmail.com \
    --cc=gert.vanhaerents@hotmail.com \
    --cc=nouveau@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).