Skip to content

Not loading on Arch Linux (KDE Xwayland) #218

@aindrigo

Description

@aindrigo

System specifications:
GPU: NVIDIA RTX 4080 SUPER
GPU driver: nvidia (& nvidia-utils)
CPU: Intel i7-12700f
RAM: 32GB DDR4
Kernel: linux-zen

I'm running on Arch Linux using Wayland (window is running under Xwayland) and KDE Plasma 6. Every time I click "Open" on a project and the window opens, it shows:
"Something went wrong. Try to restart this view".
Clicking restart this view does not help, and in the Console I receive this error:

    In: ../../../src/device/device.cpp:98
    Fatal error: 0x00000002: Failed to create surface.
Stacktrace:
    [ 1] ./crown-development() [0x47262b]
    [ 2] ./crown-development() [0x47279f]
    [ 3] ./crown-development() [0x49fd51]
    [ 4] ./crown-development: (bgfx::fatal(char const*, unsigned short, bgfx::Fatal::Enum, char const*, ...))+0x111 in bgfx.cpp:463
    [ 5] ./crown-development: (bgfx::gl::GlContext::create(unsigned int, unsigned int, unsigned int))+0x12ed in glcontext_egl.cpp:349 (discriminator 1)
    [ 6] ./crown-development: (bgfx::gl::RendererContextGL::init(bgfx::Init const&))+0x196c in renderer_gl.cpp:4137
    [ 7] ./crown-development: (bgfx::gl::rendererCreate(bgfx::Init const&))+0x82d in renderer_gl.cpp:4816
    [ 8] ./crown-development: (bgfx::rendererCreate(bgfx::Init const&))+0x26d in bgfx.cpp:2776
    [ 9] ./crown-development: (bgfx::Context::rendererExecCommands(bgfx::CommandBuffer&))+0x12fa in bgfx.cpp:2828
    [10] ./crown-development: (bgfx::Context::renderFrame(int))+0x47 in bgfx.cpp:2465
    [11] ./crown-development: (bgfx::Context::renderThread(bx::Thread*, void*))+0x2a in bgfx.cpp:1492
    [12] ./crown-development: (bx::ThreadInternal::threadFunc(void*))+0xd in thread.cpp:97
    [13] /usr/lib/libc.so.6: ()+0x9439d in ??:0
    [14] /usr/lib/libc.so.6: ()+0x11949c in ??:0

23:19:26.999278  editor: Disconnected from thumbnail unexpectedly
23:19:27.133916  editor: error: Assertion failed: false
    In: ../../../src/device/device.cpp:98
    Fatal error: 0x00000002: Failed to create surface.
Stacktrace:
    [ 1] ./crown-development() [0x47262b]
    [ 2] ./crown-development() [0x47279f]
    [ 3] ./crown-development() [0x49fd51]
    [ 4] ./crown-development: (bgfx::fatal(char const*, unsigned short, bgfx::Fatal::Enum, char const*, ...))+0x111 in bgfx.cpp:463
    [ 5] ./crown-development: (bgfx::gl::GlContext::create(unsigned int, unsigned int, unsigned int))+0x12ed in glcontext_egl.cpp:349 (discriminator 1)
    [ 6] ./crown-development: (bgfx::gl::RendererContextGL::init(bgfx::Init const&))+0x196c in renderer_gl.cpp:4137
    [ 7] ./crown-development: (bgfx::gl::rendererCreate(bgfx::Init const&))+0x82d in renderer_gl.cpp:4816
    [ 8] ./crown-development: (bgfx::rendererCreate(bgfx::Init const&))+0x26d in bgfx.cpp:2776
    [ 9] ./crown-development: (bgfx::Context::rendererExecCommands(bgfx::CommandBuffer&))+0x12fa in bgfx.cpp:2828
    [10] ./crown-development: (bgfx::Context::renderFrame(int))+0x47 in bgfx.cpp:2465
    [11] ./crown-development: (bgfx::Context::renderThread(bx::Thread*, void*))+0x2a in bgfx.cpp:1492
    [12] ./crown-development: (bx::ThreadInternal::threadFunc(void*))+0xd in thread.cpp:97
    [13] /usr/lib/libc.so.6: ()+0x9439d in ??:0
    [14] /usr/lib/libc.so.6: ()+0x11949c in ??:0

23:19:27.138580  editor: Disconnected from editor unexpectedly```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions