Sudden change of resolution Pi4
-
@stuffu said in Sudden change of resolution Pi4:
Could there have been any OS updates that changed the behaviour? They are up to date as per yesterday.
Possibly, but I haven't seen any similar reports in the forums. Can you post your entire
config.txt
?EDIT: what version of the Linux kernel do you have installed (
uname -a
) ? -
@mitu Not sure how many actually updates os...?
Anyway, uname output:
Linux retropie 5.4.72-v7l+ #1356 SMP Thu Oct 22 13:57:51 BST 2020 armv7l GNU/Linux
config.txt:
https://pastebin.com/TGxExYxaLet me know if I should look into something more.
-
The
config.txt
file looks fine, there's no issue with it. Can you runtvservice -m CEA
and see if 1080p is listed there ?
-
@mitu It is, but I noticed something odd, this line:
(prefer) mode 95: 3840x2160 @ 30Hz 16:9, clock:297MHz progressive
Where do you "prefer" a resolution?! :)
-
@stuffu said in Sudden change of resolution Pi4:
Where do you "prefer" a resolution?! :)
You set it from the configuration file or is read from the EDID sent by your display (TV).
-
@mitu Hmm... since I didn't change anything manually it's strange the change occurred at all.
Is there anyway to revert it? From the TV I can't do any changes to preferred resolution and the config is set to 1080p... Am I missing something obvious? :)
edit: during boot the pi4 switches resolution three times. First from a really low resolution, like vga, the characters are really big, then it changes to 1080p, then again changes to 3840x2160.
edit 2: I added
video=HDMI-A-1:1920x1080M@60
tocmdline.txt
and it works. Problem solved I guess!Thanks for pointing out the solution, just curious how it happened...
-
Just tested it myself and the
config.txt
configurations are taken into account, so nothing changed here. Are you booting into the desktop environment by any chance ? -
@mitu nope, I’m using the official retropie image, nothing else added. If it doesn’t cause any problems elsewhere I’m fine using the current solution. But if you want me to investigate it further I’m happy to do so.
-
We can try debugging the bootloader. Add
start_debug=1
at the end of theconfig.txt
file, then re-boot (removing thecmdline.txt
resolution setup, but leaving theconfig.txt
settings for 1080p as they were initially).
After the boot, runsudo vcdbg log msg
and post the output on pastebin.com. It should show the bootloader debug messages.
-
@mitu Here's the output https://pastebin.com/V2GygV9G
-
Add
gpu_mem=256
to
config.txt
and retry. -
@mitu Sorry, retry with logging or try to run it as "default"?
-
Logging doesn't really matter - you can leave it on, just add the extra line and see if the PI starts in 1080p.
-
@mitu It still 4k with
gpu_mem=256
If we can't find a reason for this happening, is there a reason not the use the cmdline alternative? Or even using the hdmi1?
-
If it works via HDMI1 - with the same settings as before - then that's ok. The 1st HDMI port is the only one able to do 4k@60Hz, other than that they're identical.
-
@mitu I haven't noticed anything strange with hdmi1 so I'll stick with that. Thanks for the effort :)
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.