Giter Site home page Giter Site logo

Comments (7)

dpjudas avatar dpjudas commented on August 22, 2024 1

This should be fixed now.

from surrealengine.

Xaleros avatar Xaleros commented on August 22, 2024

Are you running Wayland or X11?

from surrealengine.

r-a-sattarov avatar r-a-sattarov commented on August 22, 2024

Are you running Wayland or X11?

echo $XDG_SESSION_TYPE
x11

from surrealengine.

LupertEverett avatar LupertEverett commented on August 22, 2024

This happens because of some recent changes. We don't have Vulkan surface creation implemented in X11/Wayland backends yet.

In the meantime, SDL2 backend might work, does the game run when you start it with the command given below?

ZWIDGET_DISPLAY_BACKEND=SDL2 ./SurrealEngine

from surrealengine.

r-a-sattarov avatar r-a-sattarov commented on August 22, 2024

ZWIDGET_DISPLAY_BACKEND=SDL2 ./SurrealEngine

ZWIDGET_DISPLAY_BACKEND=SDL2 ./SurrealEngine 
WARNING: radv is not a conformant Vulkan implementation, testing use only.
Segmentation fault

from surrealengine.

r-a-sattarov avatar r-a-sattarov commented on August 22, 2024
ZWIDGET_DISPLAY_BACKEND=SDL2 gdb ./SurrealEngine
GNU gdb (GDB) 9.1-27.023
...
Thread 1 "SurrealEngine" received signal SIGSEGV, Segmentation fault

exc_instr_page_prot at 0x0 

0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x0000000001686d38 in VulkanDeviceBuilder::FindDevices (instance=...) at /home/user/dev/SurrealEngine_08-Jul-2024/Thirdparty/ZVulkan/src/vulkanbuilders.cpp:1674
#2  0x0000000001687748 in VulkanDeviceBuilder::Create (this=0xc2deffffae10, instance=0xc2deffffadf0)
    at /home/user/dev/SurrealEngine_08-Jul-2024/Thirdparty/ZVulkan/src/vulkanbuilders.cpp:1730
#3  0x00000000003f0a20 in VulkanRenderDevice::VulkanRenderDevice (this=0x8a48d80, InViewport=0x811d580, surface=0xc2deffffaee0)
    at /home/user/dev/SurrealEngine_08-Jul-2024/SurrealEngine/RenderDevice/Vulkan/VulkanRenderDevice.cpp:32
#4  0x00000000003ea158 in std::make_unique<VulkanRenderDevice, GameWindow*&, std::shared_ptr<VulkanSurface>&> (__args=..., __args=...)
    at /opt/mcst/lcc-home/1.27.15/e2k-v4-linux/include/c++/g++-v3/bits/unique_ptr.h:862
#5  0x00000000003d8cd0 in RenderDevice::Create (viewport=0x811d580, surface=0xc2deffffb0e0) at /home/user/dev/SurrealEngine_08-Jul-2024/SurrealEngine/RenderDevice/RenderDevice.cpp:10
#6  0x00000000001f74b0 in GameWindow::GameWindow (this=0x811d580, windowHost=0xc2deffffc8b0) at /home/user/dev/SurrealEngine_08-Jul-2024/SurrealEngine/GameWindow.cpp:76
#7  0x00000000002290f8 in std::make_unique<GameWindow, GameWindowHost*&> (__args=@0xc2deffffb148: 0xc2deffffc8b0)
    at /opt/mcst/lcc-home/1.27.15/e2k-v4-linux/include/c++/g++-v3/bits/unique_ptr.h:862
#8  0x00000000001f68b0 in GameWindow::Create (windowHost=0xc2deffffc8b0) at /home/user/dev/SurrealEngine_08-Jul-2024/SurrealEngine/GameWindow.cpp:183
#9  0x0000000000072ef0 in Engine::OpenWindow (this=0xc2deffffc8b0) at /home/user/dev/SurrealEngine_08-Jul-2024/SurrealEngine/Engine.cpp:953
#10 0x00000000000557b0 in Engine::Run (this=0xc2deffffc8b0) at /home/user/dev/SurrealEngine_08-Jul-2024/SurrealEngine/Engine.cpp:70
#11 0x0000000000032c40 in GameApp::main (this=0xc2deffffcf3f, args=0xc2deffffcf60) at /home/user/dev/SurrealEngine_08-Jul-2024/SurrealEngine/GameApp.cpp:32
#12 0x0000000000027ac0 in main (argc=1, argv=0xc2deffffd0a8) at /home/user/dev/SurrealEngine_08-Jul-2024/SurrealEngine/MainGame.cpp:61

surreal-engine-startup-gdb.log

from surrealengine.

r-a-sattarov avatar r-a-sattarov commented on August 22, 2024

This should be fixed now.

Yep, after this commit 7689c48, the game started to run. Thanks!

1

2

from surrealengine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.