[Bug 1199020] New: Wrong resolution at Installation
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 Bug ID: 1199020 Summary: Wrong resolution at Installation Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Installation Assignee: yast2-maintainers@suse.de Reporter: outside@jhns.li QA Contact: jsrain@suse.com Found By: --- Blocker: --- Created attachment 858532 --> http://bugzilla.opensuse.org/attachment.cgi?id=858532&action=edit Picture of the Yast2 installer After booting the medium and starting the Yast2 installer, the full interface is too large and texts, buttons and tables merge into each other. I have the problem both on a notebook (FHD 1920x1080) and on a normal monitor (FHD 1920x1080) connected to a PC. It has occurred since about the last two to three snapshot versions of Tumbleweed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 Johannes Sudermann <outside@jhns.li> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 Johannes Sudermann <outside@jhns.li> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |outside@jhns.li -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 Johannes Sudermann <outside@jhns.li> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|outside@jhns.li | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 Johannes Sudermann <outside@jhns.li> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |Current -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 http://bugzilla.opensuse.org/show_bug.cgi?id=1199020#c2 --- Comment #2 from Johannes Sudermann <outside@jhns.li> --- Created attachment 858541 --> http://bugzilla.opensuse.org/attachment.cgi?id=858541&action=edit Yast2 Logs -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 http://bugzilla.opensuse.org/show_bug.cgi?id=1199020#c3 --- Comment #3 from Johannes Sudermann <outside@jhns.li> --- I've added the y2logs.tgz to the attachments. Hope this is the right one. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 http://bugzilla.opensuse.org/show_bug.cgi?id=1199020#c4 Glorpster <glorp.gleep@protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glorp.gleep@protonmail.com --- Comment #4 from Glorpster <glorp.gleep@protonmail.com> --- Just adding that on lower resolution (1366 x 768) the installer only shows a very partial image of the installer and thus basically isn't usable at all because not all buttons can be reached. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 http://bugzilla.opensuse.org/show_bug.cgi?id=1199020#c5 sam <thenerdiestguy@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED CC| |thenerdiestguy@gmail.com --- Comment #5 from sam <thenerdiestguy@gmail.com> --- I can confirm this bug, it happens when I click on configure network adapter 1080p screen, latest ISO, OSTW offline image On a Lenovo IdeaPad S340 laptop -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 http://bugzilla.opensuse.org/show_bug.cgi?id=1199020#c6 Glorpster <glorp.gleep@protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(outside@jhns.li) | --- Comment #6 from Glorpster <glorp.gleep@protonmail.com> --- I think OP already posted the logs but forgot to clear the needinfo request, so I cleared it with this post. Or is there more info needed? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 http://bugzilla.opensuse.org/show_bug.cgi?id=1199020#c10 --- Comment #10 from Glorpster <glorp.gleep@protonmail.com> --- Created attachment 858824 --> http://bugzilla.opensuse.org/attachment.cgi?id=858824&action=edit Another set of logfiles After failing the first tine, I think I now manahed to correctly write the logs to an usb stick. Maybe having a second logfile from a different machine will be helpful -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 http://bugzilla.opensuse.org/show_bug.cgi?id=1199020#c11 --- Comment #11 from Glorpster <glorp.gleep@protonmail.com> --- Created attachment 858825 --> http://bugzilla.opensuse.org/attachment.cgi?id=858825&action=edit look of installer at 1366x768 Corresponding image for the uploaded second batch of logfiles. The installer o ly shows the "main window" of the installer at full screen. The progress side ar is completely omitted. Also has the issue of things rendering "atop each other" as shown in the original screenshot and some elemebts like network co figuratio. go beyond the actual screen area -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrmazda@earthlink.net -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 http://bugzilla.opensuse.org/show_bug.cgi?id=1199020#c14 a <lmtzw5ld@anonaddy.me> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lmtzw5ld@anonaddy.me --- Comment #14 from a <lmtzw5ld@anonaddy.me> --- I can confirm this on the MicroOS installer (on the Snapshot released on 2022-05-16). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 http://bugzilla.opensuse.org/show_bug.cgi?id=1199020#c15 Sorin Fatu <sorin.fatu@protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sorin.fatu@protonmail.com --- Comment #15 from Sorin Fatu <sorin.fatu@protonmail.com> --- I can confirm this too. Booting with QT_AUTO_SCREEN_SCALE_FACTOR=0 fixes the issue in part. It shows all ui elements and also stops merging of ui elements from different screens but text scaling is off. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 http://bugzilla.opensuse.org/show_bug.cgi?id=1199020#c25 --- Comment #25 from Felix Miata <mrmazda@earthlink.net> --- (In reply to Sorin Fatu from comment #24)
a 1920x1080 screen at 15.6" will have the same calculated dpi as a 4k screen at 32".
Similar, yes, but not the same. 15.6 is 141.3. 32 is 137.7 (if 32 is in fact 32 and not 31.5).
While the latter needs dpi scaling, the former does not.
All else being equal, two different sized screens having the same density (DPI) will render objects at the exact same physical size regardless of the screen resolution that produced it. What matters in determining whether scaling is indicated is the relationship between density and viewing distance. Without knowing the viewing distance it can only be guessed whether scaling might be called for. Note that when the current problem with the installer is known, we have from linuxrc e.g. XVideo=1680x1050,108 that would scale up sizes on that 15.6" 1920x1080 laptop screen considerably, and e.g. XVideo=1920x1080,132 to do considerably more scaling on that 4+ times larger 32" 4k. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 http://bugzilla.opensuse.org/show_bug.cgi?id=1199020#c27 Falc�o <johnf@sousafalcao.pt> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |johnf@sousafalcao.pt --- Comment #27 from Falc�o <johnf@sousafalcao.pt> --- Another possible temporary fix is to use this: (Steffen Winterfeldt from comment #21)
As a first step, I've extended the boot options to allow 'faking' a monitor. With that I could reproduce the reported issues.
To use it, edit the entry on the installation bootloader and add edid=XXXXxXXXX to the end of the line that starts with linux (after splash=silent) where XXXXxXXXX is your screen resolution. For example edid=1920x1080 If that doesn't work try to use a different dpi than the default (on my system it worked with dpi 119 or below) For example edid=1920x1080,119 (Tested on the latest MicroOS - 20220708) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 http://bugzilla.opensuse.org/show_bug.cgi?id=1199020#c28 --- Comment #28 from Sorin Fatu <sorin.fatu@protonmail.com> --- I just checked the installer again with the latest ISO and this issue seems to be fixed. Since I didn't see a change in the way the dpi is calculated, I suspect the bug did not come from there. The tool to set the DPI has been changed but the logic and the values are the same, with what i suspect are the same results. However at this point at least on my 1920x1080 display the installer looks fine. I dug a bit deeper in the logs and have found something of interest between my current logs and the ones provided by Johannes. We both have this in y2start.log : Stage [call]: Monitor size: eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm Stage [call]: Monitor width mm: 344 Stage [call]: Monitor width px: 1920 Stage [call]: Monitor dpi: 144 Stage [call]: Xft.dpi set to: 144 But if we take a look at y2log we see a wrong resolution being detected on the old log Johannes has this: 2022-04-29 14:43:46 <1> install(4700) [qt-ui] YQUI.cc(YQUI):107 This is libyui-qt 4.4.0 .. 2022-04-29 14:43:46 <1> install(4700) [qt-ui] YQUI.cc(processCommandLineArgs):251 Qt argument: --fullscreen 2022-04-29 14:43:46 <1> install(4700) [qt-ui] YQUI.cc(calcDefaultSize):370 -fullscreen: using 960 x 540for `opt(`defaultsize) 2022-04-29 14:43:46 <1> install(4700) [qt-ui] YQUI.cc(calcDefaultSize):404 Default size: 960 x 540 2022-04-29 14:43:46 <1> install(4700) [qt-ui] YQApplication.cc(pickAutoFonts):471 Selecting auto fonts - normal: 10, heading: 12 (bold) Mine from today: 2022-08-01 10:21:51 <1> install(4271) [qt-ui] YQUI.cc(YQUI):108 This is libyui-qt 4.4.1 .. 2022-08-01 10:21:52 <1> install(4271) [qt-ui] YQUI.cc(processCommandLineArgs):257 Qt argument: --fullscreen 2022-08-01 10:21:52 <1> install(4271) [qt-ui] YQUI.cc(calcDefaultSize):376 -fullscreen: using 1920 x 1080for `opt(`defaultsize) 2022-08-01 10:21:52 <1> install(4271) [qt-ui] YQUI.cc(calcDefaultSize):410 Default size: 1920 x 1080 2022-08-01 10:21:52 <1> install(4271) [qt-ui] YQApplication.cc(pickAutoFonts):471 Selecting auto fonts - normal: 18, heading: 24 (bold) I now suspect there must have been an issue in libyui-qt. I no longer have an older iso around to test this but either way, at least for my display this seems to be fixed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 http://bugzilla.opensuse.org/show_bug.cgi?id=1199020#c34 --- Comment #34 from Felix Miata <mrmazda@earthlink.net> --- You are not authorized to access bug #1191112. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 http://bugzilla.opensuse.org/show_bug.cgi?id=1199020#c35 --- Comment #35 from Sorin Fatu <sorin.fatu@protonmail.com> --- (In reply to Stefan Hundhammer from comment #31)
But one way or the other, the main problem here is that the window background is not cleared before rendering new content. HiDPI and font sizes are only a secondary concern.
There is a SLE-15 SP4 bug for this as well.
Wait, so this bug is specifically opened for the wrong resolution being used thus causing hidpi and fonts to be rendered incorrectly and now that's a secondary concern ? As already mentioned this bug seems to have fixed itself with the update from libyui-qt from 4.4.0 to 4.4.1 Side note, duplicate of a bug that we can't see ? What were the causes there ? What were the steps to reproduce, what was discussed? Oh well... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199020 Sorin Fatu <sorin.fatu@protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|sorin.fatu@protonmail.com | -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com