From nobody Tue Feb 04 23:36:13 2025 X-Original-To: freebsd-desktop@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 UTF8SMTP id 4Yng0t6Qkcz5mh7D for ; Tue, 04 Feb 2025 23:43:26 +0000 (UTC) (envelope-from dsl@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with UTF8SMTPS id 4Yng0t5VZpz3Ktt; Tue, 04 Feb 2025 23:43:26 +0000 (UTC) (envelope-from dsl@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738712606; 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; bh=2kb2+ce7mSNaq7GNGl9wOv7UJUxuxYWFigLVCz3RXsQ=; b=jLa4FMRxn/HTKdY585afMzuXmZ7dy4UZRG+OVXvMt+cuv4FkdyPyWNkxXTOkES3h/zrFBQ JmtqiSx7e/WOtEeVhlurK17smzvdhq3FfFqpgpniiO1hyTjCJGuML0GJEcXi6pfUWv3UiS /Lsha4PhOpYn1L1vSxKW6t30MTAN2YYz0FSfNMnN1PQZDjAJwan1fsKTpCJKCAYk45yfDq 6zjtowtbKGlxuHGYPq/62/y2VS4m6+SQ2n8KtBlxduS9R/abVZ+SGcKzacnRJSp2HGPeYw Lt6T1yT0u50FYmww5dzjWWFFaJiRFEbZPqCk1vllg2r37eL8ALbXgbf0BiVILw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738712606; 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; bh=2kb2+ce7mSNaq7GNGl9wOv7UJUxuxYWFigLVCz3RXsQ=; b=tG9AcPF9XbYsLuDU1S0itOmeXzZcAuLWKmIW2fj76CHyaKzqEhuFZMVMgoiz+XXOek58lF L4UYUlyA4z6ntzbyLlLy/Kj2YlFQm9GN3Q9Phxv2bPH+0uEfbez5KHuCZ+6JkcK9yd7P9T WIEwKqF0jEmb8sPe95OVVeY9uZvfc/Fd2BL0QkeppKx43gNuA3diaEX0M8VB7Mbim5qaYG 9KD+gFkSyU8aXBCpJlkY1PEVm7Df3pr84F2TvKjiZrd7wnyoU+nKknVGO7NvU31EdBG0RM L1YE79L0em9hZMATlV13CZKuVqFHZQa0UxMOURd2E27nUiaFvjQ5E5EH/2nZuQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738712606; a=rsa-sha256; cv=none; b=sNdqTbPPmWmPejlSd9nTA9ysPSNXU8OKYVUF7ewQFaWkmTsMpF6jjrNY1g9YAgKHYRiKmd QkyEcMw+porOMpEzxGn1i+ZQkAeD1fdgapkh52IVOam3vfaURPh61xPo1t20iWCASSDe5B y/e1OsHzLGbyl4xUMDZZdLXoFAUZgnzYIot16toRSEte62ZcaWppTNWZHTKORP7vqUPPBp TLz3hxbHrpReIgKzfBKh9ErGrrKgAQ0067AHFHygXbRBhgzbYXP1wt2Lq8D1hkoAC4qCnG pyq3/wAYh3C8YkxmS2isjbrAl9bPf7nfM6H75kJrP4qAAyeT1rxAY8aTeln8rw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from localhost (unknown [91.226.51.235]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: dsl) by smtp.freebsd.org (Postfix) with UTF8SMTPSA id 4Yng0t2f19zlV7; Tue, 04 Feb 2025 23:43:26 +0000 (UTC) (envelope-from dsl@FreeBSD.org) References: User-agent: mu4e 1.8.13; emacs 29.4 From: Dmitry Salychev To: Tomek CEDRO Cc: freebsd-desktop@freebsd.org Subject: Re: [FBSD_LDWG] CUDA / OpenCL with NVIDIA GPU works! Date: Wed, 05 Feb 2025 00:36:13 +0100 In-reply-to: Message-ID: <867c6546p5.fsf@peasant.bootbsd.com> List-Id: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain Tomek CEDRO writes: > Hello world :-) > > Just a quick success story with details on forum [1]. After switching > from amgdpu to nvidia with not much effort (some linuxlator packages > and playing around for two days) I made CUDA / OpenCL working which > was not possible with amdgpu for years, the choice for gpu vendor is > now obvious, things that compute for 6 weeks on CPU can be done in 4 > days on relatively old NVIDIA GPU (GTX1060). I just wish that CC could > be wrapped that way :-) > > One remark. Deboostrapped Debian12 on FreeBSD that had 3D acceleration > before (useful for CAD and 3D slicer) on amdgpu does not have it > anymore because FreeBSD driver version is 550 and Debian uses 535 that > does not work together. So either linux-c7 (obsoleted) or newer > linux-rl9 (under development but Fluffy rocks solid here) stuff for > linuxlator is required.. > > Big Thank You For Everyone Who Made It Possible That Easy!! :-) > > Tomek > > [1] https://forums.freebsd.org/threads/is-opencl-possible-with-the-current-nvidia-driver.78304/ I managed to run multimedia/jellyfin + Nvidia NVENC hardware acceleration in a jail on my home server about two months ago using the same approach :) It is capable of transcoding video to 4K@30 FPS using GTX 1070 and Intel 4770K. Not bad at all! Regards, Dmitry -- https://wiki.freebsd.org/DmitrySalychev