Won't recognize monitor/Gnome shell crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
meta-gnome3 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Previously, I was using a Startech USB hub with an HDMI port to connect to an LG monitor, and connecting to my Slimbook laptop on one of the USB-C ports. I had to switch between a Mac for work and my Slimbook for personal use, and this was a convenient configuration.
Since I no longer needed to connect to the Mac, I removed the USB hub and connected the monitor directly to the HDMI port on my laptop.
Expected:
The external LG monitor should display output.
Actual:
The monitor said, "No signal detected", and nothing would appear on the monitor. Unplugging the HDMI cable would cause Gnome shell (`gdm`?) to crash and log me out.
Before crashing, system settings would recognize both monitors and allow me to change the configuration of the external monitor, but nothing would ever appear on the external monitor.
Work-around:
1. I disconnected the external monitor from the USB hub.
2. `mv .config/
3. Connect the monitor to the laptop's USB port (caused the crash for Gnome shell).
4. Log back in.
5. The external monitor was now recognized. No `.config/
6. Open system settings and change the external monitor configuration (e.g. layout, resolution). Image/layout changed and a `.config/
7. Haven't had a crash of Gnome shell yet.
I'm running X11 (because I have Nvidia video):
```
echo $XDG_SESSION_TYPE
x11
```
Some symptoms were similar to bugs such as: https:/
The `monitors.xml` that fails/caused crashes:
```
<monitors version="2">
<configuration>
<logicalmon
<x>0</x>
<y>0</y>
<
<
<monitor>
<mode>
</mode>
</monitor>
</logicalmo
<disabled>
<monitorspec>
<product>LG HDR 4K</product>
<
</disabled>
</configuration>
<configuration>
<logicalmon
<x>0</x>
<y>441</y>
<
<monitor>
<mode>
</mode>
</monitor>
</logicalmo
<logicalmon
<x>2560</x>
<y>0</y>
<
<
<monitor>
<mode>
</mode>
</monitor>
</logicalmo
</configuration>
<configuration>
<logicalmon
<x>2560</x>
<y>0</y>
<
<
<monitor>
<mode>
</mode>
</monitor>
</logicalmo
<logicalmon
<x>0</x>
<y>233</y>
<
<monitor>
<mode>
</mode>
</monitor>
</logicalmo
</configuration>
<configuration>
<logicalmon
<x>2560</x>
<y>261</y>
<
<monitor>
<mode>
</mode>
</monitor>
</logicalmo
<logicalmon
<x>0</x>
<y>0</y>
<
<
<monitor>
<mode>
</mode>
</monitor>
</logicalmo
</configuration>
</monitors>
```
The one that works now:
```
<monitors version="2">
<configuration>
<logicalmon
<x>2560</x>
<y>0</y>
<
<monitor>
<mode>
</mode>
</monitor>
</logicalmo
<logicalmon
<x>0</x>
<y>0</y>
<
<
<monitor>
<mode>
</mode>
</monitor>
</logicalmo
</configuration>
</monitors>
```
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome (not installed)
ProcVersionSign
Uname: Linux 6.8.0-57-generic x86_64
NonfreeKernelMo
ApportVersion: 2.28.1-0ubuntu3.5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu Apr 10 10:56:16 2025
InstallationDate: Installed on 2022-08-26 (958 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
SourcePackage: meta-gnome3
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
# set this to 0 to disable apport, or to 1 to enable it
# you can temporarily override this with
# sudo service apport start force_start=1
enabled=0
mtime.conffile.