-
Notifications
You must be signed in to change notification settings - Fork 123
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
Rpi5 update leads to small font #802
Comments
The latest version now uses the KMS video drivers, which resulted in fonts that were a point or 2 larger, so I compensated by dropping the font size down similarly so the font size should be the same as before.
What happens if you remove the |
I didn't specify resolution just now, but probably 1080x720 since that's my tv resolution. How could I tell which pinn uses currently? Removing that line makes the fonts proper size. Altough I get white border on each side (both splash screen and in menu). Perhaps wallpaper_resize would fix that? |
It sounds like KMS is not setting the right resolution. I've changed the wallpaper to reduce the size of the installation, but the aspect ratio is not ideal. Use wallpaper_resize to fix it for now. |
I have the same problem. Ridiculously tiny font when I use the Raspberry Pi 5
|
I'm not seeing this |
Strange, but once again as usual: everything works for the developer 😄 |
I've opened the terminal within pinn and tried So I tested "fbset" which gives: |
I should have mentioned, tvservice will not work on the Pi5 - you'll need to run it on another Pi model. The aim is just to see what the real resolution of your TV/Monitor is. |
Could someone post a picture of the screen with the "ridiculously tiny fonts", please? |
I don't know what to say. If I don't specify resolution in cmdline.txt and use KMS I don't get the white borders. If I don't use KMS I can push + probably 8 times to get really big fonts. But when using KMS it stops increasing the fonts after 3 pushes (for some reason i need to wait 1-2 seconds between pushes or it wont take). It's readable but just barely. I don't know why it differs between us. Could we have different revisions of rpi5 boads? Or could it be the TV? I don't have any issues with raspberry pi os which also uses KMS right? I'm perfectly fine disabling KMS and I don't need perfectly sized fonts but I would like to contribute to this fine development wherever I can. |
I think the font is also a bit smaller on a raspberry pi 5 without the kms line than on a raspberry pi 4. |
This is because PINN is assuming that KMS is in use on the Pi5 and is dropping the point size regardless. |
That font is SOOOO tiny! But why? I wondered if the font size was normal, but the resolution is crazily big....? |
Adding |
BTW, VNC does not work on Raspberry Pi 5, at least with previous versions I used on Pi 5. Black screen gotten on TV and on VNC window. Raspberry Pi 4 is ok |
Works for me 🤷♂️ My pictures above are from screenshots using VNC from my laptop. |
Of course I did. Pi5 -> black screen, Pi4 working. With the Pi 5, just setting the option in the cmdline.txt meant that the picture no longer appeared on the TV. And CEC didn't work on the Pi 5 either, but that doesn't really belong in this thread. |
It remains the same, neither with vncshare nor with vncinstall I get a picture in the VNC client. I have tried it with and without dtoverlay=vc4-kms-v3d in config.txt. The VNC server is also really started, but it only transmits black pixels. By the way, a TV with 1920x1080p resolution is used. It seems to me that we are working with completely different PINN versions |
I downloaded the 3.8.9f beta from sourceforge to be sure I was using the same version and not some development version. You can see the version and build date in my screenshots. I really don't understand why vnc is not working for you. |
I'm working on the update procedure to include the PI5 beta version in the released version of PINN. |
That should be helpful. I looked in /tmp/messages and couldn't find anything enlightening |
I just released p3.8.9j beta. Hopefully the last beta before I merge it to mainline. ( You can view the log in the GUI if you go to the maintenance menu, check the box next to PINN and select the fix up menu. There's an option there to display the debug log which will pop up in a separate window. Rearrange/resize your windows to see them appropriately. It doesn't refresh, so click the refresh button to update the log.) |
Thanks! I've updated and the fonts stay the same. I've viewed the debug log but it's extremely hard to read, even the biggest fonts I can set. The first part after Geometry is fuzzy, I'm not 100% sure it's correct, it what it looked like to me. I don't have a proper keyboard connected so I cannot get to ssh to save the log. Maybe I could try later this evening but it's difficult working with the tiny fonts. A button when viewing the log to save it would be nice. Perhaps in the future? |
Please try adding
You need the keyboard to get to the command shell, but SSH is a network protocol to access the command shell over the network from another computer. It's the best way to capture the log. |
I have started 3.8.9j briefly, fonts still look tiny as expected. To make it look normal, I have to use the '+' button to maximize the font size. |
I've not done anything with the fonts except output some debugging info about the fontsize and screen geometry. What values do you get in /tmp/debug? Sorry about the wallpaper, but the addition of the Pi5 kernel has really filled up the recovery partition so I am saving space where I can so everyone can upgrade to include the Pi5 support. A new PINN installation will use a 128MB partition instead of a 64MB partition. If the upgrade procedures detects this larger partition, it will revert to the old familiar wallpaper. If you choose to add the runinstaller option in the config, then PINN will expand its partition size to 128MB on its next boot, but this will also repartition your drive and wipe out any installed OSes. If you have space on your partition, you could always extract wallpaper.jpg from pinn-lite.zip and copy it across manually. |
/tmp/debug: http://dpaste.com//8A6VRV249
That doesn't work here. I always copy the content of pinn-lite.zip into an existing image which is 200MB in size
After the first boot, the partition is 127MB in size |
I added Testing SSH I've noticed that most of the time the wifi is slow to make the connection so it times out and opens the wifi dialog. Without me doing anything the wifi connects by itself shortly after and I just hit cancel. After this SSH is never started. I had to reboot like 10 times before it made the connection without timing out. Then atleast port 22 is open... |
I usually add networktimeout=30 secs to avoid that. |
And here is mine: Hope you find anything useful in there. |
Ah yes, sorry, a small mistake. I will correct that. |
I've updated the pinn-lite.zip beta image. |
@mkreisl @ZebMcKayhan - Please download pinn.rfs and copy it to your PINN recovery partition to see if it has any effect on your font issues. (It should present as version 3.8.9k) |
The font is now larger everywhere except for the headline. |
Yep, fonts look ok (to me) even without using the + key. The main window name font is still small (as already pointed out), and so is the initial message advising you to press shift key to get to recovery menu. But all else looks great! Nice work! |
Don't know if it is of any value to you but if I let the splash screen time out to get to the boot selection menu, the font is still small. |
That's good news. It seems to be something to do with how KMS interprets the DPI of your monitors. As I had specified a point size for the font, QT had scaled that by the DPI to get the number of pixels which became way too small. By specifying the font size in pixels it seems to have fixed it. I've just got to fix all the other little places you've identified. |
@ZebMcKayhan - regarding SSH, Are you using the built-in wifi? |
I am indeed using onboard wifi but when I got the networktimeout=30 so it makes the connection in time, SSH is working as intended and opens port 22 for incoming connections for me. |
Your beta should shortly update to 3.8.9l |
The update was offered and executed, but something broke and a boot of it would no longer work. I reinstalled and the font size looks fine to me now, I can make it 2x smaller, in the previous version it was only 1x. But the font in the title bar is still tiny for me. Wallpaper is also fine. |
Uptade went fine for me. Altough I still get the blue and white wallpaper despite I'm on rpi5 and had initial install from the beta and have 128Mb partition. |
Thanks both for your testing. |
Previously, I had specified the font size using a point size. This gets converted to pixels by scaling by the monitor's DPI setting. From what I have read, KMS gets this DPI setting from the EDID data from your monitor, probably the actual screen size parameter, so I think we need to understand what is different about your EDID data so it can hopefully be corrected somehow. Can you please try and extract the EDID data from your respective monitors? Here is one article I found about it. https://blogs.gentoo.org/mgorny/2018/09/15/overriding-misreported-screen-dimensions-with-kms-backed-drivers/ Could you boot into Raspios and post the output of |
Sure, I also extracted edid.bin if it's of any use to you: https://paste.c-net.org/ResumeHinting |
Here is my edid: https://paste.debian.net/hidden/0b7e5a88/ Generated by command and the output of hth |
Thanks for the EDID files. |
Understood, no problems. I thought that you would be able to use our EDID.bin on your system and this be able to see same problem as we? But perhaps I'm wrong: https://github.com/raspberrypi/linux/blob/rpi-5.9.y/Documentation/admin-guide/kernel-parameters.txt#L987 |
Yes, I hoped so too and I've already tried that but it wouldn't even boot with your EDID file 😞 |
Also related to KMS it seems I cannot get PINN to boot when tv set is off. Disabling KMS and I don't have this problem. Or is there some other config parameter needed? |
Try adding |
Yep, that fixed it. Thanks! |
Hello and thanks for your great work.
I have been on 3.8.9d on my rpi5 for some time now without issues. Updated a couple of days ago to 3.8.9f but then all fonts went crazy small. I can't even see what the text says even if I put my nose to the TV.
I can press + a maximum of 3 times and I can start reading the text but just barely. But it won't let me increase size more.
Windows size seems fine though.
I've tried setting various cmdline.txt resolutions and I can see it changes aspect and such but the font stays really small.
And at the next reboot font size adjustment with + have been forgotten.
Have something gone wrong or am I missing some setting?
The text was updated successfully, but these errors were encountered: