[Ubuntu-x-swat] [Bug 1737750] Re: nvidia-graphics-drivers-304 304.137-0ubuntu2 ADT test failure with linux 4.15.0-1.2 [error: implicit declaration of function ‘init_timer’]

2018-07-24 Thread Wouter Depuydt
A 'backport' of "nvidia-340_340.106-0ubuntu3_amd64.deb" from Bionic should do 
the trick as this is fixed by NVidia in nvidia-340.106:
http://www.nvidia.com/Download/driverResults.aspx/130042/en-us
"Release Highlights: Fixed a compatibility problem between the nvidia.ko's Page 
Attribute Table (PAT) support and the kernel Page Table Isolation (PTI) 
patches."

Forcing the installation of "nvidia-340_340.106-0ubuntu3_amd64.deb" from Bionic 
on Xenial seems to work:
  sudo dpkg -i --force-depends nvidia-340_340.106-0ubuntu3_amd64.deb
This then needs a little massaging:
  sudo ln -s /usr/lib/nvidia-340/xorg 
/etc/alternatives/x86_64-linux-gnu_xorg_extra_modules
  sudo ln -s /etc/alternatives/x86_64-linux-gnu_xorg_extra_modules 
/usr/lib/x86_64-linux-gnu/xorg/extra-modules
And commenting out
  ModulePath "/usr/lib/nvidia-340/xorg"
in /usr/share/X11/xorg.conf.d/nvidia-drm-outputclass-ubuntu.conf

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers-304 in Ubuntu.
https://bugs.launchpad.net/bugs/1737750

Title:
  nvidia-graphics-drivers-304 304.137-0ubuntu2 ADT test failure with
  linux 4.15.0-1.2 [error: implicit declaration of function
  ‘init_timer’]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304/+bug/1737750/+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


[Ubuntu-x-swat] [Bug 2017762] Re: GLX apps fail to run in X2Go remote desktop

2023-04-26 Thread Wouter Depuydt
** Also affects: mesa (Debian)
   Importance: Undecided
   Status: New

** Also affects: mesa (Fedora)
   Importance: Undecided
   Status: New

-- 
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


[Ubuntu-x-swat] [Bug 2017762] [NEW] GLX apps fail to run in X2Go remote desktop

2023-04-26 Thread Wouter Depuydt
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..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=
 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: