Wayland freeze with libnvidia-egl-wayland1 package installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
egl-wayland (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
My C++ application using FLTK on Wayland (a video player and review program):
https:/
sometimes stops playback randomly.
The problem occurs with:
- Wayland (XWayland and X11 is fine)
- libndivia-
- FLTK
It is not yet clear if the problem is with EGL or FLTK's use of it. The FLTK Wayland developer lacks an NVidia graphics card so he cannot troubleshoot it. I am hoping Ubuntu's developers or, if you have NVidia contacts, can verify whether it is a driver issue or an FLTK issue.
To quickly compile my application for testing, clone the repository and from the root of it, run:
mkdir -p ~/bin
./bin/runme_
A link to the .sh executable will be placed on ~/bin.
If you want to compile a debug build, run:
./bin/runme_
To test the problem, run:
mrv2 or mrv2-dbg (assuming ~/bin is in your PATH).
with a an .mp4 movie file -- size does not seem to matter (sometimes it will stop right away, other times it takes some time to do so -- it seems random):
mrv2 movie.mp4
or:
mrv2 movie.mov
The problem seems to be that EGL/Wayland freezes due to a server lock, which prevents the FLTK's timeout callbacks from running (so there's no video or timeline updates until the user interacts -- moving the mouse releases the freeze).
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSign
Uname: Linux 6.5.0-18-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 535.171.04 Tue Mar 19 20:30:00 UTC 2024
GCC version: gcc version 12.3.0 (Ubuntu 12.3.0-
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
BootLog: Error: [Errno 13] Permiso denegado: '/var/log/boot.log'
CasperMD5CheckR
CompizPlugins: No value set for `/apps/
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Thu May 16 19:41:21 2024
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
DkmsStatus:
nvidia/535.171.04, 6.5.0-18-generic, x86_64: installed
nvidia/535.171.04, 6.5.0-35-generic, x86_64: installed
ExtraDebuggingI
GraphicsCard:
NVIDIA Corporation GA102 [GeForce RTX 3080 Lite Hash Rate] [10de:2216] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd GA102 [GeForce RTX 3080 Lite Hash Rate] [1458:404b]
InstallationDate: Installed on 2023-03-13 (430 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
MachineType: Gigabyte Technology Co., Ltd. B450M DS3H WIFI
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/20/2022
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: F64d
dmi.board.
dmi.board.name: B450M DS3H WIFI-CF
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: Default string
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: B450 MB
dmi.product.name: B450M DS3H WIFI
dmi.product.sku: Default string
dmi.product.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.113-
version.
version.
version.
version.
version.
version.
version.
version.
affects: | xorg (Ubuntu) → egl-wayland (Ubuntu) |
libnvidia- egl-wayland. so.1.1. 13 seems to have solved the freezes for me. However it has problems when maximizing the window to fullscreen, leaving the title bar sometimes still redrawing it.