- Thread Starter
- #26
its a laptop or pc ?
It's a PC, that I built. It has an AsRock H110 ITX motherboard, an Intel i7-7700 CPU, 32 G of Ram and an NVIDIA GTX 1050Ti GPU.
its a laptop or pc ?
Im reading handbook.Fresh install of FreeBSD with an NVIDIA GTX 1050 ti. Starting *any* Wayland compositor gives me a black screen, no mouse, no nothing, and no way to control-C. I have to power cycle the machine to exit. I followed the FreeBSD Handbook almost to the letter.
I can't find any pertinent error messages anywhere in the logs, although I'm new at this and may not be looking in the right place.
I have installed wayland, seatd, sway, wayfire, dwl, plasma6, nvidia-drm-61-kmod, nvidia-settings, nvidia-driver-570, and nvidia-drm-kmod. Starting sway, wayfire, dwl, and plasma-wayland all give the same behavior, using something like
or
I have in /boot/loader.conf:
and in /etc/rc.conf:
X11 works fine, and the NVIDIA X11 Configuration app sees the GPU just fine.
<span># sysrc kld_list+=nvidia-drm</span>
This is the direct rendering KMS driver.
Both PRIME and Wayland require kernel modesetting.
Prior versions of the driver do not support Direct Rendering.Instead use the modesetting module,by executing the following command:
<span># sysrc kld_list+=nvidia-modeset</span>
Would not correct for nvidia drivers, at least for xorg.Yyou dont need to have nvidia-drm together with nvidia-modeset so one or another, so i think only nvidia-modeset and remove nvidia-drm from rc.conf as its KMS
But this is what handbook states. "nvidia-drm" This is the direct rendering KMS driver and its not supported by Wayland.Would not correct for nvidia drivers, at least for xorg.
If this is correct, xorg can sanely detect nvidia-modeset.ko (or nvidia.ko directly for specific legacy drivers). But it isn't.
Unless Wayland, which are under developement that "wanna be" succeeding xorg by same developers, has the feature to detect proprietary nvidia driver that xorg does NOT have, additional configuration, seemingly disallowed for Wayland, is mandatory.
On the other hand, using nvidia-drm.ko, it wrapps around underlying actual driver modules to expose DRM interface that xorg and Wayland can detect.
I don't see that in the handbook, where is it?But this is what handbook states. "nvidia-drm" This is the direct rendering KMS driver and its not supported by Wayland.
I dont run Wayland on nVidia, i dont run Wayland at all so i cant test it but i copied directly from Handbook . Section 5.
Maybe i misunderstand all of this ?I don't see that in the handbook, where is it?
I don't read that as saying that Wayland is incompatible with kms. But it isn't entirely clear.Maybe i misunderstand all of this ?
Oh, you know - i just now noted it says PRIOR VERSIONS of the driver. My bad!I don't read that as saying that Wayland is incompatible with kms. But it isn't entirely clear.
On the other hand, I found this: