Author Topic: Screen Resolution change at AM startup  (Read 983 times)

marcom_to

  • Newbie
  • *
  • Posts: 2
    • View Profile
Screen Resolution change at AM startup
« on: November 01, 2024, 04:39:28 AM »
Hello everyone,

I have this issue whenever I start attract mode from tty: actually my system boots at 1024x576 in console mode (no X), but when I start AM by typing attract the screen resolution changes. Here's the output from the log file:

Created Attract-Mode Window: 1922x1082 @ -1,-1 [OpenGL surface: 1922x1082 bpp=32]
Monitor's Refresh Rate: 60 Hz

My Touchscreen does not hold that resolution, therefore it reboots.
Is there a way to retain my boot resolution at 1024x576@59HZ?
By the way, this does not depend on the layout I am using, since it even happens when configuring AM the first time (setup screen).
My system is Raspberry PI4 8GB, compiled sfml-pi and attract from source.

Thank you, have a good day.

marcom_to

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Screen Resolution change at AM startup
« Reply #1 on: November 03, 2024, 07:52:12 AM »
I solved the problem by overriding the hdmi edid. I created a custom edid binary file with the desired resolution (1024x576).
Now when I start AM it grabs the above screenmode and my display does not reboot anymore.