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 4109

Summary: 2.0.8 regression: most apps stopped working on Wayland
Product: SDL Reporter: greg
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: bugs, icculus
Version: HG 2.1   
Hardware: x86_64   
OS: FreeBSD   

Description greg 2018-03-14 19:41:31 UTC
With 2.0.7, I can run all applications with SDL_VIDEODRIVER=wayland.

With 2.0.8, most of them don't show their windows, and output this message:

zxdg_surface_v6@23: error 3: xdg_surface has never been configured

(For example, Dungeon Crawl Stone Soup, simple examples https://gist.github.com/exavolt/2360410 https://gist.github.com/olevegard/e1ce53d9302c4ed3be8d and Blender built with experimental SDL backend failed like that, but Cataclysm: Dark Days Ahead works fine even on 2.0.8)
Comment 1 Ryan C. Gordon 2018-03-14 19:52:23 UTC
This is my bug.

—ryan.
Comment 2 Ryan C. Gordon 2018-04-03 01:57:59 UTC
*** Bug 4119 has been marked as a duplicate of this bug. ***
Comment 3 Ryan C. Gordon 2018-04-15 22:38:54 UTC
This should be fixed by https://hg.libsdl.org/SDL/rev/295cf9910d75, but I confess, I couldn't trigger this bug with any of the example programs mentioned, but that could be the dumb luck of process scheduling.

Please try the latest in Mercurial when you get a moment and let me know if the problem is fixed for you!

Thanks,
--ryan.
Comment 4 greg 2018-04-16 11:49:08 UTC
Yes, everything seems to work fine now in latest hg!