Public bug reported:

GLX apps fail to run on Ubuntu LTS 22.04. They used to run fine on
Ubuntu LTS 20.04

USER@COMPUTER:~$ glxgears
X Error of failed request:  GLXUnsupportedPrivateRequest
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  17 (X_GLXVendorPrivateWithReply)
  Serial number of failed request:  32
  Current serial number in output stream:  32

USER@COMPUTER:~$ glxinfo
name of display: :50.0
X Error of failed request:  GLXUnsupportedPrivateRequest
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  17 (X_GLXVendorPrivateWithReply)
  Serial number of failed request:  27
  Current serial number in output stream:  27

Manually downgrading to mesa-21.x from the Ubuntu 20.04 repository solves the 
problem:
sudo apt purge libgl1-amber-dri
sudo dpkg -i \
  libegl-mesa0_21.2.6-0ubuntu0.1~20.04.2_amd64.deb \
  libgbm1_21.2.6-0ubuntu0.1~20.04.2_amd64.deb \
  libgl1-mesa-dri_21.2.6-0ubuntu0.1~20.04.2_amd64.deb \
  libglapi-mesa_21.2.6-0ubuntu0.1~20.04.2_amd64.deb \
  libglx-mesa0_21.2.6-0ubuntu0.1~20.04.2_amd64.deb \
  libxatracker2_21.2.6-0ubuntu0.1~20.04.2_amd64.deb \
  mesa-va-drivers_21.2.6-0ubuntu0.1~20.04.2_amd64.deb \
  mesa-vdpau-drivers_21.2.6-0ubuntu0.1~20.04.2_amd64.deb \
  mesa-vulkan-drivers_21.2.6-0ubuntu0.1~20.04.2_amd64.deb
sudo apt-mark hold \
  libegl-mesa0 \
  libgl1-mesa-dri \
  libglapi-mesa \
  libglx-mesa0 \
  mesa-va-drivers \
  mesa-vdpau-drivers \
  mesa-vulkan-drivers \
  libgbm1 \
  libxatracker2 

There's also a discussion about this on the X2Go user list, but no solution so 
far (just the workaround to downgrade to mesa 21.x):
https://lists.x2go.org/pipermail/x2go-user/2022-June/006825.html

Similar problems on Ubuntu 23.-04 with mesa 23.x, although there the
error message is different.

Tested on several computers with connections from different Linux, Windows and 
Mac clients.
All show the same behaviour: no go with mesa-22.x on Ubuntu-22.04. Success with 
downgraded mesa.


How to replicate:
  - install ubuntu 22.04 on real hardware or on a VM (tested with 
QEMU/virt-manager)
  - apt-get install x2goserver-xsession mesa-utils
  - make X2Go connection from another client to new install
  - run 'glxinfo' -> GLX error
  - downgrade mesa to v. 21.x -> no GLX error

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: libgl1-mesa-glx 22.2.5-0ubuntu0.1~22.04.1
ProcVersionSignature: Ubuntu 5.19.0-40.41~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-40-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair 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.07.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  510.108.03  Thu Oct 20 
05:10:45 UTC 2022
 GCC version:  gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
BootLog:
 
CasperMD5CheckResult: unknown
CompositorRunning: None
CurrentDesktop: XFCE
Date: Wed Apr 26 10:41:42 2023
DistUpgraded: 2022-05-12 16:08:31,041 DEBUG Running PostInstallScript: 
'/usr/lib/ubuntu-advantage/upgrade_lts_contract.py'
DistroCodename: jammy
DistroVariant: ubuntu
DkmsStatus:
 nvidia/510.108.03, 5.19.0-38-generic, x86_64: installed
 nvidia/510.108.03, 5.19.0-40-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
 NVIDIA Corporation GM204GL [Quadro M4000] [10de:13f1] (rev a1) (prog-if 00 
[VGA controller])
   Subsystem: NVIDIA Corporation GM204GL [Quadro M4000] [10de:1153]
InstallationDate: Installed on 2017-03-24 (2223 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
MachineType: Dell Inc. Precision WorkStation 690
ProcEnviron:
 LANGUAGE=en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.19.0-40-generic 
root=UUID=a6888b05-975d-4ffe-9cf1-a37038661267 ro quiet splash vt.handoff=7
SourcePackage: mesa
UpgradeStatus: Upgraded to jammy on 2022-05-12 (348 days ago)
dmi.bios.date: 04/25/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A08
dmi.board.name: 0MY171
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 7
dmi.chassis.vendor: Dell Inc.
dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd04/25/2008:svnDellInc.:pnPrecisionWorkStation690:pvr:rvnDellInc.:rn0MY171:rvrA01:cvnDellInc.:ct7:cvr:sku:
dmi.product.name: Precision WorkStation 690
dmi.sys.vendor: Dell Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.113-2~ubuntu0.22.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 22.2.5-0ubuntu0.1~22.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx 22.2.5-0ubuntu0.1~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.1
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: mesa (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy possible-manual-nvidia-install ubuntu

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

Title:
  GLX apps fail to run in X2Go remote desktop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/2017762/+subscriptions


_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to