Public bug reported:

I'm using Nvidia driver and PRIME profile is set to performance, however in 
Wayland only, GLX is rendered by Intel GPU and can't have Nvidia as default 
renderer.
This is a problem because not all OpenGL applications can work with XWayland or 
by setting the ENV variables to use Nvidia.

In Xorg Nvidia can be the default renderer with the same configuration.

$ prime-select query
nvidia

$ glxinfo -B
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) Xe Graphics (TGL GT2) (0x9a49)
    Version: 22.0.1
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Xe Graphics (TGL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.0.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.0.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.0.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-shell 42.1-0ubuntu0.1
ProcVersionSignature: Ubuntu 5.15.0-35.36-generic 5.15.35
Uname: Linux 5.15.0-35-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sat Jun  4 15:15:50 2022
DisplayManager: gdm3
GsettingsChanges:
 
InstallationDate: Installed on 2022-02-03 (120 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
RelatedPackageVersions: mutter-common 42.1-0ubuntu1
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to jammy on 2022-04-21 (43 days ago)

** Affects: gnome-shell (Ubuntu)
     Importance: Undecided
         Status: New

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


** Tags: amd64 apport-bug jammy

** Also affects: wayland (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to wayland in Ubuntu.
https://bugs.launchpad.net/bugs/1977648

Title:
  GLX is rendered by Intel GPU only in Wayland

Status in gnome-shell package in Ubuntu:
  New
Status in wayland package in Ubuntu:
  New

Bug description:
  I'm using Nvidia driver and PRIME profile is set to performance, however in 
Wayland only, GLX is rendered by Intel GPU and can't have Nvidia as default 
renderer.
  This is a problem because not all OpenGL applications can work with XWayland 
or by setting the ENV variables to use Nvidia.

  In Xorg Nvidia can be the default renderer with the same
  configuration.

  $ prime-select query
  nvidia

  $ glxinfo -B
  name of display: :1
  display: :1  screen: 0
  direct rendering: Yes
  Extended renderer info (GLX_MESA_query_renderer):
      Vendor: Intel (0x8086)
      Device: Mesa Intel(R) Xe Graphics (TGL GT2) (0x9a49)
      Version: 22.0.1
      Accelerated: yes
      Video memory: 3072MB
      Unified memory: yes
      Preferred profile: core (0x1)
      Max core profile version: 4.6
      Max compat profile version: 4.6
      Max GLES1 profile version: 1.1
      Max GLES[23] profile version: 3.2
  OpenGL vendor string: Intel
  OpenGL renderer string: Mesa Intel(R) Xe Graphics (TGL GT2)
  OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.0.1
  OpenGL core profile shading language version string: 4.60
  OpenGL core profile context flags: (none)
  OpenGL core profile profile mask: core profile

  OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.0.1
  OpenGL shading language version string: 4.60
  OpenGL context flags: (none)
  OpenGL profile mask: compatibility profile

  OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.0.1
  OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: gnome-shell 42.1-0ubuntu0.1
  ProcVersionSignature: Ubuntu 5.15.0-35.36-generic 5.15.35
  Uname: Linux 5.15.0-35-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Sat Jun  4 15:15:50 2022
  DisplayManager: gdm3
  GsettingsChanges:
   
  InstallationDate: Installed on 2022-02-03 (120 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  RelatedPackageVersions: mutter-common 42.1-0ubuntu1
  SourcePackage: gnome-shell
  UpgradeStatus: Upgraded to jammy on 2022-04-21 (43 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1977648/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to