From unknown Tue Jun 17 01:30:02 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#63384 <63384@debbugs.gnu.org> To: bug#63384 <63384@debbugs.gnu.org> Subject: Status: x-display-mm-width and x-display-mm-height both return 0 on wayland Reply-To: bug#63384 <63384@debbugs.gnu.org> Date: Tue, 17 Jun 2025 08:30:02 +0000 retitle 63384 x-display-mm-width and x-display-mm-height both return 0 on w= ayland reassign 63384 emacs submitter 63384 tomasralph2000@gmail.com severity 63384 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon May 08 22:05:03 2023 Received: (at submit) by debbugs.gnu.org; 9 May 2023 02:05:03 +0000 Received: from localhost ([127.0.0.1]:42017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwCir-00086C-Df for submit@debbugs.gnu.org; Mon, 08 May 2023 22:05:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:40268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwCio-000863-7A for submit@debbugs.gnu.org; Mon, 08 May 2023 22:04:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwCio-0000Rx-0E for bug-gnu-emacs@gnu.org; Mon, 08 May 2023 22:04:58 -0400 Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pwCik-0006Uc-VU for bug-gnu-emacs@gnu.org; Mon, 08 May 2023 22:04:57 -0400 Received: by mail-oi1-x22d.google.com with SMTP id 5614622812f47-3940db1c14dso20492b6e.3 for ; Mon, 08 May 2023 19:04:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683597893; x=1686189893; h=to:subject:message-id:from:date:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=jzp1pNcRnYZmzvULpQotIDgKN5IoNxcspr1taZD3LAY=; b=hsuLFionhOMmt7CphbiCqgReyMLFzSXShpsTpvjYeCNvGl1LZhpdN6c0/VwMFK7k3u YZKo0KO1FEA/hMWxiWT/vRAkQ+cI/cti9oh3rzmJbCm4a8/WZZl1nddcbJJGk8u8ckkx 2pWSmbHwtKKqhb/4O9KqSzpTsiwId8fhI2/QAnpbqUynm/+yPQefBcJZO1qNXFqNmMrb L1zPeqF/XzVlE06HLtVMkcT9AbnSEGqowjVLh3+VR90l9L/FBY10MWyalNypKWjBcOvj 0Wz24lLZupgXjjOcup8XtrmvUjktPlnt9QD0mNezJFRHs6Q8bZHLgiwSudOKnMK80KCx NZBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683597893; x=1686189893; h=to:subject:message-id:from:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=jzp1pNcRnYZmzvULpQotIDgKN5IoNxcspr1taZD3LAY=; b=ikPnKf8TwazpBW4j77PU6ZWhfcuXW5RmnTN76p0lVFrIzDr+OaI+C1DLUiYNILFDMs 0vr2cJcczinqWSeRDb6VMI2fShSCGbYhLwsTYVo5ZAowTdvmVozeKaolwBUT5UpkL7Pf J2HHhmtB0ETyBYwVKywybtMN1QwpB8hXQUiv/aqFaBqKaF8l/oIyX52I5RXpqRfrDesL 7xxGKksIV8kVNUpdGhQZ1ul/Rig2E0QOSBQ7OAKagxnqPASCNeqtcs88SmpDrHi/OTD5 8ZR1MoYWWqJ/2xhK3c9YovAKvX+F6S6EEMIj9rNzffLDYYRKDhJAzs2ofn/i65Mfi6CG 0gJg== X-Gm-Message-State: AC+VfDzSmevIdZbjxQiEoQCRUH8be2HBUErRjfV5w8LYDjuI23Aqw1M6 QuZ9VuGqfkPPKu9DXMJH5JvM4p4OP7A= X-Google-Smtp-Source: ACHHUZ46iMjlBkAn95FLl99WMAnxhVYc913FBKHDbc1NGv2Ne4eRAqEnyJPd1YCbg9rv5dLCg5Jocg== X-Received: by 2002:a05:6808:a03:b0:389:7810:d965 with SMTP id n3-20020a0568080a0300b003897810d965mr578522oij.24.1683597892741; Mon, 08 May 2023 19:04:52 -0700 (PDT) Received: from rainloop.titocloud.duckdns.org ([190.18.132.192]) by smtp.gmail.com with ESMTPSA id d18-20020a4aba92000000b00541fbbbcd31sm1192141oop.5.2023.05.08.19.04.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 08 May 2023 19:04:52 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 09 May 2023 02:08:29 +0000 Content-Type: multipart/alternative; boundary="--=_RainLoop_581_145265126.1683598109" X-Mailer: RainLoop/1.13.0 From: tomasralph2000@gmail.com Message-ID: <307a269d4093140c20db72b1b60d57f4@gmail.com> Subject: x-display-mm-width and x-display-mm-height both return 0 on wayland To: bug-gnu-emacs@gnu.org Received-SPF: pass client-ip=2607:f8b0:4864:20::22d; envelope-from=tomasralph2000@gmail.com; helo=mail-oi1-x22d.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) ----=_RainLoop_581_145265126.1683598109 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The functions "x-display-mm-width" and "x-display-mm-height" both return= =0A0 on Wayland, but on a specific display.=0A=0AI also have a laptop wit= h the same setup (Arch Linux on Hyprland as=0Awindow manager) and a simil= ar emacs version (I compiled both on my=0Adesktop and laptop about ~1 hou= r from each other, my laptop went=0Afirst). This problem is not present o= n my laptop.=0A=0AThese functions should return the dimensions of my disp= lay in=0Amilimiters, as one would assume. This issue is causing numerous = features=0Ato fail with an "Arithmetic Overflow Error" since at some poin= t they=0Adivide by this number, and division by 0 is problematic of cours= e.=0A=0AMost built-in games are broken (like tetris or snake) since they = depend=0Aon these functions to compute the size of the game grid.=0A=0AMo= re importantly, latex previews on org files are also broken, since=0Athey= use the value to render the images.=0A=0AIf I switch to X11 (more specif= ically, qtile) with this same setup, the=0Afunctions return proper values= , and these features are fixed.=0A=0AIf I launch emacs with the "GDK_BACK= END" environment variable set to=0A"x11" then emacs launches using xWayla= nd, and once again, the functions=0Areturn proper values and the issue is= "fixed".=0A=0AThis seems to be an issue with GTK, rather than emacs. I f= ound another=0Auser complaining about this here:=0Ahttps://discourse.gnom= e.org/t/gdk-monitor-get-width-mm-failure-wayland/5412=0A=0ASince there do= esn't seem to be much the emacs developers can do about=0Athis, I propose= a workaround is set in place.=0A=0AThe functions that return the display= size in pixels do work. Maybe=0Aemacs could check if the mm dimensions a= re being reported as 0, and try=0Ato guess appropiate values. They may be= wrong, but it's a better option=0Athan having these features outright fa= il with non-descriptive errors.=0A=0AAlternatively, since we now know tha= t these functions can return 0,=0Amaybe it's more appropiate to put a che= ck in place, and fail with a more=0Adescriptive error message.=0A=0AIn th= e thread I linked, there's a code snippet of the xorg source code=0Athat = showcases it doing exactly that. Maybe emacs could do the same.=0A=0AIt i= s likely that my monitor is the problem here (it's a cheap one). It=0Amay= not have these values properly set in its firmware. Probably Xorg=0Aisn'= t getting proper values either, and it may be relying on that code snippe= t.=0A=0AThis would also explain why it works on my laptop.=0AIn GNU Emacs= 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version=0A 3.24.37, cairo ve= rsion 1.17.8) of 2023-03-21 built on Rainbow=0ARepository revision: 42fba= 8f36b19536964d6deb6a34f3fd1c02b43dd=0ARepository branch: makepkg=0ASystem= Description: Arch Linux=0A=0AConfigured using:=0A 'configure --prefix=3D= /usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib=0A --localstatedir=3D/va= r --mandir=3D/usr/share/man --with-gameuser=3D:games=0A --with-modules --= without-libotf --without-m17n-flt --without-gconf=0A --with-native-compil= ation=3Dyes --with-native-compilation=3Daot=0A --with-xinput2 --with-pgtk= --without-xaw3d --with-sound=3Dalsa=0A --with-tree-sitter --without-gpm = --without-compress-install=0A '--program-transform-name=3Ds/([ec]tags)/1.= emacs/'=0A 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fno-plt = -fexceptions=0A -Wp,-D_FORTIFY_SOURCE=3D2 -Wformat -Werror=3Dformat-secur= ity=0A -fstack-clash-protection -fcf-protection'=0A LDFLAGS=3D-Wl,-O1,--s= ort-common,--as-needed,-z,relro,-z,now'=0A=0AConfigured features:=0AACL C= AIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON=0ALCM= S2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK=0AP= NG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS=0ATREE_SIT= TER WEBP XIM GTK3 ZLIB=0A=0AImportant settings:=0A value of $LANG: en_US.= UTF-8=0A locale-coding-system: utf-8-unix=0A=0AMajor mode: Lisp Interacti= on=0A=0AMinor modes in effect:=0A global-undo-tree-mode: t=0A undo-tree-m= ode: t=0A org-roam-db-autosync-mode: t=0A marginalia-mode: t=0A which-key= -mode: t=0A global-tree-sitter-mode: t=0A recentf-mode: t=0A treemacs-fil= ewatch-mode: t=0A treemacs-follow-mode: t=0A treemacs-git-mode: t=0A glob= al-git-commit-mode: t=0A magit-auto-revert-mode: t=0A shell-dirtrack-mode= : t=0A override-global-mode: t=0A vertico-mouse-mode: t=0A vertico-mode: = t=0A corfu-popupinfo-mode: t=0A global-corfu-mode: t=0A corfu-mode: t=0A = pixel-scroll-precision-mode: t=0A xterm-mouse-mode: t=0A global-auto-reve= rt-mode: t=0A electric-pair-mode: t=0A delete-selection-mode: t=0A global= -display-line-numbers-mode: t=0A display-line-numbers-mode: t=0A tooltip-= mode: t=0A global-eldoc-mode: t=0A eldoc-mode: t=0A show-paren-mode: t=0A= electric-indent-mode: t=0A mouse-wheel-mode: t=0A file-name-shadow-mode:= t=0A context-menu-mode: t=0A global-font-lock-mode: t=0A font-lock-mode:= t=0A blink-cursor-mode: t=0A line-number-mode: t=0A transient-mark-mode:= t=0A auto-composition-mode: t=0A auto-encryption-mode: t=0A auto-compres= sion-mode: t=0A=0ALoad-path shadows:=0A/home/tralph3/.local/share/emacs/e= lpa/transient-20230501.1034/transient hides /usr/share/emacs/30.0.50/lisp= /transient=0A=0AFeatures:=0A(shadow sort mail-extr emacsbug mule-util tre= emacs-bookmarks=0Atreemacs-tags magit-bookmark bookmark time org-tempo te= mpo eglot=0Aexternal-completion array ert ewoc debug backtrace jsonrpc xr= ef=0Aflymake-proc flymake project undo-tree queue org-superstar org-roam-= ui=0Aorg-roam-dailies websocket bindat org-roam-migrate org-roam-log=0Aor= g-roam-mode org-roam-capture org-roam-id org-roam-node org-roam-db=0Aemac= sql-sqlite-builtin sqlite org-roam-utils org-roam-compat org-roam=0Aorg-c= apture org-element org-persist xdg avl-tree generator org-attach=0Aorg-id= org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp=0Aorg-macro or= g-src ob-comint org-pcomplete org-list org-footnote=0Aorg-faces org-entit= ies noutline outline ob-emacs-lisp ob-core ob-eval=0Aorg-cycle org-table = ol org-fold org-fold-core org-keys oc org-loaddefs=0Afind-func cal-menu c= alendar cal-loaddefs org-version org-compat org-macs=0Aemacsql-sqlite ema= csql-sqlite-common emacsql emacsql-compiler=0Asimple-httpd marginalia whi= ch-key tree-sitter-langs=0Atree-sitter-langs-build tar-mode arc-mode arch= ive-mode pp tree-sitter-hl=0Atree-sitter tree-sitter-load tree-sitter-cli= tsc tsc-dyn tsc-dyn-get=0Adired-aux tsc-obsolete dashboard dashboard-wid= gets recentf tree-widget=0Awid-edit ffap treemacs treemacs-header-line tr= eemacs-compatibility=0Atreemacs-mode treemacs-interface treemacs-persiste= nce=0Atreemacs-filewatch-mode treemacs-follow-mode treemacs-rendering=0At= reemacs-annotations treemacs-async treemacs-workspaces treemacs-dom=0Atre= emacs-visuals treemacs-fringe-indicator pulse treemacs-faces=0Atreemacs-i= cons treemacs-scope treemacs-themes treemacs-core-utils=0Apfuture inline = hl-line ht treemacs-logging treemacs-customization=0Atreemacs-macros s or= derless magit-submodule magit-blame magit-stash=0Amagit-reflog magit-bise= ct magit-push magit-pull magit-fetch magit-clone=0Amagit-remote magit-com= mit magit-sequence magit-notes magit-worktree=0Amagit-tag magit-merge mag= it-branch magit-reset magit-files magit-refs=0Amagit-status magit magit-r= epos magit-apply magit-wip magit-log=0Awhich-func imenu magit-diff smerge= -mode diff diff-mode git-commit=0Alog-edit message sendmail yank-media pu= ny dired dired-loaddefs rfc822=0Amml mml-sec epa derived epg rfc6068 epg-= config gnus-util time-date=0Amm-decode mm-bodies mm-encode mail-parse rfc= 2231 rfc2047 rfc2045 mm-util=0Aietf-drums mail-prsvr mailabbrev mail-util= s gmm-utils mailheader=0Apcvs-util add-log magit-core magit-autorevert ma= git-margin=0Amagit-transient magit-process with-editor shell pcomplete se= rver=0Amagit-mode transient magit-git magit-base magit-section format-spe= c=0Acursor-sensor crm dash edmacro kmacro use-package-bind-key bind-key= =0Aeasy-mmode vertico-mouse vertico rust-utils thingatpt rust-mode=0Arust= -rustfmt rust-playpen rust-compile compile text-property-search=0Acomint = ansi-osc ansi-color rust-cargo kind-icon svg-lib color svg dom=0Axml corf= u-popupinfo corfu compat all-the-icons all-the-icons-faces=0Adata-materia= l data-weathericons data-octicons data-fileicons=0Adata-faicons data-allt= heicons use-package-ensure use-package-core=0Apixel-scroll cua-base ring = xt-mouse autorevert filenotify elec-pair=0Adelsel comp comp-cstr warnings= icons rx cl-extra help-mode=0Adisplay-line-numbers magit-autoloads pcase= tree-sitter-langs-autoloads=0Aall-the-icons-autoloads corfu-autoloads ki= nd-icon-autoloads=0Asvg-lib-autoloads which-key-autoloads org-superstar-a= utoloads=0Agit-commit-autoloads with-editor-autoloads vertico-autoloads= =0Atreemacs-autoloads cfrs-autoloads posframe-autoloads hydra-autoloads= =0Apfuture-autoloads ace-window-autoloads s-autoloads rust-mode-autoloads= =0Alv-autoloads undo-tree-autoloads org-roam-ui-autoloads=0Awebsocket-aut= oloads simple-httpd-autoloads org-roam-autoloads=0Amagit-section-autoload= s ht-autoloads dash-autoloads dashboard-autoloads=0Amarginalia-autoloads = avy-autoloads queue-autoloads transient-autoloads=0Acompat-autoloads emac= sql-autoloads info orderless-autoloads=0Atree-sitter-autoloads tsc-autolo= ads realgud-autoloads=0Arealgud-recursive-autoloads test-simple-autoloads= loc-changes-autoloads=0Aload-relative-autoloads package browse-url url u= rl-proxy url-privacy=0Aurl-expand url-methods url-history url-cookie gene= rate-lisp-file=0Aurl-domsuf url-util mailcap url-handlers url-parse auth-= source cl-seq=0Aeieio eieio-core cl-macs password-cache json subr-x map b= yte-opt gv=0Abytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-tr= ansl tooltip=0Acconv eldoc paren electric uniquify ediff-hook vc-hooks li= sp-float-type=0Aelisp-mode mwheel term/pgtk-win pgtk-win term/common-win = pgtk-dnd=0Atool-bar dnd fontset image regexp-opt fringe tabulated-list re= place=0Anewcomment text-mode lisp-mode prog-mode register page tab-bar me= nu-bar=0Arfn-eshadow isearch easymenu timer select scroll-bar mouse jit-l= ock=0Afont-lock syntax font-core term/tty-colors frame minibuffer nadvice= seq=0Asimple cl-generic indonesian philippine cham georgian utf-8-lang= =0Amisc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-m= s=0Acp51932 hebrew greek romanian slovak czech european ethiopic indian= =0Acyrillic chinese composite emoji-zwj charscript charprop case-table=0A= epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button= =0Aloaddefs theme-loaddefs faces cus-face macroexp files window=0Atext-pr= operties overlay sha1 md5 base64 format env code-pages mule=0Acustom widg= et keymap hashtable-print-readable backquote threads dbusbind=0Ainotify d= ynamic-setting system-font-setting font-render-setting cairo=0Agtk pgtk l= cms2 multi-tty make-network-process native-compile emacs)=0A=0AMemory inf= ormation:=0A((conses 16 397011 511676)=0A (symbols 48 30258 126)=0A (stri= ngs 32 115820 52200)=0A (string-bytes 1 4250573)=0A (vectors 16 67268)=0A= (vector-slots 8 1303883 755007)=0A (floats 8 814 2552)=0A (intervals 56 = 1037 529)=0A (buffers 984 17)) ----=_RainLoop_581_145265126.1683598109 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
T= he functions "x-display-mm-width" and "x-display-mm-height" both return0 on Wayland, but on a specific display.

I also have a laptop wi= th the same setup (Arch Linux on Hyprland as
window manager) and a sim= ilar emacs version (I compiled both on my
desktop and laptop about ~1 = hour from each other, my laptop went
first). This problem is not prese= nt on my laptop.

These functions should return the dimensions of m= y display in
milimiters, as one would assume. This issue is causing nu= merous features
to fail with an "Arithmetic Overflow Error" since at s= ome point they
divide by this number, and division by 0 is problematic= of course.

Most built-in games are broken (like tetris or snake) = since they depend
on these functions to compute the size of the game g= rid.

More importantly, latex previews on org files are also broken= , since
they use the value to render the images.

If I switch to= X11 (more specifically, qtile) with this same setup, the
functions re= turn proper values, and these features are fixed.

If I launch emac= s with the "GDK_BACKEND" environment variable set to
"x11" then emacs = launches using xWayland, and once again, the functions
return proper v= alues and the issue is "fixed".

This seems to be an issue with GTK= , rather than emacs. I found another
user complaining about this here:=
https://discourse.gnome.org/t/gdk-monitor-get-width-mm-failure-waylan= d/5412

Since there doesn't seem to be much the emacs developers ca= n do about
this, I propose a workaround is set in place.

The fu= nctions that return the display size in pixels do work. Maybe
emacs co= uld check if the mm dimensions are being reported as 0, and try
to gue= ss appropiate values. They may be wrong, but it's a better option
than= having these features outright fail with non-descriptive errors.

= Alternatively, since we now know that these functions can return 0,
ma= ybe it's more appropiate to put a check in place, and fail with a moredescriptive error message.

In the thread I linked, there's a code= snippet of the xorg source code
that showcases it doing exactly that.= Maybe emacs could do the same.

It is likely that my monitor is th= e problem here (it's a cheap one). It
may not have these values proper= ly set in its firmware. Probably Xorg
isn't getting proper values eith= er, and it may be relying on that code snippet.

This would also ex= plain why it works on my laptop.


In GNU Emacs 30.0.50 (build 1= , x86_64-pc-linux-gnu, GTK+ Version
3.24.37, cairo version 1.17.8) of= 2023-03-21 built on Rainbow
Repository revision: 42fba8f36b19536964d6= deb6a34f3fd1c02b43dd
Repository branch: makepkg
System Description:= Arch Linux

Configured using:
'configure --prefix=3D/usr --sys= confdir=3D/etc --libexecdir=3D/usr/lib
--localstatedir=3D/var --mandi= r=3D/usr/share/man --with-gameuser=3D:games
--with-modules --without-= libotf --without-m17n-flt --without-gconf
--with-native-compilation= =3Dyes --with-native-compilation=3Daot
--with-xinput2 --with-pgtk --w= ithout-xaw3d --with-sound=3Dalsa
--with-tree-sitter --without-gpm --w= ithout-compress-install
'--program-transform-name=3Ds/\([ec]tags\)/\1= .emacs/'
'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fno-pl= t -fexceptions
-Wp,-D_FORTIFY_SOURCE=3D2 -Wformat -Werror=3Dformat-se= curity
-fstack-clash-protection -fcf-protection'
LDFLAGS=3D-Wl,-O= 1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:<= br>ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JS= ON
LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER= PGTK
PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS<= br>TREE_SITTER WEBP XIM GTK3 ZLIB

Important settings:
value of= $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix

Major mod= e: Lisp Interaction

Minor modes in effect:
global-undo-tree-mo= de: t
undo-tree-mode: t
org-roam-db-autosync-mode: t
marginal= ia-mode: t
which-key-mode: t
global-tree-sitter-mode: t
recen= tf-mode: t
treemacs-filewatch-mode: t
treemacs-follow-mode: t
= treemacs-git-mode: t
global-git-commit-mode: t
magit-auto-revert= -mode: t
shell-dirtrack-mode: t
override-global-mode: t
verti= co-mouse-mode: t
vertico-mode: t
corfu-popupinfo-mode: t
glob= al-corfu-mode: t
corfu-mode: t
pixel-scroll-precision-mode: t
= xterm-mouse-mode: t
global-auto-revert-mode: t
electric-pair-mod= e: t
delete-selection-mode: t
global-display-line-numbers-mode: t=
display-line-numbers-mode: t
tooltip-mode: t
global-eldoc-mo= de: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: = t
mouse-wheel-mode: t
file-name-shadow-mode: t
context-menu-m= ode: t
global-font-lock-mode: t
font-lock-mode: t
blink-curso= r-mode: t
line-number-mode: t
transient-mark-mode: t
auto-com= position-mode: t
auto-encryption-mode: t
auto-compression-mode: t=

Load-path shadows:
/home/tralph3/.local/share/emacs/elpa/trans= ient-20230501.1034/transient hides /usr/share/emacs/30.0.50/lisp/transien= t

Features:
(shadow sort mail-extr emacsbug mule-util treemacs-= bookmarks
treemacs-tags magit-bookmark bookmark time org-tempo tempo e= glot
external-completion array ert ewoc debug backtrace jsonrpc xrefflymake-proc flymake project undo-tree queue org-superstar org-roam-ui<= br>org-roam-dailies websocket bindat org-roam-migrate org-roam-log
org= -roam-mode org-roam-capture org-roam-id org-roam-node org-roam-db
emac= sql-sqlite-builtin sqlite org-roam-utils org-roam-compat org-roam
org-= capture org-element org-persist xdg avl-tree generator org-attach
org-= id org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp
org-macro= org-src ob-comint org-pcomplete org-list org-footnote
org-faces org-e= ntities noutline outline ob-emacs-lisp ob-core ob-eval
org-cycle org-t= able ol org-fold org-fold-core org-keys oc org-loaddefs
find-func cal-= menu calendar cal-loaddefs org-version org-compat org-macs
emacsql-sql= ite emacsql-sqlite-common emacsql emacsql-compiler
simple-httpd margin= alia which-key tree-sitter-langs
tree-sitter-langs-build tar-mode arc-= mode archive-mode pp tree-sitter-hl
tree-sitter tree-sitter-load tree-= sitter-cli tsc tsc-dyn tsc-dyn-get
dired-aux tsc-obsolete dashboard da= shboard-widgets recentf tree-widget
wid-edit ffap treemacs treemacs-he= ader-line treemacs-compatibility
treemacs-mode treemacs-interface tree= macs-persistence
treemacs-filewatch-mode treemacs-follow-mode treemacs= -rendering
treemacs-annotations treemacs-async treemacs-workspaces tre= emacs-dom
treemacs-visuals treemacs-fringe-indicator pulse treemacs-fa= ces
treemacs-icons treemacs-scope treemacs-themes treemacs-core-utils<= br>pfuture inline hl-line ht treemacs-logging treemacs-customization
t= reemacs-macros s orderless magit-submodule magit-blame magit-stash
mag= it-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone
m= agit-remote magit-commit magit-sequence magit-notes magit-worktree
mag= it-tag magit-merge magit-branch magit-reset magit-files magit-refs
mag= it-status magit magit-repos magit-apply magit-wip magit-log
which-func= imenu magit-diff smerge-mode diff diff-mode git-commit
log-edit messa= ge sendmail yank-media puny dired dired-loaddefs rfc822
mml mml-sec ep= a derived epg rfc6068 epg-config gnus-util time-date
mm-decode mm-bodi= es mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util
ietf-drums mai= l-prsvr mailabbrev mail-utils gmm-utils mailheader
pcvs-util add-log m= agit-core magit-autorevert magit-margin
magit-transient magit-process = with-editor shell pcomplete server
magit-mode transient magit-git magi= t-base magit-section format-spec
cursor-sensor crm dash edmacro kmacro= use-package-bind-key bind-key
easy-mmode vertico-mouse=20vertico rust= -utils thingatpt rust-mode
rust-rustfmt rust-playpen rust-compile comp= ile text-property-search
comint ansi-osc ansi-color rust-cargo kind-ic= on svg-lib color svg dom
xml corfu-popupinfo corfu compat all-the-icon= s all-the-icons-faces
data-material data-weathericons data-octicons da= ta-fileicons
data-faicons data-alltheicons use-package-ensure use-pack= age-core
pixel-scroll cua-base ring xt-mouse autorevert filenotify ele= c-pair
delsel comp comp-cstr warnings icons rx cl-extra help-mode
d= isplay-line-numbers magit-autoloads pcase tree-sitter-langs-autoloads
= all-the-icons-autoloads corfu-autoloads kind-icon-autoloads
svg-lib-au= toloads which-key-autoloads org-superstar-autoloads
git-commit-autoloa= ds with-editor-autoloads vertico-autoloads
treemacs-autoloads cfrs-aut= oloads posframe-autoloads hydra-autoloads
pfuture-autoloads ace-window= -autoloads s-autoloads rust-mode-autoloads
lv-autoloads undo-tree-auto= loads org-roam-ui-autoloads
websocket-autoloads simple-httpd-autoloads= org-roam-autoloads
magit-section-autoloads ht-autoloads dash-autoload= s dashboard-autoloads
marginalia-autoloads avy-autoloads queue-autoloa= ds transient-autoloads
compat-autoloads emacsql-autoloads info orderle= ss-autoloads
tree-sitter-autoloads tsc-autoloads realgud-autoloads
= realgud-recursive-autoloads test-simple-autoloads loc-changes-autoloadsload-relative-autoloads package browse-url url url-proxy url-privacyurl-expand url-methods url-history url-cookie generate-lisp-file
url-= domsuf url-util mailcap url-handlers url-parse auth-source cl-seq
eiei= o eieio-core cl-macs password-cache json subr-x map byte-opt gv
byteco= mp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip
cco= nv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
e= lisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd
tool-= bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomm= ent text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-e= shadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lo= ck syntax font-core term/tty-colors frame minibuffer nadvice seq
simpl= e cl-generic indonesian philippine cham georgian utf-8-lang
misc-lang = vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 = hebrew greek romanian slovak czech european ethiopic indian
cyrillic c= hinese composite emoji-zwj charscript charprop case-table
epa-hook jka= -cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs t= heme-loaddefs faces cus-face macroexp files window
text-properties ove= rlay sha1 md5 base64 format env code-pages mule
custom widget keymap h= ashtable-print-readable backquote threads dbusbind
inotify dynamic-set= ting system-font-setting font-render-setting cairo
gtk pgtk lcms2 mult= i-tty make-network-process native-compile emacs)

Memory informatio= n:
((conses 16 397011 511676)
(symbols 48 30258 126)
(strings = 32 115820 52200)
(string-bytes 1 4250573)
(vectors 16 67268)
= (vector-slots 8 1303883 755007)
(floats 8 814 2552)
(intervals 56= 1037 529)
(buffers 984 17))


= ----=_RainLoop_581_145265126.1683598109-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 09 20:39:41 2023 Received: (at 63384) by debbugs.gnu.org; 10 May 2023 00:39:41 +0000 Received: from localhost ([127.0.0.1]:44781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwXrp-0005RW-E1 for submit@debbugs.gnu.org; Tue, 09 May 2023 20:39:41 -0400 Received: from sonic307-10.consmr.mail.ne1.yahoo.com ([66.163.190.33]:44389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwXrm-0005RA-Lx for 63384@debbugs.gnu.org; Tue, 09 May 2023 20:39:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1683679172; bh=BrM8gfB0+2MP6nSRi254kglCWr6269nal+P6OLriIgI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=Hvcgb1CK06b3PfPGJ3LigOi9+9dqVkg/7TtQIwntz5IVPBPRDnybojA5+TL2kO4yjsYdGPHLDG4tjlBhf73o3lJAUphHLp9wpbAMwXSM+vDZDOEzTmZeIlmAmpnfrQfmVaQfrtIBLD6MbdkFYy2bSTO3D1KCVgFrsSmVHRtjyphc6BW3Cy7HdhGflrb7jg75L4eZfovHoZ7SuWpNoYitKXnsvD3VtGhXe1JipmqzzNHYvsOczFqWfpS9xd9T0SSRc8+qX4D3l6qRbvAQjMlfARGJkpK6SmCs4HvuG+yZzOmjz17vUBiFWyxcV7WjpB7nrUMxgpG3D2toguZIq+iSSA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1683679172; bh=ji4uIv8M4Z94K7sSuTZBr/SjNdlXhRsMz2pJGvUi/Kq=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=k9Sw1CDHRKQ+MPNwQqzKofx1WQzNlB0+DsWrM4APi3gwO8CplM0Kyo/srwzo0QxvgV008h/DTYM/9s7XsdAZrxsRbH79rk7563zq3XeIhoFvWBttmu0mPPQHJuJ+ObJYm6XWY/vfU7BQOWCtVJr7C4DxWRYF8a5sVS7Hpksk/HnyO2oZQpRc5raPKa8OiQ4zsZzd7D4r+y0lPY0L6etGFzKedIJ1Vxs47RTihlwfjPHsIm1Y3n8HzBxno7x+54geSZ84Emi0uLulacQ73m4KqZMtZFtDbxiD4KANn83NVgESamIz1RqcCKECISl6i99VK3jPsd4p2IyueS5O9Qu55w== X-YMail-OSG: lmZ8g6cVM1me.6zrbEpTgZ.Pbu8w.nol5iyH5H6EKCWpo7Kk9Ks.XObPmXqtefO usXNPGHKYLBAJRaKj2rw3LBHb4QMvi.G.5Qok.03sicbdRutBHQ_SOo_9SAjPiuddbmBT5RrdZsQ u3mjscmlI_sT0jR2_KhBUxVnW28qvZ58DX035_rcqRUnLsAVe5OCxPFkBB6.m1JsWldWf824b31P GFLbOrA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0214e5c5c279 Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Wed, 10 May 2023 00:39:32 +0000 Received: by hermes--production-sg3-6d6fb994f6-gm72r (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 3f47d5ee5956bf29811c35111426be63; Wed, 10 May 2023 00:39:30 +0000 (UTC) From: Po Lu To: tomasralph2000@gmail.com Subject: Re: bug#63384: x-display-mm-width and x-display-mm-height both return 0 on wayland In-Reply-To: <307a269d4093140c20db72b1b60d57f4@gmail.com> (tomasralph's message of "Tue, 09 May 2023 02:08:29 +0000") References: <307a269d4093140c20db72b1b60d57f4@gmail.com> Date: Wed, 10 May 2023 08:39:25 +0800 Message-ID: <87h6slggua.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.21471 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 2678 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63384 Cc: 63384@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tomasralph2000@gmail.com writes: > The functions "x-display-mm-width" and "x-display-mm-height" both return > 0 on Wayland, but on a specific display. > > I also have a laptop with the same setup (Arch Linux on Hyprland as > window manager) and a similar emacs version (I compiled both on my > desktop and laptop about ~1 hour from each other, my laptop went > first). This problem is not present on my laptop. > > These functions should return the dimensions of my display in > milimiters, as one would assume. This issue is causing numerous features > to fail with an "Arithmetic Overflow Error" since at some point they > divide by this number, and division by 0 is problematic of course. > > Most built-in games are broken (like tetris or snake) since they depend > on these functions to compute the size of the game grid. > > More importantly, latex previews on org files are also broken, since > they use the value to render the images. > > If I switch to X11 (more specifically, qtile) with this same setup, the > functions return proper values, and these features are fixed. > > If I launch emacs with the "GDK_BACKEND" environment variable set to > "x11" then emacs launches using xWayland, and once again, the functions > return proper values and the issue is "fixed". > > This seems to be an issue with GTK, rather than emacs. I found another > user complaining about this here: > https://discourse.gnome.org/t/gdk-monitor-get-width-mm-failure-wayland/5412 > > Since there doesn't seem to be much the emacs developers can do about > this, I propose a workaround is set in place. > > The functions that return the display size in pixels do work. Maybe > emacs could check if the mm dimensions are being reported as 0, and try > to guess appropiate values. They may be wrong, but it's a better option > than having these features outright fail with non-descriptive errors. > > Alternatively, since we now know that these functions can return 0, > maybe it's more appropiate to put a check in place, and fail with a more > descriptive error message. > > In the thread I linked, there's a code snippet of the xorg source code > that showcases it doing exactly that. Maybe emacs could do the same. > > It is likely that my monitor is the problem here (it's a cheap one). It > may not have these values properly set in its firmware. Probably Xorg > isn't getting proper values either, and it may be relying on that code snippet. > > This would also explain why it works on my laptop. I don't want to work around these painfully obvious GTK bugs, because that just gives their developers an excuse to keep things broken. Would you please report this to their developers? From debbugs-submit-bounces@debbugs.gnu.org Sat May 13 18:28:37 2023 Received: (at 63384) by debbugs.gnu.org; 13 May 2023 22:28:37 +0000 Received: from localhost ([127.0.0.1]:39854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxxjB-0005IB-4I for submit@debbugs.gnu.org; Sat, 13 May 2023 18:28:37 -0400 Received: from mail-ot1-f42.google.com ([209.85.210.42]:45067) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxxj8-0005Hx-Nl for 63384@debbugs.gnu.org; Sat, 13 May 2023 18:28:35 -0400 Received: by mail-ot1-f42.google.com with SMTP id 46e09a7af769-6acc9273e3eso508722a34.2 for <63384@debbugs.gnu.org>; Sat, 13 May 2023 15:28:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684016909; x=1686608909; h=to:subject:message-id:from:date:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=ua6vVmCEIt2Hm1MiOYtLmJA5DDgTeGu70cCRBtdaz8E=; b=gZlKfB2Ms44lFfV7tWDGzI6yTR9ziSX3Jq4stuGlrLt8ub3oBDfUTgS6nV8o8xoacX NFZwk9tkGIm8haP7r46mFFmjk34wLQRlmnym8FQyZoLsoO6z4bp4r96QIw+DM5f5utmp zWtn3n8K3g1BBHixCIHXcHb9tW/Qyv6Cl61re9uo92wuRDz5jUfO3fV8eGNxSenSXXfF 28aCJf/gOu2Z7lr9zdBx4+hGLMLIk7LIcYayzrbXgDSEtglgdl8+vwyuoeA+bk0Oaxlm UW6j2EsbNZDYz2TegHgHuugqVawX5UU7quM2fYO8KFodVym4RlJC1PHL6DoHtn/MYQuV 7TWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684016909; x=1686608909; h=to:subject:message-id:from:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ua6vVmCEIt2Hm1MiOYtLmJA5DDgTeGu70cCRBtdaz8E=; b=HM44YE/SuGKklRSci/eb21wr7gXDE2fbJwoifkF8Tz81BaLjJ+9cmbdVeT57pgAz4C 5rCMhB9MabRlF8+8YyhA/7YHPMWkngVua9OU/A8b7oKfF3Aqhy30Wbc7OdsEngR6iHgX aS4/Aug0ZHdY0hz0p3vKhult8i9LBXcdcQZ2nyY/LSPimeSHlTGmD8D0Ilr7SDKRSneZ EJYQkqsuWkLM2hsC7iLqqJThcJBbCh3VbefExoaYeAVyt+239z+DZLGTQjkWmwe9ZlRT XnEGEkW9lTHqgZfixsiwGBD1WdMCBohlgl5Gu2Qh5DP6ZAhpZYRFgD7Poq49WnPeFQFr dAEA== X-Gm-Message-State: AC+VfDxUzIT8aNdbpusmitZYEA/Pae2aEwW8AIq3r2BDU0beM1br3wMo 1chVDoFkFlKs3lVjixJ3WxUP2S5aha0= X-Google-Smtp-Source: ACHHUZ5jVyPQuKAviSEiqpbnRjg/RHp8MccIGKOpDYVVgoZ/6XjHWROwVhn9BBD9JCkgosI1KQzWWg== X-Received: by 2002:a9d:6b17:0:b0:6a3:4e22:2bd with SMTP id g23-20020a9d6b17000000b006a34e2202bdmr9590099otp.5.1684016908637; Sat, 13 May 2023 15:28:28 -0700 (PDT) Received: from rainloop.titocloud.duckdns.org ([190.18.132.192]) by smtp.gmail.com with ESMTPSA id l12-20020a056830154c00b006ab15b6f50esm5302395otp.59.2023.05.13.15.28.27 for <63384@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 13 May 2023 15:28:28 -0700 (PDT) MIME-Version: 1.0 Date: Sat, 13 May 2023 22:32:09 +0000 Content-Type: multipart/alternative; boundary="--=_RainLoop_570_487718963.1684017129" X-Mailer: RainLoop/1.13.0 From: tomasralph2000@gmail.com Message-ID: <442c86307ca7852252e081725ae6f01f@gmail.com> Subject: x-display-mm-width and x-display-mm-height both return 0 on wayland To: 63384@debbugs.gnu.org X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 63384 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) ----=_RainLoop_570_487718963.1684017129 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I searched through their issues and apparently this is expected behavior.= According to this (https://gitlab.gnome.org/GNOME/gtk/-/issues/3115) iss= ue, returning 0 if the value can't be determined is a documented output. = I couldn't find it in the documentation (https://docs.gtk.org/gdk3/method= .Monitor.get_width_mm.html), but it is what it is.=0A=0AFurthermore, they= don't seem to be willing to add checks in place to calculate a proper va= lue.=0A=0ASo, back to emacs. Maybe it should be fixed on this side? I per= sonally made a workaround in the meantime that checks if these functions = return 0, and if they do, they override the pgtk function that returns th= e display info, calculating the proper values for the mm size. It works g= reat. You can find it here (https://github.com/tralph3/.dotfiles/tree/9ab= 2ab7a2a34827b4912a72c5975edb07d36182f/.config/emacs#display-size-in-milim= iters-workaround), in case anyone finds it useful. ----=_RainLoop_570_487718963.1684017129 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
<= br>I searched through their issues and apparently this is expected behavi= or. According to this issue, returning 0 if the value can't be determined is a do= cumented output. I couldn't find it in the documentation, but it is wha= t it is.

Furthermore, they don't seem to be willing to add checks = in place to calculate a proper value.

So, back to emacs. Maybe it = should be fixed on this side? I personally made a workaround in the meant= ime that checks if these functions return 0, and if they do, they overrid= e the pgtk function that returns the display info, calculating the proper= values for the mm size. It works great. You can find it here, in ca= se anyone finds it useful.
----=_RainLoop_570_487718963.1684017129-- From debbugs-submit-bounces@debbugs.gnu.org Sun May 14 01:00:03 2023 Received: (at 63384) by debbugs.gnu.org; 14 May 2023 05:00:03 +0000 Received: from localhost ([127.0.0.1]:40043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1py3pz-0001yg-2e for submit@debbugs.gnu.org; Sun, 14 May 2023 01:00:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1py3px-0001xf-44 for 63384@debbugs.gnu.org; Sun, 14 May 2023 01:00:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1py3pr-00068k-IH; Sun, 14 May 2023 00:59:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=QH8muLp0qncEDdUQjlPS11m4yxmy0iJraNIWbD/ykD0=; b=sLxrpOo3moVj uOZQSImKPP5R2tnqOUj9ItqGNvLXesOxRV2H/698ObwAd/Kexrfc8jzZCGPd4jNdaiZXahU26K++D oXPQEa+42Wpc0tiEqzX1F7o2kdQM93q9ciPfJTIM25w1OlzuAJ71/pMlmmaLoNkFZqYAfraLpkHkS tGgDLVRf5TbQNb5z5Y5WERTx6R+EiHcjYJSPf+9uQX8unhgz/5NW++Gn7gIQoGq33Df2A2tZDzIGD KWwHdJg9Fry/eBUwasnYDeuwt/SjmXU0Zbi2aKr+awxgTQqtEc1KjGG7+cYjVoF9L/pSYRtiZk8b0 NE8TNoYiZVdE11/DSO7hhQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1py3pq-0004o7-Vd; Sun, 14 May 2023 00:59:55 -0400 Date: Sun, 14 May 2023 07:59:56 +0300 Message-Id: <83lehra4oj.fsf@gnu.org> From: Eli Zaretskii To: tomasralph2000@gmail.com, Po Lu In-Reply-To: <442c86307ca7852252e081725ae6f01f@gmail.com> (tomasralph2000@gmail.com) Subject: Re: bug#63384: x-display-mm-width and x-display-mm-height both return 0 on wayland References: <307a269d4093140c20db72b1b60d57f4@gmail.com> <442c86307ca7852252e081725ae6f01f@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63384 Cc: 63384@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sat, 13 May 2023 22:32:09 +0000 > From: tomasralph2000@gmail.com > > So, back to emacs. Maybe it should be fixed on this side? I personally made a workaround in the > meantime that checks if these functions return 0, and if they do, they override the pgtk function that > returns the display info, calculating the proper values for the mm size. It works great. You can find it > here, in case anyone finds it useful. If we can have a reasonably useful fallback on our side, I think we should add it. AFAIU, this problem also exists on the emacs-29 branch? If so, I think we should add this fallback, if it is reasonable, to the emacs-29 branch soon. From debbugs-submit-bounces@debbugs.gnu.org Sun May 14 01:22:21 2023 Received: (at 63384) by debbugs.gnu.org; 14 May 2023 05:22:21 +0000 Received: from localhost ([127.0.0.1]:40093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1py4BY-0002jR-KJ for submit@debbugs.gnu.org; Sun, 14 May 2023 01:22:20 -0400 Received: from sonic314-22.consmr.mail.ne1.yahoo.com ([66.163.189.148]:43478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1py4BV-0002jD-Ke for 63384@debbugs.gnu.org; Sun, 14 May 2023 01:22:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1684041732; bh=SOFqUyaDGZ19QXzNi6JbyB6bIoi4GT1yYTiwpM/fI28=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=jTcqoG0e3KDJgjYHGWWH7O8UYR/MQF28HCRW3okikuqAXeF5MAsgQj4eOquwFn458T5xLxh1bw0l8/COX/8HatY3YQmdYZgCiPFQ/FbaI9Op6hoDWKh+fhxzn5gI9akLr6SviDppiY+9Uc8rjNvnx2blIuCkPRMjm5Z5MSH+R8Fh9UBV5962ZAJ+2bhHgyucZcVzeueCAjKYfSCUmbVm4Ea24GW2lqpAhf5kyHH7DX7iuJ5BGSHR/n1eAn4NGjBjLUjRo8+nVx06X9fGEQqYwSaICnSMo8pVcDvGy0J9i27C5ESz8R9YTP2Eq+y2vUTAfpook7HSZq65cbz8rkPoBw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1684041732; bh=8WxB98bYWKJBtlSULjDTCK+UaONQJT0fBPXlkh0P/8O=; h=X-Sonic-MF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x7BKZxzz68aA7bZnzaNp2RZa.oma 1pD.wtG4h999_ngOqL8vbBCpCsodbdNdlYIK997U5rhPcZQTXRxut4dGSgfmI87D3hAYYyLlhseL Lzj5ggRcoKhYHWL9v5wVnpAEyLlHFzcAkv0i915YrwZpH0R3tyv6XaZHbthINgTdQzZ.BpVTvU1_ NZ.LZSjdS3pTKMyhz49A7MeWI9F2ffGRwcL9aLJgdvgwKBFJ8P5lJYmi4zIux7gF2yvU_q6bITOh RZrhAeO73jvcH1d6fjyYF6xfOjoDdaCcl9P9dHo7WplFyznFlLxI7Hffq8uKxO_h.stnDCqAPwV_ aAH.0t95aQygpJX010vZ3jkKstEKIvD2XELGVVMbQjKiwlrGM8hEhMJDbLcgU0xccflJ7rkstVrN uqyNGWzfhR3zTtaQJWbwNIZhPFUNvPl_Nt3dlBdc_XFvsitV96wb_R4TwpFbcZxxmrVpZaJhH1vl to_1vonCVNKreR06W1EQyIFRhe0h1kF9jPyBIpSQ6OxBnom4OR06Lrt41x2c- X-Sonic-MF: X-Sonic-ID: 3954eadc-db20-4acd-9ee8-d475b734bc15 Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Sun, 14 May 2023 05:22:12 +0000 Received: by hermes--production-sg3-748897c457-vf9wl (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 0520640436c08a311280325cc22d539b; Sun, 14 May 2023 05:22:08 +0000 (UTC) From: Po Lu To: Eli Zaretskii Subject: Re: bug#63384: x-display-mm-width and x-display-mm-height both return 0 on wayland In-Reply-To: <83lehra4oj.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 14 May 2023 07:59:56 +0300") References: <307a269d4093140c20db72b1b60d57f4@gmail.com> <442c86307ca7852252e081725ae6f01f@gmail.com> <83lehra4oj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Sun, 14 May 2023 13:22:03 +0800 Message-ID: <877ctb7ais.fsf@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.21471 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1055 X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 63384 Cc: tomasralph2000@gmail.com, 63384@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> Date: Sat, 13 May 2023 22:32:09 +0000 >> From: tomasralph2000@gmail.com >> >> So, back to emacs. Maybe it should be fixed on this side? I >> personally made a workaround in the meantime that checks if these >> functions return 0, and if they do, they override the pgtk function >> that returns the display info, calculating the proper values for the >> mm size. It works great. You can find it here, in case anyone finds >> it useful. > > If we can have a reasonably useful fallback on our side, I think we > should add it. AFAIU, this problem also exists on the emacs-29 > branch? If so, I think we should add this fallback, if it is > reasonable, to the emacs-29 branch soon. Sigh... The number of excuses GNOME people can come up for their own failings is astonishing. Thomas, if you run: $ wayland-info then, somewhere alongside the descriptions of each output, should be their respective EDID blobs. Would you please send them here, so that I can see if some accurate information can be extracted? From debbugs-submit-bounces@debbugs.gnu.org Sun May 14 14:53:56 2023 Received: (at 63384) by debbugs.gnu.org; 14 May 2023 18:53:56 +0000 Received: from localhost ([127.0.0.1]:41571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pyGqw-0003rT-Vd for submit@debbugs.gnu.org; Sun, 14 May 2023 14:53:55 -0400 Received: from mail-oa1-f42.google.com ([209.85.160.42]:46444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pyGqu-0003rG-TK for 63384@debbugs.gnu.org; Sun, 14 May 2023 14:53:54 -0400 Received: by mail-oa1-f42.google.com with SMTP id 586e51a60fabf-199bffcfd21so233961fac.1 for <63384@debbugs.gnu.org>; Sun, 14 May 2023 11:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684090427; x=1686682427; h=to:subject:message-id:from:date:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=WTSJqIHFgMc2CBP9ao6tz7kPSzy8p33psiPK5ZZ8Q14=; b=C4VzgSqdzzGdPAKty+wOB+lBJqlIBI/U7lAfGxqT4EYJxgaWPV3a0YZTzut8LO1y6U xzEwjGDHlcn+fID69pKfm92KwuOQSMEzquMAPXc9T4NpJbgWOQK6Q73VfBoj0KIBa0vy gNT4r1Y0QdDMXPhxIlLEpG0ugmsTIXyZHgvNCuG3TTLf7sgBb2Li0cISm//HpcVzWX1v bKWlVyF38nRQHMmO/IepnLEpORF18eK4ncD6fJ0PyBtzoY/Qw6ydqYLIZUZPP68aDogT Hto8zkWKffp8sHPkGAA5p0y4nIQB7TSBO1P23UumViwKc9PfZc9FkexObuI+47fIawA9 2ywg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684090427; x=1686682427; h=to:subject:message-id:from:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=WTSJqIHFgMc2CBP9ao6tz7kPSzy8p33psiPK5ZZ8Q14=; b=B4Vf66xXsFoPJMovakHsf3Amc7T27LeQFSoDoX0y4nO1+X74iJDw1Lw7Rc6HhBoiCH AM34XshnljSXzrjezoLl/xd87H0EGqJvhy0ZGKjCsqWjFmrUTHiMdPOl6RBvQPuNrgn6 ermb3lxMxvzKgCtHsFCgYE9BUX2Ptc3DusNIUnBqhobuS0QuiDXDVhYE89Pe+3H4l/QG xSa8m8le6AYyMBoe6qbCnmyOtpiSzixoqN61/VQkNM6rVSGTodpLv+dWZUwxUoRECgoG Tj3K1KYBbQUPO0BmNhvWWrc18pdRtF55lfuYjDQIb1LPhwEPMmLln0DDnGSu4BLuQSzX R2Gw== X-Gm-Message-State: AC+VfDy3Pyhrb9aC0nylmOzQUSeO8CJJ83J3in5UUfVRJKlHB853O3Wu k+Z/1G0cfjqSIOvJlw0xTWEPOmPzdf8= X-Google-Smtp-Source: ACHHUZ6+X/JwCN+xehnY6C5oA0SVytlXGp3OnseJKqTA8pQesv1HGHUZv1srWf9j2GIckZ6G222QXg== X-Received: by 2002:a05:6808:2189:b0:394:60e9:e7ac with SMTP id be9-20020a056808218900b0039460e9e7acmr6165099oib.52.1684090426421; Sun, 14 May 2023 11:53:46 -0700 (PDT) Received: from rainloop.titocloud.duckdns.org ([190.18.132.192]) by smtp.gmail.com with ESMTPSA id f17-20020a4ae611000000b0054fcc25de1fsm5507815oot.2.2023.05.14.11.53.45 for <63384@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 14 May 2023 11:53:46 -0700 (PDT) MIME-Version: 1.0 Date: Sun, 14 May 2023 18:57:28 +0000 Content-Type: multipart/alternative; boundary="--=_RainLoop_854_326622293.1684090648" X-Mailer: RainLoop/1.13.0 From: tomasralph2000@gmail.com Message-ID: Subject: Re: bug#63384: x-display-mm-width and x-display-mm-height both To: 63384@debbugs.gnu.org X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 63384 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) ----=_RainLoop_854_326622293.1684090648 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sigh... The number of excuses GNOME people can come up for their own fail= ings is astonishing. Thomas, if you run: $ wayland-info then, somewhere a= longside the descriptions of each output, should be their respective EDID= blobs. Would you please send them here, so that I can see if some accura= te information can be extracted? =0ASure! Here you go:=0A=0Ainterface: 'w= l_shm', version: 1, name: 1=0A formats (fourcc):=0A 0x38344241 =3D 'AB48'= =0A 0x38344258 =3D 'XB48'=0A 0x48344241 =3D 'AB4H'=0A 0x48344258 =3D 'XB4= H'=0A 0x30334241 =3D 'AB30'=0A 0x30334258 =3D 'XB30'=0A 0x36314752 =3D 'R= G16'=0A 0x35314152 =3D 'RA15'=0A 0x35315852 =3D 'RX15'=0A 0x32314152 =3D = 'RA12'=0A 0x32315852 =3D 'RX12'=0A 0x34324742 =3D 'BG24'=0A 0x34324241 = =3D 'AB24'=0A 0x34324258 =3D 'XB24'=0A 1 =3D 'XR24'=0A 0 =3D 'AR24'=0Aint= erface: 'wl_drm', version: 2, name: 2=0Ainterface: 'zwp_linux_dmabuf_v1',= version: 4, name: 3=0A main device: 0xE280=0A tranche=0A target device: = 0xE280=0A flags: none=0A formats (fourcc) and modifiers (names):=0A 0x483= 44241 =3D 'AB4H'; 0x00ffffffffffffff =3D INVALID=0A 0x48344241 =3D 'AB4H'= ; 0x0000000000000000 =3D LINEAR=0A 0x48344258 =3D 'XB4H'; 0x00fffffffffff= fff =3D INVALID=0A 0x48344258 =3D 'XB4H'; 0x0000000000000000 =3D LINEAR= =0A 0x38344241 =3D 'AB48'; 0x00ffffffffffffff =3D INVALID=0A 0x38344241 = =3D 'AB48'; 0x0000000000000000 =3D LINEAR=0A 0x38344258 =3D 'XB48'; 0x00f= fffffffffffff =3D INVALID=0A 0x38344258 =3D 'XB48'; 0x0000000000000000 = =3D LINEAR=0A 0x30335241 =3D 'AR30'; 0x00ffffffffffffff =3D INVALID=0A 0x= 30335241 =3D 'AR30'; 0x0000000000000000 =3D LINEAR=0A 0x30335258 =3D 'XR3= 0'; 0x00ffffffffffffff =3D INVALID=0A 0x30335258 =3D 'XR30'; 0x0000000000= 000000 =3D LINEAR=0A 0x30334241 =3D 'AB30'; 0x00ffffffffffffff =3D INVALI= D=0A 0x30334241 =3D 'AB30'; 0x0000000000000000 =3D LINEAR=0A 0x30334258 = =3D 'XB30'; 0x00ffffffffffffff =3D INVALID=0A 0x30334258 =3D 'XB30'; 0x00= 00000000000000 =3D LINEAR=0A 0x34325241 =3D 'AR24'; 0x00ffffffffffffff = =3D INVALID=0A 0x34325241 =3D 'AR24'; 0x0000000000000000 =3D LINEAR=0A 0x= 34324241 =3D 'AB24'; 0x00ffffffffffffff =3D INVALID=0A 0x34324241 =3D 'AB= 24'; 0x0000000000000000 =3D LINEAR=0A 0x34325258 =3D 'XR24'; 0x00ffffffff= ffffff =3D INVALID=0A 0x34325258 =3D 'XR24'; 0x0000000000000000 =3D LINEA= R=0A 0x34324258 =3D 'XB24'; 0x00ffffffffffffff =3D INVALID=0A 0x34324258 = =3D 'XB24'; 0x0000000000000000 =3D LINEAR=0A 0x35315241 =3D 'AR15'; 0x00f= fffffffffffff =3D INVALID=0A 0x35315241 =3D 'AR15'; 0x0000000000000000 = =3D LINEAR=0A 0x36314752 =3D 'RG16'; 0x00ffffffffffffff =3D INVALID=0A 0x= 36314752 =3D 'RG16'; 0x0000000000000000 =3D LINEAR=0A 0x20203852 =3D 'R8 = '; 0x00ffffffffffffff =3D INVALID=0A 0x20203852 =3D 'R8 '; 0x000000000000= 0000 =3D LINEAR=0A 0x20363152 =3D 'R16 '; 0x00ffffffffffffff =3D INVALID= =0A 0x20363152 =3D 'R16 '; 0x0000000000000000 =3D LINEAR=0A 0x38385247 = =3D 'GR88'; 0x00ffffffffffffff =3D INVALID=0A 0x38385247 =3D 'GR88'; 0x00= 00000000000000 =3D LINEAR=0A 0x32335247 =3D 'GR32'; 0x00ffffffffffffff = =3D INVALID=0A 0x32335247 =3D 'GR32'; 0x0000000000000000 =3D LINEAR=0A 0x= 39565559 =3D 'YUV9'; 0x00ffffffffffffff =3D INVALID=0A 0x39565559 =3D 'YU= V9'; 0x0000000000000000 =3D LINEAR=0A 0x31315559 =3D 'YU11'; 0x00ffffffff= ffffff =3D INVALID=0A 0x31315559 =3D 'YU11'; 0x0000000000000000 =3D LINEA= R=0A 0x32315559 =3D 'YU12'; 0x00ffffffffffffff =3D INVALID=0A 0x32315559 = =3D 'YU12'; 0x0000000000000000 =3D LINEAR=0A 0x36315559 =3D 'YU16'; 0x00f= fffffffffffff =3D INVALID=0A 0x36315559 =3D 'YU16'; 0x0000000000000000 = =3D LINEAR=0A 0x34325559 =3D 'YU24'; 0x00ffffffffffffff =3D INVALID=0A 0x= 34325559 =3D 'YU24'; 0x0000000000000000 =3D LINEAR=0A 0x39555659 =3D 'YVU= 9'; 0x00ffffffffffffff =3D INVALID=0A 0x39555659 =3D 'YVU9'; 0x0000000000= 000000 =3D LINEAR=0A 0x31315659 =3D 'YV11'; 0x00ffffffffffffff =3D INVALI= D=0A 0x31315659 =3D 'YV11'; 0x0000000000000000 =3D LINEAR=0A 0x32315659 = =3D 'YV12'; 0x00ffffffffffffff =3D INVALID=0A 0x32315659 =3D 'YV12'; 0x00= 00000000000000 =3D LINEAR=0A 0x36315659 =3D 'YV16'; 0x00ffffffffffffff = =3D INVALID=0A 0x36315659 =3D 'YV16'; 0x0000000000000000 =3D LINEAR=0A 0x= 34325659 =3D 'YV24'; 0x00ffffffffffffff =3D INVALID=0A 0x34325659 =3D 'YV= 24'; 0x0000000000000000 =3D LINEAR=0A 0x3231564e =3D 'NV12'; 0x00ffffffff= ffffff =3D INVALID=0A 0x3231564e =3D 'NV12'; 0x0000000000000000 =3D LINEA= R=0A 0x30313050 =3D 'P010'; 0x00ffffffffffffff =3D INVALID=0A 0x30313050 = =3D 'P010'; 0x0000000000000000 =3D LINEAR=0A 0x32313050 =3D 'P012'; 0x00f= fffffffffffff =3D INVALID=0A 0x32313050 =3D 'P012'; 0x0000000000000000 = =3D LINEAR=0A 0x36313050 =3D 'P016'; 0x00ffffffffffffff =3D INVALID=0A 0x= 36313050 =3D 'P016'; 0x0000000000000000 =3D LINEAR=0A 0x30333050 =3D 'P03= 0'; 0x00ffffffffffffff =3D INVALID=0A 0x30333050 =3D 'P030'; 0x0000000000= 000000 =3D LINEAR=0A 0x3631564e =3D 'NV16'; 0x00ffffffffffffff =3D INVALI= D=0A 0x3631564e =3D 'NV16'; 0x0000000000000000 =3D LINEAR=0A 0x56555941 = =3D 'AYUV'; 0x00ffffffffffffff =3D INVALID=0A 0x56555941 =3D 'AYUV'; 0x00= 00000000000000 =3D LINEAR=0A 0x56555958 =3D 'XYUV'; 0x00ffffffffffffff = =3D INVALID=0A 0x56555958 =3D 'XYUV'; 0x0000000000000000 =3D LINEAR=0A 0x= 30313459 =3D 'Y410'; 0x00ffffffffffffff =3D INVALID=0A 0x30313459 =3D 'Y4= 10'; 0x0000000000000000 =3D LINEAR=0A 0x32313459 =3D 'Y412'; 0x00ffffffff= ffffff =3D INVALID=0A 0x32313459 =3D 'Y412'; 0x0000000000000000 =3D LINEA= R=0A 0x36313459 =3D 'Y416'; 0x00ffffffffffffff =3D INVALID=0A 0x36313459 = =3D 'Y416'; 0x0000000000000000 =3D LINEAR=0A 0x56595559 =3D 'YUYV'; 0x00f= fffffffffffff =3D INVALID=0A 0x56595559 =3D 'YUYV'; 0x0000000000000000 = =3D LINEAR=0A 0x59565955 =3D 'UYVY'; 0x00ffffffffffffff =3D INVALID=0A 0x= 59565955 =3D 'UYVY'; 0x0000000000000000 =3D LINEAR=0A 0x30313259 =3D 'Y21= 0'; 0x00ffffffffffffff =3D INVALID=0A 0x30313259 =3D 'Y210'; 0x0000000000= 000000 =3D LINEAR=0A 0x32313259 =3D 'Y212'; 0x00ffffffffffffff =3D INVALI= D=0A 0x32313259 =3D 'Y212'; 0x0000000000000000 =3D LINEAR=0A 0x36313259 = =3D 'Y216'; 0x00ffffffffffffff =3D INVALID=0A 0x36313259 =3D 'Y216'; 0x00= 00000000000000 =3D LINEAR=0Ainterface: 'wl_compositor', version: 6, name:= 4=0Ainterface: 'wl_subcompositor', version: 1, name: 5=0Ainterface: 'wl_= data_device_manager', version: 3, name: 6=0Ainterface: 'zwlr_export_dmabu= f_manager_v1', version: 1, name: 7=0Ainterface: 'zwlr_data_control_manage= r_v1', version: 2, name: 8=0Ainterface: 'zwlr_gamma_control_manager_v1', = version: 1, name: 9=0Ainterface: 'zwp_primary_selection_device_manager_v1= ', version: 1, name: 10=0Ainterface: 'wp_viewporter', version: 1, name: 1= 1=0Ainterface: 'zwlr_output_power_manager_v1', version: 1, name: 12=0Aint= erface: 'xdg_wm_base', version: 5, name: 13=0Ainterface: 'wl_seat', versi= on: 8, name: 14=0A name: seat0=0A capabilities: pointer keyboard=0A keybo= ard repeat rate: 25=0A keyboard repeat delay: 600=0Ainterface: 'wp_presen= tation', version: 1, name: 15=0A presentation clock id: 1 (CLOCK_MONOTONI= C)=0Ainterface: 'org_kde_kwin_idle', version: 1, name: 16=0Ainterface: 'z= wlr_layer_shell_v1', version: 4, name: 17=0Ainterface: 'org_kde_kwin_serv= er_decoration_manager', version: 1, name: 18=0Ainterface: 'zxdg_decoratio= n_manager_v1', version: 1, name: 19=0Ainterface: 'zxdg_output_manager_v1'= , version: 3, name: 20=0A xdg_output_v1=0A output: 49=0A name: 'HDMI-A-1'= =0A description: 'TXD HDMI J257M96B00FL (HDMI-A-1)'=0A logical_x: 0, logi= cal_y: 0=0A logical_width: 1920, logical_height: 1080=0Ainterface: 'zwlr_= output_manager_v1', version: 4, name: 21=0Ainterface: 'zwlr_input_inhibit= _manager_v1', version: 1, name: 22=0Ainterface: 'zwp_keyboard_shortcuts_i= nhibit_manager_v1', version: 1, name: 23=0Ainterface: 'zext_workspace_man= ager_v1', version: 1, name: 24=0Ainterface: 'zwp_pointer_constraints_v1',= version: 1, name: 25=0Ainterface: 'zwp_relative_pointer_manager_v1', ver= sion: 1, name: 26=0Ainterface: 'zwp_virtual_keyboard_manager_v1', version= : 1, name: 27=0Ainterface: 'zwlr_virtual_pointer_manager_v1', version: 2,= name: 28=0Ainterface: 'zwlr_foreign_toplevel_manager_v1', version: 3, na= me: 29=0Ainterface: 'wp_drm_lease_device_v1', version: 1, name: 30=0Ainte= rface: 'zwp_tablet_manager_v2', version: 1, name: 31=0Ainterface: 'zwp_id= le_inhibit_manager_v1', version: 1, name: 32=0Ainterface: 'zxdg_exporter_= v1', version: 1, name: 33=0Ainterface: 'zxdg_importer_v1', version: 1, na= me: 34=0Ainterface: 'zxdg_exporter_v2', version: 1, name: 35=0Ainterface:= 'zxdg_importer_v2', version: 1, name: 36=0Ainterface: 'zwp_pointer_gestu= res_v1', version: 3, name: 37=0Ainterface: 'zwp_text_input_manager_v3', v= ersion: 1, name: 38=0Ainterface: 'zwp_input_method_manager_v2', version: = 1, name: 39=0Ainterface: 'xdg_activation_v1', version: 1, name: 40=0Ainte= rface: 'ext_session_lock_manager_v1', version: 1, name: 41=0Ainterface: '= wp_single_pixel_buffer_manager_v1', version: 1, name: 42=0Ainterface: 'xw= ayland_shell_v1', version: 1, name: 43=0Ainterface: 'hyprland_toplevel_ex= port_manager_v1', version: 2, name: 44=0Ainterface: 'wp_fractional_scale_= manager_v1', version: 1, name: 45=0Ainterface: 'zwp_text_input_manager_v1= ', version: 1, name: 46=0Ainterface: 'hyprland_global_shortcuts_manager_v= 1', version: 1, name: 47=0Ainterface: 'zwlr_screencopy_manager_v1', versi= on: 3, name: 48=0Ainterface: 'wl_output', version: 4, name: 49=0A name: H= DMI-A-1=0A description: TXD HDMI J257M96B00FL (HDMI-A-1)=0A x: 0, y: 0, s= cale: 1,=0A physical_width: 0 mm, physical_height: 0 mm,=0A make: 'TXD', = model: 'HDMI',=0A subpixel_orientation: unknown, output_transform: normal= ,=0A mode:=0A width: 1920 px, height: 1080 px, refresh: 59.718 Hz,=0A fla= gs: current ----=_RainLoop_854_326622293.1684090648 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
<= pre class=3D"message">Sigh... The number of excuses GNOME people can come= up for their own failings is astonishing. Thomas, if you run: $ wayland-= info then, somewhere alongside the descriptions of each output, should be= their respective EDID blobs. Would you please send them here, so that I = can see if some accurate information can be extracted?
Sure! Here you go:

interface: 'wl_shm', version: 1,= name: 1
formats (fourcc):
0x38344241 =3D 'AB48'
0x38344258 = =3D 'XB48'
0x48344241 =3D 'AB4H'
0x48344258 =3D 'XB4H'
0x3033= 4241 =3D 'AB30'
0x30334258 =3D 'XB30'
0x36314752 =3D 'RG16'
0= x35314152 =3D 'RA15'
0x35315852 =3D 'RX15'
0x32314152 =3D 'RA12'<= br> 0x32315852 =3D 'RX12'
0x34324742 =3D 'BG24'
0x34324241 =3D 'A= B24'
0x34324258 =3D 'XB24'
1 =3D 'XR24'
0 =3D 'AR24'
inter= face: 'wl_drm', version: 2, name: 2
interface: 'zwp_linux_dmabuf_v1', = version: 4, name: 3
main device: 0xE280
tranche
target device= : 0xE280
flags: none
formats (fourcc) and modifiers (names):
= 0x48344241 =3D 'AB4H'; 0x00ffffffffffffff =3D INVALID
0x48344241 =3D = 'AB4H'; 0x0000000000000000 =3D LINEAR
0x48344258 =3D 'XB4H'; 0x00ffff= ffffffffff =3D INVALID
0x48344258 =3D 'XB4H'; 0x0000000000000000 =3D = LINEAR
0x38344241 =3D 'AB48'; 0x00ffffffffffffff =3D INVALID
0x38= 344241 =3D 'AB48'; 0x0000000000000000 =3D LINEAR
0x38344258 =3D 'XB48= '; 0x00ffffffffffffff =3D INVALID
0x38344258 =3D 'XB48'; 0x0000000000= 000000 =3D LINEAR
0x30335241 =3D 'AR30'; 0x00ffffffffffffff =3D INVAL= ID
0x30335241 =3D 'AR30'; 0x0000000000000000 =3D LINEAR
0x3033525= 8 =3D 'XR30'; 0x00ffffffffffffff =3D INVALID
0x30335258 =3D 'XR30'; 0= x0000000000000000 =3D LINEAR
0x30334241 =3D 'AB30'; 0x00fffffffffffff= f =3D INVALID
0x30334241 =3D 'AB30'; 0x0000000000000000 =3D LINEAR 0x30334258 =3D 'XB30'; 0x00ffffffffffffff =3D INVALID
0x30334258 = =3D 'XB30'; 0x0000000000000000 =3D LINEAR
0x34325241 =3D 'AR24'; 0x00= ffffffffffffff =3D INVALID
0x34325241 =3D 'AR24'; 0x0000000000000000 = =3D LINEAR
0x34324241 =3D 'AB24'; 0x00ffffffffffffff =3D INVALID
= 0x34324241 =3D 'AB24'; 0x0000000000000000 =3D LINEAR
0x34325258 =3D '= XR24'; 0x00ffffffffffffff =3D INVALID
0x34325258 =3D 'XR24'; 0x000000= 0000000000 =3D LINEAR
0x34324258 =3D 'XB24'; 0x00ffffffffffffff =3D I= NVALID
0x34324258 =3D 'XB24'; 0x0000000000000000 =3D LINEAR
0x353= 15241 =3D 'AR15'; 0x00ffffffffffffff =3D INVALID
0x35315241 =3D 'AR15= '; 0x0000000000000000 =3D LINEAR
0x36314752 =3D 'RG16'; 0x00fffffffff= fffff =3D INVALID
0x36314752 =3D 'RG16'; 0x0000000000000000 =3D LINEA= R
0x20203852 =3D 'R8 '; 0x00ffffffffffffff =3D INVALID
0x20203852= =3D 'R8 '; 0x0000000000000000 =3D LINEAR
0x20363152 =3D 'R16 '; 0x00= ffffffffffffff =3D INVALID
0x20363152 =3D 'R16 '; 0x0000000000000000 = =3D LINEAR
0x38385247 =3D 'GR88'; 0x00ffffffffffffff =3D INVALID
= 0x38385247 =3D 'GR88'; 0x0000000000000000 =3D LINEAR
0x32335247 =3D '= GR32'; 0x00ffffffffffffff =3D INVALID
0x32335247 =3D 'GR32'; 0x000000= 0000000000 =3D LINEAR
0x39565559 =3D 'YUV9'; 0x00ffffffffffffff =3D I= NVALID
0x39565559 =3D 'YUV9'; 0x0000000000000000 =3D LINEAR
0x313= 15559 =3D 'YU11'; 0x00ffffffffffffff =3D INVALID
0x31315559 =3D 'YU11= '; 0x0000000000000000 =3D LINEAR
0x32315559 =3D 'YU12'; 0x00fffffffff= fffff =3D INVALID
0x32315559 =3D 'YU12'; 0x0000000000000000 =3D LINEA= R
0x36315559 =3D 'YU16'; 0x00ffffffffffffff =3D INVALID
0x3631555= 9 =3D 'YU16'; 0x0000000000000000 =3D LINEAR
0x34325559 =3D 'YU24'; 0x= 00ffffffffffffff =3D INVALID
0x34325559 =3D 'YU24'; 0x000000000000000= 0 =3D LINEAR
0x39555659 =3D 'YVU9'; 0x00ffffffffffffff =3D INVALID 0x39555659 =3D 'YVU9'; 0x0000000000000000 =3D LINEAR
0x31315659 =3D= 'YV11'; 0x00ffffffffffffff =3D INVALID
0x31315659 =3D 'YV11'; 0x0000= 000000000000 =3D LINEAR
0x32315659 =3D 'YV12'; 0x00ffffffffffffff =3D= INVALID
0x32315659 =3D 'YV12'; 0x0000000000000000 =3D LINEAR
0x3= 6315659 =3D 'YV16'; 0x00ffffffffffffff =3D INVALID
0x36315659 =3D 'YV= 16'; 0x0000000000000000 =3D LINEAR
0x34325659 =3D 'YV24'; 0x00fffffff= fffffff =3D INVALID
0x34325659 =3D 'YV24'; 0x0000000000000000 =3D LIN= EAR
0x3231564e =3D 'NV12'; 0x00ffffffffffffff =3D INVALID
0x32315= 64e =3D 'NV12'; 0x0000000000000000 =3D LINEAR
0x30313050 =3D 'P010'; = 0x00ffffffffffffff =3D INVALID
0x30313050 =3D 'P010'; 0x0000000000000= 000 =3D LINEAR
0x32313050 =3D 'P012'; 0x00ffffffffffffff =3D INVALID<= br> 0x32313050 =3D 'P012'; 0x0000000000000000 =3D LINEAR
0x36313050 = =3D 'P016'; 0x00ffffffffffffff =3D INVALID
0x36313050 =3D 'P016'; 0x0= 000000000000000 =3D LINEAR
0x30333050 =3D 'P030'; 0x00ffffffffffffff = =3D INVALID
0x30333050 =3D 'P030'; 0x0000000000000000 =3D LINEAR
= 0x3631564e =3D 'NV16'; 0x00ffffffffffffff =3D INVALID
0x3631564e =3D = 'NV16'; 0x0000000000000000 =3D LINEAR
0x56555941 =3D 'AYUV'; 0x00ffff= ffffffffff =3D INVALID
0x56555941 =3D 'AYUV'; 0x0000000000000000 =3D = LINEAR
0x56555958 =3D 'XYUV'; 0x00ffffffffffffff =3D INVALID
0x56= 555958 =3D 'XYUV'; 0x0000000000000000 =3D LINEAR
0x30313459 =3D 'Y410= '; 0x00ffffffffffffff =3D INVALID
0x30313459 =3D 'Y410'; 0x0000000000= 000000 =3D LINEAR
0x32313459 =3D 'Y412'; 0x00ffffffffffffff =3D INVAL= ID
0x32313459 =3D 'Y412'; 0x0000000000000000 =3D LINEAR
0x3631345= 9 =3D 'Y416'; 0x00ffffffffffffff =3D INVALID
0x36313459 =3D 'Y416'; 0= x0000000000000000 =3D LINEAR
0x56595559 =3D 'YUYV'; 0x00fffffffffffff= f =3D INVALID
0x56595559 =3D 'YUYV'; 0x0000000000000000 =3D LINEAR 0x59565955 =3D 'UYVY'; 0x00ffffffffffffff =3D INVALID
0x59565955 = =3D 'UYVY'; 0x0000000000000000 =3D LINEAR
0x30313259 =3D 'Y210'; 0x00= ffffffffffffff =3D INVALID
0x30313259 =3D 'Y210'; 0x0000000000000000 = =3D LINEAR
0x32313259 =3D 'Y212'; 0x00ffffffffffffff =3D INVALID
= 0x32313259 =3D 'Y212'; 0x0000000000000000 =3D LINEAR
0x36313259 =3D '= Y216'; 0x00ffffffffffffff =3D INVALID
0x36313259 =3D 'Y216'; 0x000000= 0000000000 =3D LINEAR
interface: 'wl_compositor', version: 6, name: 4<= br>interface: 'wl_subcompositor', version: 1, name: 5
interface: 'wl_d= ata_device_manager', version: 3, name: 6
interface: 'zwlr_export_dmabu= f_manager_v1', version: 1, name: 7
interface: 'zwlr_data_control_manag= er_v1', version: 2, name: 8
interface: 'zwlr_gamma_control_manager_v1'= , version: 1, name: 9
interface: 'zwp_primary_selection_device_manager= _v1', version: 1, name: 10
interface: 'wp_viewporter', version: 1, nam= e: 11
interface: 'zwlr_output_power_manager_v1', version: 1, name: 12<= br>interface: 'xdg_wm_base', version: 5, name: 13
interface: 'wl_seat'= , version: 8, name: 14
name: seat0
capabilities: pointer keyboard=
keyboard repeat rate: 25
keyboard repeat delay: 600
interface= : 'wp_presentation', version: 1, name: 15
presentation clock id: 1 (C= LOCK_MONOTONIC)
interface: 'org_kde_kwin_idle', version: 1, name: 16interface: 'zwlr_layer_shell_v1', version: 4, name: 17
interface: 'o= rg_kde_kwin_server_decoration_manager', version: 1, name: 18
interface= : 'zxdg_decoration_manager_v1', version: 1, name: 19
interface: 'zxdg_= output_manager_v1', version: 3, name: 20
xdg_output_v1
output: 49=
name: 'HDMI-A-1'
description: 'TXD HDMI J257M96B00FL (HDMI-A-1)'=
logical_x: 0, logical_y: 0
logical_width: 1920, logical_height: = 1080
interface: 'zwlr_output_manager_v1', version: 4, name: 21
inte= rface: 'zwlr_input_inhibit_manager_v1', version: 1, name: 22
interface= : 'zwp_keyboard_shortcuts_inhibit_manager_v1', version: 1, name: 23
in= terface: 'zext_workspace_manager_v1', version: 1, name: 24
interface: = 'zwp_pointer_constraints_v1', version: 1, name: 25
interface: 'zwp_rel= ative_pointer_manager_v1', version: 1, name: 26
interface: 'zwp_virtua= l_keyboard_manager_v1', version: 1, name: 27
interface: 'zwlr_virtual_= pointer_manager_v1', version: 2, name: 28
interface: 'zwlr_foreign_top= level_manager_v1', version: 3, name: 29
interface: 'wp_drm_lease_devic= e_v1', version: 1, name: 30
interface: 'zwp_tablet_manager_v2', versio= n: 1, name: 31
interface: 'zwp_idle_inhibit_manager_v1', version: 1, n= ame: 32
interface: 'zxdg_exporter_v1', version: 1, name: 33
interfa= ce: 'zxdg_importer_v1', version: 1, name: 34
interface: 'zxdg_exporter= _v2', version: 1, name: 35
interface: 'zxdg_importer_v2', version: 1, = name: 36
interface: 'zwp_pointer_gestures_v1', version: 3, name: 37interface: 'zwp_text_input_manager_v3', version: 1, name: 38
interfac= e: 'zwp_input_method_manager_v2', version: 1, name: 39
interface: 'xdg= _activation_v1', version: 1, name: 40
interface: 'ext_session_lock_man= ager_v1', version: 1, name: 41
interface: 'wp_single_pixel_buffer_mana= ger_v1', version: 1, name: 42
interface: 'xwayland_shell_v1', version:= 1, name: 43
interface: 'hyprland_toplevel_export_manager_v1', version= : 2, name: 44
interface: 'wp_fractional_scale_manager_v1', version: 1,= name: 45
interface: 'zwp_text_input_manager_v1', version: 1, name: 46=
interface: 'hyprland_global_shortcuts_manager_v1', version: 1, name: = 47
interface: 'zwlr_screencopy_manager_v1', version: 3, name: 48
in= terface: 'wl_output', version: 4, name: 49
name: HDMI-A-1
descrip= tion: TXD HDMI J257M96B00FL (HDMI-A-1)
x: 0, y: 0, scale: 1,
phys= ical_width: 0 mm, physical_height: 0 mm,
make: 'TXD', model: 'HDMI',<= br> subpixel_orientation: unknown, output_transform: normal,
mode: width: 1920 px, height: 1080 px, refresh: 59.718 Hz,
flags: current=

----=_RainLoop_854_326622293.1684090648-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 05 00:56:38 2023 Received: (at 63384) by debbugs.gnu.org; 5 Jun 2023 04:56:39 +0000 Received: from localhost ([127.0.0.1]:47764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q62Gj-0004q3-NX for submit@debbugs.gnu.org; Mon, 05 Jun 2023 00:56:38 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:39445) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q60ul-0002Ug-38 for 63384@debbugs.gnu.org; Sun, 04 Jun 2023 23:29:52 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 1EA383200916 for <63384@debbugs.gnu.org>; Sun, 4 Jun 2023 23:29:45 -0400 (EDT) Received: from imap43 ([10.202.2.93]) by compute3.internal (MEProxy); Sun, 04 Jun 2023 23:29:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=covering.space; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:message-id:mime-version:reply-to :sender:subject:subject:to:to; s=fm2; t=1685935784; x= 1686022184; bh=hg/JJEOaXipLR+FDt7VyoSRoMpBt93Sdci2/c0AJRho=; b=e UjG3HStTwbFBufsfnyY9o1lDk6CCqv8u42pKojM1x1Ey3kjSc/s8LTiEVIBSWhMB YFBB5u4Mv0IWHF6q/LUr/Y75G4FKtiVMxQBg7O0FK6+eYCgpl12+hHbdSRrnlA0D Q+EbzuMZP9q4/J4DTa3GFMnRm2yb8lDrb40XjqLUpmA8kkku7K4jnG2AthqLSNzK XhlSeBJZ7gBX+URGJdZ3b5pQo/QPtsZwQHKFMjX/oV/5aZ5OGZqoDC9gxk4sQfLB L+TqWJtYXHWV+kKWnclK/BdBmhVYQNYUdSe+Xn3fYYU7FLsYF10wKhr3bMGmV8tl AEjZMW/gqyLnNLRkCQt/Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1685935784; x=1686022184; bh=hg/JJEOaXipLR +FDt7VyoSRoMpBt93Sdci2/c0AJRho=; b=tMgRrtmsjnWWH97lFgSr8CmVD1/LX QnWt62dGLyP5CpOdjjpokWUywmf0f3IWEdXXLUudDrY52YqXG9HBumq9H332RK/u iA7Ih/W6eUDD2kRG7MJxsi5aqaAM1kN/n8fGQbd+zMrBT/xlUkJD9MqIKPX+LEBg mTl1QE+DcZazrYJn+bZDgsa3ak5a6dpW5q/9YW5mPwNnI0cbssrRfz1elKABCtKM RCbdW1VjkH7+2HOvVjx3+LNCCYZvOR2oWHtZfv805qOO6FIYajGFeuUjdubbjMS/ i+LUdI8rJWX6ZMnVDledO3gHJISyNhD/lHqGORbTW92caXLzdYl2P4IyA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeelkedgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtgfesthhqre dtreerjeenucfhrhhomhepfdghihhllhhirghmucetucevrgguvghgrghnqdfutghhlhhi vghpvghrfdcuoeifrggtshestghovhgvrhhinhhgrdhsphgrtggvqeenucggtffrrghtth gvrhhnpeehieevvdevteffiefghefgkeegtdegheetjeeiuefghfdvtdevffeigeetvedt teenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeifrg gtshestghovhgvrhhinhhgrdhsphgrtggv X-ME-Proxy: Feedback-ID: i59a14259:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 34E252D4008E; Sun, 4 Jun 2023 23:29:44 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-447-ge2460e13b3-fm-20230525.001-ge2460e13 Mime-Version: 1.0 Message-Id: Date: Sun, 04 Jun 2023 20:29:24 -0700 From: "William A Cadegan-Schlieper" To: 63384@debbugs.gnu.org Subject: re: x-display-mm-width and x-display-mm-height both return 0 on wayland Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 63384 X-Mailman-Approved-At: Mon, 05 Jun 2023 00:56:30 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) I have run into this problem and can confirm that a 0mm=C3=970mm display= is reported by Wayland in many cases, including the Weston run by the v= irtualized server of the WSL system. interface: 'wl_compositor', version: 4, na= me: 1 interface: 'wl_subcompositor', version: 1, na= me: 2 interface: 'wp_viewporter', version: 1, na= me: 3 interface: 'zxdg_output_manager_v1', version: 2, na= me: 4 xdg_output_v1 output: 11 name: 'rdp-0' logical_x: 0, logical_y: 0 logical_width: 1920, logical_height: 1080 interface: 'wp_presentation', version: 1, na= me: 5 presentation clock id: 4 (CLOCK_MONOTONIC_RAW) interface: 'zwp_relative_pointer_manager_v1', version: 1, na= me: 6 interface: 'zwp_pointer_constraints_v1', version: 1, na= me: 7 interface: 'zwp_input_timestamps_manager_v1', version: 1, na= me: 8 interface: 'wl_data_device_manager', version: 3, na= me: 9 interface: 'wl_shm', version: 1, na= me: 10 formats (fourcc): 0x36314752 =3D 'RG16' 1 =3D 'XR24' 0 =3D 'AR24' interface: 'wl_output', version: 3, na= me: 11 x: 0, y: 0, scale: 1, physical_width: 0 mm, physical_height: 0 mm, make: 'weston', model: 'rdp', subpixel_orientation: unknown, output_transform: normal, mode: width: 1920 px, height: 1080 px, refresh: 60.000 Hz, flags: current preferred interface: 'zwp_input_panel_v1', version: 1, na= me: 12 interface: 'zwp_text_input_manager_v1', version: 1, na= me: 13 interface: 'xdg_wm_base', version: 1, na= me: 14 interface: 'zxdg_shell_v6', version: 1, na= me: 15 interface: 'wl_shell', version: 1, na= me: 16 interface: 'weston_rdprail_shell', version: 1, na= me: 17 interface: 'weston_screenshooter', version: 1, na= me: 18 interface: 'wl_seat', version: 7, na= me: 19 name: RDP DESKTOP-QGUMTJ2 capabilities: pointer keyboard keyboard repeat rate: 40 keyboard repeat delay: 400 interface: 'zwp_input_method_v1', version: 1, na= me: 20 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 05 05:12:41 2023 Received: (at 63384) by debbugs.gnu.org; 5 Jun 2023 09:12:41 +0000 Received: from localhost ([127.0.0.1]:48118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q66GX-0003nn-4C for submit@debbugs.gnu.org; Mon, 05 Jun 2023 05:12:41 -0400 Received: from sonic317-34.consmr.mail.ne1.yahoo.com ([66.163.184.45]:37177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q66GV-0003nT-9g for 63384@debbugs.gnu.org; Mon, 05 Jun 2023 05:12:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1685956350; bh=w1l7RFr105IYiYAasF/LUPbx5DASjBtrZYzQF0XgHtg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=SyGChaQkVexs+nBHP3e6wZ7DvScrHGCchwhG07yN0Fb8aLCe3Xc85lXkX9+au3xJfm6ZQGgsBnzC8GusCwfb1lK9TFujVjalGy7ynz6hR0v5arIdykMQwC7L9l5ff17RMgp9xi1s0cyA15FcpK743pRMBuIGEVTtFn8JRAW+rK7ZrW9KVKvxZN0HIHF3+HORWaDPoHZzYVA3Pq2EH1/5LkR2Ajjbx12SBjuFnPuESJpQJE73Ij/hyLNM4gGUWk0x4+D6O1iSpZgOJ5+vI9OGvQKnbKMchlz61Xd+gRHN8snLLdZTvbqayeI1XK7r0j0uP82u34JBDQQO0dL/FY8GEg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1685956350; bh=HcvWKKbEATLVl0+Af5l+oWDIkNOfSyo0CgyxyHTwtEp=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=LZJwfoRP1EY+0VRdlWt5PIMHB6n01Wyro3fEFHPeLwejrBNrf8nXytTFGVphFOYnRiifeejUXsBFO62nGFUxl6MuiUG5910urmKPcIHbzpZzY5B73jF13xovtShih+UuXUBCcZGo0WqgH16mfc0wiJsSmJqxZC4sxLbVYoMH118XD8Kuj0UDn9yW0+SJ0o+nBs62N4e4l5BTRISWj+Y6jtMr5A9P2J02guUIP7kkk4l/57ojSi8Z4dwDuVlcQoqgXVxVdjY8SVJJJMrHs5NxghqEFUFq6wVDb336el43X51+6BPW+UNRQfLvmhclmgUZPf6QCKEMM8bJXblxlx1z3Q== X-YMail-OSG: ls6e9jkVM1lbfeK1tVNyH8GRnS0AS_2N04kSFpqOWx3Z0_.Jh0tgu1pgb9fERV7 bNrDU8OQ2UhjPm8IkX3Iu_uUr9JEa8CitVAby.nraoDwTmGxAlu9jtrwWW6Mrkcu69bOL.KZ1j3M ZjDLbJRUBFb7sWdskc2LuRUVBIIEda4cjnyTaBDii966duG7zpeo62gd41YadeKRZxfbYolvZnw2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76f0-d069-4125-b4bd-e2422392efb4 Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Mon, 5 Jun 2023 09:12:30 +0000 Received: by hermes--production-sg3-748897c457-tvgvm (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d947261ea0092b74cb07bb57c69c1ca7; Mon, 05 Jun 2023 09:12:24 +0000 (UTC) From: Po Lu To: tomasralph2000@gmail.com Subject: Re: bug#63384: x-display-mm-width and x-display-mm-height both In-Reply-To: (tomasralph's message of "Sun, 14 May 2023 18:57:28 +0000") References: <307a269d4093140c20db72b1b60d57f4@gmail.com> Date: Mon, 05 Jun 2023 17:12:19 +0800 Message-ID: <873536l1cc.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.21495 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 633 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63384 Cc: 63384@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tomasralph2000@gmail.com writes: > Sigh... The number of excuses GNOME people can come up for their own failings is astonishing. Thomas, if you run: $ wayland-info then, somewhere alongside the descriptions of each output, should be their respective EDID blobs. Would you please send them here, so that I can see if some accurate information can be extracted? > > Sure! Here you go: Hmm, it looks as if my understanding of the Wayland protocol is incorrect. Upon further investigation, there seems to be no way to portably obtain the EDID blob from an output. What does the X modesetting driver think of your output's geometry? From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 05 05:13:54 2023 Received: (at 63384) by debbugs.gnu.org; 5 Jun 2023 09:13:54 +0000 Received: from localhost ([127.0.0.1]:48123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q66Hi-0003qZ-Ho for submit@debbugs.gnu.org; Mon, 05 Jun 2023 05:13:54 -0400 Received: from sonic310-23.consmr.mail.ne1.yahoo.com ([66.163.186.204]:45323) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q66Hg-0003qC-F4 for 63384@debbugs.gnu.org; Mon, 05 Jun 2023 05:13:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1685956425; bh=kbHcxkIaiIcu4xu0F/fzUT+SdXE0bYtyQw8Sf4jH1t4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=iAHZxwdssniry9XWShsnO81wNkkj36ZvLZwiIlGRsvb2aH375enqvekvtKNZd90DREMusqbtYKLKHYn8KYr537Vy9L928Pj4cE11qsnS1UY8MtCfsOAKGbntbCscH2dOKH0b/e4OTQ0MSc6ecf0217wtv1eWNpQKoZA72T43Cq1qTLgpQAKjVcrOEmXxr48yJd6K0RY8pm/6t40bz4i/7uR6A3qFnTajZr0k/+c5oqv4qEy5ioyIJR1iCa9AKBVs/ZQ9arhg3jXiFWvO5BPchgU2fqprmrWBmLukcP6kdD57JcxdOxwE2AXT8AFrWbxajJjOK7LjZNiwXSOqjO5/hQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1685956425; bh=HeBagSt9XZSjTtR6N6VG6deZFHx9+yfvHZQ5ffj1RLv=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=U+tz7q8daNS9P4CRKmUqGX016o2lothbi4d1B4rwoUZBLUx5NPgeO226abW/L0Mz2jrrjLABwuvQZna3cR9GD3U/kFcW7dRS39Nu1jxG9aLolznCcnhyA0tCrzVuBzuOhbfw6kT/4kWylCGX4wUsxcAS7zKayQItlZX5VLc8xdzpMMugd62ldZKOYGm7uqKuxhzmnSJPYEN5I6g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bCuHE9J7z7qUQGNcCWjKbxBL0mQB.Z xjj7NFyv4Hd2Q0LTFJZmndLr1FNilTZGvB7iVkziphsOTTA2YVdoWcMa11SiQrjqoWMkFE0UAuLs B7c._pifDkH7HcM434ocE41uFIkBSQDXvWsl.veXviizzha4whsFEQLdolWMYUeaVzq84QbxEYru pOR8Bq2aOHK14Xo.FnPDM2DRC70n4KRiDygAgBoGXe5wryxdRxNbWARNt_V_KDHtThGOMajlRT.u .j61CCrvO7g2ofavJx1f83jfP0xCJV0cdrGgT6_oMIhYZ_JxP51sochPF1RTinC0LWJo- X-Sonic-MF: X-Sonic-ID: 5d464461-8d1d-4858-974b-9ca43feb6e8b Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Mon, 5 Jun 2023 09:13:45 +0000 Received: by hermes--production-sg3-748897c457-q47mh (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 21e1ab2aa9d2b83cc8b13262dfc486e9; Mon, 05 Jun 2023 09:13:39 +0000 (UTC) From: Po Lu To: "William A Cadegan-Schlieper" Subject: Re: bug#63384: x-display-mm-width and x-display-mm-height both return 0 on wayland In-Reply-To: (William A. Cadegan-Schlieper's message of "Sun, 04 Jun 2023 20:29:24 -0700") References: <307a269d4093140c20db72b1b60d57f4@gmail.com> Date: Mon, 05 Jun 2023 17:13:33 +0800 Message-ID: <87y1kyjmpu.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.21516 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1788 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63384 Cc: 63384@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) "William A Cadegan-Schlieper" writes: > I have run into this problem and can confirm that a 0mm=C3=970mm display = is reported by Wayland in many cases, including the Weston run by the virtu= alized server of the WSL system. > > interface: 'wl_compositor', version: 4, nam= e: 1 > interface: 'wl_subcompositor', version: 1, nam= e: 2 > interface: 'wp_viewporter', version: 1, nam= e: 3 > interface: 'zxdg_output_manager_v1', version: 2, nam= e: 4 > xdg_output_v1 > output: 11 > name: 'rdp-0' > logical_x: 0, logical_y: 0 > logical_width: 1920, logical_height: 1080 > interface: 'wp_presentation', version: 1, nam= e: 5 > presentation clock id: 4 (CLOCK_MONOTONIC_RAW) > interface: 'zwp_relative_pointer_manager_v1', version: 1, nam= e: 6 > interface: 'zwp_pointer_constraints_v1', version: 1, nam= e: 7 > interface: 'zwp_input_timestamps_manager_v1', version: 1, nam= e: 8 > interface: 'wl_data_device_manager', version: 3, nam= e: 9 > interface: 'wl_shm', version: 1, nam= e: 10 > formats (fourcc): > 0x36314752 =3D 'RG16' > 1 =3D 'XR24' > 0 =3D 'AR24' > interface: 'wl_output', version: 3, nam= e: 11 > x: 0, y: 0, scale: 1, > physical_width: 0 mm, physical_height: 0 mm, We don't support WSL in the PGTK build, as the native W32 port works fine on the systems where it runs. In this case, it's clearly a problem with the MS compositor.