Bug#1008296: Workaround for my machine

Sebastián Lacuesta sebastianlacuesta at gmail.com
Thu Oct 6 03:56:43 BST 2022


Now added nvidia_drm.modeset=1 as a kernel parameter and doing cat
/sys/module/nvidia_drm/parameters/modeset gives me: Y
Still need to have the `ln -s /dev/null /etc/udev/rules.d/61-gdm.rules`
hack in order to have Wayland properly. I do have the kms-modifiers
activated too.
Versions of libxcb, egl-wayland are 1.15 and 1.1.10 respectively.

Issue starts by not having wayland options in gdm and in turn, my gnome
session later.

El lun, 19 sept 2022 a las 14:27, Alban Browaeys (<alban.browaeys at gmail.com>)
escribió:

> About modeset, ie Kernel Mode Setting being required or not I found
> this about https://wiki.archlinux.org/title/Wayland#Requirements 5.1
> that "Enabling DRM KMS is required.". THe next link points to
>
> https://download.nvidia.com/XFree86/Linux-x86_64/515.48.07/README/xwayland.html
> which tells that:
> "
> Requirements
>
> The following are necessary to enable accelerated rendering on Xwayland
> with the NVIDIA driver:
>
>    - DRM KMS must be enabled. See Chapter 36, Direct Rendering Manager
> Kernel Modesetting (DRM KMS) for details.
>
>    - The installed copy of Xwayland should be a build from the master
> branch of https://gitlab.freedesktop.org/xorg/xserver at least as
> recent as commit c468d34c. Note that if this requirement is not
> satisfied, the NVIDIA GPU can still be used for rendering, however it
> will fall back to a suboptimal path for presentation resulting in
> degraded performance.
>
>    - libxcb version 1.13 or later must be present.
>
>    - egl-wayland version 1.1.7 or later must be present (if installed
> separately from the the NVIDIA driver).
>
>    - If using the GNOME desktop environment, kms-modifiers must be
> enabled through gsettings. This can be done with the following command
> gsettings set org.gnome.mutter experimental-features [\"kms-
> modifiers\"]
>
> "
>
> So currently, once logged in gnome wayland without modeset enabled, you
> should not have Xwayland application (most games) running hardware
> accelerated.
> To not end up on software acceleration you have to enable KMS (by the
> settings I sent you previously) and also setting an experimental
> feature in the gnome session:
> gsettings set org.gnome.mutter experimental-features [\"kms-modifiers\"]
>
> maybe you can check if you are on software acceleration on Xwayland
> with glxgears/glxinfo . Maybe you can send your glxinfo output without
> nvidia modeset set and logged in a wayland session?
>
>
> Kind regards,
>
> Alban
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20221005/4895be1b/attachment-0001.htm>


More information about the pkg-gnome-maintainers mailing list