Nvidia drivers fail to install libnvidia-egl-wayland1, resulting in Zink being used
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
nvidia-graphics-drivers-535 (Ubuntu) | Status tracked in Oracular | |||||
Noble |
Fix Committed
|
Medium
|
Alessandro Astone | |||
Oracular |
Fix Committed
|
High
|
Alessandro Astone | |||
nvidia-graphics-drivers-545 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | |||
nvidia-graphics-drivers-550 (Ubuntu) | Status tracked in Oracular | |||||
Noble |
Fix Committed
|
Medium
|
Alessandro Astone | |||
Oracular |
Fix Committed
|
High
|
Alessandro Astone |
Bug Description
[ Impact ]
In a Ubuntu 24.04 system with NVIDIA as the sole GPU, graphical programs in the GNOME Wayland session will use MESA's Zink as the OpenGL driver.
[ Test Plan ]
* Log into the Wayland session from a machine with an NVIDIA GPU and no other GPU (such as integrated graphics, or iGPU).
* In a terminal window run `eglinfo -B -p wayland`
* Verify that there are no mentions of "zink" in the output
[ Where problems could occur ]
The fix is being included as part of a new nvidia driver release, so unrelated regressions from that version upgrade may show up.
[ Original description ]
Apologies if I have misfiled this bug - this is a report of an issue affecting Wayland in Ubuntu 24.04 beta.
Using 24.04 beta logging in with Wayland. Nautilus has very significant performance issues. Doesn't happen when logging in with Xorg instead of Wayland.
Opening Nautilus windows - including normal windows navigation, and the file download location dialogue in things like Chrome - extremely slow. Takes approx. 10 seconds to process user double clicking to open folder. Attempting to drag folder across screen usually doesn't work, or takes a very long time.
Not very skilled at debugging, but programmes like Gimp, which has its own built-in folder explorer for choosing a location to save an image, do not have this problem. Ubuntu 24.04 with X does not have this problem. No performance issues have been noticed with folder navigation, stat'ing files etc. over the command line. It is only nautilus and Wayland that give me this issue, so I suspect it is not an issue with my SSD.
The following output was observed when starting nautilus over the command line:
/home/me/ $ nautilus .
** Message: 23:43:50.560: Connecting to org.freedesktop
libEGL warning: egl: failed to create dri2 screen
After approx. 10 seconds, the folder opened on screen. I double clicked on a sub directory, and it took about 9 seconds to open.
I have attempted to show that this is not an issue with my SSD here:
/home/me/ $ date; cd workspace/; touch foo.txt; ls foo*; cd ../; date;
Wed Apr 17 11:58:16 PM BST 2024
foo.txt
Wed Apr 17 11:58:16 PM BST 2024
As you can see, no unusual slowdown was observed.
Obtaining the following setting for my bug report, I note that the 'Settings' GUI utility is among the areas affect by my very significant system slowdown. I have copied some details about my system including its graphics card in case that helps.
# System Details Report
---
## Report details
- **Date generated:** 2024-04-17 23:59:54
## Hardware Information:
- **Hardware Model:** ASUS ROG STRIX B550-F GAMING
- **Memory:** 32.0 GiB
- **Processor:** AMD Ryzen™ 7 5800X × 16
- **Graphics:** zink Vulkan 1.3(NVIDIA GeForce GTX 1050 Ti (NVIDIA_
- **Disk Capacity:** 2.0 TB
## Software Information:
- **Firmware Version:** 2006
- **OS Name:** Ubuntu Noble Numbat (development branch)
- **OS Build:** (null)
- **OS Type:** 64-bit
- **GNOME Version:** 46
- **Windowing System:** Wayland
- **Kernel Version:** Linux 6.8.0-22-generic
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSign
Uname: Linux 6.8.0-22-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 545.29.06 Thu Nov 16 01:59:08 UTC 2023
GCC version:
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 17 23:44:47 2024
DistUpgraded: 2024-04-11 13:09:51,904 DEBUG migrateToDeb822
DistroCodename: noble
DistroVariant: ubuntu
ExtraDebuggingI
GraphicsCard:
NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82] (rev a1) (prog-if 00 [VGA controller])
Subsystem: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82]
InstallationDate: Installed on 2024-04-11 (6 days ago)
InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
MachineType: ASUS System Product Name
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-
XDG_RUNTIME_
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
UpgradeStatus: Upgraded to noble on 2024-04-11 (6 days ago)
dmi.bios.date: 03/19/2021
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2006
dmi.board.
dmi.board.name: ROG STRIX B550-F GAMING
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.
dmi.sys.vendor: ASUS
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.120-2build1
version.
version.
version.
version.
version.
version.
version.
version.
tags: | added: nvidia nvidia-wayland |
Changed in nautilus (Ubuntu): | |
status: | Incomplete → New |
summary: |
- 24.04 Wayland vs Nautilus performance problem + Nvidia drivers fail to install libnvidia-egl-wayland1, resulting in Zink + being used |
affects: | nautilus (Ubuntu) → nvidia-graphics-drivers-545 (Ubuntu) |
Changed in nvidia-graphics-drivers-545 (Ubuntu): | |
status: | Confirmed → Won't Fix |
Changed in nvidia-graphics-drivers-535 (Ubuntu): | |
assignee: | nobody → Alessandro Astone (aleasto) |
Changed in nvidia-graphics-drivers-550 (Ubuntu): | |
assignee: | nobody → Alessandro Astone (aleasto) |
no longer affects: | nvidia-graphics-drivers-545 (Ubuntu Noble) |
no longer affects: | nvidia-graphics-drivers-545 (Ubuntu Oracular) |
Changed in nvidia-graphics-drivers-550 (Ubuntu Noble): | |
assignee: | nobody → Alessandro Astone (aleasto) |
Changed in nvidia-graphics-drivers-535 (Ubuntu Noble): | |
status: | Triaged → Fix Committed |
Changed in nvidia-graphics-drivers-550 (Ubuntu Noble): | |
status: | Triaged → Fix Committed |
description: | updated |
Thanks for the bug report.
Please try:
1. sudo rm /dev/dri/card0 # to work around bug 2060268, and then log in again. Did that solve it?
2. When the problem starts happening please open a Terminal and run:
journalctl -b0 > journal.txt
xlsclients > xclients.txt
and attach the resulting text files here.
3. While the problem is happening run 'top' in a Terminal window and tell us which process (if any) is using high CPU.