| Summary: | games/supertuxkart - Does not run under Wayland (sway) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Stephan Lichtenauer <stephan> | ||||
| Component: | Individual Port(s) | Assignee: | Dmitry Marakasov <amdmi3> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | CC: | amdmi3, jbeich | ||||
| Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(amdmi3) |
||||
| Version: | Latest | ||||||
| Hardware: | amd64 | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Stephan Lichtenauer
2021-04-26 12:58:50 UTC
Created attachment 224473 [details] fix (with commit message) (In reply to stephan from comment #0) > [info ] GLEW: Glew couldn't open glx display. Seems benign for supertuxkart. Can be fixed via glew-wayland package e.g., $ pkg install glew-wayland $ SDL_VIDEODRIVER=wayland LD_PRELOAD=libGLEW-wayland.so supertuxkart > wl_display@1: error 0: invalid object 24 Actual cause. To fix apply the attached patch, upgrade to sdl2-2.0.14 (bug 252371) or work around via SDL_VIDEODRIVER=x11 (Xwayland). A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b46d53b6cedd133f4caa018e76a161e686ff5858 commit b46d53b6cedd133f4caa018e76a161e686ff5858 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2021-04-27 18:28:46 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2021-04-27 18:29:55 +0000 devel/sdl20: backport Wayland fix for games/supertuxkart PR: 255418 Reported by: stephan@lichtenauer.co.za Submitted by: jbeich devel/sdl20/Makefile | 2 +- devel/sdl20/files/patch-wayland (new) | 70 +++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+), 1 deletion(-) Fix committed; submitter, please test Thanks, will test as soon as it arrives in quarterly! A commit in branch 2021Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7a06623c035f41585104cc14f1b2fc04e09e660a commit 7a06623c035f41585104cc14f1b2fc04e09e660a Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2021-04-27 18:28:46 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2021-04-28 19:07:42 +0000 devel/sdl20: backport Wayland fix for games/supertuxkart PR: 255418 Reported by: stephan@lichtenauer.co.za Submitted by: jbeich (cherry picked from commit b46d53b6cedd133f4caa018e76a161e686ff5858) devel/sdl20/Makefile | 2 +- devel/sdl20/files/patch-wayland (new) | 70 +++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+), 1 deletion(-) (In reply to stephan from comment #4) > Thanks, will test as soon as it arrives in quarterly! See https://pkg.freebsd.org/FreeBSD:13:amd64/quarterly/All/sdl2-2.0.12_4.txz However, use "pkg upgrade" to pick it up. Stephan, does it work fine now? If so, please, close the bug. Sorry Jan, everyone, yes, it works fine now. Thanks a lot for the quick fix and sorry again for taking so long to test it again! Stephan |