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 4950

Summary: fbdev: wait-for-vblank ioctl call does nothing
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:24:49 UTC
Created attachment 4166 [details]
Patch to fix the issue

From the patch:

"This ioctl never made it to upstream Linux.
Besides, with KMS drivers page-flipping already happens in the vblank."
Comment 1 Ozkan Sezer 2020-09-22 02:13:53 UTC
The patch is in. Thanks.
http://hg.libsdl.org/SDL/rev/aa0858ece538

PS: Can you have a look at bug #4432 ?
Comment 2 Paul Cercueil 2020-09-22 02:26:45 UTC
(In reply to Ozkan Sezer from comment #1)
> The patch is in. Thanks.
> http://hg.libsdl.org/SDL/rev/aa0858ece538
> 
> PS: Can you have a look at bug #4432 ?

I can't reproduce #4432, fbdev has been working fine on top of DRM in our case.
Comment 3 Ozkan Sezer 2020-09-22 02:35:12 UTC
(In reply to Paul Cercueil from comment #2)
> I can't reproduce #4432, fbdev has been working fine on top of DRM in our
> case.

Thanks. Added your report there, too.