Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2636701rdb; Mon, 4 Dec 2023 03:25:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IEur0AAJhUgWwL1sQjJu0KEU5aHdmP8SBbdEDCFtHG8cSi1b6aanD8Y6Ukbj4r3LNxOAkL+ X-Received: by 2002:a17:902:8214:b0:1cf:e19e:2505 with SMTP id x20-20020a170902821400b001cfe19e2505mr15283424pln.61.1701689115377; Mon, 04 Dec 2023 03:25:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701689115; cv=pass; d=google.com; s=arc-20160816; b=WxcOGiHEbLYKoJXxple+2bTnbhEfZG8goHBuwvN/r+JvgiuOYMkLg+Odb7xfw5tyr3 BuJ8BkL+w0MeAmIJsaVXZP81cwsdCsQ9Os2lOWQZmCpOjsRrqrmZH0pxOjKByiGQW8r+ e9ulC5H2UKWvtWuCe34mf3BkpZKsWntzMAvAVkB49MmkcabyQIfrZXpNYGawMMEQ+jc4 ttiqql1vAtffWQwol1cSY2xGZ767pLFfr5+aHbUzQnQvTiomA7OAtk2Peoqt8eCh08ef yPNqibwe1O8dkVX4R5DLTt2e/eJ1d96DI8SNhqGmAk71heMixVdw9+fW7hYe/TmdvldM 8PYw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=+CkJu6WS5a/5qmN6jvqA2dal626d/g5UUOl67NBlNh4=; fh=b95UvK/rLxvi3BaBTFMbbvSSfCgGC58kR/Nhl0iX3Hg=; b=osWeIa7sP749ZjJHVta82B/aktyA+KfT0DvXcgw+UuZGfCAquM2tWKUlioFOoKLsLx uwF54psg73AzBSJ+2fBhZ7vCTP5MwNq5REafwQKDfqw2NJdJnwrS4cEqPnT8IfP5+EpR yBifj3zJoC/NZFpBq/v6c+1jFaL+y6NamWs2tthS9yOYPBG5q3gq6VjlKbl4gdWI2uqX QfNZWTQbwmAyo9KXerXlyqYezt5Qa6mIqH3QNz3CJObSY/np+P/bsofmJES2HF6fdI4G S6VwmVmlopmaS7NNn15COKMmcryEO0xe1WYcC6LrsXeYAXzaKYCvJIMximuL14R3N2j8 0CcA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hotmail.com header.s=selector1 header.b=WKlph4s8; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hotmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id jb12-20020a170903258c00b001d07b6a0ae9si3130559plb.203.2023.12.04.03.25.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 03:25:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@hotmail.com header.s=selector1 header.b=WKlph4s8; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hotmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E31BD8058000; Mon, 4 Dec 2023 03:25:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230015AbjLDLYz (ORCPT + 99 others); Mon, 4 Dec 2023 06:24:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229885AbjLDKKm (ORCPT ); Mon, 4 Dec 2023 05:10:42 -0500 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03olkn2089.outbound.protection.outlook.com [40.92.59.89]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AC27109 for ; Mon, 4 Dec 2023 02:10:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NowpoAlYgnkTATSrf2wfUwTFf57G1vV2PktTdE+wSG01MUzzhXALJIPHKubUsK4y+fwOGoDXkJQpO8eovujzrMtGvn/rTsvaFaEYg1GD6rMBgfi3SK2u4FysC6p5atb9fUfQw5u6DDhg/jfZrdmCx6agLVJQdnvAwXm26YjLXsccODhRDJ6ns3KDaOqO8TNcykf1ppJiw+D1Ew0r1yC7luZsdyM9HKMnx3a3p8OeLf5+43UI17d9E4bNJ7DpEYFsFSAgwRKTQgLoH6Smr6xWTxMlE+1R7BWeudjnnaWrziOKvEmn7VIpRUYtecTcVrRKs0bKZqPOQKKdn4v0jfigGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+CkJu6WS5a/5qmN6jvqA2dal626d/g5UUOl67NBlNh4=; b=fNybH6+VSOV5pL7+VP5d5yWxh4m1eUFrFmzqyAj/J3ESWxND5eQ8RHIZj4VzDotqmLiUrL31yyEOmCZX0QmqluqJRvrtc5L79/lrJO2k7EuYdZDnPFotpNR7h6dqxrS69d9r8pOsJ/zCQRxdQ++034ftnn84jFyim65wXmuv9LNwUV1/DEoWKHtCZxEgMBeDGL98I5OZVToF7DrAn4j4YjuSLOhjq7QXIH1OjfGDxOB8Bt9lO3z/nLR6IZvn41LzCV6XiFazEusZGGajWJmN+GmwdMfo+G7ZziCoYRt4Q7pMmSnXobsIWJ3zXdL4RKeFKUe2yAdBooIRmXoV9rkl2w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+CkJu6WS5a/5qmN6jvqA2dal626d/g5UUOl67NBlNh4=; b=WKlph4s8ivpRwAeH7svcdjkJM5HOQ9Y9X0PjPsY2GIZeLycsBii03PvLsHt3xY+MW61gJUbBPFtNeO8zOX8E1jbSwYjyGekOpt9TLxt+FS21oGnvU07+SvaD8HwBvXVQ54GXYtiJTpuvsDNSF6izGzbbNHMS9CX2kujhbT/lweld7FV00ru3KmjjyrEvVv9SryqF3F2BsPsYcysaBee1oOXZqMaQVECB/HQiwcqvx2gUvQaxWiUYiHW+t412yvHb1/smnvAZJLP0m9HoQyNBB5jAsLPpg+0DM+JbTxa8vM9V7SCebOLjVGNZIry6bXKOf1QZl+tp1nD8ZYy0XzAZEA== Received: from AM7PR10MB3923.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:172::24) by DB8PR10MB3864.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:165::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.33; Mon, 4 Dec 2023 10:10:45 +0000 Received: from AM7PR10MB3923.EURPRD10.PROD.OUTLOOK.COM ([fe80::1fc4:7df9:3d95:eb28]) by AM7PR10MB3923.EURPRD10.PROD.OUTLOOK.COM ([fe80::1fc4:7df9:3d95:eb28%6]) with mapi id 15.20.7046.033; Mon, 4 Dec 2023 10:10:45 +0000 Message-ID: Date: Mon, 4 Dec 2023 10:10:46 +0100 User-Agent: Mozilla Thunderbird Subject: Re: Kernel problem with multiseat on one card Content-Language: nl To: Bagas Sanjaya , Linux Kernel Mailing List , Linux DRI Development , Linux Nouveau Cc: Karol Herbst , Lyude Paul , Danilo Krummrich References: From: Gert Vanhaerents In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TMN: [Z2TbAV7/bHaGYf/Tp7LZhTba60ILfNuM] X-ClientProxiedBy: AM0PR04CA0131.eurprd04.prod.outlook.com (2603:10a6:208:55::36) To AM7PR10MB3923.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:172::24) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR10MB3923:EE_|DB8PR10MB3864:EE_ X-MS-Office365-Filtering-Correlation-Id: 87fd4a6b-d511-4aa9-74d1-08dbf4b14765 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BG8nVXG1uC7aYAcXO8oAOOPRR8ZN6jCbHEr11Pa9JevrtrkCNS6FWKnou/UK8QI1n1KfO3tNxtdGWvnFBIHJaR33sp0oUcQ8DAnsQU3Nqx0mzTuym68mobR16QcyjuRpQqyhK0MFvMk2Itcxxfidiw1JQFgSz4aR5S2wPSLJWo2YfIRikOBZfZLq+W+Y9kvqUMcMaxlQXbxVxrjQV6wWQ45B6BhWXdZciWwFQHCslIHYCk7hl4WDWqWDCcexH1VMgDSSM7hHu2S5Wd66E1SX8O5z/Tku3arlx6XIFDjp4NC2o6BCaeuL77d1tDE8+Y8qwRuLvnWMI8CkSGT5WomOGYE0KqJ2nCdk13++VLjkfzI35yUNJhakT4pGzLBBYN4W0ehqowwwxVjyP+CEYm2Rh8+wzImusVirOwsxieGbb6kQ/0BcHbDNcxZIzMBMuR0wnKhY5J/Nq05ZTIeWMb9YGCgzJSeix5uzSctlMx5a8tffK+xjifLR9GxEoT7zGAqp7hzY/SIdfZSXTxHThyUox2Hm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ov0WvAU0Xy9Q5myDkYM=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-6b909.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 87fd4a6b-d511-4aa9-74d1-08dbf4b14765 X-MS-Exchange-CrossTenant-AuthSource: AM7PR10MB3923.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2023 10:10:45.0317 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR10MB3864 X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_MUA_MOZILLA, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 04 Dec 2023 03:25:14 -0800 (PST) Op 2/12/2023 om 14:18 schreef Bagas Sanjaya: > 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. > Do you expect that GUI output is on both seats? I want the result that i have one seat (seat0) on the VGA/D-sub output of the graphic card a second seat (seat1) on the HDMI output of the graphic card and a third seat (seat2) on the DVI output of the graphic card In theory it should work with the following: loginctl attach seat1 /sys/devices/pci0000:00/0000:00:03.1/0000:08:00.0/drm/card0/card0-HDMI-A-1 loginctl attach seat2 /sys/devices/pci0000:00/0000:00:03.1/0000:08:00.0/drm/card0/card0-DVI-D-1 But when i do this all the outputs will be used on seat2 (because they do all the outputs automaticly to the latest attached seat) >> >> When i install the proprietary Nvidia drivers, i have the following: >> >> [MASTER] pci:0000:08:00.0 >>           │ ├─/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/renderD128 >>           │   drm:renderD128 >> >> ─/sys/devices/platform/efi-framebuffer.0/graphics/fb0 >>           │ graphics:fb0 "EFI VGA" >> >> So no VGA, DVI or HDMI items. > Then report to the GitHub tracker [1]. > > Thanks. > > [1]: https://github.com/NVIDIA/open-gpu-kernel-modules/issues >