Settings app crashes with Wayland, in cc_display_settings_rebuild_ui
I am on a newly installed Fedora Workstation 30. My device (GPD Win 2) comes with a screen that has wrong default orientation, so my first course of action after installation was to rotate the screen in Settings. The app however crashes before I can get to the display settings, with this output:
[tear@localhost ~]$ gnome-control-center
(gnome-control-center:3236): display-cc-panel-WARNING **: 09:48:36.194: Monitor at eDP-1 has no modes?
**
display-cc-panel:ERROR:../panels/display/cc-display-settings.c:275:cc_display_settings_rebuild_ui: assertion failed: (modes)
Aborted (core dumped)
It appears that the display reports invalid EDID data:
[tear@localhost ~]$ edid-decode /sys/class/drm/card0-eDP-1/edid
Extracted contents:
header: 00 ff ff ff ff ff ff 00
serial number: 32 8d 37 39 5f 02 00 00 16 1c
version: 01 03
basic params: 80 0d 08 78 0a
chroma info: 0d c9 a0 57 47 98 27 12 48 4c
established: 00 00 00
standard: 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1: ac 19 d0 78 20 00 18 50 32 14 84 00 a0 5a 00 00 00 1e
descriptor 2: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
descriptor 3: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
descriptor 4: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
extensions: 00
checksum: 29
EDID version: 1.3
Manufacturer: LTM Model 3937 Serial Number 607
Made in week 22 of 2018
Digital display
Maximum image size: 13 cm x 8 cm
Gamma: 2.20
RGB color display
First detailed timing is preferred timing
Display x,y Chromaticity:
Red: 0.6250, 0.3398
Green: 0.2802, 0.5947
Blue: 0.1552, 0.0703
White: 0.2832, 0.2978
Established timings supported:
Standard timings supported:
Detailed mode: Clock 65.720 MHz, 160 mm x 90 mm
720 770 790 840 hborder 0
1280 1288 1292 1304 vborder 0
+hsync +vsync
VertFreq: 59 Hz, HorFreq: 78238 Hz
Manufacturer-specified data, tag 0
Manufacturer-specified data, tag 0
Manufacturer-specified data, tag 0
Checksum: 0x29 (valid)
EDID block does NOT conform to EDID 1.3!
Missing name descriptor
Missing monitor ranges
The screen however works as expected on Windows 10 as well as Plasma on Xorg, and is able to be rotated in both cases. I think it is reasonable to expect GNOME/Wayland to handle the invalid data as gracefully as other environments.
System info:
Intel Core m3-7Y30
Intel HD Graphics 615
Built-in 720p display, portrait but mounted in landscape
Fedora Workstation 30, freshly installed and fully updated
Linux 5.2.6-200.fc30.x86_64