-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Labels
area: rendererConcerns our graphics rendererConcerns our graphics rendererbugBehaving differently as it should behaveBehaving differently as it should behaveos: linuxLinux-specific issueLinux-specific issue
Description
I get this error when I try to launch the demo on Wayland session.
OS: Arch
Compositor: Mutter (I can test with others too)
./run game --modpacks hd_base
WARN [T2] QEGLPlatformContext: Failed to create context: 3009
FATAL: terminate has been called
uncaught exception
Traceback (most recent call last):
File ?, in ? [0x7facb48aa9eb]
File ?, in ? [0x7facb4ae1943]
File ?, in ? [0x7facb52ea683]
File ?, in ? [0x7facb52ea65e]
File ?, in openage::presenter::Presenter::run(bool)+0x6e [0x7facb54060d6]
File ?, in openage::presenter::Presenter::init_graphics(bool)+0xd8 [0x7facb5404c72]
File ?, in openage::renderer::Window::create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, unsigned long, bool)+0x4b [0x7facb5430429]
File ?, in std::shared_ptr<openage::renderer::opengl::GlWindow>::shared_ptr<std::allocator<void>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&, unsigned long&, bool&>(std::_Sp_alloc_shared_tag<std::allocator<void> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&, unsigned long&, bool&)+0x28 [0x7facb5430f4c]
File ?, in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<openage::renderer::opengl::GlWindow, std::allocator<void>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&, unsigned long&, bool&>(openage::renderer::opengl::GlWindow*&, std::_Sp_alloc_shared_tag<std::allocator<void> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&, unsigned long&, bool&)+0x61 [0x7facb5430eb7]
File ?, in std::_Sp_counted_ptr_inplace<openage::renderer::opengl::GlWindow, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&, unsigned long&, bool&>(std::allocator<void>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&, unsigned long&, bool&)+0x41 [0x7facb5430b3b]
File ?, in openage::renderer::opengl::GlWindow::GlWindow(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, unsigned long, bool)+0x265 [0x7facb54986f3]
File ?, in std::shared_ptr<openage::renderer::opengl::GlContext>::shared_ptr<std::allocator<void>, std::shared_ptr<QWindow>&, bool&>(std::_Sp_alloc_shared_tag<std::allocator<void> >, std::shared_ptr<QWindow>&, bool&)+0x23 [0x7facb549924b]
File ?, in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<openage::renderer::opengl::GlContext, std::allocator<void>, std::shared_ptr<QWindow>&, bool&>(openage::renderer::opengl::GlContext*&, std::_Sp_alloc_shared_tag<std::allocator<void> >, std::shared_ptr<QWindow>&, bool&)+0x4a [0x7facb54991bc]
File ?, in std::_Sp_counted_ptr_inplace<openage::renderer::opengl::GlContext, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<std::shared_ptr<QWindow>&, bool&>(std::allocator<void>, std::shared_ptr<QWindow>&, bool&)+0x3a [0x7facb5498e10]
File ?, in openage::renderer::opengl::GlContext::GlContext(std::shared_ptr<QWindow> const&, bool)+0x215 [0x7facb5484cb7]
File ?, in openage::error::Error::Error(openage::log::message const&, bool, bool)+0xba [0x7facb52ecbe4]
File "libopenage/renderer/opengl/context.cpp", line 102, in openage::renderer::opengl::GlContext::GlContext(const std::shared_ptr<QWindow>&, bool)
openage::error::Error: OpenGL context creation failed.
current stack:
Traceback (most recent call last):
File ?, in ? [0x7facb48aa9eb]
File ?, in ? [0x7facb4ae1943]
File ?, in ? [0x7facb52ea683]
File ?, in ? [0x7facb52ea65e]
INFO Loading .nyan file: hd_base/data/tech/generic/berserkergang/berserkergang.nyan
File ?, in openage::presenter::Presenter::run(bool)+0x6e [0x7facb54060d6]
INFO Loading .nyan file: hd_base/data/game_entity/generic/longboat/elite_longboat.nyan
File ?, in openage::presenter::Presenter::init_graphics(bool)+0xd8 [0x7facb5404c72]
INFO Loading .nyan file: hd_base/data/game_entity/generic/berserk/elite_berserk.nyan
File ?, in openage::renderer::Window::create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, unsigned long, bool)+0x4b [0x7facb5430429]
File ?, in std::shared_ptr<openage::renderer::opengl::GlWindow>::shared_ptr<std::allocator<void>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&, unsigned long&, bool&>(std::_Sp_alloc_shared_tag<std::allocator<void> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&, unsigned long&, bool&)+0x28 [0x7facb5430f4c]
INFO Loading .nyan file: hd_base/data/civ/koreans/koreans.nyan
File ?, in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<openage::renderer::opengl::GlWindow, std::allocator<void>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&, unsigned long&, bool&>(openage::renderer::opengl::GlWindow*&, std::_Sp_alloc_shared_tag<std::allocator<void> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&, unsigned long&, bool&)+0x61 [0x7facb5430eb7]
File ?, in std::_Sp_counted_ptr_inplace<openage::renderer::opengl::GlWindow, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&, unsigned long&, bool&>(std::allocator<void>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&, unsigned long&, bool&)+0x41 [0x7facb5430b3b]
File ?, in openage::renderer::opengl::GlWindow::GlWindow(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, unsigned long, bool)+0x265 [0x7facb54986f3]
File ?, in std::shared_ptr<openage::renderer::opengl::GlContext>::shared_ptr<std::allocator<void>, std::shared_ptr<QWindow>&, bool&>(std::_Sp_alloc_shared_tag<std::allocator<void> >, std::shared_ptr<QWindow>&, bool&)+0x23 [0x7facb549924b]
File ?, in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<openage::renderer::opengl::GlContext, std::allocator<void>, std::shared_ptr<QWindow>&, bool&>(openage::renderer::opengl::GlContext*&, std::_Sp_alloc_shared_tag<std::allocator<void> >, std::shared_ptr<QWindow>&, bool&)+0x4a [0x7facb54991bc]
File ?, in std::_Sp_counted_ptr_inplace<openage::renderer::opengl::GlContext, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<std::shared_ptr<QWindow>&, bool&>(std::allocator<void>, std::shared_ptr<QWindow>&, bool&)+0x3a [0x7facb5498e10]
File ?, in openage::renderer::opengl::GlContext::GlContext(std::shared_ptr<QWindow> const&, bool)+0x24d [0x7facb5484cef]
File ?, in ? [0x7facb4ab03ed]
File ?, in ? [0x7facb4ab0189]
File ?, in ? [0x7facb4ab011c]
File ?, in openage::error::terminate_handler()+0x1da [0x7facb52ed825]
handing over to the system...
terminate called after throwing an instance of 'openage::error::Error'
what(): OpenGL context creation failed.
Aborted (core dumped)
Metadata
Metadata
Assignees
Labels
area: rendererConcerns our graphics rendererConcerns our graphics rendererbugBehaving differently as it should behaveBehaving differently as it should behaveos: linuxLinux-specific issueLinux-specific issue
Type
Projects
Status
✅ Done