New issue
Advanced search Search tips

Issue 853677 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 27
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Crostini half resolution (small font)

Project Member Reported by wberoux@google.com, Jun 18 2018

Issue description

Chrome version: 68.0.3440.4 (Official Build) dev (64-bit)
OS: Chrome - 10718.4.0 (Official Build) dev-channel eve

Repro steps (not sure):
1. Reboot Chromebook
2. Attach external monitor and make it the main display
3. Start Blender by clicking the icon or using terminal

Expected: Standard pixel aspect ratio
Actual: Very tiny font, like half of normal size.

Once in a bad state here are outputs of the following commands:

foo@penguin:~$ xdpyinfo | grep -b2 resolution
1176-screen #0:
1187-  dimensions:    5120x3200 pixels (813x508 millimeters)
1243:  resolution:    160x160 dots per inch
1282-  depths (7):    24, 1, 4, 8, 15, 16, 32
1323-  root window id:    0x2db
foo@penguin:~$ xrandr
Screen 0: minimum 320 x 200, current 5120 x 3200, maximum 8192 x 8192
XWAYLAND2 connected 5120x3200+0+0 (normal left inverted right x axis y axis) 813mm x 508mm
   5120x3200     59.98*+
 

Comment 1 by vapier@chromium.org, Jun 18 2018

Components: OS>Systems>Containers
What's the spec of the external panel? Is it a 4k monitor? Attached output indicate that you only have one monitor. That doesn't match the instructions provided.

Comment 3 by wberoux@google.com, Jun 18 2018

I restarted twice, once directly starting Blender, the other time logging in my other account first, and both times the font was super small (i.e. high pixel density) even without any external monitor.

It could be that the only time I had a "default" decent pixel density was when starting the first time Blender with **only** the external monitor connected.

Comment 4 by wberoux@google.com, Jun 19 2018

The external screen is connected via HDMI via USB-C. It's a 30" screen or so 2560x1600.

I rebooted and had only the external monitor and Blender resolution was fine, here are the outputs in that state:
wberoux@penguin:~$ xdpyinfo | grep -b2 resolution
1176-screen #0:
1187-  dimensions:    2560x1600 pixels (677x423 millimeters)
1243:  resolution:    96x96 dots per inch
1280-  depths (7):    24, 1, 4, 8, 15, 16, 32
1321-  root window id:    0x2d8
wberoux@penguin:~$ xrandr
Screen 0: minimum 320 x 200, current 2560 x 1600, maximum 8192 x 8192
XWAYLAND0 connected 2560x1600+0+0 (normal left inverted right x axis y axis) 677mm x 423mm
   2560x1600     59.99*+
Owner: reve...@chromium.org
Status: Assigned (was: Untriaged)
Project Member

Comment 6 by bugdroid1@chromium.org, Jun 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform2/+/038379dcd9a604f5899fce626b60afbf5d1c2ebb

commit 038379dcd9a604f5899fce626b60afbf5d1c2ebb
Author: David Reveman <reveman@chromium.org>
Date: Thu Jun 28 00:57:09 2018

vm_tools: sommelier: always use density of internal display for X11.

Adjust physical size of display so density matches internal
display for Xwayland. This is preferred as X11 clients typically
lack support for runtime changes to density.

BUG= chromium:853677 
TEST=sommelier -X xrandr
Change-Id: Id2cc8ab5b5dae44c8f7bcc2bbf40a615844cf734
Reviewed-on: https://chromium-review.googlesource.com/1112657
Commit-Ready: David Reveman <reveman@chromium.org>
Tested-by: David Reveman <reveman@chromium.org>
Reviewed-by: David Reveman <reveman@chromium.org>

[modify] https://crrev.com/038379dcd9a604f5899fce626b60afbf5d1c2ebb/vm_tools/sommelier/sommelier-output.c

Owner: jkardatzke@chromium.org
Verify if this is fixed or not...
Status: Fixed (was: Assigned)
Looks fixed to me in M72 and ToT.

Sign in to add a comment