Bug 264389 - Handbook has misleading information concerning wayland on Nvidia
Summary: Handbook has misleading information concerning wayland on Nvidia
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-doc (Nobody)
URL: https://forums.freebsd.org/threads/ca...
Keywords:
Depends on:
Blocks: handbook-2022
  Show dependency treegraph
 
Reported: 2022-06-01 07:34 UTC by tino.engel
Modified: 2023-12-16 14:09 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tino.engel 2022-06-01 07:34:31 UTC
The handbook states (in chapter 5.10):
"The current Nvidia driver should work with most wl-roots compositors, but it may be a little unstable and not support all features at this time. Volunteers to help work on the Nvidia DRM are requested."
This is misleading, since due to missing module nvidia-drm basically no wayland compositor can be started.
This can also be seen from the package message of wlroots port:
"Known issues: NVIDIA option (aka wlroots-eglstreams) requires nvidia-drm.ko from nvidia-driver"

This means wayland is not functional with nvidia driver, but it may take a lot of time for users to figure this out, since the handbook makes the impression that wayland would work with nvidia.
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2022-06-02 00:06:17 UTC
See also: bug 258264
Comment 2 Jan Beich freebsd_committer freebsd_triage 2022-06-02 22:57:15 UTC
Probably caused by a misunderstanding in review D32436. However, NVIDIA situation should improve in 2022Q4 per https://gitter.im/FreeBSDDesktop/Lobby?at=627c635510cfc315bc75313f

> all nvidia-drm internal changes are in and will be present in a
> couple driver release cycles (roughly fall ish I'm guessing). So at
> that time I'll start populating my github with driver versions with
> the nvidia-drm patches applied and everyone can start testing
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-06-03 06:11:50 UTC
(In reply to Jan Beich from comment #2)

> … per https://gitter.im/FreeBSDDesktop/Lobby?at=627c635510cfc315bc75313f

Thanks, and for users of Matrix (from where ashafer made the comment): 

<https://matrix.to/#/!CqdVWXhlVNfayrEMmW:gitter.im/$B4Ta2dHN0gtr7CMsBmncGzsq9Ixs5gRgv-FwmCYUiNU?via=gitter.im&via=matrix.org&via=mozilla.org>
Comment 4 Jan Beich freebsd_committer freebsd_triage 2023-08-21 03:11:54 UTC
nvidia-drm is now in ports 4754e9fd33c4. After the next /latest package rebuild or after /quarterly moves to 2023Q4 the following maybe enough:

  # pkg install nvidia-drm-kmod
  # sysrc kld_list+=nvidia-drm
  # service kld restart

Disclaimer: I didn't test the above instructions due to lack of an NVIDIA GPU.
Comment 5 Graham Perrin 2023-08-21 07:05:38 UTC
(In reply to Jan Beich from comment #4)

Thanks (to all involved)!

From <https://old.reddit.com/r/freebsd/comments/15wzyln/-/>: 

> … a first attempt to expand upon 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264389#c4: …