Public bug reported: My C++ application using FLTK on Wayland (a video player and review program):
https://www.github.com/ggarra13/mrv2 sometimes stops playback randomly. The problem occurs with: - Wayland (XWayland and X11 is fine) - libndivia-egl-wayland1 installed for OpenGL acceleration (Mesa works fine but cannot play 4K) - 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_ffmpeg_exr.sh (for the most minimal player that should take 8 mins to compile) A link to the .sh executable will be placed on ~/bin. If you want to compile a debug build, run: ./bin/runme_ffmpeg_exr.sh debug 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 ProcVersionSignature: Ubuntu 6.5.0-18.18~22.04.1-generic 6.5.8 Uname: Linux 6.5.0-18-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia .proc.driver.nvidia.capabilities.gpu0: Error: path was not a regular file. .proc.driver.nvidia.capabilities.mig: Error: path was not a regular file. .proc.driver.nvidia.gpus.0000.09.00.0: Error: path was not a regular file. .proc.driver.nvidia.registry: Binary: "" .proc.driver.nvidia.suspend: suspend hibernate resume .proc.driver.nvidia.suspend_depth: default modeset uvm .proc.driver.nvidia.version: 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-1ubuntu1~22.04) ApportVersion: 2.20.11-0ubuntu82.5 Architecture: amd64 BootLog: Error: [Errno 13] Permiso denegado: '/var/log/boot.log' CasperMD5CheckResult: pass CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' 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 ExtraDebuggingInterest: Yes 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=/boot/vmlinuz-6.5.0-18-generic root=UUID=c818488b-5ecb-4753-90ba-6dcfb95c3ed3 ro quiet splash 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.asset.tag: Default string dmi.board.name: B450M DS3H WIFI-CF dmi.board.vendor: Gigabyte Technology Co., Ltd. dmi.board.version: Default string dmi.chassis.asset.tag: Default string dmi.chassis.type: 3 dmi.chassis.vendor: Default string dmi.chassis.version: Default string dmi.modalias: dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF64d:bd07/20/2022:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB450MDS3HWIFI:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB450MDS3HWIFI-CF:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring: dmi.product.family: B450 MB dmi.product.name: B450M DS3H WIFI dmi.product.sku: Default string dmi.product.version: Default string dmi.sys.vendor: Gigabyte Technology Co., Ltd. version.compiz: compiz N/A version.libdrm2: libdrm2 2.4.113-2~ubuntu0.22.04.1 version.libgl1-mesa-dri: libgl1-mesa-dri 23.2.1-1ubuntu3.1~22.04.2 version.libgl1-mesa-glx: libgl1-mesa-glx 23.0.4-0ubuntu1~22.04.1 version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A version.xserver-xorg-core: xserver-xorg-core 2:21.1.4-2ubuntu1.7~22.04.10 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1 ** Affects: xorg (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug false-gpu-hang freeze jammy possible-manual-nvidia-install ubuntu wayland-session -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065943 Title: Wayland freeze with libnvidia-egl-wayland1 package installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/2065943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs