Bug 1392119 - Incorrect monitor descriptions in Settings::Displays
Summary: Incorrect monitor descriptions in Settings::Displays
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: mutter
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Müllner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-04 21:12 UTC by Ralph Giles
Modified: 2017-07-26 21:44 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-07-26 21:44:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
example screenshot (22.23 KB, image/png)
2016-11-04 21:12 UTC, Ralph Giles
no flags Details

Description Ralph Giles 2016-11-04 21:12:15 UTC
Created attachment 1217509 [details]
example screenshot

Description of problem:

The 'Displays' panel in the gnome Settings app shows incorrect monitor descriptions.

Version-Release number of selected component (if applicable):

control-center-3.22.1-2.fc25.x86_64

How reproducible:

I only noticed today. I think it said 'Dell' at least for the larger monitor other times I've run it. This was after waking from sleep and having to re-arrange the displays because they woke up in a different order.

Steps to Reproduce:
1. launch `gnome-control-center display`
2. Check display listing for correct manufactures an dimensions.

Actual results:

App lists Dell 27" monitor as a Hewlett Packard 27" monitor
App lists Hewlett Packard 24" monitors as 25" monitors.

Expected results:

Dell 27"
Hewlett Packard 24"
Hewlett Packard 24"

Additional info:

$ find /sys/devices -name edid | xargs -n 1 edid-decode | grep Manufacturer:
Manufacturer: HWP Model 26f9 Serial Number 16843009
Manufacturer: HWP Model 26f8 Serial Number 16843009
Manufacturer: DEL Model 40bd Serial Number 1095192140
Manufacturer: @@@ Model 0 Serial Number 0

Comment 1 Bastien Nocera 2016-11-07 12:14:45 UTC
gnome-control-center gets those from libgnome-desktop which gets them from mutter. mutter then gets it from either KMS or Xorg depending on whether you're running Wayland or X.org.

Which one are you running? What's the output of "xrandr -q" before and after suspend on your system?

Comment 2 Ralph Giles 2016-11-07 19:42:56 UTC
I believe I'm running wayland.

$ xrandr -q
Screen 0: minimum 320 x 200, current 6240 x 2160, maximum 8192 x 8192
XWAYLAND0 connected 3840x2160+2400+0 600mm x 340mm
   3840x2160     59.98*+
XWAYLAND1 connected 1200x1920+1200+134 540mm x 350mm
   1200x1920     59.87*+
XWAYLAND2 connected 1200x1920+0+134 540mm x 350mm
   1200x1920     59.87*+

After a fresh boot. So the 25" report is correct according to was xrandr reports for the physical dimensions, and edid-decode says the same. Physically the display is more like 338x596mm, but perhaps the device is reporting incorrectly.

600x340mm is pretty accurate for the the Dell. I measure 596x338 which is very close to the spec sheet's 0.1554 mm pixel pitch.

That just leaves the incorrect manufacture. I'll see if I can reproduce again and report xrandr -q after that.

Comment 3 Ralph Giles 2016-11-07 20:18:16 UTC
After lock screen followed by monitor sleep, `gnome-control-center display` lists:

Hewlett Packard 27"  (incorrect manufacturer--should be Dell)
Hewlett Packard 25"
Unknown 25" (should be Hewlett Packard)

```
$ xrandr -q
Screen 0: minimum 320 x 200, current 6240 x 2160, maximum 8192 x 8192
XWAYLAND1 connected 1200x1920+1200+0 540mm x 350mm
   1200x1920     59.87*+
XWAYLAND2 connected 1200x1920+0+0 540mm x 350mm
   1200x1920     59.87*+
XWAYLAND3 connected 3840x2160+2400+0 600mm x 340mm
   3840x2160     59.98*+
```

Comment 4 Ralph Giles 2016-11-07 20:21:24 UTC
Note the XWAYLAND$N assignments have changed. Perhaps something is assuming the wake-up order is always the same rather than looking at port connections or serial numbers?

Comment 5 Rui Matos 2016-11-07 20:40:16 UTC
Can you post the output of this command both before and after this happens?

gdbus call --session --dest org.gnome.Mutter.DisplayConfig --object-path /org/gnome/Mutter/DisplayConfig --method org.gnome.Mutter.DisplayConfig.GetResources

Also, did this started happening recently? Which kernel version do you have? Can you try an older version ?

Comment 6 Ralph Giles 2016-11-07 23:43:14 UTC
Kernel is 4.8.6-300.fc25.x86_64.

Looks like mutter is returning the incorrect names: 

$ gdbus call --session --dest org.gnome.Mutter.DisplayConfig --object-path /org/gnome/Mutter/DisplayConfig --method org.gnome.Mutter.DisplayConfig.GetResources
(uint32 11, [(uint32 0, int64 32, 2400, 0, 3840, 2160, 26, uint32 0, [uint32 0, 1, 2, 3, 4, 5, 6, 7], @a{sv} {}), (1, 34, 1200, 0, 1200, 1920, 20, 3, [0, 1, 2, 3, 4, 5, 6, 7], {}), (2, 36, 0, 0, 1200, 1920, 20, 1, [0, 1, 2, 3, 4, 5, 6, 7], {}), (3, 38, 0, 0, 0, 0, -1, 0, [0, 1, 2, 3, 4, 5, 6, 7], {}), (4, 40, 0, 0, 0, 0, -1, 0, [0, 1, 2, 3, 4, 5, 6, 7], {}), (5, 42, 0, 0, 0, 0, -1, 0, [0, 1, 2, 3, 4, 5, 6, 7], {})], [(uint32 0, int64 44, 0, [uint32 0, 1, 2, 3, 4, 5], 'DP-1', [uint32 26, 63, 30, 62, 61, 54, 60, 13, 49, 59, 48, 53, 6, 33, 58, 38, 39, 21, 12, 0, 9, 7, 52, 10, 22, 47, 57, 46, 51, 45, 56, 8, 35, 44, 50, 3, 1, 19, 55, 31, 29, 43, 27, 36, 42, 18, 5, 41, 2, 25, 34, 14, 37, 11, 24, 15, 4, 32], @au [], {'vendor': <'HWP'>, 'product': <'HP LP2475w'>, 'serial': <'CNC1130MJ8'>, 'width-mm': <600>, 'height-mm': <340>, 'display-name': <'Hewlett Packard 27"'>, 'backlight': <-1>, 'min-backlight-step': <-1>, 'primary': <true>, 'presentation': <false>, 'connector-type': <'DisplayPort'>, 'underscanning': <false>, 'supports-underscanning': <false>, 'edid': <[byte 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x22, 0xf0, 0xf9, 0x26, 0x01, 0x01, 0x01, 0x01, 0x0d, 0x15, 0x01, 0x04, 0xa5, 0x36, 0x23, 0x78, 0xee, 0xce, 0x50, 0xa3, 0x54, 0x4c, 0x99, 0x26, 0x0f, 0x50, 0x54, 0xa5, 0x6b, 0x80, 0x81, 0x40, 0xa9, 0x00, 0xa9, 0x40, 0xb3, 0x00, 0xd1, 0x00, 0xd1, 0xc0, 0x01, 0x01, 0x01, 0x01, 0x28, 0x3c, 0x80, 0xa0, 0x70, 0xb0, 0x23, 0x40, 0x30, 0x20, 0x36, 0x00, 0x22, 0x60, 0x21, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0xfc, 0x00, 0x48, 0x50, 0x20, 0x4c, 0x50, 0x32, 0x34, 0x37, 0x35, 0x77, 0x0a, 0x20, 0x20, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x30, 0x55, 0x1e, 0x5e, 0x15, 0x04, 0x11, 0x50, 0xd2, 0xf8, 0x58, 0xf0, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x43, 0x4e, 0x43, 0x31, 0x31, 0x33, 0x30, 0x4d, 0x4a, 0x38, 0x0a, 0x20, 0x20, 0x00, 0x0f]>}), (1, 46, 1, [0, 1, 2, 3, 4, 5], 'DP-2', [20, 53, 40, 58, 52, 28, 22, 47, 16, 57, 46, 51, 45, 56, 8, 17, 44, 50, 55, 29, 43, 27, 36, 42, 23, 18, 5, 41, 24, 15, 32], [], {'vendor': <'HWP'>, 'product': <'HP LP2475w'>, 'serial': <'CNC9210J5F'>, 'width-mm': <540>, 'height-mm': <350>, 'display-name': <'Hewlett Packard 25"'>, 'backlight': <-1>, 'min-backlight-step': <-1>, 'primary': <false>, 'presentation': <false>, 'connector-type': <'DisplayPort'>, 'underscanning': <false>, 'supports-underscanning': <false>, 'edid': <[byte 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x22, 0xf0, 0xf8, 0x26, 0x01, 0x01, 0x01, 0x01, 0x15, 0x13, 0x01, 0x03, 0x80, 0x36, 0x23, 0x78, 0xee, 0xce, 0x50, 0xa3, 0x54, 0x4c, 0x99, 0x26, 0x0f, 0x50, 0x54, 0xa5, 0x6b, 0x80, 0x81, 0x40, 0x81, 0x80, 0xa9, 0x00, 0xa9, 0x40, 0xb3, 0x00, 0xd1, 0x00, 0x01, 0x01, 0x01, 0x01, 0x28, 0x3c, 0x80, 0xa0, 0x70, 0xb0, 0x23, 0x40, 0x30, 0x20, 0x36, 0x00, 0x22, 0x60, 0x21, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0xfc, 0x00, 0x48, 0x50, 0x20, 0x4c, 0x50, 0x32, 0x34, 0x37, 0x35, 0x77, 0x0a, 0x20, 0x20, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x30, 0x55, 0x1e, 0x5e, 0x11, 0x00, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xff, 0x00, 0x43, 0x4e, 0x43, 0x39, 0x32, 0x31, 0x30, 0x4a, 0x35, 0x46, 0x0a, 0x20, 0x20, 0x01, 0x73, 0x02, 0x03, 0x1e, 0x71, 0x4b, 0x01, 0x02, 0x04, 0x85, 0x06, 0x10, 0x11, 0x13, 0x14, 0x15, 0x1f, 0x23, 0x09, 0x07, 0x07, 0x83, 0x01, 0x00, 0x00, 0x65, 0x03, 0x0c, 0x00, 0x10, 0x00, 0x01, 0x1d, 0x80, 0x18, 0x71, 0x1c, 0x16, 0x20, 0x58, 0x2c, 0x25, 0x00, 0x06, 0x44, 0x21, 0x00, 0x00, 0x9e, 0x01, 0x1d, 0x80, 0xd0, 0x72, 0x1c, 0x16, 0x20, 0x10, 0x2c, 0x25, 0x80, 0x06, 0x44, 0x21, 0x00, 0x00, 0x9e, 0x01, 0x1d, 0x00, 0x72, 0x51, 0xd0, 0x1e, 0x20, 0x6e, 0x28, 0x55, 0x00, 0x06, 0x44, 0x21, 0x00, 0x00, 0x1e, 0x01, 0x1d, 0x00, 0xbc, 0x52, 0xd0, 0x1e, 0x20, 0xb8, 0x28, 0x55, 0x40, 0x06, 0x44, 0x21, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xef]>}), (2, 48, 2, [0, 1, 2, 3, 4, 5], 'DP-3', [20, 53, 33, 58, 38, 39, 21, 12, 0, 52, 28, 22, 47, 16, 57, 46, 51, 45, 56, 8, 35, 17, 44, 50, 1, 19, 55, 31, 29, 43, 27, 36, 42, 23, 18, 5, 41, 2, 25, 34, 14, 37, 11, 24, 15, 4, 32], [], {'vendor': <'unknown'>, 'product': <'unknown'>, 'serial': <'unknown'>, 'width-mm': <540>, 'height-mm': <350>, 'display-name': <'Unknown 25"'>, 'backlight': <-1>, 'min-backlight-step': <-1>, 'primary': <false>, 'presentation': <false>, 'connector-type': <'DisplayPort'>, 'underscanning': <false>, 'supports-underscanning': <false>})], [(uint32 0, int64 0, uint32 1920, uint32 1080, 25.000499725341797, uint32 21), (1, 1, 1280, 720, 60.000499725341797, 5), (2, 2, 720, 576, 50.000499725341797, 10), (3, 3, 1280, 800, 59.810825347900391, 6), (4, 4, 640, 480, 60.000499725341797, 10), (5, 5, 800, 600, 60.317043304443359, 5), (6, 6, 1920, 1200, 59.885101318359375, 6), (7, 7, 1920, 1080, 23.976579666137695, 5), (8, 8, 1280, 1024, 75.025177001953125, 5), (9, 9, 1920, 1080, 24.000499725341797, 5), (10, 10, 1680, 1050, 59.954746246337891, 6), (11, 11, 720, 480, 29.970527648925781, 4122), (12, 12, 1920, 1080, 29.970603942871094, 21), (13, 13, 2560, 1440, 59.9510498046875, 9), (14, 14, 720, 480, 59.940559387207031, 10), (15, 15, 640, 480, 75.000495910644531, 10), (16, 16, 1600, 1000, 60.008884429931641, 6), (17, 17, 1280, 960, 60.000499725341797, 5), (18, 18, 800, 600, 75.000503540039062, 5), (19, 19, 1280, 720, 59.940704345703125, 5), (20, 20, 1920, 1200, 59.950672149658203, 9), (21, 21, 1920, 1080, 30.000497817993164, 21), (22, 22, 1600, 1200, 60.000499725341797, 5), (23, 23, 832, 624, 74.551765441894531, 10), (24, 24, 720, 400, 70.082160949707031, 6), (25, 25, 720, 576, 25.000499725341797, 4122), (26, 26, 3840, 2160, 59.997123718261719, 9), (27, 27, 1024, 768, 75.029075622558594, 5), (28, 28, 1680, 1050, 59.883750915527344, 9), (29, 29, 1152, 864, 75.000503540039062, 5), (30, 30, 3840, 2160, 29.981103897094727, 9), (31, 31, 1280, 720, 50.000499725341797, 5), (32, 32, 640, 480, 59.940975189208984, 10), (33, 33, 1920, 1080, 60.000495910644531, 5), (34, 34, 720, 480, 60.000499725341797, 10), (35, 35, 1280, 1024, 60.020236968994141, 5), (36, 36, 1024, 768, 60.004344940185547, 10), (37, 37, 720, 480, 30.001607894897461, 4122), (38, 38, 1920, 1080, 59.940700531005859, 5), (39, 39, 1920, 1080, 50.000495910644531, 5), (40, 40, 1920, 1080, 60.000495910644531, 10), (41, 41, 800, 600, 59.861904144287109, 6), (42, 42, 1024, 768, 59.920631408691406, 6), (43, 43, 1152, 864, 59.959136962890625, 6), (44, 44, 1280, 960, 59.939552307128906, 6), (45, 45, 1400, 1050, 59.97894287109375, 6), (46, 46, 1440, 1080, 59.989345550537109, 6), (47, 47, 1600, 1200, 59.869609832763672, 6), (48, 48, 1920, 1440, 59.968486785888672, 6), (49, 49, 2048, 1536, 59.954292297363281, 6), (50, 50, 1280, 800, 59.810825347900391, 6), (51, 51, 1440, 900, 59.887947082519531, 6), (52, 52, 1680, 1050, 59.954746246337891, 6), (53, 53, 1920, 1200, 59.885101318359375, 6), (54, 54, 2560, 1600, 59.987091064453125, 6), (55, 55, 1280, 720, 59.855625152587891, 6), (56, 56, 1368, 768, 59.882545471191406, 6), (57, 57, 1600, 900, 59.946521759033203, 6), (58, 58, 1920, 1080, 59.963344573974609, 6), (59, 59, 2048, 1152, 59.903682708740234, 6), (60, 60, 2560, 1440, 59.961124420166016, 6), (61, 61, 2880, 1620, 59.960758209228516, 6), (62, 62, 3200, 1800, 59.956634521484375, 6), (63, 63, 3840, 2160, 59.981430053710938, 6), (64, 64, 4096, 2304, 59.989528656005859, 6), (65, 65, 5120, 2880, 59.987663269042969, 6)], 16384, 16384)

Comment 7 Ralph Giles 2016-11-07 23:56:30 UTC
I'm not sure if the behaviour is new. This is a new machine, and I've only tried fedora 25 beta 1.1 + updates on it. The first time I ran `Displays` they were correct, but that would have been after first login before the monitors went to sleep.

Trying older kernels is inconvenient because I usually don't see the grub screen on boot. The machine's uefi boot firmware seems confused by the 4k monitor.

Comment 8 Ralph Giles 2017-07-26 21:44:26 UTC
I haven't seen this is a while. Closing.


Note You need to log in before you can comment on or make changes to this bug.