From nobody Thu Sep 9 09:37:14 2021 X-Original-To: freebsd-x11@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 CF45A17BF7A5 for ; Thu, 9 Sep 2021 09:37:27 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (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 4H4v6v5B43z3jft for ; Thu, 9 Sep 2021 09:37:27 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-ed1-x52b.google.com with SMTP id i6so1811023edu.1 for ; Thu, 09 Sep 2021 02:37:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=hlME3O4INupcnYiFO7lrXj3wwTCqJtR8+rGEXXpSAAI=; b=KcsZzKgpAs9nYkmoBBOMqvkMlSYuLvpJ32DsXBEA3dESzXskBPfonFeMrdmUuBV5ep xGXge1j/uD1W3cHMmfForRTYtLDJYH8TTZoAb76uRrqIib053AyEGCWr2gDeVK3fvejQ a+kQxBRCGXomRjFmJmlhZL43gzuahjk2JIQruvWZwVlyJ6BGygCsnLbQ+rV1RVparqdd GA2kZM+AfW+5SdQ+ilgVwTo7mdQ7FeLs5QlBxROydNgdK0iCHpkJ99Q0w6hrMhL/vMc0 /R2aAKC1lYpL0F7kRLfk394p/8OFDN3a35zpi3ofPTYPh9ASV4o7ohwIZK8jcZ5EuR9f QspQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=hlME3O4INupcnYiFO7lrXj3wwTCqJtR8+rGEXXpSAAI=; b=2ZTJcSWEGozGnV7PWSOnOvdP5vgoiK7Kai3V+HtMqlL6bnvyX6kA5sMV7UpKqy3IY0 EHoSKakNcqjPa2xo7Z59hoZH3muMZy5v1IJIPUek7U4kvICO9Ri8jh88EtyGqrZqd39Z kae7MtrcYBdtwvleuAGZ0wIj1V9VjSoB+O5m8HfR4vo1O1boPagRkneg6PpUhVdpzpF7 juPri72rXacmNpt/HJ9kRauOtn0NYmPmds2MZPDMTWcfgNkuXDvT25XhVSDywlf+aBJJ 5aEmoc5q/gbWxQpCn5lciyw8tPhYPoLcHIIHuR6x77KqHGkrhiEHHk/KwvGabZQQXVQd EFSw== X-Gm-Message-State: AOAM532ZW6yv0nq6kIISQ2qqybWCQQYFDdiUvlaHABhJ0lbyckhpMTAc XdqlsbzACROL4f8OMkNKtSvpPwHIcFY= X-Google-Smtp-Source: ABdhPJxjWe2ob/38gBUXeuuRA/CEXDBubZX2v47r819n6mbz1KRkWrMEulujYcJSj7wkmm/Ln+Fv8w== X-Received: by 2002:a05:6402:1455:: with SMTP id d21mr2224713edx.161.1631180241019; Thu, 09 Sep 2021 02:37:21 -0700 (PDT) Received: from ernst.home (p5b023517.dip0.t-ipconnect.de. [91.2.53.23]) by smtp.gmail.com with ESMTPSA id o12sm756989edv.19.2021.09.09.02.37.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 02:37:20 -0700 (PDT) Date: Thu, 9 Sep 2021 11:37:14 +0200 From: Gary Jennejohn To: KIRIYAMA Kazuhiko Cc: pete@nomadlogic.org, freebsd-x11@freebsd.org Subject: Re: GTX 1650 could not work on nvidia-driver-470.63.01_1 Message-ID: <20210909093714.0e341498@ernst.home> In-Reply-To: <202109090559.1895xBYa099124@kx.truefc.org> References: <202109090223.1892N2b7096212@kx.truefc.org> <47fc5d1c-5b6b-3754-7cc2-ab5c775aa7a9@nomadlogic.org> <202109090559.1895xBYa099124@kx.truefc.org> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4H4v6v5B43z3jft X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Thu, 09 Sep 2021 14:59:11 +0900 KIRIYAMA Kazuhiko wrote: > On Thu, 09 Sep 2021 12:39:53 +0900, > Pete Wright via freebsd-x11 wrote: > >=20 > >=20 > >=20 > > On 9/8/21 7:23 PM, KIRIYAMA Kazuhiko wrote: =20 > > > Hi, all > > > > > > I've upgrade machine with NVIDIA GPU GeForce 1650 on Supermicro > > > X11SPM-F [1]. And I instaled nvidia-driver-470.63.01_1 with > > > FreeBSD 14.0-CURRENT (n248730-cc1345056b11), but could not > > > work : =20 > > =20 > > > EndSection > > > > > > Section "Device" > > > Identifier "Card0" > > > Driver "nvidia" > > > BusID "PCI:101:0:0" > > > EndSection =20 > >=20 > > you might want to verify that your nvidia card is listed at that pci bu= s=20 > > ID.__ alternatively, you can also try to start Xorg with no configurati= on=20 > > in place.__ Recent Xorg versions do a very good job at auto-detecting=20 > > devices correctly, so that may help.__ and finally, verify you have=20 > > followed the instructions that the nvidia-driver pkg outputs regarding= =20 > > loading either the "nvidia" or "nvidia-modeset" driver (1). =20 >=20 > No xorg.conf results is as follows : >=20 The output in Xorg.0.log shows that Xorg is using /usr/local/lib/xorg/modules/drivers/modesetting_drv.so rather than nvidia-modeset. Probably not optimal. I use xorg.conf and modesetting_drv.so is not in my Xorg.0.log. So using xorg.conf may be the best approach. [removed Xorg.0.log] In the boot output this appears: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 470.63.01 Tue Aug 3 20:24:32 UTC 2021 so it appears that nvidia-modeset was loaded. > > if none of those options help, it may be useful to see you dmesg output= =20 > > to see how the kernel is loading the driver. =20 >=20 > According to dmesg.boot, NVIDIA VGA bus is PCI5 : >=20 =46rom the boot output: > vgapci0: port 0x3000-0x307f mem > 0xa9000000-0xa9ffffff,0xaa000000-0xaa01ffff irq 17 at device 0.0 > numa-domain 0 on pci3 > vgapci1: port 0x7000-0x707f mem > 0xc4000000-0xc4ffffff,0xb0000000-0xbfffffff,0xc0000000-0xc1ffffff > irq 32 at device 0.0 numa-domain 0 on pci5 The first one is on pci3 and the second one is on pci5. > nvidia1: numa-domain 0 on vgapci1 > vgapci1: child nvidia1 requested pci_enable_io > vgapci1: child nvidia1 requested pci_enable_io > vgapci1: Boot video device This indicates that the console is on vgapci1, which is on pci5. vgapci0 never requested pci_enable_io. Whether that causes a problem later when Xorg starts is unclear to me. [removed ---<>---] --=20 Gary Jennejohn