[Bug 854372] New: xrandr and xdpyinfo report inconsistent screen size
https://bugzilla.novell.com/show_bug.cgi?id=854372 https://bugzilla.novell.com/show_bug.cgi?id=854372#c0 Summary: xrandr and xdpyinfo report inconsistent screen size Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: novellbugzilla@madez.de QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 Dear maintainer, the openSUSE 13.1 GNOME livecd and also a fully updated openSUSE 13.1 system with GNOME renders UI elements like e.g. title bars too big. This seems to be caused by GNOME using an incorrect physical display size. The result is an ugly UI. See attachment screenshot.png. I found that xrandr and xdpyinfo disagree on the screen size. xrandr is wrong. The output of "xdpyinfo | grep -B2 resolution" is: screen #0: dimensions: 1920x1080 pixels (508x285 millimeters) resolution: 96x96 dots per inch For full output of xdpyinfo see the additional information section. The output of "xrandr | grep mm" is: HDMI2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 160mm x 90mm For full output of xrandr see the additional information section. BTW, xdpyinfo's output is incorrect, also. I'm not sure whether its 508x285 millimeters^2 exactly, but it's certainly not 508x285 millimeters. Thank you for looking into this! Best regards, Christian Weinz Reproducible: Always # xdpyinfo name of display: :0 version number: 11.0 vendor string: The X.Org Foundation vendor release number: 11403901 X.Org version: 1.14.3.901 maximum request size: 16777212 bytes motion buffer size: 256 bitmap unit, bit order, padding: 32, LSBFirst, 32 image byte order: LSBFirst number of supported pixmap formats: 7 supported pixmap formats: depth 1, bits_per_pixel 1, scanline_pad 32 depth 4, bits_per_pixel 8, scanline_pad 32 depth 8, bits_per_pixel 8, scanline_pad 32 depth 15, bits_per_pixel 16, scanline_pad 32 depth 16, bits_per_pixel 16, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32 depth 32, bits_per_pixel 32, scanline_pad 32 keycode range: minimum 8, maximum 255 focus: window 0x2c00007, revert to Parent number of extensions: 27 BIG-REQUESTS Composite DAMAGE DOUBLE-BUFFER DPMS DRI2 GLX Generic Event Extension MIT-SCREEN-SAVER MIT-SHM RANDR RECORD RENDER SECURITY SGI-GLX SHAPE SYNC X-Resource XC-MISC XFIXES XFree86-DGA XFree86-VidModeExtension XINERAMA XInputExtension XKEYBOARD XTEST XVideo default screen number: 0 number of screens: 1 screen #0: dimensions: 1920x1080 pixels (508x285 millimeters) resolution: 96x96 dots per inch depths (7): 24, 1, 4, 8, 15, 16, 32 root window id: 0x9e depth of root window: 24 planes number of colormaps: minimum 1, maximum 1 default colormap: 0x22 default number of colormap cells: 256 preallocated pixels: black 0, white 16777215 options: backing-store NO, save-unders NO largest cursor: 64x64 current input event mask: 0xda0003 KeyPressMask KeyReleaseMask StructureNotifyMask SubstructureNotifyMask SubstructureRedirectMask PropertyChangeMask ColormapChangeMask number of visuals: 20 default visual id: 0x20 visual: visual id: 0x20 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x21 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x8c class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x8d class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x8e class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x8f class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x90 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x91 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x92 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x93 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x94 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x95 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x96 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x97 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x98 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x99 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x9a class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x9b class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x9c class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x5f class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits # xrandr Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767 VGA1 disconnected (normal left inverted right x axis y axis) DP1 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) HDMI2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 160mm x 90mm 1920x1080 60.0*+ 50.0 59.9 1920x1080i 60.1 50.0 60.0 1600x1200 60.0 1680x1050 59.9 1280x1024 60.0 1440x900 59.9 1280x960 60.0 1280x800 59.9 1280x720 60.0 50.0 59.9 1024x768 60.0 800x600 60.3 56.2 720x576 50.0 720x480 60.0 59.9 640x480 60.0 59.9 VIRTUAL1 disconnected (normal left inverted right x axis y axis) Modeline (0xd0) 1920.0MHz h: width 173 start 1920 end 2048 total 2248 skew 0 clock 854.1KHz v: height 2576 start 1080 end 1083 total 1088 clock 785.0Hz -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854372 https://bugzilla.novell.com/show_bug.cgi?id=854372#c1 --- Comment #1 from qawerg aerb <novellbugzilla@madez.de> 2013-12-09 02:10:37 UTC --- Created an attachment (id=570752) --> (http://bugzilla.novell.com/attachment.cgi?id=570752) Screenshot of the UI and the display size used by GNOME. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854372 https://bugzilla.novell.com/show_bug.cgi?id=854372#c Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED AssignedTo|bnc-team-xorg-bugs@forge.pr |xorg-maintainer-bugs@forge. |ovo.novell.com |provo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854372 https://bugzilla.novell.com/show_bug.cgi?id=854372#c2 --- Comment #2 from qawerg aerb <novellbugzilla@madez.de> 2013-12-09 19:15:05 UTC --- Created an attachment (id=570946) --> (http://bugzilla.novell.com/attachment.cgi?id=570946) Xorg.log -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854372 https://bugzilla.novell.com/show_bug.cgi?id=854372#c qawerg aerb <novellbugzilla@madez.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #570946|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854372 https://bugzilla.novell.com/show_bug.cgi?id=854372#c3 --- Comment #3 from qawerg aerb <novellbugzilla@madez.de> 2013-12-09 22:43:59 UTC --- This is a regression as it doesn't occur using a openSUSE 12.3 GNOME livecd. Do you have a workaround? This UI is very annoying. Thank you for your work! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854372 https://bugzilla.novell.com/show_bug.cgi?id=854372#c4 --- Comment #4 from Rick Salevsky <rsalevsky@suse.com> 2013-12-10 10:44:09 UTC --- I have the same bug with an Samsung SyncMaster P2470LHD. An simple temp workaround for me is to go into the gnome-tweak-tool > Fonts and reset the scale factor. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854372 https://bugzilla.novell.com/show_bug.cgi?id=854372#c5 --- Comment #5 from qawerg aerb <novellbugzilla@madez.de> 2013-12-10 13:49:54 UTC --- I have the bug with a Samsung SyncMaster P2450. I do not know what are you referring to with "reset the scale factor". However, setting the scale factor to 0.5 and hinting to none helps a bit. The cursor is still huge and that not even consistent. It depends not the window the cursor is over. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854372 https://bugzilla.novell.com/show_bug.cgi?id=854372#c6 --- Comment #6 from qawerg aerb <novellbugzilla@madez.de> 2013-12-10 13:51:17 UTC --- (In reply to comment #5)
I have the bug with a Samsung SyncMaster P2450.
I do not know what are you referring to with "reset the scale factor". However, setting the scale factor to 0.5 and hinting to none helps a bit. The cursor is still huge and that not even consistent. It depends _on_ the window the cursor is over.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854372 https://bugzilla.novell.com/show_bug.cgi?id=854372#c7 --- Comment #7 from Rick Salevsky <rsalevsky@suse.com> 2013-12-15 17:23:26 UTC --- Looks like an driver problem, the proprietary nvidia driver prints the correct screen size. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854372 https://bugzilla.novell.com/show_bug.cgi?id=854372#c8 --- Comment #8 from qawerg aerb <novellbugzilla@madez.de> 2013-12-15 19:49:27 UTC --- It happens for me when using the Intel, AMD's radeon and radeonsi driver. Also keep in mind the output of "xdpyinfo | grep -B2 resolution" which shows that the correct size is indeed known to the system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com