| Summary: | [patch] KMSDRM: Improve reliability of backend | ||
|---|---|---|---|
| Product: | SDL | Reporter: | wahil1976 |
| Component: | video | Assignee: | Manuel Alfayate Corchete <redwindwanderer> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | wahil1976 |
| Version: | HG 2.1 | Keywords: | target-2.0.16 |
| Hardware: | All | ||
| OS: | Linux | ||
| Attachments: | Patch file for improving KMSDRM reliability | ||
@wahil1976: Looks good to me! @Sam: Permission to merge, sir? Yup! Ok, closing by merging in: https://hg.libsdl.org/SDL/rev/c5222be9b9c9 Thanks! Awww.. I always forget to close. Closing by merging in: https://hg.libsdl.org/SDL/rev/c5222be9b9c9 |
Created attachment 4776 [details] Patch file for improving KMSDRM reliability This patch improves the reliability of the KMSDRM video backend by changing two things: 1. The video backend will look for more than one video card checking whether connectors are available, matching Weston behaviour and allowing it to work reliably in multi-card configurations. 2. The video backend will try setting itself as DRM master of the device file, aborting if it can't set itself as DRM master. Intended to fix bugs if the X11 server/Wayland compositor is active as DRM master.