<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 16.01.21 18:40, Alain wrote:<br>
</div>
<blockquote type="cite"
cite="mid:c129bd08-5fe0-9e8b-0d88-51f9978f2217@alain.homeunix.org">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>On 15.01.21 19:07, Mark Kendall wrote:</p>
<blockquote type="cite"
cite="mid:CAG323RQt0PCP0c=HsNWuo97A8hY71U0Wbruiqud3SroVh857-w@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">The size info looks OK in the EDID;
00ffffffffffff00410c5409ae0a0000
221e0103807722 << these are the width and height. 77 is 119 in decimal
= 119cm. 22 is 34 = 34cm.
119/34 = 3.5 - which is almost your aspect ratio (stupid EDID data
can't do accurate here).
Try the following and see what Qt thinks it is using:-
QT_LOGGING_RULES=qt.qpa.*=true mythfrontend
You should see something like this in the first few lines (from my
current machine):-
qt.qpa.screen: adding QXcbScreen(0xbea100, name="HDMI-A-0",
geometry=1680x1050+0+0, availableGeometry=1680x1023+0+27,
devicePixelRatio=1.0, logicalDpi=QPair(96.0,96.0),
physicalSize=434.0x270.0mm, screenNumber=0, virtualSize=1680x1050
(1680.0x1050.0mm), orientation=Qt::LandscapeOrientation, depth=24,
refreshRate=59.9, root=6af, windowManagerName="GNOME Shell") (Primary:
true )
Regards
Mark
</pre>
</blockquote>
</blockquote>
<div class="moz-cite-prefix">Hi Mark,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"> Here is the QT's version:</div>
<div class="moz-cite-prefix"><tt>qt.qpa.screen: EDID data for output
"HDMI-0": identifier '', manufacturer 'Philips Consumer
Electronics Company',model 'PHL 498P9-', serial 'AU02034002734',
<b>physical size: 1190.00x340.00</b></tt><br>
<tt> </tt><tt>qt.qpa.screen: adding QXcbScreen(0x55780d9ab110,
name="HDMI-0", </tt><br>
<tt> </tt></div>
<div class="moz-cite-prefix"><tt> geometry=5120x1440+0+0,
availableGeometry=5120x1417+0+0, </tt><br>
<tt> </tt></div>
<div class="moz-cite-prefix"><tt> devicePixelRatio=1.0,
logicalDpi=QPair(96.0,96.0), </tt><br>
<tt> </tt></div>
<div class="moz-cite-prefix"><tt> <b>physicalSize=1.0x1.0mm,</b></tt></div>
<div class="moz-cite-prefix"><tt> screenNumber=0,
virtualSize=5120x1440 (5120.0x1440.0mm),</tt></div>
<div class="moz-cite-prefix"><tt>
orientation=Qt::LandscapeOrientation, depth=24,
refreshRate=70.0,</tt></div>
<div class="moz-cite-prefix"><tt> root=1e6,
windowManagerName="Xfwm4") (Primary: true )</tt><br>
<tt> </tt></div>
<div class="moz-cite-prefix"><br>
</div>
<p> Forgot to include the data after setting the screen size to
3480x1080 to compare the results. In this size, the GUI starts
fine in terms of font size:</p>
<tt>qt.qpa.screen: EDID data for output "HDMI-0": identifier '',
manufacturer 'Philips Consumer Electronics Company',model 'PHL
498P9-', serial 'AU02034002734', </tt><tt><b>physical size:
1190.00x340.00</b></tt><br>
<tt>qt.qpa.screen: adding QXcbScreen(0x556e22d78310, name="HDMI-0",</tt><br>
<tt> geometry=3840x1080+0+0, availableGeometry=3840x1057+0+0,</tt><br>
<tt> devicePixelRatio=1.0, logicalDpi=QPair(96.0,95.9), <br>
</tt><tt> <b>physicalSize=1193.0x336.0mm</b>,</tt><br>
<tt> screenNumber=0, virtualSize=3840x1080 (3840.0x1080.0mm),</tt><br>
<tt> orientation=Qt::LandscapeOrientation, depth=24,
refreshRate=75.0,</tt><br>
<tt> root=1e6, windowManagerName="Xfwm4") (Primary: true )</tt><br>
<br>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Regards,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Alain</div>
</body>
</html>