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 - fbdev: wait-for-vblank ioctl call does nothing
Summary: fbdev: wait-for-vblank ioctl call does nothing
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:24 UTC by Paul Cercueil
Modified: 2020-09-22 02:35 UTC (History)
1 user (show)

See Also:


Attachments
Patch to fix the issue (986 bytes, text/plain)
2020-01-13 18:24 UTC, Paul Cercueil
Details

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