Skip to content

Build succeeded, but error when execute binary #20

@Leon-Zhang

Description

@Leon-Zhang

Hello, I have been able to build all the 3 binary files by cmake:
miriway, miriway-shell, miriway-terminal
But when executing miriway-shell under my ubuntu 22.04, following error occured:

ubuntu@ubuntu-2204:~/Miriway/build$ ./miriway-shell
[2023-02-08 19:35:28.146228] mirserver: Starting
[2023-02-08 19:35:28.149397] < - debug - > mirserver: Not trying logind: "DISPLAY" is set and X need not have claimed the VT
[2023-02-08 19:35:28.151078] < - debug - > mirserver: Not using Linux VT subsystem for session management: Failed to find the current VT
[2023-02-08 19:35:28.151251] < - debug - > mirserver: No session management supported
[2023-02-08 19:35:28.152483] VT switch key handler: No VT switching support available: MinimalConsoleServices does not support VT switching
[2023-02-08 19:35:28.153029] mircommon: Loading modules from: /usr/lib/x86_64-linux-gnu/mir/server-platform
[2023-02-08 19:35:28.153105] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/server-x11.so.19
[2023-02-08 19:35:28.153829] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-wayland.so.19
[2023-02-08 19:35:28.155538] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-gbm-kms.so.19
[2023-02-08 19:35:28.155819] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/input-evdev.so.8
ERROR: ./src/server/graphics/default_configuration.cpp(233): Throw in function virtual const std::vector<std::shared_ptrmir::graphics::DisplayPlatform >& mir::DefaultServerConfiguration::the_display_platforms()
Dynamic exception type: boost::wrapexceptstd::runtime_error
std::exception::what: Exception while creating graphics platform
ERROR: ./src/server/graphics/platform_probe.cpp(190): Throw in function std::vector<std::pair<mir::graphics::SupportedDevice, std::shared_ptrmir::SharedLibrary > > {anonymous}::modules_for_device({anonymous}::ModuleType, const std::vector<std::shared_ptrmir::SharedLibrary >&, const mir::options::ProgramOption&, const std::shared_ptrmir::ConsoleServices&)
Dynamic exception type: boost::wrapexceptstd::runtime_error
std::exception::what: Failed to find any platforms for current system

Seems problem is unable to creating graphics platform, what could cause above error?(Have been able to successfully execute using WAYLAND=wayland-99 miriway)

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