From nobody Sun May 04 13:29:56 2025 X-Original-To: freebsd-multimedia@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 4Zr5Bh59xtz5tg2C for ; Sun, 04 May 2025 13:30:36 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Zr5Bg0Cyfz4MK6 for ; Sun, 04 May 2025 13:30:35 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=NoInG2xX; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::1035 as permitted sender) smtp.mailfrom=marietto2008@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pj1-x1035.google.com with SMTP id 98e67ed59e1d1-301302a328bso4531869a91.2 for ; Sun, 04 May 2025 06:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1746365433; x=1746970233; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=cjmhF+12KnyzWWSS8soeQLl8n1RYPbxvW8lI7NLb90g=; b=NoInG2xXMv6apH1julYUK9n79wygfnpbk1iun/rcjevyENn0/sf63l9uLRCmNsI1lT BBTZhCWQI2gkygUWMnDm5nuWgd5TQNuFjnJzN1z7qOszq2LQqT3UFMCT8Rh8DX8SFYe/ cWGc31O9aDSilyMQItbae/D3R6H5gNnpMo6dFYUYs6l7F+35meVxcLwjvOAGFfMG60ms Ikw86WFR/0MEAqoR3Bms0fkL14qiFBz456u5ZWmsyhzCZhcBHomlUmnwD3P5LA2W9Ioe ljZmhpw/owieqPQKV7+bkSbCOydMVdOA9eOGGVREyUnk63NgsE+W30W7TpgoJ4q5Axpb 3EUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746365433; x=1746970233; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=cjmhF+12KnyzWWSS8soeQLl8n1RYPbxvW8lI7NLb90g=; b=Ao/1RHnJo5ljOHetLUuusO2lu8Hu/Xwg+YGgskK85OcKFVK4slGBCNcXm+uaj+iYZB oO8TLgT3UrvwJaSwAFsNW+k7bZko4Zymw1cV/FpvAlFrmv3eE2O2vUMlkmRiDlsmgBfv p1HAFNZ351XhzDpsNmGpI4J90tixBrJH/F5+EOHrX3aWaJ6J2h0xRq7v6xiTQnBqk8r/ wfpeiW+M3ZXiaqsS8FJU6kdSxotIqEvRwEuSv2d9fhp73AkuItXyaSkydBDJlVj0m4Vf 87OF3zWYao9Mu4Uw4m0rqovD3LwF9JN49sHPXkqqZSf9y6q61zeiFjfQ++VkyO+jl0Bk bZQg== X-Gm-Message-State: AOJu0Yw/QfPjkdU/+51Br2HNk1Tx+eG2Jtgvu5HxVj49XfmzJjRAAGaa 1qjLX20oWCQylGf69JWMHQip18yeeCWygq8fAmMYAoY5VrFTKMtuqDKZJuLGj0CzqMupYcmZmby GTjDuVKBIlmNtJhGwJhi2bXUI13jzIwtpF9g= X-Gm-Gg: ASbGncvBcjnav3w1LH7msl279q/hcpolpbR8Ba0zIe3zj/AIkRXOZfPT3VaDAG9TNf8 RdCZl6kyrtQrtjODMomi4UO1jFfvq76LkaDIZrjh1L+hmN8tSwzPVxtgSWggOvV5/8wFycdb6lD rijQFI5JF2vL3GRCeeC0jB16A= X-Google-Smtp-Source: AGHT+IGZtbri3f4PmcmcYO3SG25X5E0QSY5E705pT4DX4T+pfJi0Yfs+ZWA5WUlDpqbWaCnHSHCegVx4uxjMb0W2krw= X-Received: by 2002:a17:90b:2e41:b0:30a:4c44:cc05 with SMTP id 98e67ed59e1d1-30a6198d00amr6762734a91.10.1746365432959; Sun, 04 May 2025 06:30:32 -0700 (PDT) List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@FreeBSD.org MIME-Version: 1.0 From: Mario Marietto Date: Sun, 4 May 2025 15:29:56 +0200 X-Gm-Features: ATxdqUHYiDAeCtgu-pyN2Jakvw3QwhW1nqPyA63yfmtc5nreSAAseLRW7bSJw5Y Message-ID: Subject: How to install the nvidia-drm-kmod for the driver nvidia 525.78.01 on FreeBSD 14.2 To: freebsd-multimedia@freebsd.org Content-Type: multipart/alternative; boundary="00000000000047975406344f63e1" X-Rspamd-Queue-Id: 4Zr5Bg0Cyfz4MK6 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.57 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.985]; NEURAL_HAM_SHORT(-0.61)[-0.611]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_SPAM_LONG(0.03)[0.031]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-multimedia@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-multimedia@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1035:from] --00000000000047975406344f63e1 Content-Type: text/plain; charset="UTF-8" Hello to everyone. I'm trying to run ComfyUI on FreeBSD 14.2 natively,using the miniconda installer and the appropriate nvidia driver + nvidia-drm-kmod. I would like to downgrade the nVidia driver shipped by default by the 14.2 (vers. 570.124.04) because I suspect that it does not work with the libc6-shim. Probably I should reinstall FreeBSD 13.1,where I'm sure that everything may work good,but it is very old and it went EOL,so the idea here is to use the 14.2 but with some ports that come from the past (like the nvidia 525.78.01 driver,the drm-kmod associated and maybe an old version of the libc6-shim). So. I have resumed an old post : https://www.reddit.com/r/freebsd/comments/10ysy6m/how_to_install_on_freebsd_131release_a_different/ and I have installed the nVidia driver 525.78.01 succesfully. But now I should figure out how to install the nvidia-drm-kmod package or port associated with it,because the official one shipped with FreeBSD 14.2 (nvidia-drm-kmod-570.124.04) does not work at all. The error that it gives when I try to kld load it is : Code: KLD nvidia-drm.ko: depends on nvidia_modeset - not available or version mismatch linker_load_file: /boot/modules/nvidia-drm.ko - unsupported file type So,where can I get the missing piece of software that I need ? The problem is the resolution of my screen is stuck to 1024x768. Any nvidia-drm-*-kmod available on the 13.X and 14.X triggers the nvidia driver 570,but I have installed nVidia driver 525. So,I would like to know how to install the proper nvidia-drm-kmod module that match with the driver nvidia 525. For example the one below is not good : # pkg install nvidia-drm-510-kmod Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: nvidia-drm-510-kmod: 570.124.04.1304000_1 Number of packages to be installed: 1 Proceed with this action? [y/N]: y [1/1] Installing nvidia-drm-510-kmod-570.124.04.1304000_1... [1/1] Extracting nvidia-drm-510-kmod-570.124.04.1304000_1: 100% ===== Message from nvidia-drm-510-kmod-570.124.04.1304000_1: -- Modesetting must be enabled to use nvidia-drm.ko for graphics. This can be done by setting the modeset sysctl, the equivalent of the modeset kernel parameter on Linux. hw.nvidiadrm.modeset=1 This must be set before loading nvdidia-drm.ko, most easily done by placing the above in /boot/loader.conf. # kldload nvidia-drm kldload: an error occurred while loading module nvidia-drm. Please check dmesg(8) for more details. DMESG : KLD nvidia-drm.ko: depends on nvidia_modeset - not available or version mismatch linker_load_file: /boot/modules/nvidia-drm.ko - unsupported file type -- Mario. --00000000000047975406344f63e1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello to everyone.

I'm trying to run ComfyUI on FreeBSD 14.2 natively,using the miniconda= =20 installer and the appropriate nvidia driver + nvidia-drm-kmod. I would=20 like to downgrade the nVidia driver shipped by default by the 14.2=20 (vers. 570.124.04) because I suspect that it does not work with the=20 libc6-shim. Probably I should reinstall FreeBSD 13.1,where I'm sure tha= t everything may work good,but it is very old and it went EOL,so the idea here is to use the 14.2 but with some ports that come from the past=20 (like the nvidia 525.78.01 driver,the drm-kmod associated and maybe an=20 old version of the libc6-shim). So. I have resumed an old post :


and I have installed the nVidia driver 525.78.01 succesfully. But now I=20 should figure out how to install the nvidia-drm-kmod package or port=20 associated with it,because the official one shipped with FreeBSD 14.2=20 (nvidia-drm-kmod-570.124.04) does not work at all. The error that it=20 gives when I try to kld load it is :

=09 =09
Code:
KLD nvidia=
-drm.ko: depends on nvidia_modeset - not available or version mismatch
linker_load_file: /boot/modules/nvidia-drm.ko - unsupported file type

So,where can I get the missing piece of software that I need ?
The problem is the resolution of my screen is stuck to 1024x768.
=

Any nvidia-drm-*-km= od available on the 13.X and 14.X
triggers the nvidia driver 570,but I have installed
nVidia driver 525. So,=
I would like to know how to
install the proper nvidia-drm-kmod module that match
with the driver nvidia 525. 

=
For example the one below is not good :


# pkg install nvidia-dr= m-510-kmod Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: nvidia-drm-510-kmod: 570.124.04.1304000_1 Number of packages to be installed: 1 Proceed with this action? [y/N]: y [1/1] Installing nvidia-drm-510-kmod-570.124.04.1304000_1... [1/1] Extracting nvidia-drm-510-kmod-570.124.04.1304000_1: 100% =3D=3D=3D=3D=3D Message from nvidia-drm-510-kmod-570.124.04.1304000_1: -- Modesetting must be enabled to use nvidia-drm.ko for graphics. This can be = done by setting the modeset sysctl, the equivalent of the modeset kernel pa= rameter on Linux. hw.nvidiadrm.modeset=3D1 This must be set before loading nvdidia-drm.ko, most easily done by placing= the above in /boot/loader.conf. # kldload nvidia-drm kldload: an error occurred while loading module nvidia-drm. Please check dm= esg(8) for more details. DMESG : KLD nvidia-drm.ko: depends on nvidia_modeset - not available or version mis= match linker_load_file: /boot/modules/nvidia-drm.ko - unsupported file type
=09

=C2=A0-- =
Mario.
--00000000000047975406344f63e1--