Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2609964rdb; Mon, 4 Dec 2023 02:26:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IEx/2/5X2GMlO3mJfZYfTFf2DbJzoPD6CpHArYIgZSX+VriTnd087U1lITWH4aNCPi6otYU X-Received: by 2002:a17:90a:9ce:b0:286:6cc1:8653 with SMTP id 72-20020a17090a09ce00b002866cc18653mr1663095pjo.56.1701685597222; Mon, 04 Dec 2023 02:26:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701685597; cv=pass; d=google.com; s=arc-20160816; b=VuEA3xN4BKcPiBQoAW995uMx57kV4xxw2HbOSkw9YPm0ld954O2UnUNEES44EkGBEB uSra1GhPm1Azm+oySLtYsHLdHggXYKjW3C0CWefbohinpSRzCugevG8UN8NNMzq8yBKo BZN05oPbIKRVwa9EltjDx9HK/w/weg0EW7GoCWGlJWDPoJbz+p/jsOp4Vy1qo6NDKqSP k4DWzL7db+wMCRO8vFkPo06VZFFirmrUbbvkLFnNEr1ZyWG2EOj+2+0SgOVmUi50z/VB eoqIyGpux4XY2YEYfY6UgZrXKEPH7zBouqgEt8Ymh/eRoBKUVHRwihdixgu/3TcdsIfr bH3w== 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:references:to:from:content-language:subject:user-agent :date:message-id:dkim-signature; bh=7S1XkJ12r3tYiK+krXdX8A5bV5jNuPbqBXyZ46qgkd0=; fh=ttua2sGX644BLdo5e+qp38/chCknwK8TT0XZjaDo0ek=; b=AYV4Dgy4Z/SoU6BJKb8EVHzh/3mOZfDdCyC5suZyuv3KUirCJmvmuyNjJq1X6vNYm6 IjY2vdfjLllcWhnCb9J9TijU44YNnUeZmJoSvJf+l7ZlNUbwVA8AspfkJ3EYTBjX4z94 87Cl1E7XiUOoJexC7M5GWD0Js/EKYeNrW9ruYER63ZsP9Z58KSQu6Fr2j4gR6/9we0jj 8o1biBi8qyYrR9xvmYi46PSofug1CNt7mmoXE7BVW7LwUTpXYIq5XnS1Vv32Tp2Hhi++ jqukZn0zzrQtBeVIiffxmRwyG8ewVWUnpK0ih+LQLjx+BB5z4zVsV+jIdyIEwTdIsMrN PG1w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hotmail.com header.s=selector1 header.b=oMUnfWDk; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id m21-20020a17090b069500b0028656396773si5823148pjz.109.2023.12.04.02.26.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 02:26:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@hotmail.com header.s=selector1 header.b=oMUnfWDk; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 4085A807502F; Mon, 4 Dec 2023 02:26:34 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343932AbjLDKZi (ORCPT + 99 others); Mon, 4 Dec 2023 05:25:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235400AbjLDKZK (ORCPT ); Mon, 4 Dec 2023 05:25:10 -0500 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05olkn2045.outbound.protection.outlook.com [40.92.90.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4041ED64 for ; Mon, 4 Dec 2023 02:25:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cSp0XJVMFER4VhbzkPHrYXGgAMSW1DxNX22JFxa1A5hYiFIaj21iaWA3PE2ksWfUymHDgoGLKpL2PKECUxnO7fiR3Z8UvT3o7q8qorC3ynYkmFf2tadiDgL/AeqR5OqaR7HKHg72nAvAJAFYRFDYpmSFiM0G5fj5XAKhqo62pDuGfK7+yWR5ReV38oz8jgJi2EbdsK8QdP5nAdlp+XYP8VEUVJGuk5cvP4sG+3P7Duh5MgGKw5LVavPel6JGeK1zMDs3JSJtjElmMsK+y0/+wxxZUq0AmkpdiJ2UTISCg6OWmTRud56WrxyMhPgfCWrSLqELedEOhoOCSwGaZujuVw== 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=7S1XkJ12r3tYiK+krXdX8A5bV5jNuPbqBXyZ46qgkd0=; b=nGnHyBEUsbE7r/LN/BcGJVCPmhv5OxnJ1aCN4gSgZQahQfEoyP1s0q3KSDYnt9Fv7rD1ym3SZaJxD7rVXo/vgHjIS/11obwldJ+ZmAkfrbB2nIf8b3ScWHrdCSCaEynyrkt9YnaMzPVrxJPF3jFNexAet19QfSqOvJ3GNssgXdgDDTAkvK0rHuvzStYBPUxP0pc7eX53Ju+yYzFp3N3FcgBtFVdhiri9G5yV984bkgLM+Vx8FDKJNSXxnA76aqo++jr51SuFG0dDBLkI2tDaKyXKqvVuYQiUpr73jo/z7rJYaJJdhZzsbs+E2ScOEgnTCNtevTJUlGtzByfxe/ZHKA== 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=7S1XkJ12r3tYiK+krXdX8A5bV5jNuPbqBXyZ46qgkd0=; b=oMUnfWDkn9jnV89H2rz+OdZ2eu0sao2KIPcMyAUpUVef6xIG3ZPowoBdEDMkj/+2Gl2HhjfNa7vccPj7f4l6HywjH0u0m5r5d0tl08EuyPgZcd78ydK19aWWet3HY8TStl23s0AmmC3uGzbejIP7Qe0+I1Aea0F/wDuxvCsjjQmu5xa8KQMV8REOQ/6XG+m4w7xhZm/iorbvXPOdZvSau7wlxo07uE7vpJ6E1tK6GFIjvDLeGsGiulEiBoKEgDScNuXt+Gt6C7+K9H8gBV6P9nSCoXAFAnjl0Yt5Oa248Xp47QWHnxKSt+l+jUu9nYmmRPbhi9dLOsqL+e1Qxjy8uw== Received: from AM7PR10MB3923.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:172::24) by AS8PR10MB6844.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:5b6::10) 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:25:01 +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:25:01 +0000 Message-ID: Date: Mon, 4 Dec 2023 11:25:00 +0100 User-Agent: Mozilla Thunderbird Subject: Re: Kernel problem with multiseat on one card Content-Language: nl From: Gert Vanhaerents To: Linux Kernel Mailing List , Linux DRI Development , Linux Nouveau References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TMN: [EqRXoId7wOjnKdngLk9hTyB03hr9lLCy] X-ClientProxiedBy: AS4P191CA0030.EURP191.PROD.OUTLOOK.COM (2603:10a6:20b:5d9::16) To AM7PR10MB3923.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:172::24) X-Microsoft-Original-Message-ID: <93f79670-bc25-44fa-b829-60efb7820d72@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR10MB3923:EE_|AS8PR10MB6844:EE_ X-MS-Office365-Filtering-Correlation-Id: b17ecebc-3e71-4c38-54dc-08dbf4b34599 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: etDJT3BT74Ag4Mq1HqNubnnj3pB3VQ0lxP/y61h+MI5BMLtRLk0FpShIQiBXPH0edOfjC5qRfBuzlT2jehq9s2qgP2bvU7ZNALfaezjZhlrOMowMOy1yHjBRT4H6oNgII8gE8XagtsnSXTUrnLjqTZKL5dOIh8KYzudH7MLJTH9IuA8tFh/nMYGRQv54JjFf6YmTE26rMG0UUhRZg0FMDIeOL3BsN+Iyx3OdPJSaNjF0nwqK3uyzTH+l66vLGwiSCAHZZen/oXIdQ7IKbTJ4dE8fMifSeurplmaI7BP1j0KTK2RaBwcjcg7HjW1F9RzVbEeYOqr3APzT1k0fybJH1+daau0ru6OsCiRrWMMkpz3YtodkVxVEtDA9nB1DkrYNHQqjeKUvPUctfr2PV4wBKGRJl7i+5ffWIzvFjaX6XOtuOOygTdur1ppXWmOMEvgPsWFgSgY7VeBzQ+CQW3rXSkYXep7hsPNu8uoS+wyON939JFb2101O+MJHaapnRxOnd0fQ+k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uSk1h665XGHemJTJWk/CctQ8oR3I8Y22PktBjIR8PY=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-6b909.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: b17ecebc-3e71-4c38-54dc-08dbf4b34599 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:25:00.9926 (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: AS8PR10MB6844 X-Spam-Status: No, score=2.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FORGED_HOTMAIL_RCVD2,FORGED_MUA_MOZILLA, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,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 lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Mon, 04 Dec 2023 02:26:34 -0800 (PST) X-Spam-Level: ** >>> 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 >>