| Summary: | [PATCH] Fall back to xinerama/xvidmode if xrandr modes initialization fails | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Levi Bard <levi> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | enhancement | ||
| Priority: | P2 | ||
| Version: | HG 2.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Attachments: | Patch | ||
Fixed, thanks! https://hg.libsdl.org/SDL/rev/393fa47cb702 |
Created attachment 2816 [details] Patch In some environments, xrandr modes initialization can fail even though xrandr support is present and of a sufficient version. (The one I encountered was an AWS instance running a virtual display) The attached patch allows SDL to keep trying other methods if xrandr modes initialization fails (still subject to SDL_VIDEO_X11_REQUIRE_XRANDR).