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 - fbdev: Framebuffer should be cleared at init
Summary: fbdev: Framebuffer should be cleared at init
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 1.2
Hardware: All Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-13 18:16 UTC by Paul Cercueil
Modified: 2020-09-22 02:09 UTC (History)
1 user (show)

See Also:


Attachments
Patch to fix the issue (1.13 KB, patch)
2020-01-13 18:16 UTC, Paul Cercueil
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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