Cross-platform multimedia library
3567682ae7
The existing logic of the code was to count every possible entry in KMSDRM_DRI_PATH. After this a for loop would start trying to open filename0, filename1, filename2, etc. In recent Linux kernels (say 5.18) with simpledrm, the lowest KMSDRM_DRI_DEVNAME is often /dev/dri/card1, rather than /dev/dri/card0, causing the code to fail once /dev/dri/card0 has failed to open. Running: modprobe foodrm && modprobe bardrm && rmmod foodrm before you try to run an application with SDL KMSDRM would have also made this fail. Fix assumption that DRI_DEVNAME begins at 0 Additional changes to SDL2-2.0.22-fix-dri-assumption.patch Retesting zuul build |
||
---|---|---|
.gitignore | ||
multilib.patch | ||
SDL2-2.0.9-khrplatform.patch | ||
SDL2-2.0.22-fix-dri-assumption.patch | ||
SDL2-2.0.22-prefer-wayland.patch | ||
SDL2.spec | ||
SDL_config.h | ||
SDL_revision.h | ||
sources |