From nobody Thu Aug 15 02:46:46 2024 X-Original-To: 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 4WkqJk3THmz5ShCY 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 4WkqJk1zCMz44fc 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=xYxK51guf8J0FY746rDjtaQsY68/hF7zXKsNQWjTCyVfrujEwXAdFHz7yi0iN40CenlP6f c1mg99yhzsWyfQX7ipdNhHZauixq7x88E0h/uKlzf8rN0xZOtr0kLtijU51fFKnfte7Xgt EkmwJzNsA1JCVM2V+vMUw+qFhLbzjGO6Ywi9pxCR/fKqu9LkN47vDqm7U79Ddy3m2EUOmY 0jRMFzqmIGZERLoSONMKY48kSPVXfsZSAPYxOsg0sb19pkTCwXTRssCI4TpXk6vzYzuF9S HXBAbf5supo4ba9J9eB5EnCcmfoMDjENfoeuZZt5fE8bsBaDDOGOrPtbm39IbQ== 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=GlxUK6iNQ1Q2lWZCofbUHHgyJB4+nQEgatDHiQavgo0=; b=xnfhOmCnAVt3yarfEa7Hr+5ZlmoFEIe0CLshTiLhQlGdMpHxBVCdRVmQqxYaHt0z+xm38f xnt/XY2lX/GLiinSpnrctSVV5T+gGRFSaR/gq+5XssbqkgKd1ZcxY8DAOrwGGz4c+CJWSu +L6+cph2n+H1/d8Ooji0As4MZbJrVPmLnjZvowmdzoiGKZDfuMEaZA2/NgR4SrJTfeCT4e rAthrVQIvAmmur1UsDCIBFPU7Tct517pfLYfy3351K8mvrktzZOt4hmJTOQ7QUb9twVV9x G2kuFOx2gYwJSBPd/otqKWFxstEWj3OjeJP5lo7r2iUnr/mpYS02DGu1d+KUeg== 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 4WkqJk1Kpkz1K6f 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 47F2kkTj059237 for ; Thu, 15 Aug 2024 02:46:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47F2kk2q059236 for x11@FreeBSD.org; Thu, 15 Aug 2024 02:46:46 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: x11@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: CC 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: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-x11@freebsd.org Sender: owner-freebsd-x11@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 on the CC list for the bug.=