[MIR] egl-wayland
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
egl-wayland (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Impish |
Won't Fix
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-470 (Ubuntu) |
Fix Released
|
Medium
|
Alberto Milone | ||
Impish |
Fix Released
|
Medium
|
Alberto Milone | ||
nvidia-graphics-drivers-495 (Ubuntu) |
Fix Released
|
Medium
|
Alberto Milone | ||
Impish |
Won't Fix
|
Medium
|
Alberto Milone |
Bug Description
MIR Template:
[Availability]
Already available in universe now for impish with the minimum required 1.1.7 version.
[Rationale]
Past nvidia driver releases are in restricted. If the 470 release follows the pattern and ultimately ends up in restricted it will suffer a performance penalty when used with Xwayland unless egl-wayland version 1.1.7 (or later) from outside the main+restricted repository set (universe) has also been installed.
[Security]
No search results found for CVS, oss-security.
No Ubuntu CVE results for egl-wayland or variations thereof.
The egl-wayland package installs a library with mode 0644 for use by the nvidia egl driver.
While this does not seem to present security issues of its own, the library will be loaded and used by the nvidia egl driver and may therefore share any security concerns applicable to that driver.
[Quality assurance]
Once installed, use of egl-wayland by the nvidia egl driver is automatic, the single configuration file (/usr/share/
There is no configuration or other end user interaction. The package itself does not have any UI of its own.
The current universe version of the package comes from the upstream Debian package.
There is a debian/watch file present.
[Dependencies]
The required dependencies (libc6, libwayland-client, libwayland-server) are already present in main.
[Standards compliance]
Appears to comply with both the FHS and Debian Policy standards. The "/usr/share/
[Maintenance]
The egl-wayland package is a small package with few dependencies that is already being maintained upstream by Debian.
Since it only installs a library and a config file and does not have any of its own UI, there are no i18n or l10n support issues.
[Background information]
The libnvidia-gl 470 drivers have been officially released as of
2021-07-19 and have since become available in multiverse.
The libnvidia-gl 470 release notes discuss performance under xwayland
here:
<https:/
Quoting from those release notes:
> The following are necessary to enable accelerated rendering on
> Xwayland with the NVIDIA driver:
>
> * DRM KMS must be enabled. See Chapter 35, Direct Rendering Manager
> Kernel Modesetting (DRM KMS) for details.
>
> * The installed copy of Xwayland should be a build from the master
> branch of https:/
> 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-
The first item is easily accomplished with something like this:
/etc/
options nvidia-drm modeset=1
For the second item, commit 763f4fb278 in the freedesktop.org xserver
repository cherry-picks commit c468d34c (and an associated, not
mentioned, but also required commit) and is first included in the
xwayland-21.1.1.901 release on 2021-06-30.
For the third item it appears that libxcb version 1.13 or later has
been widely in use for some years now.
For the fourth item, egl-wayland version 1.1.7 was released from the
upstream repository on 2021-05-11:
https:/
The fifth item, if needed, is easily accomplished via the "gsettings"
command mentioned in those release notes.
Which brings us to the point of this request.
The impish repositories for the forthcoming 21.10 release at this
point now include xwayland-21.1.1.901 and, with the kind assistance
of Timo Aaltonen, libnvidia-
version to facilitate running the i386 version of libnvidia-gl for
32-bit only apps on a 64-bit system).
In other words, impish is all ready to go for full "accelerated
rendering on Xwayland with the NVIDIA driver" using packages
currently available.
But, if the 470 release follows the pattern of past libnvidia-gl
releases, it will end up in the "restricted" repository at some point.
According to:
https:/
The "main" repository is "Canonical-
software." while the "restricted" repository is "Proprietary drivers
for devices."
However, it also says, "The Ubuntu Install CDs contain software
from the "Main" and "Restricted" repositories," but makes no mention
of any "Universe" software being included on those CDs.
This page:
https:/
goes on to say about the "restricted" repository:
> we make exceptions for a small set of tools and drivers that make
> it possible to install Ubuntu and its free applications on everyday
> hardware. These proprietary drivers are kept in the restricted
> component. Please note that it may not be possible to provide
> complete support for this software because we are unable to fix
> the software ourselves
In this case, the problem is that the proprietary drivers being "kept
in the restricted component" (in particular the libnvidia-gl 470
release likely to end up in "restricted") require a package from
the "universe" repository (the libnvidia-
avoid suffering from crippled graphics performance when running
Xwayland.
Since, apparently, no "universe" software has been included on the
Ubuntu Install CDs, once the Nvidia 470 drivers make their way to
restricted, the performance on Nvidia graphics hardware will suffer
when running Xwayland after installation from the CDs unless an the
additional libnvidia-
downloaded and installed.
Installation in security sensitive environments where access to
external internet connections has been deliberately cut off comes
to mind as an example where this arrangement could be a problem.
This situation would be easily remedied by moving the
libnvidia-
making sure it's included on the Ubuntu Install CDs.
It's a small package (less than 30KiB for the package, less than
70KiB installed -- double that to include both amd64 and i386 in
order to support 32-bit running on 64-bit).
How about it? Can the libnvidia-
moved from the "universe" repository into "main" before the Nvidia
470 drivers migrate to "restricted"?
summary: |
- move libnvidia-egl-wayland1 package from universe into main + [MIR] egl-wayland |
Changed in egl-wayland (Ubuntu): | |
assignee: | nobody → Dan Streetman (ddstreet) |
description: | updated |
Changed in egl-wayland (Ubuntu): | |
status: | Confirmed → Incomplete |
Changed in egl-wayland (Ubuntu): | |
status: | In Progress → Confirmed |
Changed in egl-wayland (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in nvidia-graphics-drivers-470 (Ubuntu): | |
status: | New → In Progress |
Changed in nvidia-graphics-drivers-495 (Ubuntu): | |
status: | New → In Progress |
Changed in nvidia-graphics-drivers-470 (Ubuntu): | |
importance: | Undecided → Medium |
Changed in nvidia-graphics-drivers-495 (Ubuntu): | |
importance: | Undecided → Medium |
Changed in nvidia-graphics-drivers-470 (Ubuntu): | |
assignee: | nobody → Alberto Milone (albertomilone) |
Changed in nvidia-graphics-drivers-495 (Ubuntu): | |
assignee: | nobody → Alberto Milone (albertomilone) |
Changed in egl-wayland (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in nvidia-graphics-drivers-470 (Ubuntu Impish): | |
status: | New → In Progress |
Changed in nvidia-graphics-drivers-495 (Ubuntu Impish): | |
status: | New → In Progress |
Changed in nvidia-graphics-drivers-470 (Ubuntu Impish): | |
importance: | Undecided → Medium |
Changed in nvidia-graphics-drivers-495 (Ubuntu Impish): | |
importance: | Undecided → Medium |
Changed in nvidia-graphics-drivers-470 (Ubuntu Impish): | |
assignee: | nobody → Alberto Milone (albertomilone) |
Changed in nvidia-graphics-drivers-495 (Ubuntu Impish): | |
assignee: | nobody → Alberto Milone (albertomilone) |
The process for adding packages to Main is slightly more complex - there’s a template that should be used and certain details that need to be included, as well as specific steps to take in order to cause the right people to see it and advance the process. This wiki page has all the details: https:/ /wiki.ubuntu. com/MainInclusi onProcess
I think you should be able to add the relevant information here (edit the description), no need to open a new bug.