2024-05-21 11:30:18

by Gert Vanhaerents

[permalink] [raw]
Subject: Re: [Nouveau] Kernel problem with multiseat on one card - Wil be more than one window manager on one card

In the meantime I have contacted everyone who could have something to do
with it:
Kernel groups
System D
Nvidia

And gues: Everyone says it's not their fault.

But we don't give up. Linux is such a beautiful and solid system. Why
would it work with Windows and not Linux?

Our analysis has now discovered that the problem does indeed come from
the kernel. The kernel does not allow several users to access a graphics
card at the same time.Indeed, to use it, several users need access to
the graphics card at the same time.
Can this simultaneous access be allowed by the kernel after all?
Or can the kernel be adjusted so that this would be possible?


Op 15/12/2023 om 10:59 schreef Gert Vanhaerents:
>
> Op 4/12/2023 om 15:11 schreef Timur Tabi:
>> On Mon, 2023-12-04 at 09:51 +0100, Gert Vanhaerents wrote:
>>> OK  i will report it to nvidia. But with the nouveau drivers it's
>>> also not
>>> working. Are you sure it's not a kernel problem?
>>> Because according to systemd it would be a kernel problem.
>>> (personaly i am
>>> also thinking it's a driver problem)
>> Unfortunately, it's not easy for Nouveau to debug problems with GSP-RM.
>> However, if the problem exists in the proprietary driver, then Nvidia
>> could
>> fix it.  That would then lead to a new version of OpenRM that Nouveau
>> could
>> use.
>
> I have contacted Nvidia and now i can see the outputs such like 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
>
> But the problem is now the same of with the Nouveau driver. When you
> do this:
>
> 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.
>
>
> The problem is that linux can not start 2 or more window managers on
> one card (even if you don't need a multiseat, but use only one mouse
> and keyboard).
>
> So how can i fix that i can use more than one window manager on one
> physical graphics card? (without Xephyr or something because they are
> to outdated and works not good).
>
> I have tried with: Linux Mint, Ubuntu and Debian all the same problem.
>
>
>