The Einstein puzzle package uses SDL 1.2 If I run it in fullscreen on my desktop machine, the display is frequently (but not always) messed up on exit.
It can be reset with either KDE screen controls or xrandr The onboard graphics has two outputs (DVI and VGA), the situation seems improved/fixed if I disable the second with this command. $ xrandr --output VGA-0 --off Obviously this is a works for me whilst I only have one monitor plugged in. $ xrandr Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384 DVI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 521mm x 293mm 1920x1080 60.00*+ 1680x1050 59.88 1280x1024 75.02 60.02 1440x900 74.98 59.90 1280x960 60.00 1152x864 75.00 1024x768 75.03 70.07 60.00 832x624 74.55 800x600 72.19 75.00 60.32 56.25 640x480 75.00 72.81 66.67 59.94 720x400 70.08 VGA-0 disconnected (normal left inverted right x axis y axis) I got similar behaviour from trivially small test program. So confident this is libsdl1.2. Couldn't find a small code change that fixed Einstein but I'm learning SDL as I go, although it might be possible to scale in a resizeable window, since I doubt many people are running 800x600 only. Will try SDL_VIDEO_FULLSCREEN_HEAD=0 environment variable when it recurs.