New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 755527 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Unable to set external monitor resolution to 3840x2160@60

Project Member Reported by reillyg@chromium.org, Aug 15 2017

Issue description

Chrome Version: 60.0.3112.80
OS: 9592.71.0 (Official Build) beta-channel chell

What steps will reproduce the problem?
(1) Connect chell to 4k monitor via USB-C to DisplayPort MST cable.
(2) Open chrome://settings.
(3) Set resolution to 1920x1080.
(4) Set resolution to 3840x2160

What is the expected result?
At steps 1 and 4 external display resolution should be set to 3840x2160.

What happens instead?
At step 1 the external display resolution is set to 2560x1440 but at step 2 it is reported as 3840x2160. Step 3 successfully sets the lower resolution and at step 4 a notification is displayed that the monitor does not support 3840x2160 and the resolution is set to 2560x1440. chrome://settings correctly displays the actual resolution set this time.

[13695:13705:0815/072041.858811:WARNING:screen_manager.cc(114)] : Display controller (crtc=25) already present.
[13695:13705:0815/072041.862439:VERBOSE1:drm_display.cc(102)] : DRM configuring: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=25 connector=36 origin=0,0 size=3200x1800
[13695:13705:0815/072043.378309:WARNING:screen_manager.cc(114)] : Display controller (crtc=25) already present.
[13695:13705:0815/072043.379693:VERBOSE1:drm_display.cc(102)] : DRM configuring: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=25 connector=36 origin=0,0 size=3200x1800
[13695:13705:0815/072043.387607:VERBOSE1:drm_display.cc(102)] : DRM configuring: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=29 connector=52 origin=0,1860 size=3840x2160
[13695:13705:0815/072043.387880:ERROR:crtc_controller.cc(43)] : Failed to modeset: crtc=29 connector=52 framebuffer_id=59 mode=3840x2160@60: Numerical result out of range
[13695:13705:0815/072043.387949:ERROR:screen_manager.cc(408)] : Failed to modeset controller
[13695:13705:0815/072043.388018:VERBOSE1:drm_display.cc(110)] : Failed to configure: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=29 connector=52
[13695:13705:0815/072043.389331:VERBOSE1:drm_display.cc(102)] : DRM configuring: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=29 connector=52 origin=0,1860 size=2560x1440
[13695:13705:0815/072045.466103:WARNING:screen_manager.cc(114)] : Display controller (crtc=25) already present.
[13695:13705:0815/072045.478890:VERBOSE1:drm_display.cc(102)] : DRM configuring: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=25 connector=36 origin=0,0 size=3200x1800
[13695:13705:0815/072046.575029:WARNING:screen_manager.cc(114)] : Display controller (crtc=25) already present.
[13695:13705:0815/072046.575369:VERBOSE1:drm_display.cc(102)] : DRM configuring: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=25 connector=36 origin=0,0 size=3200x1800
[13695:13705:0815/072046.575474:VERBOSE1:drm_display.cc(102)] : DRM configuring: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=29 connector=52 origin=0,1860 size=3840x2160
[13695:13705:0815/072046.575590:ERROR:crtc_controller.cc(43)] : Failed to modeset: crtc=29 connector=52 framebuffer_id=60 mode=3840x2160@60: Numerical result out of range
[13695:13705:0815/072046.575625:ERROR:screen_manager.cc(408)] : Failed to modeset controller
[13695:13705:0815/072046.575664:VERBOSE1:drm_display.cc(110)] : Failed to configure: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=29 connector=52
[13695:13705:0815/072046.575769:VERBOSE1:drm_display.cc(102)] : DRM configuring: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=29 connector=52 origin=0,1860 size=2560x1440
[13695:13705:0815/072049.260378:WARNING:screen_manager.cc(114)] : Display controller (crtc=25) already present.
[13695:13705:0815/072049.260436:WARNING:screen_manager.cc(114)] : Display controller (crtc=29) already present.
[13695:13705:0815/072049.260838:VERBOSE1:drm_display.cc(102)] : DRM configuring: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=25 connector=36 origin=0,0 size=0x0
[13695:13705:0815/072049.547028:VERBOSE1:drm_display.cc(102)] : DRM configuring: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=29 connector=52 origin=0,0 size=3840x2160
[13695:13705:0815/072049.547230:ERROR:crtc_controller.cc(43)] : Failed to modeset: crtc=29 connector=52 framebuffer_id=57 mode=3840x2160@60: Numerical result out of range
[13695:13705:0815/072049.547273:ERROR:screen_manager.cc(408)] : Failed to modeset controller
[13695:13705:0815/072049.547314:VERBOSE1:drm_display.cc(110)] : Failed to configure: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=29 connector=52
[13695:13705:0815/072049.547486:VERBOSE1:drm_display.cc(102)] : DRM configuring: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=29 connector=52 origin=0,0 size=2560x1440
[13695:13705:0815/072137.493292:WARNING:screen_manager.cc(114)] : Display controller (crtc=25) already present.
[13695:13705:0815/072137.493420:WARNING:screen_manager.cc(114)] : Display controller (crtc=29) already present.
[13695:13705:0815/072137.495628:VERBOSE1:drm_display.cc(102)] : DRM configuring: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=25 connector=36 origin=0,0 size=0x0
[13695:13705:0815/072137.495748:VERBOSE1:drm_display.cc(102)] : DRM configuring: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=29 connector=52 origin=0,0 size=1920x1080
[13695:13705:0815/072152.160039:WARNING:screen_manager.cc(114)] : Display controller (crtc=25) already present.
[13695:13705:0815/072152.160207:WARNING:screen_manager.cc(114)] : Display controller (crtc=29) already present.
[13695:13705:0815/072152.161410:VERBOSE1:drm_display.cc(102)] : DRM configuring: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=25 connector=36 origin=0,0 size=0x0
[13695:13705:0815/072152.161524:VERBOSE1:drm_display.cc(102)] : DRM configuring: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=29 connector=52 origin=0,0 size=3840x2160
[13695:13705:0815/072152.162063:ERROR:crtc_controller.cc(43)] : Failed to modeset: crtc=29 connector=52 framebuffer_id=74 mode=c: Numerical result out of range
[13695:13705:0815/072152.162197:ERROR:screen_manager.cc(408)] : Failed to modeset controller
[13695:13705:0815/072152.162313:VERBOSE1:drm_display.cc(110)] : Failed to configure: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=29 connector=52
[13695:13705:0815/072152.163200:VERBOSE1:drm_display.cc(102)] : DRM configuring: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=29 connector=52 origin=0,0 size=2560x1440
 
Cc: osh...@chromium.org
Owner: afakhry@chromium.org
Failures are more or less expected -- DP doesn't always work reliably with MST, we're working on that; we should file another bug about it.

It seems like there is also a disconnect between the UI and the actual resolution? I'm assigning to UI folks first.
Status: Assigned (was: Untriaged)
Cc: afakhry@chromium.org
Owner: weidongg@chromium.org
weidongg, can you please try to repro this?
Cannot repro this on 9765.53.0 (Official Build) beta-channel checll,
Chrome version: 61.0.3163.80
I also cannot reproduce this on 61.0.3163.80 however the HiDPI resolution settings are not available, i.e. setting the monitor to 1920x1080 does not use the native 3840x2160 resolution with the UI rendered at 2x the way setting the internal display to 1600x900 sets the display to its native 3200x1800.
HiDPI resolution settings are still available. Unlike the old settings, there's currently no option for user to select scale factor. e.g. when you change resolution settings, you would see two 1920x1080,the left one is 1920x1080 (1X), the right one is 3840x2160 (2X). Though it's a little bit confusing for user, we are planning to improve it.
I don't believe that is what I observed. For the internal monitor 1600x900 is listed as "(Best)" and 3200x1800 is listed as "(Native)". For the external monitor 3840x2160 is listed as "(Best)" and I don't recall seeing two entries for 1920x1080.
My observation is as follow:
The right most is 3840 x 2160 (Best), towards left is 3072 x 1728, then 1920 x 1080. During these two changes, the display would not turn black for a while, which means they still use 3840 x 2160 resolution, but just change the scale factor. Then the next still shows 1920 x 1080, but the display turns black for a while, which means it actually changes the resolution to 1920 x 1080.

Is it possible that because we are using different displays?
Status: Verified (was: Assigned)
I've confirmed that I do get two entries for 1920x1080 and the second gets me HiDPI mode. I'm going to close this bug as fixed. Is there an issue filed for this setting not being well marked?
Thanks for verifying that, I think we do not have a bug for that.

To double check, +oshima@, do we have a plan to change resolution selection back to something similar to old settings (Let user decide both resolution and scale factor)?
There was no such option. We pre-generates (-ed) the display modes based on the resolution and size.
For 4K, we adds 1.25dsf and 2dsf to the mode list.

The display mode detection and configuration may fail as marcheu@ mentioned. Looks like it's now fixed.

There was a bug that the notification reported physical resolution, while it should report logical resolution. I'm not sure if that's fixed or not though.

Our plan is to consolidate the scaling logic to dsf (for both internal and external), with advanced settings for external display to change physical resolution.


When I tested on 61.0.3163.80 the physical resolution was still reported in the notification.
Cc: marc...@chromium.org
 Issue 729787  has been merged into this issue.

Sign in to add a comment