Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Devices list and OS list totally unreadable in rpi-imager booted from network #880

Open
1 task
mimmus opened this issue Jun 8, 2024 · 12 comments
Open
1 task
Labels
bug Something isn't working

Comments

@mimmus
Copy link

mimmus commented Jun 8, 2024

What happened?

After upgrading EPROM to latest version, I tried to activate "rpi-imager" at boot, pressing SHIFT key, It downloads from the Internet and starts correctly but "Devices list" and "OS lists" are totally unreadable on a 43" TV connected by HDMI (very very very small characters).

Version

1.8.5 (Default)

What host operating system were you using?

Other Linux environment

Host OS Version

At boot

Selected OS

Custom

Which Raspberry Pi Device are you using?

Raspberry Pi 4B, 400, and Compute Modules 4, 4S

What kind of storage device are you using?

microSD Card in an internal reader

OS Customisation

  • Yes, I was using OS Customisation when the bug occurred.

Relevant log output

No response

@mimmus mimmus added the bug Something isn't working label Jun 8, 2024
@lurch
Copy link
Contributor

lurch commented Jun 10, 2024

I'm guessing it must be a 4K TV, and embedded RPi Imager isn't scaling up the fonts to a larger size?
@tdewey-rpi / @maxnet as a temporary workaround, is there any way of forcing embedded-imager to e.g. run in 1080p mode even if the display is 4K?

@tdewey-rpi
Copy link
Collaborator

This is indeed a known issue - a newer build of the Embedded Imager is certainly required, but it's unclear if that will be enough.

It's a good suggestion, @lurch - rather than having the system select the highest-resolution mode, selecting a lower-resolution mode. We may, however, run into issues around non-native modes on user displays going a little bit weird.

The preferred solution is to have Qt identify the size of the display and use it's HiDPI support directly. It's not clear to me that Qt5 will do that - it may be that the Embedded Imager requires Qt6 for the preferred solution to operate correctly.

@maxnet
Copy link
Collaborator

maxnet commented Jun 10, 2024

I'm guessing it must be a 4K TV, and embedded RPi Imager isn't scaling up the fonts to a larger size?
@tdewey-rpi / @maxnet as a temporary workaround, is there any way of forcing embedded-imager to e.g. run in 1080p mode even if the display is 4K?

There were two known issues I left to Peter/Tom to fix, when I threw the patch to update embedded Imager for Pi 5 over the fence in october. :-)

  • upgrading to the new Mesa and/or changing fkms to kms broke the existing functionality we had to scale up things a little larger.
    Commented out the QT_SCALE_FACTOR stuff here: https://github.com/raspberrypi/rpi-imager/blob/qml/src/main.cpp#L89 as it wasn't doing anything anymore.
    Changing resolution instead of scaling may also be possible, but is not the cleanest solution.

  • With the new Mesa, if you compile "optimized for size" (which we used to do before) it crashes on launching the application.
    Shoved that issue under the carpet by compiling -O2 instead. But there is likely still a race condition somewhere that crashes things depending on timing, that really should be addressed...

Don't think either got fixed.

@mimmus
Copy link
Author

mimmus commented Jun 10, 2024

I'm guessing it must be a 4K TV, and embedded RPi Imager isn't scaling up the fonts to a larger size?

Yes, exactly. Really unreadable also using a magnifying glass!

@tdewey-rpi
Copy link
Collaborator

I'm guessing it must be a 4K TV, and embedded RPi Imager isn't scaling up the fonts to a larger size?
@tdewey-rpi / @maxnet as a temporary workaround, is there any way of forcing embedded-imager to e.g. run in 1080p mode even if the display is 4K?

There were two known issues I left to Peter/Tom to fix, when I threw the patch to update embedded Imager for Pi 5 over the fence in october. :-)

  • upgrading to the new Mesa and/or changing fkms to kms broke the existing functionality we had to scale up things a little larger.
    Commented out the QT_SCALE_FACTOR stuff here: https://github.com/raspberrypi/rpi-imager/blob/qml/src/main.cpp#L89 as it wasn't doing anything anymore.
    Changing resolution instead of scaling may also be possible, but is not the cleanest solution.
  • With the new Mesa, if you compile "optimized for size" (which we used to do before) it crashes on launching the application.
    Shoved that issue under the carpet by compiling -O2 instead. But there is likely still a race condition somewhere that crashes things depending on timing, that really should be addressed...

Don't think either got fixed.

Thanks for the pointers, @maxnet

I'll take a look at finishing both things for a 1.9 release.

@mimmus
Copy link
Author

mimmus commented Sep 13, 2024

is this solved in 1.9?

@tdewey-rpi
Copy link
Collaborator

1.9 isn't deployed in the Network Install image at this time - I'm looking at repackaging it to use an AppImage.

@thatguywiththekids
Copy link

The text is also unreadable on Sony KDL-40E4000, and that is not 4K.

@lurch
Copy link
Contributor

lurch commented Nov 16, 2024

The text is also unreadable on Sony KDL-40E4000, and that is not 4K.

I did a web search and found https://www.sony.co.uk/electronics/support/televisions-projectors-lcd-tvs/kdl-40e4000/specifications which says that's a 1080p display, which I wouldn't expect to have any problems. Could you please share a photo of how the text is "unreadable"?

@tdewey-rpi
Copy link
Collaborator

As per @lurch's request, for anything where the symptom is a visual effect, a photo really does speak a thousand words - and it greatly appreciated. Without one, I'm constrained by the hardware I have on my desk.

@thatguywiththekids
Copy link

This looks fine:
20241118_124401

This is too small to read:
20241118_124416

@lurch
Copy link
Contributor

lurch commented Nov 19, 2024

I've just tested network-boot RPi Imager (a.k.a. embedded Imager) on a Pi 5 with the 24 inch 1080p monitor on my desk, and it looks totally fine.
I wonder if your monitor is reporting some weird DPI setting in its EDID, which is confusing Qt in the embedded Imager?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants