From owner-freebsd-questions@freebsd.org Mon Aug 17 19:24:04 2020 Return-Path: Delivered-To: freebsd-questions@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 EB13F3B9F74 for ; Mon, 17 Aug 2020 19:24:04 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BVkVr1ScHz479Z for ; Mon, 17 Aug 2020 19:24:03 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-io1-xd29.google.com with SMTP id v6so18689545iow.11 for ; Mon, 17 Aug 2020 12:24:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=v50iWg+KyWaRv8KPoCzMEbYTm3r2zSMhTAYsMnBS6xs=; b=YxbGjsk6llCnze5Zz4hA2zkxjZ2ZI3Hi2UN9v1J2U5BoeCVLe0RSqVf5aNwgOkKNwK Pr0PbVI7aPYYSOA2tQuM27KnkQ0jZiIPRSoRJktFpz2c9/CysQRpEwTlWluJlCXdwKsA 8rfx4YhvgpNYN8tenCcrA8YuUBRSDba3eGXo8i7o6zWEmMT4MbDktN8MxkQGdm8zwqgB +yPlFBFUg4yvzfx4/zbpd2ZdhmOA+k8ApApjXUV3t+8jP1TUAFX5nbBVAt5mZKa8K7vT 9IySq5xCrRPUbZFqfpmO/b4hhBNO0xP1phWKvDhG/4ealWKRNvEjRQjBqE+fxKL9QIw8 YJwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=v50iWg+KyWaRv8KPoCzMEbYTm3r2zSMhTAYsMnBS6xs=; b=N3XDldnNEGay6e81kqxN6QOEzugXUXb+qRHoraQkR8QGfPd6mLHyAS8IAcELA9c18v Oj6deak6iESPmFdhn/3VU2Pos0Z+w2y7UO7/5cxVI4cPA41V5I+bmocM4nnlS7O3XqNh Fd+T7L7aZeBRMAcIaREN9V0hf/RR6f5M9UgpEAWqESiUjVUgzOcR8C7iY7gcoP0XlAt7 kPpuQVFE+XgQ7mD14Lfbm7OfMxySxOoP4rNLxaBymKWJ9DKHuFmY+JhWq0tvkRvGG8WS PbfVrvHxt0Bfarl9qJ+DIVPG7Mf06P/J3VTAOYfiehSetuWKXiB+oAq+oMqUOqNR/tBC aZrQ== X-Gm-Message-State: AOAM533nH9je7hoZn6L8/839HGrtT242w/Yav0bR+qVJMeT6yo9vjMNb lH25geAPsuF6ZbW7C9tPVhUJ3i8r+ivSZpIP71A= X-Google-Smtp-Source: ABdhPJy8ih1wMYAriUAybqyHRI6SD6Vf4VAeSNbHwcGJe1McWIydHB7CAYd+GPwlb7276mPx4vjJLxKxbLfZA6wW+7A= X-Received: by 2002:a6b:9289:: with SMTP id u131mr12938722iod.89.1597692242641; Mon, 17 Aug 2020 12:24:02 -0700 (PDT) MIME-Version: 1.0 References: <66e8ebe25c8952ef651ecdb46a8b4dc1.squirrel@webmail.harte-lyne.ca> In-Reply-To: From: Aryeh Friedman Date: Mon, 17 Aug 2020 15:23:51 -0400 Message-ID: Subject: Re: Nvidia on FreeBSD To: Mario Lobo Cc: FreeBSD Mailing List ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1597692244; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=v50iWg+KyWaRv8KPoCzMEbYTm3r2zSMhTAYsMnBS6xs=; b=QpHPZp7DSjS1RivBZx11LL+N16POCQZO/VsNl6bzq7ifDcZrU4LsvbOnQTyAO4uAnrtXYl FIuERpGeqyMKZqR+ZdtzvleKH9MY6pG6MKvTHoj2/LchlF0gP81DkkZsyH4ZJuj92B+C9m Yfr2JpS8963+QW5PtwDVMMNJ7M5fZYkAwNLVqtAjsYrFm1ACvSp/cq2GNw+gU+dZt8JOSe TBljzGK7TmuAcgiXWROQNCbEMGWe5L9IG0gxXu2edrv61mKbscOuHyJ5n92dwcWB5gc94j rm1XAoTL+G/Iribgle6pX7tFMFfK5FY8Ryl3jXlnklmS3dnVAaOJm+4Dy2GB+w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1597692244; a=rsa-sha256; cv=none; b=rOCIFmTERPdHgWmnk1AhHKp06/HZFHRiD7kp7IprGJL/T2zHhBcQ+HfwtI86PmjynGA7pC E5o8WySwjV0uOBxIYUDenpZCF/q987oHAVZdmelVPPUrfV/vuQltAoLpsle2JOwP6UCEI9 Hllf6OKLtSzHpRLcCgNFuoOdW4HlPo5Yp6JarpezgLIYCWwmNJG0wy/6/ruaRZmrQbtdue rHMzeBXKgb3atth9syOcRasF/Ww0mWN8N+0w9Llg7M3VeeTX4+24OhIs4MgwMPoDO4Ypyf msPKpuAxWN1Susrs7G4CsMWFUK669T0St5k2YKOyC2vN5PNp+NzoAhMJQTmHjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=YxbGjsk6; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::d29 as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Rspamd-Queue-Id: 4BVkVr1ScHz479Z X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=YxbGjsk6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::d29 as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-3.72 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.04)[-1.039]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; ARC_SIGNED(0.00)[i=1]; NEURAL_HAM_LONG(-0.99)[-0.991]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d29:from]; NEURAL_HAM_SHORT(-0.69)[-0.688]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2020 19:24:05 -0000 On Mon, Aug 17, 2020 at 3:09 PM Mario Lobo wrote: > On Mon, Aug 17, 2020 at 3:48 PM Aryeh Friedman > wrote: > > > Forgot to mention you should take a look at the config I mention in the > > thread on upgrading to 4k since the existing config that post mentions > > works 100% correctly at 1920x1080 on a GT 710 > > > > -- > > Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > > > Yes! > > Here is mine: > > Graphics Processor: GeForce GT 710 > NVIDIA Driver Version: 440.82 > > X log: > > [ 119.742] (--) NVIDIA(GPU-0): Sangyo MS09 (DFP-0): connected > [ 119.742] (--) NVIDIA(GPU-0): Sangyo MS09 (DFP-0): Internal TMDS > [ 119.742] (--) NVIDIA(GPU-0): Sangyo MS09 (DFP-0): 340.0 MHz maximum > pixel clock > [ 119.742] (--) NVIDIA(GPU-0): > [ 119.772] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-1): connected > [ 119.772] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-1): Internal TMDS > [ 119.772] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-1): 340.0 MHz > maximum pixel clock > > [ 119.782] (II) NVIDIA(0): Validated MetaModes: > [ 119.782] (II) NVIDIA(0): > "DFP-0:1920x1080+1920+0,DFP-1:1920x1080+0+0" > Just to give more evidence here is the log from my desktop (the machine I want to upgrade to 4k [currently looking at a gt1030 and Acer CB282K for the upgrade [both are listed in /usr/local/share/doc/NVIDIA_GLX-1.0/README as being fully supported with driver version 390]): [ 228.178] (II) Module glx: vendor="NVIDIA Corporation" [ 228.178] compiled for 4.0.2, module version = 1.0.0 [ 228.178] Module class: X.Org Server Extension [ 228.178] (II) NVIDIA GLX Module 390.138 Thu May 14 03:59:36 PDT 2020 [ 228.178] (II) LoadModule: "nvidia" [ 228.178] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so [ 228.197] (II) Module nvidia: vendor="NVIDIA Corporation" [ 228.197] compiled for 4.0.2, module version = 1.0.0 [ 228.197] Module class: X.Org Video Driver [ 228.198] (II) NVIDIA dlloader X Driver 390.138 Thu May 14 03:37:42 PDT 2020 [ 228.198] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs ... [ 228.206] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32 [ 228.206] (==) NVIDIA(0): RGB weight 888 [ 228.206] (==) NVIDIA(0): Default visual is TrueColor [ 228.206] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) [ 228.208] (**) NVIDIA(0): Enabling 2D acceleration [ 229.261] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:37:0:0 [ 229.261] (--) NVIDIA(0): CRT-0 [ 229.261] (--) NVIDIA(0): DFP-0 [ 229.261] (--) NVIDIA(0): DFP-1 (boot) [ 229.264] (II) NVIDIA(0): NVIDIA GPU GeForce GT 710 (GK208) at PCI:37:0:0 (GPU-0) [ 229.264] (--) NVIDIA(0): Memory: 2097152 kBytes [ 229.264] (--) NVIDIA(0): VideoBIOS: 80.28.a6.00.11 [ 229.264] (II) NVIDIA(0): Detected PCI Express Link width: 8X [ 229.265] (--) NVIDIA(GPU-0): CRT-0: disconnected [ 229.265] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock [ 229.265] (--) NVIDIA(GPU-0): [ 229.266] (--) NVIDIA(GPU-0): DFP-0: disconnected [ 229.266] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS [ 229.266] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock [ 229.266] (--) NVIDIA(GPU-0): [ 229.297] (--) NVIDIA(GPU-0): Acer ET241Y (DFP-1): connected [ 229.297] (--) NVIDIA(GPU-0): Acer ET241Y (DFP-1): Internal TMDS [ 229.297] (--) NVIDIA(GPU-0): Acer ET241Y (DFP-1): 340.0 MHz maximum pixel clock [ 229.297] (--) NVIDIA(GPU-0): [ 229.301] (==) NVIDIA(0): [ 229.301] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select" [ 229.301] (==) NVIDIA(0): will be used as the requested mode. [ 229.301] (==) NVIDIA(0): [ 229.302] (II) NVIDIA(0): Validated MetaModes: [ 229.302] (II) NVIDIA(0): "DFP-1:nvidia-auto-select" [ 229.302] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080 [ 229.307] (--) NVIDIA(0): DPI set to (92, 91); computed from "UseEdidDpi" X config [ 229.307] (--) NVIDIA(0): option [ 229.308] (II) NVIDIA: Reserving 6144.00 MB of virtual memory for indirect memory [ 229.308] (II) NVIDIA: access. [ 229.343] (II) NVIDIA(0): Setting mode "DFP-1:nvidia-auto-select" [ 229.413] (==) NVIDIA(0): Disabling shared memory pixmaps [ 229.413] (==) NVIDIA(0): Backing store enabled [ 229.413] (==) NVIDIA(0): Silken mouse enabled [ 229.415] (**) NVIDIA(0): DPMS enabled [ 229.416] (II) Loading sub module "dri2" [ 229.416] (II) LoadModule: "dri2" [ 229.416] (II) Module "dri2" already built-in [ 229.417] (II) NVIDIA(0): [DRI2] Setup complete [ 229.417] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia And here is the log from my file server on the machine with the 710 (don't ask why I have the newer card in a non-desktop ;-) ... answer: laziness since there is no substantial difference for my current setup): [ 93.483] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so [ 93.538] (II) Module glx: vendor="NVIDIA Corporation" [ 93.538] compiled for 4.0.2, module version = 1.0.0 [ 93.538] Module class: X.Org Server Extension [ 93.538] (II) NVIDIA GLX Module 390.138 Thu May 14 03:59:36 PDT 2020 [ 93.539] (II) LoadModule: "nvidia" [ 93.540] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so [ 93.547] (II) Module nvidia: vendor="NVIDIA Corporation" [ 93.547] compiled for 4.0.2, module version = 1.0.0 [ 93.547] Module class: X.Org Video Driver [ 93.548] (II) NVIDIA dlloader X Driver 390.138 Thu May 14 03:37:42 PDT 2020 [ 93.548] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs ... [ 94.532] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32 [ 94.532] (==) NVIDIA(0): RGB weight 888 [ 94.532] (==) NVIDIA(0): Default visual is TrueColor [ 94.532] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) [ 94.532] (**) NVIDIA(0): Enabling 2D acceleration [ 95.395] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:41:0:0 [ 95.395] (--) NVIDIA(0): CRT-0 [ 95.395] (--) NVIDIA(0): DFP-0 [ 95.395] (--) NVIDIA(0): DFP-1 (boot) [ 95.396] (II) NVIDIA(0): NVIDIA GPU GeForce GT 710 (GK208) at PCI:41:0:0 (GPU-0) [ 95.396] (--) NVIDIA(0): Memory: 1048576 kBytes [ 95.396] (--) NVIDIA(0): VideoBIOS: 80.28.a6.00.51 [ 95.396] (II) NVIDIA(0): Detected PCI Express Link width: 8X [ 95.397] (--) NVIDIA(GPU-0): CRT-0: disconnected [ 95.397] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock [ 95.397] (--) NVIDIA(GPU-0): [ 95.398] (--) NVIDIA(GPU-0): DFP-0: disconnected [ 95.398] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS [ 95.398] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock [ 95.398] (--) NVIDIA(GPU-0): [ 95.429] (--) NVIDIA(GPU-0): Acer ET241Y (DFP-1): connected [ 95.429] (--) NVIDIA(GPU-0): Acer ET241Y (DFP-1): Internal TMDS [ 95.429] (--) NVIDIA(GPU-0): Acer ET241Y (DFP-1): 340.0 MHz maximum pixel clock [ 95.429] (--) NVIDIA(GPU-0): [ 95.432] (==) NVIDIA(0): [ 95.432] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select" [ 95.432] (==) NVIDIA(0): will be used as the requested mode. [ 95.432] (==) NVIDIA(0): [ 95.432] (II) NVIDIA(0): Validated MetaModes: [ 95.432] (II) NVIDIA(0): "DFP-1:nvidia-auto-select" [ 95.432] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080 [ 95.435] (--) NVIDIA(0): DPI set to (92, 91); computed from "UseEdidDpi" X config [ 95.436] (--) NVIDIA(0): option [ 95.436] (II) NVIDIA: Reserving 6144.00 MB of virtual memory for indirect memory [ 95.436] (II) NVIDIA: access. [ 95.466] (II) NVIDIA(0): Setting mode "DFP-1:nvidia-auto-select" [ 95.525] (==) NVIDIA(0): Disabling shared memory pixmaps [ 95.525] (==) NVIDIA(0): Backing store enabled [ 95.525] (==) NVIDIA(0): Silken mouse enabled [ 95.527] (**) NVIDIA(0): DPMS enabled -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org