-
Notifications
You must be signed in to change notification settings - Fork 150
Ubuntu: System error: Could not create SDL window #561
Comments
Perhaps there's a driver issue on your system? Any further details about system specifications, driver versions and OS version should help someone else paint a bigger picture of what's going on here. |
Most probably you don't have GLX visual set. Please check this solution: https://stackoverflow.com/questions/41338549/sdl2-cant-create-window-since-it-couldnt-find-matching-glx-visual |
Hi,
Error might be related to antialiasing, because when I disable this feature in config file ( |
Did you check default configuration with applied instructions from link above? |
Yeah with But I have a bit more modern hardware: |
It really starts without antialiassing. However I'd recommend to configure your OS properly. Typing 2 commands (3 if you don't have glxinfo by default) doesn't hurt. If you really deny to check the link, here's the instruction: visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
----------------------------------------------------------------------------
0x022 24 tc 0 24 0 r y . 8 8 8 0 . . 0 16 0 0 0 0 0 0 0 None Try running the following before running the SDL2 program:
This causes SDL to go down a different code path to find the visual. You can also try hardcoding the visual to the visual id from glxinfo:
|
Hi, I then set the I have no problem when running the game on my Xubuntu PC with proprietary NVIDIA drivers. Does someone remember about recent changes to antialiasing code or something related ? |
OpenTomb compiles sucessfully, but after running "./OpenTomb" it says:
System error: Could not create SDL window. On Ubuntu and on Elementary OS.
what can I do?
The text was updated successfully, but these errors were encountered: