From owner-freebsd-desktop@freebsd.org Sun Apr 5 14:04:01 2020 Return-Path: Delivered-To: freebsd-desktop@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8A79C2B8980 for ; Sun, 5 Apr 2020 14:04:01 +0000 (UTC) (envelope-from khng300@gmail.com) Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48wFlC2z9Gz4DSj for ; Sun, 5 Apr 2020 14:03:49 +0000 (UTC) (envelope-from khng300@gmail.com) Received: by mail-ot1-x333.google.com with SMTP id x11so12540953otp.6 for ; Sun, 05 Apr 2020 07:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=whkPkBdZwAsdpK6yYacV7K1VlX/2IlTtjHgcbgcFIg0=; b=JacOX3j7LTKbJHgOU7GvuFPt41zqB+tmbpwPgYu6I9Rd9BxMh65UNN9VCJSWgfAr4u bpucawk/FvL2LHTHTbcN9VmdOG8Uhx+LlH/lAhqKwAu8LoG5hyt3L7rrXMK6rqNX48ls QIFdnYiBWe9Mi4F3wgJpdEPIwT+J25un6G22oRGlzttgjneqgsQDqxtUzp9hxS7Fvwfb Xy6154jEiNUeVLlCkYiHnq8OV1b/yTM9MzRFBBuuzSUy3vltyOx7vUspWy4iP66zDdj1 tv4xaaZtjvwzXn7w6Y6cO893vWqUvzTpAOgbrxSxFDt+zEdPvKoR0npGdjuXMRy0Hjrc 3UMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=whkPkBdZwAsdpK6yYacV7K1VlX/2IlTtjHgcbgcFIg0=; b=K2QfUTqCvjwJNCr5QOdTMP7s+D8pX/r++y777Lf1oEvrpQA2lBdo1hCxxrHPmGq268 sBfcUmIW+dzYBCWGncPzQlqlgVckCPW3ETpmBlrJxE4k8pMFilgvC9+5wYYnLARImTgz mHhEB/J4n0m4khtzPtI/Xvlx/8sUbI8gTrLiCBWZRrDfeNbUDJ1HctX8D1EMuAB1A+ZI ZXXF5vADChCv9VJdomF6dZo1I9oAVkkBDoXGiS782LIDfrLKLaKmlWmE7UKBvLnxFWKx wF2vPKZ/3kaADtq84p33/qcNKtP5p669EUYee/06pFgm/0e0TQjIpENu8/7VhCEgYnwK S6pw== X-Gm-Message-State: AGi0PuaXZqv6tgg6keTvv2teZ51ZlN7XqMN3TGTItkRrMN9XY+b5piUn qrt/sE6yQIiD1xVbofeV4g2PDYy/z9iBh+PUmWNcVXC8 X-Google-Smtp-Source: APiQypLC/qnRuRcwdjXrNrgAFO5ZcHX/uJXl3zQ2ThGQNrBkADnZo/e3ICnxyPSk8UT7sS6MPrKnVo7IOlG8orGUQ7I= X-Received: by 2002:a05:6830:1015:: with SMTP id a21mr14136790otp.85.1586095420043; Sun, 05 Apr 2020 07:03:40 -0700 (PDT) MIME-Version: 1.0 From: Ka Ho Ng Date: Sun, 5 Apr 2020 22:03:29 +0800 Message-ID: Subject: Nvidia Vulkan ICD supports on FreeBSD To: freebsd-desktop@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48wFlC2z9Gz4DSj X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=JacOX3j7; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of khng300@gmail.com designates 2607:f8b0:4864:20::333 as permitted sender) smtp.mailfrom=khng300@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-desktop@freebsd.org]; TO_DN_NONE(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(0.00)[ip: (-7.44), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[3.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-desktop@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Using and improving FreeBSD on the desktop List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Apr 2020 14:04:02 -0000 Hi everyone, Nvidia drivers for FreeBSD now only comes with OpenGL ICD (GLX and EGL), without Vulkan supports. I have created a thread on the FreeBSD/Solaris board related to Vulkan ICD supports on FreeBSD and/or Solaris. Also there is an existing thread asking for the support of Vulkan on FreeBSD. If anyone also wants Vulkan support we might reply to these threads. 1. https://forums.developer.nvidia.com/t/a-modest-plea-to-add-vulkan-to-the-freebsd-graphics-driver/107149 2. https://forums.developer.nvidia.com/t/a-modest-plea-to-add-vulkan-to-the-freebsd-graphics-driver/107149 Without native ICD we currently rely on https://github.com/shkhln/nvshim which seems potentially unsafe to use, though it works usually. Thus I created a thread on their forum to ask for such support. I have no idea what actually misses in order to support Vulkan on FreeBSD, despite nvshim works for some of the applications I tested such as vkcube. Ka Ho