To be safe, if anyone want to unload kernel modules after load, don't rely on autoloading.
Confirm relationship (depend on / depended upon) first, and carefully specify the order NOT to cause autoloads (all that needed are already loaded).
This COULD allow unloading later. But some modules are...
More precisely:
nvidia-modeset.ko pulls in nvidia.ko as its dependency.
nvidia.ko pulls in linux.ko as its dependency for Linux compatibility support.
linux.ko pulls in mqueuefs.ko and linux_common.ko as its dependency.
Build x11/nvidia-kmod locally via ports with LINUX option disabled...
You're going to need to build x11/nvidia-kmod with LINUX turned off. You cannot unload them because technically they're "in use" (there's a module depending on them, namely nvidia; which is autoloaded by nvidia-modeset)
thanks for your god voice ... but i cannot kldunload linux.ko and linux_common.ko .....what way i can go to turn off linux.ko and linx_common.ko autoload when system boot. thanks.
Yes, it's due to the LINUX option of x11/nvidia-kmod. Note that the driver doesn't require linux to function, it works fine without it. It's merely there so the driver can be used with the Linux Compatibility layer. If you don't use the Linux compatibility you can turn the option off.
sysrc linux_enable="YES"
The /etc/rc.d/linux rc script will load whatever is appropriate. Don't need to add anything to /boot/loader.conf.
And the default nvidia-modeset kernel module will automagically pull in any dependent linux kernel modules if needed.
...stamped 150100 or higher.
Note that if your kmods are stamped 150068 they are for freebsd 15.0 and is probably not compatible with 15.1
pkg info | egrep "drm|nvidia|amd" will show if your installed drivers are for the expected version of the...
I agree with this, i.e. also start supporting nouveau and nvk, it would mean a more consistent support starting with g80 cards (point at which modesetting works fine). NVK is also progressing nicely.
The performance is not on par with the official drivers but at least post maxwell it's no longer...
...Otherwise I would agree this is the way forward.
In light of this, I'd recommend give up and go full in with nouveau until we're tier 1 for Nvidia.
The blob from Nvidia is lacking cuda, lacks support for older hardware compared to nouveau and requires a shed load of patches and compromises...
IDK, seems like they accepted that they were't going to use FreeBSD to solve the problem 😆
I think it's reasonable to expect that nvidia hardware work without having to fiddle with it, particularly if Linux does, and be annoyed that it doesn't.
...pointless makes me a
and a
and being accused of insults.
Take my last advice:
Seek help.
You true issues are neiter with any OS, nor some NVIDIA drivers, or anything like it.
It's something like a dissatisfaction you carry somewhere deep inside yourself.
But this here is neither the place...
You need to ask Nvidia to release open-source drivers so FreeBSD can put it in the source tree.
FreeBSD can hack around their blobs so much but its not perfect. This is essentially out of our hands.
If you like BSD and want to keep with it, then check out NetBSD, they have Nouveau, the...
...made up your mind to use some turn-key Linux. OK.
And also about other things, like never using AMD ever again. OK.
I had the same with NVIDIA for over twenty years, now because finally I got my fingers burned with AMD I'm now running a NVIDIA card again and am happy with it. But OK.
There is...
Ok, I'm writing this from a sway window manager on an Nvidia machine. It works but there is a message. "Proprietary GPU drivers are not supported by sway. Do not report issues". For tiled window managers, I've always preferred more dwm style, so not a big deal for me. Though for wayland, there's...
Not sure as what I'm currently using for testing Wayland (startup OK or not, though) is Wayfire, but it could be because EGL supports by NVIDIA were EGLStream based (using graphics/egl-wayland), which is NOT mainly supported by Wayland compositors.
If this is the case, 560 series and later...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.