From nobody Thu Aug 15 02:46:46 2024 X-Original-To: ports-bugs@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 4WkqJk3TK7z5ShFV for ; Thu, 15 Aug 2024 02:46:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WkqJk10Sfz44HS for ; Thu, 15 Aug 2024 02:46:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723690006; a=rsa-sha256; cv=none; b=pfQxMIxc4/evXHZbz+aUcO4z/bcfj3A8KCWs2DJIh+rFdOJ9Zlmnxc6SIiVXbH3kgSnsjy G0S56HDr4AnOJtPYvPfVEe2/HmdDbxKLQ+DDNJsHHm+ujU5G392ob0tuts+zZvM0V9G+Jx zDROj/UEW/hrWND8StwYM1GSaGP03KiWgtCXGGjFAYDUKWnO4HfQRk6StcD6XxirYOeKXQ 8/4ubp5kKcb+saict+s0zYD2/5LWVOVP1sWTjFJwgX8aq2xeZvMR97Az8gtzCkQCuppEnb /lQXwMZ5UMMd9DxiYY9Yf4ZQNir/z9NKxnuRDdrYSZQUfhlQwA++2ApDVZqy7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723690006; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fV9yV0qw4ioB7GFzo0AoSnPSJ2CfBQ1W+sNnGbE0A3A=; b=oauMFuKJBIJlPDFLRX1eLBLyoheHQ+s4sdGNa2C1QyHsxYJg4keQQlEvy+97nKXoRHb4bD Fb8mELIYTacUKJg9MTij4V10viGOzBkNhHJPkbSiSSUYArAgG2pDryh8dL80uflqqf6neF wXwrUZ4g+DWHLNd992wGTvYEHTN9OxxzLlMHCT/WHv+E/3qgOYdI1lBVzpIgWlzXQaTbdQ j6vckWD1dGXVwRxQE+1auZpAITHs5DSElUTZTDLg7UgL50kjxvL4LYWEATAX8bqx0mdnT0 PgNgp2KX0iDCDuDRStP78bS/uKq2aAPafdvnO/QqSw6qMWLPqwa+WU165xXn2w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WkqJk0D7kz1KXP for ; Thu, 15 Aug 2024 02:46:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 47F2kjSN059226 for ; Thu, 15 Aug 2024 02:46:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47F2kjSc059224 for ports-bugs@FreeBSD.org; Thu, 15 Aug 2024 02:46:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280772] x11/nvidia-driver: Update to 550.107.02 with x11/linux-nvidia-libs and related DRM ports Date: Thu, 15 Aug 2024 02:46:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: milios@ccsys.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280772 --- Comment #5 from Chad Jacob Milios --- (In reply to Tomoaki AOKI from comment #4) i tried patch #252707 as is first. it works well in so much as it is a drop= in replacement upgrade for the 550.54.14 i had. it runs glxgears and foobillard under kde5 plasma after logging in with lightdm. i tested it for all of 25 seconds. LGTM > Yes. You must specify which DISTVERSION to be wanted. then i edited Makefile.version to 560.31.02 and ran make -C /usr/ports/{x11/{nvidia-driver;linux-nvidia-libs};graphics/nvidia-drm-510-k= mod} {makesum;package;{de;re}install} then reboot and everything also works beautifully fine immediately. i've been running for a couple days now on 560.31.02 flawlessly. by flawlessly i mean my windowing system is dependable. i've been underutilizing my 4090 for a couple of days like its 2012 integrated graphi= cs while i'm trying out this driver because i dont even know how i would go ab= out telling this thing to break a sweat under FreeBSD. the fans have comfortably stayed literally off the whole time on my GPU when in FreeBSD no matter how many glxgears windows i open and nvidia-smi says its using like 27 watts ou= t of 480. i must confess my 4090 typically hangs out sadly in pptdevs under the cruel heel of Linux. i had used the drivers in ports before just to configure and test out the capability but FreeBSD usually shows my host console through t= he cpu/mobo graphics while some bhyve vm takes over the 4090. i dont "game" so i dont even own a modern commercial game that i could load= up on wine-proton or something. i'm all ears if anyone has any ideas what i can play with just to test out the card and drivers natively on FreeBSD. believ= e me i will be right there to make sure the fans kick on right away too. it seems that while there is no driver talking to the card yet it idles at a minimum= fan speed but when the driver gets ahold of it and sees that i dont have any re= al work for it they go off off. i am experimenting with emulators/libc6-shim and nvidia-smi does report CUDA 12.6 support using your new modded patch while it reported 12.4 in both cur= rent ports and with the attached patch unmodded. (all using an rl9 compat) the mere mention of CUDA where once was N/A is as far as i got. so far i ha= vent actually properly compiled nor configured any CUDA workloads using FreeBSD = yet, mostly for lack of trying for any more than seven minutes. its my next off hours project. ive heard its been done using the NVidia CUDA SDK, Linuxulator and FreeBSD native driver from ports. just no ones done UVM yet, only GPU VRAM. i am guessing the two new .ko's on the plist are for GSP's on prior hardware generations and the GSP bits for Ada Lovelace are in the main .ko?? nvidia_gsp_{ga,tu}10x_fw.ko both do get installed, of course, but my first instinct was to not call upon them in any way. According to kldstat, neither did nvidia{-drm,,-modeset}.ko. HOWEVER nvidia-smi -q indeed reports "GSP Firmware Version: 560.31.02". I d= on't know how I'd go about actually testing what functions that rely on it specifically. in ALL [non-pptdev] configurations i've only ever simply added nvidia-drm to rc.conf.local->kld_list and added Device.{Driver,BusID} to xorg.conf. (i.o.= w. i changed nothing config-wise from what i'd been using day to day out of the ports tree) now, while using the 560 driver for days kldstat does NOT list any gsp_*_fw.ko's. does that track with what you're expecting? are they unneede= d at all or maybe i never used the feature that might auto-load one/both? > Unfortunately, CUDA and UVM are not stated to be supported even on 560.31= .02. At least, modules/components needed for them, which Linux version has,= are not built on FreeBSD yet. are these needed modules/components NVidia driver bits or FreeBSD kernel bi= ts? whose palms do i gotta grease? where can we start? what books do we gotta r= ead? lol --=20 You are receiving this mail because: You are the assignee for the bug.=