From nobody Wed Sep 20 18:04:00 2023 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 4RrRHN6mTlz4tydg for ; Wed, 20 Sep 2023 18:04:00 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RrRHN5TqYz3Jj5 for ; Wed, 20 Sep 2023 18:04:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695233040; a=rsa-sha256; cv=none; b=fVIXQ0VuUEX7PCtmPLGPUP7/ukaXl0qt7vcEa+V8VjlM6tfGw/R2+60oALh1ulluYAEMO5 WMwxes//al+PHlM0lZ7RYcrzo3q345QgX54ixuNKfaU0rqOxRIyc2v/zRYYLt8+uCmGQyk T8Ln1ElH8R0W4JdjIVzz65aMDxm95/eHPBuD30EaaTTpPYYsgtQ3y4U/0jGTSitdijNGZH j1N9/XheKFP+fvhvQ4pOOZJMdMvSivHz6ihKBnBi0tI06c0wLEllaNQG51NXE3ujCDSMJD W0sntvsS3PbU01+/HXssdguPaUgWN+bcNOpe8gtpIxciS2at7ETXtHYJwCUMbQ== 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=1695233040; 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; bh=sp6oCeXJps7aImlzJVQbD2LKWbciIsTEywP5SN7W+60=; b=LyyucRMseToCgjime/Q3vsNFIW37KgPN7K2qR0pRtKwPZVEnmXTD/NfeAoSxLeIhlFoPh/ 0faVt6NtA+A+kw9aYkc0LAe51g/Yw7/D37wKCviIJn1/YUP98qpJMCYSqSp6GHNeDIJxdM ul9CfIp6LUMOAZhi+v6THEgERsFBgAlLumWNSl7O4IGvYmXK4kjuQi0N4LqeZwRYBxLarX Z6IBald4248QsSVmDM/9Gznfk7J6bu3zDMblMozCH669ZNCyvJL9pGsto4wfQB3pd0BIUL tZl3bJ4wJtLslMbJkcugy4o38CUf3B0zkuwujDfoYCyWalUuOQ/+qKnOEhQJ/g== 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 4RrRHN4ZF3z15gV for ; Wed, 20 Sep 2023 18:04:00 +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 38KI40tT031371 for ; Wed, 20 Sep 2023 18:04:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38KI40NE031370 for ports-bugs@FreeBSD.org; Wed, 20 Sep 2023 18:04:00 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 273982] x11/nvidia-driver-390: patches for user pages handling Date: Wed, 20 Sep 2023 18:04:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: jinxiaoyong@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: danfe@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: 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: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273982 Bug ID: 273982 Summary: x11/nvidia-driver-390: patches for user pages handling Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: danfe@FreeBSD.org Reporter: jinxiaoyong@gmail.com Assignee: danfe@FreeBSD.org Flags: maintainer-feedback?(danfe@FreeBSD.org) Created attachment 245073 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D245073&action= =3Dedit patches for x11/nvidia-driver I backported some of the user pages handling code from 535.98 to this 390.1= 54 driver. With these changes, clpeak runs under libc6-shim $ NVIDIA_LIB64_DIR=3D/compat/bookworm/lib/x86_64-linux-gnu /usr/local/bin/nv-sglrun /usr/local/bin/clpeak shim init Platform: NVIDIA CUDA Device: Quadro 600 Driver version : 390.154 (FreeBSD) Compute units : 2 Clock frequency : 1280 MHz Global memory bandwidth (GBPS) float : 19.77 float2 : 19.99 float4 : 20.15 float8 : 17.74 float16 : 10.88 Single-precision compute (GFLOPS) float : 161.39 float2 : 239.89 float4 : 232.48 float8 : 223.77 float16 : 229.75 No half precision support! Skipped Double-precision compute (GFLOPS) double : 20.49 double2 : 20.47 double4 : 20.43 double8 : 20.35 double16 : 19.06 Integer compute (GIOPS) int : 81.53 int2 : 81.46 int4 : 81.55 int8 : 81.64 int16 : 81.51 Integer compute Fast 24bit (GIOPS) int : 81.68 int2 : 81.66 int4 : 81.52 int8 : 81.68 int16 : 81.67 Transfer bandwidth (GBPS) enqueueWriteBuffer : 6.46 enqueueReadBuffer : 6.33 enqueueWriteBuffer non-blocking : 0.02 enqueueReadBuffer non-blocking : 0.02 enqueueMapBuffer(for read) : 6.28 memcpy from mapped ptr : 9.66 enqueueUnmap(after write) : 6.65 memcpy to mapped ptr : 9.69 Kernel launch latency : 5.39 us --=20 You are receiving this mail because: You are the assignee for the bug.=