I got a recommendation for (x)wayland to enable hw.nvidiadrm.fbdev.
Using it back then on linux I got a nice performance boost in xwayland applications.
How relevant is that option for FreeBSD ?
I also noticed that the pkg of the nvidia-driver tells me to enable hw.nvidiadrm.modeset in
But having it commented out, and adding hw.nvidiadrm.fbdev=1 into my
Inspecting my loaded kernel modules:
The modeset is loaded, too ?
But if I issue:
Does that mean that hw.nvidiadrm.modeset gets loaded implicitly by hw.nvidiadrm.fbdev ?
That would mean that modeset, and fbdev are both enabled, but cannot be both enabled during the initial boot stage ?
EDIT:
I need to have hw.nvidiadrm.modeset=1 in my loader.conf file or sway won't start with the error message 0 GPUs found.
If I set hw.nvidiadrm.modeset=0 in my loader.conf, sway won't start.
But enabling both hw.nvidiadrm.modeset, and hw.nvidiadrm.fbdev gets me stuck on boot.
My nvidia driver version is 565.77 with nvidia-drm-61-kmod.
Using it back then on linux I got a nice performance boost in xwayland applications.
How relevant is that option for FreeBSD ?
I also noticed that the pkg of the nvidia-driver tells me to enable hw.nvidiadrm.modeset in
/boot/loader.conf.But having it commented out, and adding hw.nvidiadrm.fbdev=1 into my
/boot/loader.conf works just fine for X11.Inspecting my loaded kernel modules:
Code:
INPUT:
kldstat | grep nvidia
Output:
12 1 0xffffffff82693000 149b0 nvidia-drm.ko
18 2 0xffffffff82800000 40ac9a8 nvidia.ko
19 1 0xffffffff868ad000 1325e8 nvidia-modeset.ko
The modeset is loaded, too ?
But if I issue:
Code:
INPUT:
sysctl hw.nvidiadrm
Output:
hw.nvidiadrm.fbdev: 1
hw.nvidiadrm.modeset: 0
That would mean that modeset, and fbdev are both enabled, but cannot be both enabled during the initial boot stage ?
EDIT:
I need to have hw.nvidiadrm.modeset=1 in my loader.conf file or sway won't start with the error message 0 GPUs found.
If I set hw.nvidiadrm.modeset=0 in my loader.conf, sway won't start.
But enabling both hw.nvidiadrm.modeset, and hw.nvidiadrm.fbdev gets me stuck on boot.
My nvidia driver version is 565.77 with nvidia-drm-61-kmod.