bug: -SDL1 completely blank display
Posted: Fri Apr 22, 2016 2:48 am
This is a new misbehavior, but not entirely new in the code. It seems that my ~/.rocksndiamonds/setup.conf (or possibly some other file) now has some setting in it which causes some of my -SDL1 binaries not to display.
That is, I start up any of 20160418-SDL1, 20160419-SDL1, or 20160421-SDL1, and the window is blank blackness. It's the expected size with the expected title; expected stderr appears, and the EMC startup music. If I hit ESC, downarrow a few times, <Enter><Enter> (thus selecting "Quit", "Y"), it exits -- so it's working just fine, except no display.
The next older binary (20160319-SDL1), as well as a random sampling of even older ones, work fine. All -SDL2 binaries work fine.
Eyeball examination of setup.conf does not show anything obvious. I assume -SDL1 binaries ignore properties pertaining only to -SDL2, e.g. "window_scaling_percent: 100"; certainly they never had trouble in the recent past.
Aha... Ran an old one that worked, changed some setting, saved, now new binary works. Diffing the old and new setup.conf, I added back:
> screen_rendering_mode: stream_texture_only
and -SDL1 again doesn't work.
That is, I start up any of 20160418-SDL1, 20160419-SDL1, or 20160421-SDL1, and the window is blank blackness. It's the expected size with the expected title; expected stderr appears, and the EMC startup music. If I hit ESC, downarrow a few times, <Enter><Enter> (thus selecting "Quit", "Y"), it exits -- so it's working just fine, except no display.
The next older binary (20160319-SDL1), as well as a random sampling of even older ones, work fine. All -SDL2 binaries work fine.
Eyeball examination of setup.conf does not show anything obvious. I assume -SDL1 binaries ignore properties pertaining only to -SDL2, e.g. "window_scaling_percent: 100"; certainly they never had trouble in the recent past.
Aha... Ran an old one that worked, changed some setting, saved, now new binary works. Diffing the old and new setup.conf, I added back:
> screen_rendering_mode: stream_texture_only
and -SDL1 again doesn't work.