Rotated screen is blank in Wayland sessions [Failed to set CRTC mode 1600x1200: No space left on device]

Bug #1808226 reported by HankB
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Using "ubuntu-gnome-desktop" ("vanilla-gnome-desktop" also installed) with external 1600x1200 monitor rotated 90 deg. Monitor connected via HDMI and using Inel i915 driver.

1) Login to "Ubuntu" session. Use Settings -> Display to rotate monitor 90 deg left. Accept new settings. Logout.
2) Login to "Ubuntu on Wayland" External monitor gets no signal.
Following line at the end of 'dmesg' output seems to relate to the issue:
Dec 12 14:37:46 saugage gnome-shell[6125]: Failed to set CRTC mode 1600x1200: No space left on device

Searching for this message reveals several reports of Gnome Shell crashing at this point. It does not crash for me but the external monitor remains unusable.

hbarta@saugage:/var/log$ lsb_release -rd
Description: Ubuntu 18.04.1 LTS
Release: 18.04
hbarta@saugage:/var/log$

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome-shell 3.28.3-0ubuntu0.18.04.3
ProcVersionSignature: Ubuntu 4.15.0-42.45-generic 4.15.18
Uname: Linux 4.15.0-42-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Dec 12 14:44:42 2018
DisplayManager: gdm3
GsettingsChanges:
 b'org.gnome.shell' b'command-history' redacted by apport
 b'org.gnome.shell' b'favorite-apps' redacted by apport
 b'org.gnome.desktop.interface' b'gtk-im-module' b"'gtk-im-context-simple'"
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US
 SHELL=/bin/bash
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
HankB (hbarta) wrote :
tags: added: black-screen
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It sounds like this bug is only affecting "Ubuntu on Wayland" and not "Ubuntu". Is that right?

The error message:

  Failed to set CRTC mode 1600x1200: No space left on device

comes from mutter's eglnative (Wayland) backend, after calling drmModeSetCrtc. So "No space left on device" is an error from the kernel with no further explanation :(

Can you please try logging into "Ubuntu" (the Xorg session), run 'xrandr' and send us the output?

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
HankB (hbarta) wrote :

Yes, seems to be related to Wayland.

I have attached xrandr output from an Xorg session.

Thanks!

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks.

If you can then please try the latest stable release of Gnome Shell by installing Ubuntu 18.10. But only if it is convenient.

If you don't or can't find that the problem is fixed in a later release already then please report it to the developers here:

  https://gitlab.gnome.org/GNOME/mutter/issues

with details of the symptoms and the error message. And then tell us the new bug ID.

summary: - rotated screen is blank
+ Rotated screen is blank in Wayland sessions [Failed to set CRTC mode
+ 1600x1200: No space left on device]
Revision history for this message
HankB (hbarta) wrote :

I updated to 18.10 in place. That fixes the problem with the blank screen. Unfortunately the menu to the upper left does not seem to get focus. To logout I go to the upper right and type logout which loads a 'logout app.' I suppose that's a different bug.

Thank you for your help. Please let me know if you would like further testing. I'm working with scripts to install Ubuntu (and Debian) on ZFS root and can load up a fresh install in a little longer than it takes to install using the conventional installer.

Changed in gnome-shell (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Kella Wedill (kella-wedill) wrote :

Just installed Ubuntu 18.04 LTS on HP EliteBook 8470p. Got the same error on fresh boot. It probebly was because of ubuntu now uses screen rotation gyro(?) and started to rotate screen. Anyway, to steps to fix.

1. CTRL+ALT+F2 to get into console.
2. Login
3. Do https://linuxconfig.org/how-to-disable-wayland-and-enable-xorg-display-server-on-ubuntu-18-04-bionic-beaver-linux
4. Do https://askubuntu.com/questions/1035209/how-to-turn-off-screen-rotation-in-ubuntu-18-04-lts

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This bug is closed. If you experience any further/different issues then please open new bugs for those.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.