Page MenuHomeSolus

SDL applications show black screen when fullscreen
Closed, ResolvedPublic

Description

If an app starts windowed, it displays fine, but if it either starts fullscreen, or I switch it to fullscreen from windowed, only black is displayed (audio is still playing in the background, and I can exit the game with Esc normally, so it doesn't seem frozen).

neverball in the default repo can reproduce this easily for me. I've also compiled Xonotic (SDL2) and it exhibits the same thing. Games ran in Wine don't exhibit this.

Edit: This happens on an up-to-date Solus (Budgie) with Optimus, and also happens on a Live environment of MATE with Intel, so it doesn't seem to be related to DE/graphics/driver.

Event Timeline

So the question is, what's different about our SDL2?

Espionage724 updated the task description. (Show Details)Oct 21 2016, 8:00 AM

This should be fixed in unstable now. Need release 6

eopkg info sdl2
Installed package:
Name                : sdl2, version: 2.0.5, release: 6

https://git.solus-project.com/packages/sdl/commit/?id=359e772974864970317ef94db4c539408e921fda

Looks good; both Neverball and Xonotic work fine while fullscreened now :)

sunnyflunk closed this task as Resolved.Oct 22 2016, 12:21 AM
sunnyflunk claimed this task.

Thanks for the report! We've known of said issue, but it wasn't obvious it was SDL2 from getting it on steam games :D