We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4945

Summary: fbdev: Framebuffer should be cleared at init
Product: SDL Reporter: Paul Cercueil <paul>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: sezeroz
Version: HG 1.2   
Hardware: All   
OS: Linux   
Attachments: Patch to fix the issue

Description Paul Cercueil 2020-01-13 18:16:13 UTC
From the patch:

"When the video subsystem is initialized, the framebuffer might not be in
the video mode that the application targets. In that case, if we don't
clear the framebuffer, for a short moment the display will show the
previous image distorded by the mode change."
Comment 1 Paul Cercueil 2020-01-13 18:16:49 UTC
Created attachment 4161 [details]
Patch to fix the issue
Comment 2 Ozkan Sezer 2020-09-22 02:09:14 UTC
The patch is in. Thanks.
http://hg.libsdl.org/SDL/rev/3ec07fdf3267