From nobody Thu May 25 00:57:39 2023 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QRV4j1MKFz4CPXP for ; Thu, 25 May 2023 00:56:53 +0000 (UTC) (envelope-from theron.tarigo@gmail.com) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QRV4j0qKdz3p67 for ; Thu, 25 May 2023 00:56:53 +0000 (UTC) (envelope-from theron.tarigo@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x82e.google.com with SMTP id d75a77b69052e-3f6c2f2de19so3674071cf.0 for ; Wed, 24 May 2023 17:56:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684976212; x=1687568212; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=qNV3j8Xshj37jqXvnC/RqnvWSvgnyWGwTFZ6aQsejAM=; b=fZqFYnkyeg95Me3mYDxM3Y2a7Cv4weixdVAomeS5guT9ukO1hxkD9oGqCz0IEM1Tvl DIc6UZ5NA2Dj37//+Q7/5a5147TEG9rgtk/GPcczpgmpkDSeAyG/x06JaWoKBkqywSMo 8Ah7Yup/VdqSgUQE4HHPh9ye1kcOqS2Kr9VUDNZ4K1AwgCxxqx+cw/twffOQEwZo/T+d FwQ6UWrEMFQngsvahclopo04faEdT8kDJoCey3TTrOUHSFgy8f43lX/0tPh7QicHo6rh 6d7CXTrzhvIGpv1p1h3AsKvUxwwGFmM7+1rmxCy6ZTXRLx40qs0cctx5nqNMTasqyE+p 9Zrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684976212; x=1687568212; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qNV3j8Xshj37jqXvnC/RqnvWSvgnyWGwTFZ6aQsejAM=; b=P7qaEjVvpUrLF8EKRgfP7hIv12GlbsSer87oHsqRR67YHVSvvKa3OxrOn07u85Fnob gOIZUB4nMiSpOkMfWdLrFS2PwePbJp9Fj7u9T6ZrVoCDUY23Mzpgei9lyUTbyqYRM9Tm 9LqcpzWaFvvHMPAn0wLDjV6dy4wHwK/ljWTKbrUCc2uETY0cY/oSIoGwAzrQ5HPuBw97 Dzf/B8zLXNgh33UZ9c1DZG8pFQ+0DGHLX5IWzCTdmDtzFWlZOdXLM6dnQNYohRwmlmWP XNN34sD71quRfw0s85sdP72g57Bs8Ezp+PftOP5k+FADcvZ/S038QKhbYGbr5L4CzOXN UVRw== X-Gm-Message-State: AC+VfDzJraeWTm5kQ1zylLUTrMwSdVx56rVh9ltuS2GhNnrluWfC1YzD PVVLFAZMnrztoqVPwA9kA+L44NlQ7XM= X-Google-Smtp-Source: ACHHUZ7ZOx87ynMfPbqDeweExkP60wOgePEjgcjBoaoelwLji0L7jWpFxbTYTlUUDJEa0eLjEUaUzw== X-Received: by 2002:a05:622a:11cc:b0:3f5:2faf:7917 with SMTP id n12-20020a05622a11cc00b003f52faf7917mr29587034qtk.9.1684976212353; Wed, 24 May 2023 17:56:52 -0700 (PDT) Received: from [192.168.2.18] ([71.173.77.129]) by smtp.gmail.com with ESMTPSA id u22-20020a05622a199600b003f6bc367ee3sm1708378qtc.36.2023.05.24.17.56.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 May 2023 17:56:51 -0700 (PDT) Message-ID: <46f1653a-89ba-6df3-6e3a-bd4a6c692be1@gmail.com> Date: Wed, 24 May 2023 20:57:39 -0400 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: How to blacklist the nouveau driver on FreeBSD.... Content-Language: en-US To: Mario Marietto , freebsd-hackers References: From: Theron In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4QRV4j0qKdz3p67 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 5/24/23 04:43, Mario Marietto wrote: > since the nouveau driver can't be blacklisted within the Linuxulator > because it's impossible to run "sudo update-initramfs -u" inside of > it. For this reason,I would ask if in your opinion the nouveau driver > can be blacklisted directly in FreeBSD or in some other way. Thanks. > FreeBSD does not contain the nouveau kernel module so there is nothing to blacklist. > He says that he created a Python script for updating Nvidia drivers on > CentOS 7 and Ubuntu. That's nice,but it can't work. Why ? please give > a look to an old post created by me some time ago and you will see : > > https://www.reddit.com/r/freebsd/comments/11431bi/how_to_blacklist_the_nouveau_driver_within_the/ > These libGL errors are from Mesa libGL, which is trying to use the userspace part of nouveau (which is part of the Mesa project), presumably based on Nvidia GPU's PCI ID being known to Mesa, despite there being no nouveau kernel interface available. Since you are trying to use Nvidia's binary driver (the only one which works on FreeBSD), Blender should have never loaded Mesa's libGL in the first place - there is most likely a configuration problem here with libglvnd, the component responsible for choosing the correct libGL implementation. When Blender fails to detect CUDA this has nothing to do with libGL and absolutely nothing to do with nouveau - have you found any other CUDA program to work in linux compat? Theron