Closed mhmarf closed 1 month ago
I don't use mint but I just tested in a Mint 22 distrobox, I needed to grab up-to-date wayland-devel and wayland-protocols but after that it built without warnings here. can you show the full meson configure log? maybe it'll show what went wrong.
the resulting binary also worked outside of the container with my host Fedora system. that coredump looks way too sparse to be coming from a functioning gamescope binary.
Thank you for your response.
Here's the full meson log (just did meson build/
again):
```
The Meson build system
Version: 1.3.2
Source dir: /home/mohammad/gamescope
Build dir: /home/mohammad/gamescope/build
Build type: native build
Project name: gamescope
Project version: undefined
C compiler for the host machine: cc (gcc 13.2.0 "cc (Ubuntu 13.2.0-23ubuntu4) 13.2.0")
C linker for the host machine: cc ld.bfd 2.42
C++ compiler for the host machine: c++ (gcc 13.2.0 "c++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0")
C++ linker for the host machine: c++ ld.bfd 2.42
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports arguments -Wno-unused-parameter: YES
Compiler for C++ supports arguments -Wno-missing-field-initializers: YES
Compiler for C++ supports arguments -Wno-c99-designator: NO
Compiler for C++ supports arguments -Wno-invalid-offsetof: YES
Compiler for C++ supports arguments -Wno-unused-const-variable: YES
Compiler for C++ supports arguments -Wno-volatile: YES
Compiler for C++ supports arguments -Wno-deprecated-volatile: NO
Compiler for C++ supports arguments -Wno-ignored-qualifiers: YES
Compiler for C++ supports arguments -Wno-missing-braces: YES
Compiler for C++ supports arguments -ffast-math: YES
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Found CMake: /usr/bin/cmake (3.28.3)
Run-time dependency libpipewire-0.3 found: NO (tried pkgconfig and cmake)
Library rt found: YES
Run-time dependency hwdata found: YES 0.379
Run-time dependency x11 found: YES 1.8.7
Run-time dependency wayland-client found: YES 1.23.90
Run-time dependency vulkan found: YES 1.3.275
Run-time dependency openvr found: NO (tried pkgconfig and cmake)
Executing subproject openvr method cmake
openvr| Found CMake: /usr/bin/cmake (3.28.3)
| Configuring the build directory with CMake version 3.28.3
| Running CMake with: -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/local -DUSE_LIBCXX=False
| - build directory: /home/mohammad/gamescope/build/subprojects/openvr/__CMake_build
| - source directory: /home/mohammad/gamescope/subprojects/openvr
| - toolchain file: /home/mohammad/gamescope/build/subprojects/openvr/__CMake_build/CMakeMesonToolchainFile.cmake
| - preload file: /usr/lib/python3/dist-packages/mesonbuild/cmake/data/preload.cmake
| - trace args: --trace-expand --trace-format=json-v1 --no-warn-unused-cli --trace-redirect=cmake_trace.txt
| - disabled policy warnings: [CMP0025, CMP0047, CMP0056, CMP0060, CMP0065, CMP0066, CMP0067, CMP0082, CMP0089, CMP0102]
| CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
| Compatibility with CMake < 3.5 will be removed from a future version of
| CMake.
| Update the VERSION argument
Also ninja -C build/ install
:
``` $ ninja -C build/ install ninja: Entering directory `build/' [551/553] Compiling C++ object src/gamescope.p/steamcompmgr.cpp.o ../src/steamcompmgr.cpp:1306:1: warning: ‘int64_t window_last_done_commit_id(steamcompmgr_win_t*)’ defined but not used [-Wunused-function] 1306 | window_last_done_commit_id( steamcompmgr_win_t *w ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [552/553] Installing files. Installing subdir /home/mohammad/gamescope/subprojects/wlroots/include/wlr to /usr/local/include/wlroots-0.18/wlr Installation failed due to insufficient permissions. Attempt to use /usr/bin/sudo to gain elevated privileges? [y/n] y [sudo] password for mohammad: Installing subdir /home/mohammad/gamescope/subprojects/wlroots/include/wlr to /usr/local/include/wlroots-0.18/wlr Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/backend.h to /usr/local/include/wlroots-0.18/wlr Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/xwayland.h to /usr/local/include/wlroots-0.18/wlr Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/xcursor.h to /usr/local/include/wlroots-0.18/wlr Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_alpha_modifier_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_xdg_activation_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_layer_shell_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_keyboard_shortcuts_inhibit_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_data_control_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_tablet_pad.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_output_layout.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_seat.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_output.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_cursor.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_pointer_gestures_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_idle_inhibit_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_output_swapchain_manager.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_screencopy_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_server_decoration.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_xdg_output_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_session_lock_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_linux_drm_syncobj_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_relative_pointer_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_touch.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_output_power_management_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_pointer.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_ext_foreign_toplevel_list_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_input_method_v2.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_damage_ring.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_region.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_xdg_foreign_v2.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_output_layer.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_data_device.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_primary_selection_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_xdg_foreign_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_xdg_foreign_registry.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_security_context_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_transient_seat_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_input_device.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_primary_selection.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_fullscreen_shell_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_gamma_control_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_keyboard.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_xdg_shell.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_idle_notify_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_subcompositor.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_keyboard_group.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_text_input_v3.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_viewporter.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_buffer.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_virtual_keyboard_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_content_type_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_output_management_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_switch.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_tablet_tool.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_cursor_shape_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_export_dmabuf_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_virtual_pointer_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_xdg_decoration_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_pointer_constraints_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_linux_dmabuf_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_drm.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_scene.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_presentation_time.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_single_pixel_buffer_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_xcursor_manager.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_matrix.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_fractional_scale_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_shm.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_foreign_toplevel_management_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_tearing_control_v1.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_compositor.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/types/wlr_tablet_v2.h to /usr/local/include/wlroots-0.18/wlr/types Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/xwayland/server.h to /usr/local/include/wlroots-0.18/wlr/xwayland Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/xwayland/shell.h to /usr/local/include/wlroots-0.18/wlr/xwayland Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/xwayland/xwayland.h to /usr/local/include/wlroots-0.18/wlr/xwayland Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/util/edges.h to /usr/local/include/wlroots-0.18/wlr/util Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/util/log.h to /usr/local/include/wlroots-0.18/wlr/util Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/util/addon.h to /usr/local/include/wlroots-0.18/wlr/util Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/util/box.h to /usr/local/include/wlroots-0.18/wlr/util Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/util/transform.h to /usr/local/include/wlroots-0.18/wlr/util Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/util/region.h to /usr/local/include/wlroots-0.18/wlr/util Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/backend/wayland.h to /usr/local/include/wlroots-0.18/wlr/backend Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/backend/multi.h to /usr/local/include/wlroots-0.18/wlr/backend Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/backend/interface.h to /usr/local/include/wlroots-0.18/wlr/backend Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/backend/session.h to /usr/local/include/wlroots-0.18/wlr/backend Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/backend/libinput.h to /usr/local/include/wlroots-0.18/wlr/backend Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/backend/headless.h to /usr/local/include/wlroots-0.18/wlr/backend Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/interfaces/wlr_tablet_pad.h to /usr/local/include/wlroots-0.18/wlr/interfaces Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/interfaces/wlr_output.h to /usr/local/include/wlroots-0.18/wlr/interfaces Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/interfaces/wlr_touch.h to /usr/local/include/wlroots-0.18/wlr/interfaces Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/interfaces/wlr_pointer.h to /usr/local/include/wlroots-0.18/wlr/interfaces Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/interfaces/wlr_keyboard.h to /usr/local/include/wlroots-0.18/wlr/interfaces Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/interfaces/wlr_buffer.h to /usr/local/include/wlroots-0.18/wlr/interfaces Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/interfaces/wlr_switch.h to /usr/local/include/wlroots-0.18/wlr/interfaces Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/interfaces/wlr_tablet_tool.h to /usr/local/include/wlroots-0.18/wlr/interfaces Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/render/wlr_renderer.h to /usr/local/include/wlroots-0.18/wlr/render Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/render/color.h to /usr/local/include/wlroots-0.18/wlr/render Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/render/interface.h to /usr/local/include/wlroots-0.18/wlr/render Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/render/pixman.h to /usr/local/include/wlroots-0.18/wlr/render Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/render/allocator.h to /usr/local/include/wlroots-0.18/wlr/render Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/render/swapchain.h to /usr/local/include/wlroots-0.18/wlr/render Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/render/wlr_texture.h to /usr/local/include/wlroots-0.18/wlr/render Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/render/dmabuf.h to /usr/local/include/wlroots-0.18/wlr/render Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/render/drm_syncobj.h to /usr/local/include/wlroots-0.18/wlr/render Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/render/pass.h to /usr/local/include/wlroots-0.18/wlr/render Installing /home/mohammad/gamescope/subprojects/wlroots/include/wlr/render/drm_format_set.h to /usr/local/include/wlroots-0.18/wlr/render Installing subdir /home/mohammad/gamescope/subprojects/libdisplay-info/include/libdisplay-info to /usr/local/include/libdisplay-info Installing /home/mohammad/gamescope/subprojects/libdisplay-info/include/libdisplay-info/cta.h to /usr/local/include/libdisplay-info Installing /home/mohammad/gamescope/subprojects/libdisplay-info/include/libdisplay-info/edid.h to /usr/local/include/libdisplay-info Installing /home/mohammad/gamescope/subprojects/libdisplay-info/include/libdisplay-info/info.h to /usr/local/include/libdisplay-info Installing /home/mohammad/gamescope/subprojects/libdisplay-info/include/libdisplay-info/dmt.h to /usr/local/include/libdisplay-info Installing /home/mohammad/gamescope/subprojects/libdisplay-info/include/libdisplay-info/cvt.h to /usr/local/include/libdisplay-info Installing /home/mohammad/gamescope/subprojects/libdisplay-info/include/libdisplay-info/gtf.h to /usr/local/include/libdisplay-info Installing /home/mohammad/gamescope/subprojects/libdisplay-info/include/libdisplay-info/displayid.h to /usr/local/include/libdisplay-info Installing subprojects/openvr/libopenvr_api.a to /usr/local/lib Installing layer/libVkLayer_FROG_gamescope_wsi_x86_64.so to /usr/local/lib/x86_64-linux-gnu Installing subprojects/wlroots/libwlroots-0.18.a to /usr/local/lib/x86_64-linux-gnu Installing subprojects/libdisplay-info/libdisplay-info.a to /usr/local/lib/x86_64-linux-gnu Installing subprojects/libdisplay-info/di-edid-decode/di-edid-decode to /usr/local/bin Installing subprojects/edid-decode/edid-decode to /usr/local/bin Installing subprojects/libliftoff/libliftoff.a to /usr/local/lib/x86_64-linux-gnu Installing src/gamescope to /usr/local/bin Installing src/gamescopereaper to /usr/local/bin Installing src/gamescopectl to /usr/local/bin Installing /home/mohammad/gamescope/subprojects/vkroots/vkroots.h to /usr/local/include Installing /home/mohammad/gamescope/build/subprojects/wlroots/include/wlr/config.h to /usr/local/include/wlroots-0.18/wlr Installing /home/mohammad/gamescope/build/subprojects/wlroots/include/wlr/version.h to /usr/local/include/wlroots-0.18/wlr Installing /home/mohammad/gamescope/subprojects/libliftoff/include/libliftoff.h to /usr/local/include Installing /home/mohammad/gamescope/subprojects/edid-decode/edid-decode.1 to /usr/local/share/man/man1 Installing /home/mohammad/gamescope/build/meson-private/vkroots.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig Installing /home/mohammad/gamescope/build/layer/VkLayer_FROG_gamescope_wsi.x86_64.json to /usr/local/share/vulkan/implicit_layer.d Installing /home/mohammad/gamescope/build/meson-private/wlroots-0.18.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig Installing /home/mohammad/gamescope/build/meson-private/libdisplay-info.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig Installing /home/mohammad/gamescope/build/meson-private/libliftoff.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig ```
Now using executable inside build/src/ :
~/gamescope/build/src$ ./gamescope -- vkcube
[gamescope] [Info] console: gamescope version 3.14.27
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
Aborted (core dumped)
Then sudo setcap 'CAP_SYS_NICE=eip' ~/gamescope/build/src/gamescope
:
$ ./gamescope -- vkcube
[gamescope] [Info] console: gamescope version 3.14.27
Aborted (core dumped)
$ coredumpctl debug
PID: 50864 (gamescope)
UID: 1000 (mohammad)
GID: 1000 (mohammad)
Signal: 6 (ABRT)
Timestamp: Tue 2024-08-06 21:24:42 +0330 (22s ago)
Command Line: ./gamescope -- vkcube
Executable: /home/mohammad/gamescope/build/src/gamescope
Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.gnome.Terminal.slice/vte-spawn-7a2c06a7-824e-49d3-b415-0c4ae0911fb2.scope
Unit: user@1000.service
User Unit: vte-spawn-7a2c06a7-824e-49d3-b415-0c4ae0911fb2.scope
Slice: user-1000.slice
Owner UID: 1000 (mohammad)
Boot ID:
Machine ID:
Hostname: mohammad-MS-7D75
Storage: /var/lib/systemd/coredump/core.gamescope.1000.9c0d1963519b4467afef69401a85bd9c.50864.1722966882000000.zst (inaccessible)
Message: Process 50864 (gamescope) of user 1000 dumped core.
Module libzstd.so.1 from deb libzstd-1.5.5+dfsg2-2build1.amd64
Module libsystemd.so.0 from deb systemd-255.4-1ubuntu8.2.amd64
Module libudev.so.1 from deb systemd-255.4-1ubuntu8.2.amd64
Stack trace of thread 50864:
#0 0x000070bd2c49eb1c __pthread_kill_implementation (libc.so.6 + 0x9eb1c)
#1 0x000070bd2c44526e __GI_raise (libc.so.6 + 0x4526e)
#2 0x000070bd2c4288ff __GI_abort (libc.so.6 + 0x288ff)
#3 0x00005d95973b5194 n/a (/home/mohammad/gamescope/build/src/gamescope + 0xd8194)
#4 0x000070bd2c42a1ca __libc_start_call_main (libc.so.6 + 0x2a1ca)
#5 0x000070bd2c42a28b __libc_start_main_impl (libc.so.6 + 0x2a28b)
#6 0x00005d959730e615 n/a (/home/mohammad/gamescope/build/src/gamescope + 0x31615)
ELF object binary architecture: AMD x86-64
I noticed at the end of meson log, you have color-management: YES whereas it is NO for me... IDK how to make it enabled for me...
sudo apt install meson ninja-build cmake gcc g++ libglm-dev libbenchmark-dev liblcms2-dev libxmu-dev libxcursor-dev libeis-dev libpixman-1-dev libx11-dev libxdamage-dev libxcomposite-dev libxrender-dev libxext-dev libxfixes-dev libxxf86vm-dev libxtst-dev libxres-dev libdrm-dev libvulkan-dev wayland-protocols libwayland-dev libwayland-bin libxkbcommon-dev libsdl2-dev libpipewire-0.3-dev libavif-dev libwlroots-dev libliftoff-dev libcap-dev hwdata spirv-headers libstb-dev libdecor-0-dev libxdamage-dev xwayland git glslang-tools
Did you install all of these?
then i did:
wget https://launchpad.net/ubuntu/+archive/primary/+files/libwayland-bin_1.23.0-1_amd64.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/libwayland-client0_1.23.0-1_amd64.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/libwayland-cursor0_1.23.0-1_amd64.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/libwayland-dev_1.23.0-1_amd64.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/libwayland-egl-backend-dev_1.23.0-1_amd64.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/libwayland-egl1_1.23.0-1_amd64.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/libwayland-server0_1.23.0-1_amd64.deb
and installed those, since the podman image of Mint 22 I was using didn't have them, but it looks like you have a sufficient version of libwayland to me based off your cmake log.
other than that maybe someone with more Mint/Ubuntu knowledge will see this and notice the issue, sorry. also, when installing the binary at the end, you usually don't need to install all of the subprojects like that.
meson install -C build/ --skip-subprojects
is a bit cleaner
OMG it works now! I used the first line you provided:
sudo apt install meson ninja-build cmake gcc g++ libglm-dev libbenchmark-dev liblcms2-dev libxmu-dev libxcursor-dev libeis-dev libpixman-1-dev libx11-dev libxdamage-dev libxcomposite-dev libxrender-dev libxext-dev libxfixes-dev libxxf86vm-dev libxtst-dev libxres-dev libdrm-dev libvulkan-dev wayland-protocols libwayland-dev libwayland-bin libxkbcommon-dev libsdl2-dev libpipewire-0.3-dev libavif-dev libwlroots-dev libliftoff-dev libcap-dev hwdata spirv-headers libstb-dev libdecor-0-dev libxdamage-dev xwayland git glslang-tools
and rebuilt it and wow... can't thank you enough @matte-schwartz ! I had already built newest wayland myself so could not install any of the .deb files you provided (except 1 though, not sure which lol)... Really appreciate it bro! Thank you again.
$ gamescope -- vkcube
[gamescope] [Info] console: gamescope version 3.14.27
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
[gamescope] [Info] vulkan: selecting physical device 'AMD Radeon RX 6900 XT (RADV NAVI21)': queue family 1 (general queue family 0)
[gamescope] [Info] vulkan: physical device supports DRM format modifiers
[gamescope] [Info] wlserver: [backend/headless/backend.c:67] Creating headless backend
[gamescope] [Info] vulkan: supported DRM formats for sampling usage:
[gamescope] [Info] vulkan: AR24 (0x34325241)
[gamescope] [Info] vulkan: XR24 (0x34325258)
[gamescope] [Info] vulkan: AB24 (0x34324241)
[gamescope] [Info] vulkan: XB24 (0x34324258)
[gamescope] [Info] vulkan: RG16 (0x36314752)
[gamescope] [Info] vulkan: NV12 (0x3231564E)
[gamescope] [Info] vulkan: AB4H (0x48344241)
[gamescope] [Info] vulkan: XB4H (0x48344258)
[gamescope] [Info] vulkan: AB48 (0x38344241)
[gamescope] [Info] vulkan: XB48 (0x38344258)
[gamescope] [Info] vulkan: AB30 (0x30334241)
[gamescope] [Info] vulkan: XB30 (0x30334258)
[gamescope] [Info] vulkan: AR30 (0x30335241)
[gamescope] [Info] vulkan: XR30 (0x30335258)
[gamescope] [Info] vulkan: Creating Gamescope nested swapchain with format 44 and colorspace 0
[gamescope] [Info] wlserver: Using explicit sync when available
[gamescope] [Info] wlserver: [wayland] unable to lock lockfile /run/user/1000/gamescope-0.lock, maybe another compositor is running
[gamescope] [Info] wlserver: Running compositor on wayland display 'gamescope-1'
[gamescope] [Info] wlserver: [backend/headless/backend.c:17] Starting headless backend
[gamescope] [Info] wlserver: Successfully initialized libei for input emulation!
[gamescope] [Info] wlserver: [xwayland/server.c:107] Starting Xwayland on :2
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Could not resolve keysym XF86CameraAccessEnable
> Warning: Could not resolve keysym XF86CameraAccessDisable
> Warning: Could not resolve keysym XF86CameraAccessToggle
> Warning: Could not resolve keysym XF86NextElement
> Warning: Could not resolve keysym XF86PreviousElement
> Warning: Could not resolve keysym XF86AutopilotEngageToggle
> Warning: Could not resolve keysym XF86MarkWaypoint
> Warning: Could not resolve keysym XF86Sos
> Warning: Could not resolve keysym XF86NavChart
> Warning: Could not resolve keysym XF86FishingChart
> Warning: Could not resolve keysym XF86SingleRangeRadar
> Warning: Could not resolve keysym XF86DualRangeRadar
> Warning: Could not resolve keysym XF86RadarOverlay
> Warning: Could not resolve keysym XF86TraditionalSonar
> Warning: Could not resolve keysym XF86ClearvuSonar
> Warning: Could not resolve keysym XF86SidevuSonar
> Warning: Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
[gamescope] [Info] pipewire: stream state changed: connecting
[gamescope] [Info] pipewire: stream state changed: paused
[gamescope] [Info] pipewire: stream available on node ID: 79
[gamescope] [Info] vblank: Using timerfd.
[gamescope] [Info] vulkan: Creating Gamescope nested swapchain with format 44 and colorspace 0
ATTENTION: default value of option vk_xwayland_wait_ready overridden by environment.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
ATTENTION: default value of option vk_xwayland_wait_ready overridden by environment.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
ATTENTION: default value of option vk_xwayland_wait_ready overridden by environment.
Selected GPU 0: AMD Radeon RX 6900 XT (RADV NAVI21), type: DiscreteGpu
[Gamescope WSI] Creating Gamescope surface: xid: 0x400000
[Gamescope WSI] Atom of T was wrong type. Expected XCB_ATOM_CARDINAL.
[Gamescope WSI] Made gamescope surface for xid: 0x400000
[Gamescope WSI] Surface state:
steam app id: 0
window xid: 0x400000
wayland surface res id: 5
layer client flags: 0x0
server hdr output enabled: false
hdr formats exposed to client: false
[Gamescope WSI] Forcing on VK_EXT_swapchain_maintenance1.
[gamescope] [Warn] xwm: got the same buffer committed twice, ignoring.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported maximum keycode 708, clipping.
> X11 cannot support keycodes above 255.
> Warning: Could not resolve keysym XF86CameraAccessEnable
> Warning: Could not resolve keysym XF86CameraAccessDisable
> Warning: Could not resolve keysym XF86CameraAccessToggle
> Warning: Could not resolve keysym XF86NextElement
> Warning: Could not resolve keysym XF86PreviousElement
> Warning: Could not resolve keysym XF86AutopilotEngageToggle
> Warning: Could not resolve keysym XF86MarkWaypoint
> Warning: Could not resolve keysym XF86Sos
> Warning: Could not resolve keysym XF86NavChart
> Warning: Could not resolve keysym XF86FishingChart
> Warning: Could not resolve keysym XF86SingleRangeRadar
> Warning: Could not resolve keysym XF86DualRangeRadar
> Warning: Could not resolve keysym XF86RadarOverlay
> Warning: Could not resolve keysym XF86TraditionalSonar
> Warning: Could not resolve keysym XF86ClearvuSonar
> Warning: Could not resolve keysym XF86SidevuSonar
> Warning: Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
[Gamescope WSI] Creating swapchain for xid: 0x400000 - minImageCount: 3 - format: VK_FORMAT_B8G8R8A8_UNORM - colorspace: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR - flip: true
[Gamescope WSI] Created swapchain for xid: 0x400000 - imageCount: 3
[Gamescope WSI] Swapchain recieved new refresh cycle: 16.67ms
[Gamescope WSI] Swapchain recieved new refresh cycle: 6.06ms
Hello I built gamescope by following your instructions on Linux Mint 22 (Ubuntu 24.04 based), but it does not work:
Not sure if it is important, but this is the end of
meson-log
:I then proceeded with
ninja -C build/
which finished without errors (I think?), then inside gamescope/builde/src/ there is a gamescope executable which I tried to use (which results in core dumped error)... Also I usedsetcap 'CAP_SYS_NICE=eip'
as well (because ofNo CAP_SYS_NICE, falling back to regular-priority compute and threads. Performance will be affected.
error). Should I proceed withmeson install -C build/ --skip-subprojects
?using
coredumpctrl debug
showed this:Is this possible to work on Mint 22? Thank you in advance.