Follow-up from comment#12, I can reproduce this issue on I+N (external
hdmi port wires to dGPU) on DELL-Precision-7760.

---
 三  31 10:57:35 ubuntu-Precision-7760 gnome-shell[2492]: Object 0x7faffc27c980 
of type IBusText has been finalized while it was still owned by gjs, this is 
due to invalid memory management.
 三  31 10:57:35 ubuntu-Precision-7760 gnome-shell[2492]: Object 0x55ce0075bc40 
of type IBusText has been finalized while it was still owned by gjs, this is 
due to invalid memory management.
 三  31 10:57:35 ubuntu-Precision-7760 gnome-shell[2492]: Object 0x55ce0075bc40 
of type IBusText has been finalized while it was still owned by gjs, this is 
due to invalid memory management.
 三  31 10:57:35 ubuntu-Precision-7760 gnome-shell[2492]: Object 0x55ce0075bf50 
of type IBusText has been finalized while it was still owned by gjs, this is 
due to invalid memory management.
 三  31 10:57:41 ubuntu-Precision-7760 gnome-shell[2492]: 
meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' 
failed
 三  31 10:57:41 ubuntu-Precision-7760 gnome-shell[2492]: setup_framebuffers: 
assertion 'width > 0' failed
 三  31 10:57:42 ubuntu-Precision-7760 gnome-shell[2492]: setup_framebuffers: 
assertion 'width > 0' failed
 三  31 10:57:42 ubuntu-Precision-7760 gnome-shell[2492]: setup_framebuffers: 
assertion 'width > 0' failed
 三  31 10:57:42 ubuntu-Precision-7760 gnome-shell[2492]: setup_framebuffers: 
assertion 'width > 0' failed
 三  31 10:57:45 ubuntu-Precision-7760 gnome-shell[2492]: Object 0x7faf74004130 
of type IBusText has been finalized while it was still owned by gjs, this is 
due to invalid memory management.
 三  31 10:57:45 ubuntu-Precision-7760 gnome-shell[2492]: Object 0x55ce03b87330 
of type IBusText has been finalized while it was still owned by gjs, this is 
due to invalid memory management.
 三  31 10:57:45 ubuntu-Precision-7760 gnome-shell[2492]: Object 0x55cdffba6760 
of type IBusText has been finalized while it was still owned by gjs, this is 
due to invalid memory management.
 三  31 10:57:45 ubuntu-Precision-7760 gnome-shell[2492]: Object 0x7faffc2f7df0 
of type IBusText has been finalized while it was still owned by gjs, this is 
due to invalid memory management.
 三  31 10:57:45 ubuntu-Precision-7760 gnome-shell[2492]: Object 0x7faffc23df40 
of type IBusText has been finalized while it was still owned by gjs, this is 
due to invalid memory management.
 三  31 10:57:49 ubuntu-Precision-7760 gnome-shell[2492]: Created gbm renderer 
for '/dev/dri/card1'
 三  31 10:57:49 ubuntu-Precision-7760 gnome-shell[2492]: Failed to allocate 
onscreen framebuffer for /dev/dri/card1: Failed to create gbm_surface: 
Operation not permitted
 三  31 10:57:49 ubuntu-Precision-7760 gnome-shell[2492]: GNOME Shell crashed 
with signal 5
 三  31 10:57:49 ubuntu-Precision-7760 gnome-shell[2492]: == Stack trace for 
context 0x55cdfef5c180 ==
 三  31 10:57:49 ubuntu-Precision-7760 gnome-shell[2492]: Failed to create 
fallback offscreen framebuffer: Failed to create texture 2d due to size/format 
constraint
...
 三  31 10:57:56 ubuntu-Precision-7760 gnome-shell[5958]: Running GNOME Shell 
(using mutter 42.beta) as a Wayland display server
---

Which also break the auto-login feature (after auto-login, gnome restart
then screen back to gdm login shell)

$ dpkg -l | grep mutter
ii  gir1.2-mutter-10:amd64                     42~beta-1ubuntu2                 
       amd64        GObject introspection data for Mutter
ii  libmutter-10-0:amd64                       42~beta-1ubuntu2                 
       amd64        window manager library from the Mutter window manager
ii  mutter-common                              42~beta-1ubuntu2                 
       all          shared files for the Mutter window manager

Hi Daniel,

Do you have a PPA could try your patch like this
https://gitlab.gnome.org/vanvugt/mutter/-/commit/8354289650aa3ae0c531820d3a95251b627f9eb4
?

** Changed in: oem-priority
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1959888

Title:
  Wayland sessions can't use external monitors that are connected to an
  Nvidia GPU with the proprietary driver

Status in Mutter:
  Unknown
Status in OEM Priority Project:
  Confirmed
Status in mutter package in Ubuntu:
  Fix Committed

Bug description:
  When an external display is connected to my laptop, running Ubuntu
  22.04, the display is detected and I am sent to the login screen.
  After logging in again, the display is not running, although the
  primary laptop display works fine. The external monitor is looking for
  connection in that moment, which it never founds.

  The bug is tested on two Samsung monitors: S24R350FHUXEN and
  S22F350FHU.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: xorg 1:7.7+23ubuntu1
  ProcVersionSignature: Ubuntu 5.15.0-18.18-generic 5.15.12
  Uname: Linux 5.15.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.01.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  495.46  Wed Oct 27 16:31:33 
UTC 2021
   GCC version:  gcc version 11.2.0 (Ubuntu 11.2.0-14ubuntu1)
  ApportVersion: 2.20.11-0ubuntu76
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: unknown
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb  3 13:25:04 2022
  DistUpgraded: 2022-01-13 15:37:13,056 DEBUG Running PostInstallScript: 
'/usr/lib/ubuntu-advantage/upgrade_lts_contract.py'
  DistroCodename: jammy
  DistroVariant: ubuntu
  DkmsStatus:
   nvidia/495.46, 5.15.0-17-generic, x86_64: installed
   nvidia/495.46, 5.15.0-18-generic, x86_64: installed
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] [8086:3e9b] (prog-if 
00 [VGA controller])
     Subsystem: Dell CoffeeLake-H GT2 [UHD Graphics 630] [1028:086f]
     Subsystem: Dell GP107M [GeForce GTX 1050 Ti Mobile] [1028:086f]
  InstallationDate: Installed on 2021-09-09 (146 days ago)
  InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 
(20190210)
  MachineType: Dell Inc. G3 3579
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-18-generic 
root=UUID=fd3be223-e609-4a8d-97fb-31ee2f754766 ro quiet splash vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: Upgraded to jammy on 2022-01-13 (20 days ago)
  dmi.bios.date: 04/20/2021
  dmi.bios.release: 1.15
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.15.0
  dmi.board.name: 0M5H57
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A05
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.15.0:bd04/20/2021:br1.15:svnDellInc.:pnG33579:pvr:rvnDellInc.:rn0M5H57:rvrA05:cvnDellInc.:ct10:cvr:sku086F:
  dmi.product.family: GSeries
  dmi.product.name: G3 3579
  dmi.product.sku: 086F
  dmi.sys.vendor: Dell Inc.
  nvidia-settings:
   ERROR: Unable to find display on any available system
   
   
   ERROR: Unable to find display on any available system
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.109-2ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 21.2.2-1ubuntu1
  version.libgl1-mesa-glx: libgl1-mesa-glx 21.2.2-1ubuntu1
  version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.14-1ubuntu1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2build1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20200714-1ubuntu2
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.17-1build1

To manage notifications about this bug go to:
https://bugs.launchpad.net/mutter/+bug/1959888/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to