EmulationStation icon indicating copy to clipboard operation
EmulationStation copied to clipboard

Automatic Scraping Crashes While Screen on Raspberry PI

Open thepont opened this issue 9 years ago • 2 comments

I am attempting to create a cocktail cabinet and therefor have used edited /boot/config.txt to rotate the framebuffer using display_rotate=1. EmulationStation fortunately works reasonably well, although while scraping using automatic mode the following error occurs.

emulationstation: /opt/retropie/supplementary/EmulationStation/src/components/ComponentGrid.cpp:67: void ComponentGrid::setColWidthPerc(int, float, bool): Assertion `width >= 0 && width <= 1' failed.
/usr/bin/emulationstation: line 11:  3743 Aborted                 $es_bin "$@"

I can get work around this by running EmulationStation in a 16x9 resolution as opposed to 9x16.

To reproduce run EmulationStation in a portrait resolution emulationstation --resolution 720 1280 and run the scraper in automatic mode.

thepont avatar Mar 09 '15 12:03 thepont

I believe what is happening here is that part of the scraping UI is trying to resize to a negative width because there simply isn't enough horizontal space for it. You could probably just comment out that line in ComponentGrid.cpp to make it not abort, but it will definitely look funny.

Aloshi avatar Mar 09 '15 14:03 Aloshi

FWIW I found this old thread and this was also the case for me, rotating the display sideways to 16:9 (to "normal") fixed it and the scraper is now running automatically! Its interesting manual works in portrait but not auto ?

CountParadox avatar Mar 10 '22 20:03 CountParadox