From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 08 Nov 2021 15:28:55 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mk5dn-00072W-1z for lore@lore.pengutronix.de; Mon, 08 Nov 2021 15:28:55 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mk5dm-000222-Ks; Mon, 08 Nov 2021 15:28:54 +0100 Received: from mail-db8eur05on2046.outbound.protection.outlook.com ([40.107.20.46] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mk5dU-00021t-Ds for ptxdist@pengutronix.de; Mon, 08 Nov 2021 15:28:37 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mb2LegG+5PMh3w2vz8S9oePJSvoOn/R3OuvVyUpBBKXmMTCIKLABzr7YfapLncFtm/iXM2Aeir1dV5C99XGF1U+SaQctsWWUuTOpyxrcfIeISWNJHGduLVigEVcc2LEVuJuBZTmpdVeZOE5a2WC6VTi/iBH5DEMzKa6swWaugFN83zw7JVbxyFNEnoptXpWmyqK9DoSIwZHhY4iwcPP5DP7wlR4ioJ2AsWVRjMnsZdWFaquop9cWCzrMaMbr9ImLj1Ao2NcgmGarMfh4WzdxZq9C1deh4aCe511V8WlkMakxgKn4xLyLYv/qmLCwBYvZOCYeK7gArOFO2zTjzGTGcA== 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=PEHjQ0uPBywK2Sy0+4o6f3wBfSndWgu171bFs9L6xr0=; b=nonT7sD3uAe4o/VEyXBJeVeWdqiYNK5CfXaA+9KJEJEkSxR7Dpt2CTfcMelv3AjUxlcMFbV/epfoxwzD/u0VQBArt41G6WYJz++I/lyI3DVg84tf6qAf5OXQ4JhHjyBpsvc6HANJiTSOBtTYi7gUw25ADTAAoPWala9bp9w7zocY4y/NgInx+3jOEBcDLk3jaU4namH2fFb/oO6jTlGTK4LEsKqLEbB9eKi78MwJS2XM456M2KgSIjcczeH0t12j1iVEFGxmxogXh7hP9/oggAl4NrLZ++MiRkE5EBC2FwM4mBHGooSZ41rSQsFL0vw/blrUwSn32hCqKkaMxWpLuQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PEHjQ0uPBywK2Sy0+4o6f3wBfSndWgu171bFs9L6xr0=; b=YvZKHZ9HhW4fP+Z8GGgykawuFGNpDr7w7iPGkbbgX/FcsrLQVMJbadC6AO59EUOFJLrk0rOG2FBHNzSlSvA3khheh+y3sPzGqUogbv4ygdCYqur/OdmRck5MzZYTUpIZ1nsre4O34yAVGUIziiqKQGpQreQMuuvEif3zDfVuTJE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=t2data.com; Received: from AS8P251MB0167.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:403::21) by AS1P251MB0453.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:4a9::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10; Mon, 8 Nov 2021 14:28:34 +0000 Received: from AS8P251MB0167.EURP251.PROD.OUTLOOK.COM ([fe80::4512:e545:5ad5:7d61]) by AS8P251MB0167.EURP251.PROD.OUTLOOK.COM ([fe80::4512:e545:5ad5:7d61%9]) with mapi id 15.20.4669.016; Mon, 8 Nov 2021 14:28:34 +0000 Message-ID: <25725d78-9185-200e-c116-dda70751a16f@t2data.com> Date: Mon, 8 Nov 2021 15:28:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Content-Language: en-US To: ptxdist@pengutronix.de References: <20211108130304.GL22301@pengutronix.de> <9007ddc4-36fe-b33e-32c0-3f088623335e@t2data.com> From: Christian Melki In-Reply-To: X-ClientProxiedBy: GV3P280CA0105.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:8::11) To AS8P251MB0167.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:403::21) MIME-Version: 1.0 Received: from [192.168.7.217] (81.234.39.46) by GV3P280CA0105.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10 via Frontend Transport; Mon, 8 Nov 2021 14:28:33 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 688b3efc-1906-42ae-4866-08d9a2c40b83 X-MS-TrafficTypeDiagnostic: AS1P251MB0453: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hOPwwjNnWipj7NGs/joy2lZNwzXsAhPWH8f9j6kZUi+UTkGZVcj6MUqt2SqTa79iZG6jd3Pf+dt6sywz00nKJOrutwNgfzrgdWNvSP0r8HN2buEc/KfpC+imoRiP4qykn/oCym0BY58bfLIj5j/jOHvzRP2/gyJ6v9xNqPL0lJV6EFuFCy1CmEGUN1atsDr8++S3IPWdaryeZsPZ0y3tHx9Hd/5U0ZwYYLuSQTvjH/EBRskEotsSLiu67eTSKjqrUTciqAEmuS5jBaOWeT8QJqMnZuDu3k767siIMcecsD+mMoIEf1+6LHSgCWLchxSSycqyOt2c8FtrV7PnZvptatqWJxj6XMYQcKOEfhIIod7Lz9EvEvcg0aMGo391vrNTjQMu5b5q70YMomBxgsZTYCmrvyrPiQ8PKq71b9lqKKTp8xFmClPvo4EdeRJAiZdPLzCxWD3ddLjq0ZFN5Aim569iMS9WExq9AoddgEztDMAdkwch+459KKhqwDKG9MEQoLPQJphhDfu/7U84M+FI/u6WyxCETAA+pSbFdOZCNiw7d9s0mQS9joLT+VjBV+QdGvHtweUmK+6Fp494nag1RIWk7C45CIc14VX3Cig0hIdaffXkB9hvu7P7+nSRtp+6clhftqlkneG1p/8bTs9cRP63AEsM6AGgqzIsIVIuLmMPK7JTJVysZh9w8S11cE568nNjaW2O5Tof8xwLTm1luq+/TJBmT+azQywdPlREPFxTkDOJTFtAzwBEEAsZtpFWybRUIXgLIU8f5v6lbTr2vw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8P251MB0167.EURP251.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(396003)(366004)(346002)(136003)(42606007)(39830400003)(376002)(38350700002)(38100700002)(16576012)(6486002)(508600001)(5660300002)(36756003)(3450700001)(86362001)(26005)(31696002)(31686004)(66556008)(66476007)(316002)(186003)(8676002)(66946007)(52116002)(53546011)(2906002)(8936002)(83380400001)(6916009)(2616005)(956004)(44832011)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dXlST3pnVXZQdjBHYlRwZVRuNTBybmVHRmZRd2hNWDJScGxScElmMCtNR09V?= =?utf-8?B?RUx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M0dheXR4d2xrYUJk?= =?utf-8?B?aUx1ZWxwNEN3c2UyZ08wdXZqb2ppdjJCMkxrOGZXRWorODkxTTJTRmsraGND?= =?utf-8?B?U1lDM0RnUDBJREhUTXVXQXliRkZCU21wcXBsZHQ2NnZNcUgvSHUvUkpHTjVa?= =?utf-8?B?WFlGRlcwY1B4Um5kZ0xTYUE2UjJWZ2JEM2dNa1RhMlFTUHNWWGdueTVucjdr?= =?utf-8?B?YldOamJmUkU1eEFaYStwMzBGdDdkOHd2SW9oTE1ZUFgvQ1h3YlErRHBROHpB?= =?utf-8?B?VHRITXdNN0lVS0ZOZGRyMkh3eE0wYndWa3NpQVAzcWRhZzNqb1BJa0t5d2hx?= =?utf-8?B?Smp4eFlsWTlJNHNnamo1WXVaV3BNcVZQTkdmajhBRDBaQ1U0ZHk3T0d5c1hE?= =?utf-8?B?S3V4cGpVSkRxWUZCVXhYWjdpVGlBPT0=?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: 688b3efc-1906-42ae-4866-08d9a2c40b83 X-MS-Exchange-CrossTenant-AuthSource: AS8P251MB0167.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2021 14:28:34.1905 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8QWlVgNp4qZDQQV1YHNSD2E38iQxLhpC1iuATRl3zW0gKJv9PyirQSTiiyp+RdrNncs3UlK9ivAv+lNgNrQwnVTkoao8uwSGwMk52LsHAbA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1P251MB0453 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-3.8 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,MSGID_FROM_MTA_HEADER,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] mesalib 2021.11 broken kmsro driver? X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de, christian.melki@t2data.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On 11/8/21 15:08, Lucas Stach wrote: > Am Montag, dem 08.11.2021 um 14:37 +0100 schrieb Christian Melki: >> On 11/8/21 14:03, Michael Olbrich wrote: >>> Hi, >>> >>> On Mon, Nov 08, 2021 at 11:16:11AM +0100, Christian Melki wrote: >>>> The kmsro driver doesn't seem to create any .so files. >>>> According to people on #dri-devel it's builtin in other .so files? >>>> So the idea of kmsro library names to copy will fail in the current .make. >>> >>> What exactly is broken? >> >> ptxdist: error: missing gallium driver armada-drm_dri.so >> >>> In general, all gallium drivers are built into a >>> single file. 'make install' creates hardlinks for all drivers that are >>> built. In ptxdist we just create one gallium_dri.so and symlinks for all >>> drivers. >>> The 'kmsro' argument for the meson 'gallium-drivers' options just means, >>> build all KMS only drivers. So the list of hardlinks/softlinks ist >>> different. That's why we have the '$(subst kmsro, ....'. >> >> kmsro doesn't create any library hardlinks named according to whatever >> list ptxdist has. Actually, adding kmsro doesn't change built number of >> objects or generated library hardlinks at all. >> >> with kmsro: >> Gallium drivers: kmsro virgl r600 nouveau swrast svga >> >> [1621/1621] Linking target src/mesa/drivers/dri/libmesa_dri_drivers.so >> >> $ ls -1gG platform-secplatform/packages/mesa-21.2.3/usr/lib/dri/* >> -rwxr-xr-x 2 94331520 nov 8 14:25 >> platform-secplatform/packages/mesa-21.2.3/usr/lib/dri/i965_dri.so >> -rwxr-xr-x 12 127009440 nov 8 14:25 >> platform-secplatform/packages/mesa-21.2.3/usr/lib/dri/kms_swrast_dri.so >> -rwxr-xr-x 12 127009440 nov 8 14:25 >> platform-secplatform/packages/mesa-21.2.3/usr/lib/dri/nouveau_dri.so >> -rwxr-xr-x 12 127009440 nov 8 14:25 >> platform-secplatform/packages/mesa-21.2.3/usr/lib/dri/r600_dri.so >> -rwxr-xr-x 12 127009440 nov 8 14:25 >> platform-secplatform/packages/mesa-21.2.3/usr/lib/dri/swrast_dri.so >> -rwxr-xr-x 12 127009440 nov 8 14:25 >> platform-secplatform/packages/mesa-21.2.3/usr/lib/dri/virtio_gpu_dri.so >> -rwxr-xr-x 12 127009440 nov 8 14:25 >> platform-secplatform/packages/mesa-21.2.3/usr/lib/dri/vmwgfx_dri.so >> >> >> without kmsro: >> Gallium drivers: virgl r600 nouveau swrast svga >> >> [1621/1621] Linking target src/mesa/drivers/dri/libmesa_dri_drivers.so >> $ ls -1gG platform-secplatform/packages/mesa-21.2.3/usr/lib/dri/* >> -rwxr-xr-x 2 94331520 nov 8 14:34 >> platform-secplatform/packages/mesa-21.2.3/usr/lib/dri/i965_dri.so >> -rwxr-xr-x 12 127009440 nov 8 14:34 >> platform-secplatform/packages/mesa-21.2.3/usr/lib/dri/kms_swrast_dri.so >> -rwxr-xr-x 12 127009440 nov 8 14:34 >> platform-secplatform/packages/mesa-21.2.3/usr/lib/dri/nouveau_dri.so >> -rwxr-xr-x 12 127009440 nov 8 14:34 >> platform-secplatform/packages/mesa-21.2.3/usr/lib/dri/r600_dri.so >> -rwxr-xr-x 12 127009440 nov 8 14:34 >> platform-secplatform/packages/mesa-21.2.3/usr/lib/dri/swrast_dri.so >> -rwxr-xr-x 12 127009440 nov 8 14:34 >> platform-secplatform/packages/mesa-21.2.3/usr/lib/dri/virtio_gpu_dri.so >> -rwxr-xr-x 12 127009440 nov 8 14:34 >> platform-secplatform/packages/mesa-21.2.3/usr/lib/dri/vmwgfx_dri.so >> >> .. or something else that's apparently magic is happening. > > kmsro just wraps around other drivers that support the render GPU being > different from the scanout GPU. From the list above you have not > enabled any of those drivers (e.g. etnaviv, freedreno, panfrost, ...), > so there isn't anything to wrap around for kmsro, so you don't get any > libraries built. > In that case ptxdist makes a static assumption that libraries are being built and named, regardless what is selected? Problem is that $(firstword) from the GALLIUM_LIBS is expected to exist if kmsro is selected? MESALIB_DRI_GALLIUM_LIBS-y = \ $(subst kmsro, \ armada-drm \ exynos \ hx8357d \ ili9225 \ ili9341 \ imx-dcss \ imx-drm \ ingenic-drm \ mali-dp \ mcde \ mediatek \ meson \ mi0283qt \ mxsfb-drm \ pl111 \ repaper \ rockchip \ st7586 \ st7735r \ stm \ sun4i-drm \ > Regards, > Lucas > _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de