sdl2_frt/src
Sam Lantinga f8839289b0 Potential fix for bug 5393 - KMSDRM: using atomic mode setting breaks GPU compatibility
Substring

I was trying the KMSDRM video backend with some very simple programs that were working ok on 2.0.12. The same code won?t work on the current dev branch and I get:

DEBUG: check_modesetting: probing ?/dev/dri/card0?
DEBUG: /dev/dri/card0 connector, encoder and CRTC counts are: 4 5 6
DEBUG: check_modesetting: probing ?/dev/dri/card0?
DEBUG: /dev/dri/card0 connector, encoder and CRTC counts are: 4 5 6
DEBUG: KMSDRM_VideoInit()
DEBUG: Opening device /dev/dri/card0
DEBUG: Opened DRM FD (3)
DEBUG: no atomic modesetting support.
DEBUG: Video subsystem has not been initialized
INFO: Using SDL video driver: (null)
DEBUG: Video subsystem has not been initialized

After carefully checking, the radeon driver doesn?t support atomic modesetting. That?s not the only problem : the same happens with the amdgpu driver if we disable Display Core (kernel parameter amdgpu.dc=0, which is required to get analogue outputs working).

This is a major regression in the KMSDRM driver.

Using atomic mode setting is great, but having no fallback to the "standard KMS" is bad.
2020-12-15 12:22:48 -08:00
..
atomic Add basic support for compiling on RISC OS 2020-02-13 20:50:47 +00:00
audio Fixed bug 5235 - All internal sources should include SDL_assert.h 2020-12-09 07:16:22 -08:00
core Fixed bug 5397 - Fcitx input is truncated 2020-12-14 09:23:53 -08:00
cpuinfo Add Zhaoxin processor support 2020-11-09 20:36:35 -08:00
dynapi Added SDL_wcscasecmp() and SDL_wcsncasecmp() 2020-11-24 12:43:01 -08:00
events Fixed bug 5235 - All internal sources should include SDL_assert.h 2020-12-09 07:16:22 -08:00
file Fixed compile warning 2020-02-10 13:59:05 -08:00
filesystem winrt: Buildfix for older UWP SDKs 2020-12-14 12:36:04 -05:00
haptic Fixed bug 5235 - All internal sources should include SDL_assert.h 2020-12-09 07:16:22 -08:00
hidapi Fixed build for platforms with only libusb hidapi implementations 2020-12-13 01:58:05 -08:00
joystick whitespace. 2020-12-15 00:11:10 +03:00
libm k_rem_pio2.c: fix typo in second memset(): iq, not q. fixes bug #5309. 2020-10-08 11:51:02 +03:00
loadso windows SDL_LoadObject: fix warning after commit 2ff650230d96 2020-12-13 18:25:02 +03:00
locale Fixed bug 5235 - All internal sources should include SDL_assert.h 2020-12-09 07:16:22 -08:00
main Updated SDL to 2.0.14 in preparation for release candidate 2020-12-08 18:56:06 -08:00
misc riscos: Implement SDL_OpenURL() 2020-10-11 17:32:32 +01:00
power Fixed bug 5235 - All internal sources should include SDL_assert.h 2020-12-09 07:16:22 -08:00
render Fixed bug 5213 - Add support to metal in iOS/tvOS simulator 2020-12-09 07:23:47 -08:00
sensor Fixed bug 5235 - All internal sources should include SDL_assert.h 2020-12-09 07:16:22 -08:00
stdlib Fixed bug 5235 - All internal sources should include SDL_assert.h 2020-12-09 07:16:22 -08:00
test fix watcom build of SDL_test_common.c 2020-06-14 12:05:56 +03:00
thread Fixed bug 5235 - All internal sources should include SDL_assert.h 2020-12-09 07:16:22 -08:00
timer Fixed bug 5235 - All internal sources should include SDL_assert.h 2020-12-09 07:16:22 -08:00
video Potential fix for bug 5393 - KMSDRM: using atomic mode setting breaks GPU compatibility 2020-12-15 12:22:48 -08:00
SDL_assert_c.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_assert.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_dataqueue.c Fixed bug 5235 - All internal sources should include SDL_assert.h 2020-12-09 07:16:22 -08:00
SDL_dataqueue.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_error_c.h SDL_error: simplified error string management. 2020-04-21 01:30:36 -04:00
SDL_error.c SDL_error: simplified error string management. 2020-04-21 01:30:36 -04:00
SDL_hints_c.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_hints.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_internal.h Fixed bug 5235 - All internal sources should include SDL_assert.h 2020-12-09 07:16:22 -08:00
SDL_log.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL.c os2: integrate the port into main tree. 2020-10-14 23:01:06 +03:00