From unknown Wed Jun 18 23:12:50 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#49847 <49847@debbugs.gnu.org> To: bug#49847 <49847@debbugs.gnu.org> Subject: Status: OpenGL applications may fail to run on foreign distributions Reply-To: bug#49847 <49847@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:12:50 +0000 retitle 49847 OpenGL applications may fail to run on foreign distributions reassign 49847 guix submitter 49847 Maxim Cournoyer severity 49847 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 03 13:33:15 2021 Received: (at submit) by debbugs.gnu.org; 3 Aug 2021 17:33:15 +0000 Received: from localhost ([127.0.0.1]:41304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAyHz-0000tz-Go for submit@debbugs.gnu.org; Tue, 03 Aug 2021 13:33:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:50596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAyHx-0000tr-Om for submit@debbugs.gnu.org; Tue, 03 Aug 2021 13:33:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAyHv-0004mS-K7 for bug-guix@gnu.org; Tue, 03 Aug 2021 13:33:12 -0400 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]:43922) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mAyHt-0006y4-9p for bug-guix@gnu.org; Tue, 03 Aug 2021 13:33:11 -0400 Received: by mail-qt1-x832.google.com with SMTP id k13so14433908qth.10 for ; Tue, 03 Aug 2021 10:33:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=IE4JIGdrm+/ibyt2HbzG22Ie5DTW+d8rM6xNehyFIA4=; b=obkYcHJ8bBK/NRWHaurlkT9lOx/v6ApvPbA4j5KHQHCh4nuGZ1gmr08kF8bG6Ps35f N2BCjEpDraeLU80Cv+I4MWqdwBa3a9FHnFvQvJDVsuFRw8N6bfLHkUvaTUwjwwBFVIAh VGxZAayWbqztOf0Bfbo0aIexUC8BMtUE2B2aMs4S3kh66RlWej6uGCjwXKIJTpUxPi2R QWjf2raK1S0meqJzn/XfGMfT0fUz3t9bgj+10y/KcS4LqjmtvqGGwWIhjIxMaAst8sGq Aik+QfHwUWuznpqGzQwfs7uzogVtcY8gspiPe29cnlMPcNMH3rRRDdeaBSwnOABYRTkq aOzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=IE4JIGdrm+/ibyt2HbzG22Ie5DTW+d8rM6xNehyFIA4=; b=cIlPVPOdbMGyv8qX398+C1UO3osSdxtmlOx/GW9UmIwLR7iYeWucOTXt4YchYpvQcB L9awMWFm850upvShPa/dhr01ZLrF42yznIeMvpmeC7507lsMBgZcdVswZ9dWPbsIVkbr YMdJhE8w3lSI2yrKw2nmjc7yMIOT7ZmukFTJEfB6rsMuLQhYsoBoRZ5JYFIsespz0zuM fmN7WinigrQuwMxyl6vPPrAbp5MFWrekSk6GAmjVyuZ5KNQsV1XtEeEFes/hx+ogXbeu 0fj+u0FWYeI7Cx0Q/jDtjUB42+JNOJ+CD6SiexZHd59Bbkaf3z1pS/RKIse50x9GbRnl icUg== X-Gm-Message-State: AOAM531a1BH5A2g7qhUBQg5fTMMcxesm7jYrp26hwAKyPk0D37joJAr9 Dk+LdDUwhqyN+flxVJCaRMaZKWA4jlQ9KoVb X-Google-Smtp-Source: ABdhPJz14+NhGbRjs7AwUSp4Yb1Udsj05vPjXppziO7Yn9L3TlUB7rx0E3lupOe2mJNO6A1WIRXovw== X-Received: by 2002:ac8:7b39:: with SMTP id l25mr19647490qtu.230.1628011987697; Tue, 03 Aug 2021 10:33:07 -0700 (PDT) Received: from hurd (dsl-10-129-132.b2b2c.ca. [72.10.129.132]) by smtp.gmail.com with ESMTPSA id b1sm1363875qtq.12.2021.08.03.10.33.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Aug 2021 10:33:07 -0700 (PDT) From: Maxim Cournoyer To: bug-guix Subject: OpenGL applications may fail to run on foreign distributions Date: Tue, 03 Aug 2021 13:33:06 -0400 Message-ID: <87k0l25t7x.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::832; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x832.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hello Guix, I recently discovered that on systems that used another implementation of OpenGL than those provided by Mesa (such as systems using the proprietary nvidia or AMD drivers), the OpenGL application would crash, sometimes even requiring a reboot of the host system to recover! While the issue could be dismissed due to the use of proprietary drivers on these systems, I think in theory there might be issues also when mix and matching Guix's Mesa libGL along the foreign distro kernel (which may run Mesa but from a much older/or recent version). I also think that it is quite surprising that graphical applications distributed with Guix packs fail to be 'universal' in the way we've come to know them for CLI applications. It appears this issue may have a solution in enabling libglvnd [0] support in our Mesa so that the GPU hardware vendor provided libGL.so could be loaded from the system instead. Thanks, Maxim [0] https://github.com/NVIDIA/libglvnd/ From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 03 17:14:04 2021 Received: (at 49847) by debbugs.gnu.org; 3 Aug 2021 21:14:04 +0000 Received: from localhost ([127.0.0.1]:41656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mB1jf-0006FJ-T6 for submit@debbugs.gnu.org; Tue, 03 Aug 2021 17:14:04 -0400 Received: from mx.kolabnow.com ([95.128.36.41]:50942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mB1jc-0006Eg-7x for 49847@debbugs.gnu.org; Tue, 03 Aug 2021 17:14:02 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out001.mykolab.com (Postfix) with ESMTP id D0B47CF5; Tue, 3 Aug 2021 23:13:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:date:subject:subject :from:from:received:received:received; s=dkim20160331; t= 1628025233; x=1629839634; bh=NccVWEAX8aM03xhoD0mdzn6EMlq+jKySMBF egC/r+88=; b=yrU3H0Gf2VdzmPzp/UMfcpQTrkra7eXc0oSLSwEGTlIQQzkV8dA Mj8RVRzNGqolpltAoi+nS9h1FUTj47lQp7qxhXnTlx+8ewzAO9Sc65X+srVmMahO y64xSNFGUW0OqKj6ZUD5AfytQ3XotU7dpBDWdZsTIZNBjagslBoykjTtbv1+s/kD iP5a/J6AK+zu0VILTc0aHhFNC0YfsF8RTVc63wIaamtNVI2lw27jqLiiBOrLoDSl EtQBYmnGsKWqCzDscj56Cg5XYPjnM7pxzomz5lYSkTr1b9ws1niDR9419FDqrBRl H+cpIeWxN/+1jz7ECpKdLMur2ZE0WeEYx1wh7IeVUFmM+TdXte03PZjai3ZkXJPM AZXKYjibjT70jbXROF1tGYCGFekjYpAgheLm+bJYxqmr7v4vpxDZs18RiJtOfXw5 ALLYpzI7kQ1xUbY3dYpz/NDFZ8mAHPW/s2a+QAmrQrK8fLAYqUhOzCauAZ9mNEoC SoTQUDYudkmFn+zy54azNxozAoO6VIvP7IYUXoy1vr4vHUvqjcUq399QjldWBcnU 4AABB+ZYcdH1EA5GisCk0oopulOvtHXM3XnL/AyIvVUYRWANeJ+n/aEXZy0YyrRC CyEaHa87iMuSCZL6yBW7xFkBcf3Deo1bBeadQb3H2uAmLHBDsjngkH+o= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.899 X-Spam-Level: X-Spam-Status: No, score=-1.899 tagged_above=-10 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dtkifeOwmN5R; Tue, 3 Aug 2021 23:13:53 +0200 (CEST) Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by ext-mx-out001.mykolab.com (Postfix) with ESMTPS id 3439E82B; Tue, 3 Aug 2021 23:13:52 +0200 (CEST) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx002.mykolab.com (Postfix) with ESMTPS id 6F51F5879; Tue, 3 Aug 2021 23:13:52 +0200 (CEST) From: Thiago Jung Bauermann To: 49847@debbugs.gnu.org Subject: Re: bug#49847: OpenGL applications may fail to run on foreign distributions Date: Tue, 03 Aug 2021 18:13:46 -0300 Message-ID: <1948377.OP2kyRLfc7@popigai> In-Reply-To: <87k0l25t7x.fsf@gmail.com> References: <87k0l25t7x.fsf@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 49847 Cc: Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Em ter=C3=A7a-feira, 3 de agosto de 2021, =C3=A0s 14:33:06 -03, Maxim Courn= oyer=20 escreveu: > It appears this issue may have a solution in enabling libglvnd [0] > support in our Mesa so that the GPU hardware vendor provided libGL.so > could be loaded from the system instead. As some additional information, the first version of the patch to update=20 Mesa provided in issue 49339 enabled libglvnd, and there=E2=80=99s some dis= cussion=20 about it in the ensuing messages. The Mesa updat patch that was committed doesn=E2=80=99t enable libglvnd, an= d it was=20 decided to address that change separately. =2D-=20 Thanks, Thiago From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 04 17:30:32 2021 Received: (at 49847) by debbugs.gnu.org; 4 Aug 2021 21:30:33 +0000 Received: from localhost ([127.0.0.1]:45310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBOTA-0002iX-Mw for submit@debbugs.gnu.org; Wed, 04 Aug 2021 17:30:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBOT9-0002iL-9o for 49847@debbugs.gnu.org; Wed, 04 Aug 2021 17:30:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45462) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBOT4-0002UV-3b; Wed, 04 Aug 2021 17:30:26 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=45362 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBOT0-0005oT-6g; Wed, 04 Aug 2021 17:30:24 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer Subject: Re: bug#49847: OpenGL applications may fail to run on foreign distributions References: <87k0l25t7x.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 Thermidor an 229 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 04 Aug 2021 23:30:20 +0200 In-Reply-To: <87k0l25t7x.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 03 Aug 2021 13:33:06 -0400") Message-ID: <87fsvonbir.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49847 Cc: 49847@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Maxim Cournoyer skribis: > I recently discovered that on systems that used another implementation > of OpenGL than those provided by Mesa (such as systems using the > proprietary nvidia or AMD drivers), the OpenGL application would crash, > sometimes even requiring a reboot of the host system to recover! Ouch. Isn=E2=80=99t it similar to the problem with libc=E2=80=99s Name Ser= vice Switch (info "(guix) Application Setup"): If the nscd is not running, then [applications] perform the name lookup by themselves, by loading the name lookup services into their own address space and running it. These name lookup services=E2=80=94the =E2=80=98libnss_*.so=E2=80=99 files=E2=80=94are =E2=80=98dlopen=E2=80=99= =E2=80=99d, but they may come from the host system=E2=80=99s C library, rather than from the C library the applicatio= n is linked against (the C library coming from Guix). And this is where the problem is: if your application is linked against Guix=E2=80=99s C library (say, glibc 2.24) and tries to load NSS = plugins from another C library (say, =E2=80=98libnss_mdns.so=E2=80=99 for glibc 2= .22), it will likely crash or have its name lookups fail unexpectedly. That is, Mesa can dlopen =E2=80=9Cdrivers=E2=80=9D (shared libs), and if th= ese drivers come from a foreign distro, the application is likely to crash sooner or later. If that=E2=80=99s what happens, we=E2=80=99d have to arrange so that our Me= sa doesn=E2=80=99t dlopen non-Guix shared libs. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 04 22:21:31 2021 Received: (at 49847) by debbugs.gnu.org; 5 Aug 2021 02:21:31 +0000 Received: from localhost ([127.0.0.1]:45496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBT0l-0001MI-8V for submit@debbugs.gnu.org; Wed, 04 Aug 2021 22:21:31 -0400 Received: from mail-qt1-f169.google.com ([209.85.160.169]:33500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBT0j-0001M5-Om for 49847@debbugs.gnu.org; Wed, 04 Aug 2021 22:21:30 -0400 Received: by mail-qt1-f169.google.com with SMTP id b1so2917574qtx.0 for <49847@debbugs.gnu.org>; Wed, 04 Aug 2021 19:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=VFS0/3yEvvo/NuRe2jStCj3JT6bWg2B1ReheqV6Ds1Q=; b=tbZwUKgK4WuYq75E1Q023Rjh5idihVknMN1wrQ77s9vQyPqPYwVeZCNCHsQjwSYj2H lMDmJqJJ59Gcy/s7NCmD4JUDw7MPebdfHqSfPnhwvtKPPTfkD+OrsV74ghlg/r9LdOT+ QvD2qRIISUyT+7RFd98/7kycdO8CuYc8xB4D7z9qL00Y+0PBhAxiOyyjrKGX3bKlRjv7 aVNJ6S48HgCrwH9qh4U/pewG4X3WtjFgm6XFTrss1xh4Hf7JDvmEQzsG/4YJyXQNrPLG DwEFFNnqBQugw/tLNCdiXFUUXNqzn4i2uiF+zRBz6Wl59FORWlAST3M0/umDVwKMjn6Q UD3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=VFS0/3yEvvo/NuRe2jStCj3JT6bWg2B1ReheqV6Ds1Q=; b=mKJuCL1j26GEU5nH9IOdkTveOp+aXd1qfZ1Ox0TdfQBw2SFeT/xD4LrUlhgQqrqL4A SX5mQrM1ly64F7TYRLFZ518luRG5UEgQ5Pr/CHd8ghaRt4yvOugR11WixaFq4n6hDPV1 UYEyvv3ehHITibMMzGP2QXUudMMdb4a0WsSpyIBg05XUNXfp1tfe3nU2t9vEZKcRX7a9 /sFpxvMq31AFEZLCm92uXrMLtZ+rT0ob8VlzHrONJ7UnRQ0D3xER4wQk5eLsBsSeHXEV 2ZXWMvoRmMRC3bMIQvp2vOWmv7PLpcLF7yIiiG3C8kE5ypjeGRxkKp2BmhiHiRoT4G15 v+jQ== X-Gm-Message-State: AOAM532SkA2VoycGl2LwSGa0LvLzRux7eVWFohWzlBqXrek+H3HQFKl+ 1D4fsnyV49Wro7CrD56NMhDKrzaRBuTqXw== X-Google-Smtp-Source: ABdhPJx7IxJ18YmjNgiMXBVOuIPJNFgm9PFZjyyyt4wFNg/i/NGCZLJwdsFxLf7+XNaVKTKZVr64Sw== X-Received: by 2002:ac8:4a13:: with SMTP id x19mr2402277qtq.61.1628130084245; Wed, 04 Aug 2021 19:21:24 -0700 (PDT) Received: from hurd (dsl-10-129-132.b2b2c.ca. [72.10.129.132]) by smtp.gmail.com with ESMTPSA id m188sm2403456qkc.99.2021.08.04.19.21.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Aug 2021 19:21:23 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#49847: OpenGL applications may fail to run on foreign distributions References: <87k0l25t7x.fsf@gmail.com> <87fsvonbir.fsf@gnu.org> Date: Wed, 04 Aug 2021 22:21:23 -0400 In-Reply-To: <87fsvonbir.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 04 Aug 2021 23:30:20 +0200") Message-ID: <87r1f8my1o.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 49847 Cc: 49847@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludovic, Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> I recently discovered that on systems that used another implementation >> of OpenGL than those provided by Mesa (such as systems using the >> proprietary nvidia or AMD drivers), the OpenGL application would crash, >> sometimes even requiring a reboot of the host system to recover! > > Ouch. Isn=E2=80=99t it similar to the problem with libc=E2=80=99s Name S= ervice Switch > (info "(guix) Application Setup"): > > If the nscd is not running, then [applications] perform the name > lookup by themselves, by loading the name lookup services into their > own address space and running it. These name lookup services=E2=80=94t= he > =E2=80=98libnss_*.so=E2=80=99 files=E2=80=94are =E2=80=98dlopen=E2=80= =99=E2=80=99d, but they may come from the host > system=E2=80=99s C library, rather than from the C library the applicat= ion is > linked against (the C library coming from Guix). > > And this is where the problem is: if your application is linked > against Guix=E2=80=99s C library (say, glibc 2.24) and tries to load NS= S plugins > from another C library (say, =E2=80=98libnss_mdns.so=E2=80=99 for glibc= 2.22), it will > likely crash or have its name lookups fail unexpectedly. > > That is, Mesa can dlopen =E2=80=9Cdrivers=E2=80=9D (shared libs), and if = these drivers > come from a foreign distro, the application is likely to crash sooner or > later. I'm no expert on the matter (yet :-)) , but I think it's more like the other way around; the Guix applications are hard-coded to use Mesa's libGL.so, which has its own expectations of what DRM drivers should be available from the host system's kernel, or features they provides. When someone uses another OpenGL implementation than Mesa's own, apparently all hell may break loose. Maxim From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 07 23:57:10 2023 Received: (at 49847-done) by debbugs.gnu.org; 8 Aug 2023 03:57:11 +0000 Received: from localhost ([127.0.0.1]:34683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTDqI-00042b-Lz for submit@debbugs.gnu.org; Mon, 07 Aug 2023 23:57:10 -0400 Received: from mail-qv1-xf2d.google.com ([2607:f8b0:4864:20::f2d]:60911) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTDqG-00042N-82 for 49847-done@debbugs.gnu.org; Mon, 07 Aug 2023 23:57:09 -0400 Received: by mail-qv1-xf2d.google.com with SMTP id 6a1803df08f44-63cfe6e0c32so36325126d6.1 for <49847-done@debbugs.gnu.org>; Mon, 07 Aug 2023 20:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691467022; x=1692071822; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=1obOwnkHRQrVzTf1kYK00zateOaYi4C0XcX4bZ3Jv6I=; b=b6VxV1tYG1EfeyqN90dl0aAzSpWG4jQ+6PVRiws2yNTjBnuXjtf8Ncao29Xq+MYxYh q7QVhQp3DAhtrzGZVQsJ3LjANBTPDUqOfOyNW5Xisi0yEhAm1+eCLYVTirKriS6tS5Pt Dls8qQeAgCQgYrpI9MO8z/iy2f9kiA4u8XyO8H/TuJEyh8Gx+AJTifoyW8YXpKfKik32 ByWkPDn4dd3tdCv7JGTlWFWttpBIxJSRK/MvNlcCtklFPkuuddiT7NaZyQiWk5WIEJcJ JqVBiZYWEJApX3BcDDPDRVlk1RGVQNTAyU+0Z8azcZpsGy+ET9fCgwaHiocLrAMr8ddt XZrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691467022; x=1692071822; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1obOwnkHRQrVzTf1kYK00zateOaYi4C0XcX4bZ3Jv6I=; b=OMTO45l2SgAYLqQAhdreQquWtUw3HWjMB/UI44eryhpSqSgA3VdV6ljKjlaNqgKaEo 4QhDjAaUdzke+IfcNSGby1OyY2Dpf5dn1zTbcFeGCkwXXEzcSwCzLu1o1kZY8Z1u3ZUN fkvdefFUNmO1Jg5CT62cB5xaIePfJad7BnMByhBq2hi/PK7PdtoHFymmHWYbep5zY5sX OanRLamH61r687c4ONtV572qxQzpZJlPmW5ne0GyFofMYcZtKvwuwk23eXZIn4UrAQOj /UA2FG8wY8Ii3hapd9yolGKo99KVQIB1DV5R5P7aWyJYgS/I8fD0KEwcSjtiHzyWUTxg nRxQ== X-Gm-Message-State: AOJu0Ywafe3+ueqtdxisNTZbONUCoUn4hmzy+377JfTMOTJhMjkTbvrh sTYeaC/M1iiTK5Wf0pZQmFc/cwlguNveaA== X-Google-Smtp-Source: AGHT+IELs8Py/tYscDoabdP+4o2mILJfrRVtl9yz2xBXZdGAV7K1SfPrKi34z7CJdqMhpmwL8p5TYA== X-Received: by 2002:a05:620a:28d1:b0:76c:95a5:b86b with SMTP id l17-20020a05620a28d100b0076c95a5b86bmr18144703qkp.47.1691467022362; Mon, 07 Aug 2023 20:57:02 -0700 (PDT) Received: from hurd (dsl-205-236-230-170.b2b2c.ca. [205.236.230.170]) by smtp.gmail.com with ESMTPSA id pc41-20020a05620a842900b0076cc0a6e127sm3037947qkn.116.2023.08.07.20.57.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 20:57:01 -0700 (PDT) From: Maxim Cournoyer To: Thiago Jung Bauermann Subject: Re: bug#49847: OpenGL applications may fail to run on foreign distributions References: <87k0l25t7x.fsf@gmail.com> <1948377.OP2kyRLfc7@popigai> Date: Mon, 07 Aug 2023 23:57:00 -0400 In-Reply-To: <1948377.OP2kyRLfc7@popigai> (Thiago Jung Bauermann's message of "Tue, 03 Aug 2021 18:13:46 -0300") Message-ID: <87y1imchkj.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 49847-done Cc: 49847-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, With even nvidia going with free drivers (sadly not free firmware blobs), I think we can put this issue to rest, at least for now. -- Thanks, Maxim From unknown Wed Jun 18 23:12:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 05 Sep 2023 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator