[1.0.0] Demo crashes on start: "SDL couldn't be initialized. SDL_Error: No available video device"

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
nimbius
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Oct 28, 2020 3:35 am
Contact:

[1.0.0] Demo crashes on start: "SDL couldn't be initialized. SDL_Error: No available video device"

Post by nimbius »

0.000 2020-10-27 20:38:39; Factorio 1.0.0 (build 54889, linux64, demo)
0.009 Operating system: Linux (Arch rolling)
0.009 Program arguments: "./factorio"
0.009 Read data path: /home/cicero/Downloads/factorio/data
0.009 Write data path: /home/cicero/Downloads/factorio [53610/110218MB]
0.009 Binaries path: /home/cicero/Downloads/factorio/bin
0.022 System info: [CPU: AMD Ryzen 7 2700 Eight-Core Processor, 16 cores, RAM: 15987 MB]
0.022 Environment: DISPLAY=<unset> WAYLAND_DISPLAY=wayland-0 DESKTOP_SESSION=<unset> XDG_SESSION_DESKTOP=<unset> XDG_CURRENT_DESKTOP=<unset> __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
0.022 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
6.739 Warning Logger.cpp:522: Symbols.size() == 18, usedSize == 10
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xae7b75, 0xae83a9, 0xb0ddfc, 0xf609e5, 0xf9b9ea, 0x1261fd8, 0x126c0c9, 0x5bfe75, 0, 0x5cf52e
13.367 Warning Logger.cpp:522: Symbols.size() == 13, usedSize == 9
#0 0x0000000000ae83a9 in Logging::flush() at /tmp/factorio-build-J5tl44/src/Util/Logging.cpp:69
#1 0x0000000000b0ddfc in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) at /tmp/factorio-build-J5tl44/src/Util/Logging.cpp:103
#2 0x0000000000f609e5 in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, char const*, ...) at /tmp/factorio-build-J5tl44/src/Util/Logging.cpp:93
#3 0x0000000000f9b9ea in HardwareInfo::clampWindowSize(short&, short&, unsigned int) at /tmp/factorio-build-J5tl44/src/Platform/HardwareInfo.cpp:112
#4 0x0000000001261fd8 in HardwareInfo::clampWindowSize(short&, short&, unsigned int) at /tmp/factorio-build-J5tl44/src/Platform/HardwareInfo.cpp:109
#5 0x000000000126c0c9 in SDLWindow::SDLWindow(GraphicsInterface::Type, WindowPositionData) at /tmp/factorio-build-J5tl44/src/Graphics/SDLWindow.cpp:150
#6 0x00000000005bfe75 in SDLWindow::SDLWindow(GraphicsInterface::Type, short, short, bool) at /tmp/factorio-build-J5tl44/src/Graphics/SDLWindow.cpp:104
#7 (nil) in GlobalContext::loadGraphics(std::optional<WindowPositionData>) at /tmp/factorio-build-J5tl44/src/GlobalContext.cpp:902
#8 0x00000000005cf52e in GlobalContext::init(bool, bool, bool, std::optional<WindowPositionData>) at /tmp/factorio-build-J5tl44/src/GlobalContext.cpp:447
#9 (nil) in MainLoop::run(Filesystem::Path const&, Filesystem::Path const&, bool, bool, std::function<void ()>, Filesystem::Path const&, MainLoop::HeavyMode) at /tmp/factorio-build-J5tl44/src/MainLoop.cpp:272 (discriminator 2)
#10 0x8000000000000000 in main at /tmp/factorio-build-J5tl44/src/Main.cpp:1123
#11 0x00007f0c4a866a50 in ?? at ??:0
#12 0x00007f0c4a866e0a in _start at ??:?
Stack trace logging done
13.368 Error SDLWindow.cpp:117: SDL couldn't be initialized. SDL_Error: No available video device
Logger::writeStacktrace skipped.
13.368 Error Util.cpp:97: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
13.369 Error MessageDialog.cpp:53: Unable to show message dialog. SDL Error: [No message system available]
Useless_Pony
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Sep 22, 2018 6:20 pm
Contact:

Re: [1.0.0] Demo crashes on start: "SDL couldn't be initialized. SDL_Error: No available video device"

Post by Useless_Pony »

0.022 Environment: DISPLAY=<unset> WAYLAND_DISPLAY=wayland-0
Looks like you're useing wayland. Factorio (currently) doesn't support pure wayland, you'll need to get Xwayland setup, or switch to an X based WM/DE.
Hopefully wube will support wayland soon.
User avatar
valneq
Smart Inserter
Smart Inserter
Posts: 1261
Joined: Fri Jul 12, 2019 7:43 am
Contact:

Re: [1.0.0] Demo crashes on start: "SDL couldn't be initialized. SDL_Error: No available video device"

Post by valneq »

What? Factorio does not support wayland? How am I playing it?

[edit] dumb me, I have Xwayland set up – but forgot that I did that
Post Reply

Return to “Technical Help”