Public bug reported:

I apologize if this is in the wrong category.  I reported this bug to
NVidia, but thought I should report it with you guys too, as the Wayland
version in Ubuntu 24.04.4 LTS has changed.

$ lsb_release -rd
No LSB modules are available.
Description:    Ubuntu 24.04 LTS
Release:        24.04


I have been testing Wayland on Ubuntu 22.04.4 LTS successfully with NVidia 
drivers and this setup:

libnvidia-cfg1-535:amd64                        install
libnvidia-common-535                            install
libnvidia-compute-535:amd64                     install
libnvidia-compute-535:i386                      install
libnvidia-decode-535:amd64                      install
libnvidia-decode-535:i386                       install
libnvidia-encode-535:amd64                      install
libnvidia-encode-535:i386                       install
libnvidia-extra-535:amd64                       install
libnvidia-fbc1-535:amd64                        install
libnvidia-fbc1-535:i386                         install
libnvidia-gl-535:amd64                          install
libnvidia-gl-535:i386                           install

together with:

libnvidia-egl-wayland1:amd64       taken from the Ubuntu 24.04.4 LTS
repository.

Except for some minor issues with Google Chrome's title bar, it worked
very well.  My OpenGL application would work fine.

Now, with Ubuntu 24.04.4 LTS, and the latest NVidia drivers:

libnvidia-cfg1-555:amd64                        install
libnvidia-common-555                            install
libnvidia-compute-555:amd64                     install
libnvidia-decode-555:amd64                      install
libnvidia-egl-wayland1:amd64                    install
libnvidia-encode-555:amd64                      install
libnvidia-extra-555:amd64                       install
libnvidia-fbc1-555:amd64                        install
libnvidia-gl-555:amd64                          install

OpenGL applications that use textures don't work (hang) or report
errors.  Also, Google Chrome's window did not show up when reporting the
bug (I had to log in as X11).

To test it quickly, you can use my open source OpenGL video player
(compiled on Rocky Linux 8.10 for compatibility so you'll get some
warnings), which can be downloaded from:

https://github.com/ggarra13/mrv2/releases

If you are afraid of binary releases, here are two tests (a quick FLTK
only test):


sudo apt install make \
libpango1.0-dev \
libwayland-dev \
wayland-protocols \
libxkbcommon-dev \
libxinerama-dev  \
libdbus-1-dev   \
libglew-dev     \
cmake           \
libgtk-3-dev

git clone https://github.com/fltk/fltk
mkdir build
cd build
cmake .. -D FLTK_BUILD_EXAMPLES=ON
make
cd bin/test
export FLTK_BACKEND=x11
./cube                 # works fine
export FLTK_BACKEND=wayland
./cube                  # hangs
cd -
cd bin/examples
./OpenGL3test       # to verify driver version and OpenGL setup 


and my own viewer (a longer test, in the quickest compile option -- takes about 
8 mins to compile):

I can have you compile my program with minimal functionality so that you
can test it too.  Tested on Ubuntu 24.04.4 LTS under amd64.

$ git clone https://github.com/ggarra13/mrv2

Install dependencies:

$ sudo apt update
$ sudo apt -y install curl build-essential perl git cmake ninja-build \
                    libpango1.0-dev \
            xorg-dev libx11-dev libxcursor-dev libxinerama-dev \
            libxss-dev gettext libasound2-dev \
            libpulse-dev libssl-dev libffi-dev \
            libwayland-dev wayland-protocols libdbus-1-dev \
            libxkbcommon-dev libegl-dev libgtk-3-dev rpm \
                    doxygen tk-dev libxt-dev libnvidia-egl-wayland1


$ mkdir -p $HOME/bin

$ export PATH=$HOME/bin:$PATH

$ cd mrv2

$ bin/runme_ffmpeg_exr.sh      #  All runme* scripts can run in "debug"
mode by appending debug to them.

(say y to the prompt)

Once it is done, it should create a symlink from BUILD-Linux-
amd64/Release/install/bin/mrv2.sh to $HOME/bin/mrv2

Test it with:

$ mrv2 /path/to/a/movie.mp4

You will get all sort of texture warnings and no playback under Ubuntu
24.04.4 LTS but should work fine under Ubuntu 22.04.4 LTS.

What I expect to happen.  OpenGL applications should not hang nor should
they report errors under Wayland.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: wayland-protocols 1.34-1
ProcVersionSignature: Ubuntu 6.8.0-35.35-generic 6.8.4
Uname: Linux 6.8.0-35-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Fri Jun 21 21:29:20 2024
Dependencies:
 
InstallationDate: Installed on 2024-06-12 (9 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
PackageArchitecture: all
ProcEnviron:
 LANG=es_ES.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
SourcePackage: wayland-protocols
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: wayland-protocols (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2070084

Title:
  Ubuntu 24.04.4 LTS Wayland regression from Ubuntu 22.04.4 LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wayland-protocols/+bug/2070084/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to