ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3k stars 198 forks source link

Does not start at all with "Aborted (core dumped)" on Linux Mint 22 Wilma #1458

Closed mhmarf closed 1 month ago

mhmarf commented 1 month ago

Hello I built gamescope by following your instructions on Linux Mint 22 (Ubuntu 24.04 based), but it does not work:

~/gamescope/build/src$ ./gamescope -- vkcube
[gamescope] [Info]  console: gamescope version 3.14.27
Aborted (core dumped)

Not sure if it is important, but this is the end of meson-log:

CMake binary for host machine is cached.
Preliminary CMake check failed. Aborting.
Run-time dependency benchmark found: NO (tried pkgconfig and cmake)
Build targets in project: 216

wlroots 0.18.0

    drm-backend     : NO
    x11-backend     : NO
    libinput-backend: YES
    xwayland        : YES
    gles2-renderer  : NO
    vulkan-renderer : NO
    gbm-allocator   : NO
    session         : YES
    color-management: NO
    xcb-errors      : NO
    egl             : NO
    libliftoff      : NO

gamescope undefined

  Subprojects
    edid-decode    : YES (from libdisplay-info)
    glm            : YES
    libdisplay-info: YES 1 warnings
    libliftoff     : YES
    openvr         : YES
    stb            : YES
    vkroots        : YES
    wlroots        : YES

Found ninja-1.11.1 at /usr/bin/ninja
Running compile:
Working directory:  /tmp/tmpowzieorm
Code:
 int i = static_cast<int>(0);
-----------
Command line: `c++ /tmp/tmpowzieorm/testfile.cpp -o /tmp/tmpowzieorm/output.obj -D_FILE_OFFSET_BITS=64 -c -std=c++11` -> 0
Compiler accepts -std=c++11: YES
Running compile:
Working directory:  /home/mohammad/gamescope/build/meson-private/tmprr40lmfs
Code:

-----------
Command line: `cc /home/mohammad/gamescope/build/meson-private/tmprr40lmfs/testfile.c -o /home/mohammad/gamescope/build/meson-private/tmprr40lmfs/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 --print-search-dirs` -> 0
stdout:
install: /usr/lib/gcc/x86_64-linux-gnu/13/
programs: =/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/bin/
libraries: =/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/13/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/13/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/
-----------
Failed to guess install tag for /usr/local/share/vulkan/implicit_layer.d/VkLayer_FROG_gamescope_wsi.x86_64.json
Failed to guess install tag for /usr/local/share/vulkan/implicit_layer.d/VkLayer_FROG_gamescope_wsi.x86_64.json

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 used setcap 'CAP_SYS_NICE=eip' as well (because of No CAP_SYS_NICE, falling back to regular-priority compute and threads. Performance will be affected. error). Should I proceed with meson install -C build/ --skip-subprojects?

using coredumpctrl debug showed this:

PID: 34097 (gamescope)
           UID: 1000 (mohammad)
           GID: 1000 (mohammad)
        Signal: 6 (ABRT)
     Timestamp: Tue 2024-08-06 18:24:06 +0330 (10min 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-4e9cd913-ac53-4329-9478-03f13ede6bd1.scope
          Unit: user@1000.service
     User Unit: vte-spawn-4e9cd913-ac53-4329-9478-03f13ede6bd1.scope
         Slice: user-1000.slice
     Owner UID: 1000 (mohammad)
       Boot ID:
    Machine ID:
      Hostname: mohammad
       Storage: /var/lib/systemd/coredump/core.gamescope.1000.9c0d1963519b4467afef69401a85bd9c.34097.1722956046000000.zst (present)
  Size on Disk: 237.9K
       Message: Process 34097 (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 34097:
                #0  0x00007c365c49eb1c __pthread_kill_implementation (libc.so.6 + 0x9eb1c)
                #1  0x00007c365c44526e __GI_raise (libc.so.6 + 0x4526e)
                #2  0x00007c365c4288ff __GI_abort (libc.so.6 + 0x288ff)
                #3  0x00005b82d3ddb194 n/a (/home/mohammad/gamescope/build/src/gamescope + 0xd8194)
                #4  0x00007c365c42a1ca __libc_start_call_main (libc.so.6 + 0x2a1ca)
                #5  0x00007c365c42a28b __libc_start_main_impl (libc.so.6 + 0x2a28b)
                #6  0x00005b82d3d34615 n/a (/home/mohammad/gamescope/build/src/gamescope + 0x31615)
                ELF object binary architecture: AMD x86-64

Is this possible to work on Mint 22? Thank you in advance.

matte-schwartz commented 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.

📦[matt@mint22 gamescope]$ meson build/ ``` The Meson build system Version: 1.3.2 Source dir: /home/matt/src/valve-src/gamescope Build dir: /home/matt/src/valve-src/gamescope/build Build type: native build Project name: gamescope Project version: undefined C compiler for the host machine: ccache 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: ccache 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 Run-time dependency libpipewire-0.3 found: YES 1.0.5 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.0 Run-time dependency vulkan found: YES 1.3.275 Found CMake: /usr/bin/cmake (3.28.3) 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/matt/src/valve-src/gamescope/build/subprojects/openvr/__CMake_build | - source directory: /home/matt/src/valve-src/gamescope/subprojects/openvr | - toolchain file: /home/matt/src/valve-src/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 value or use a ... suffix to tell | CMake that the project does not need compatibility with older versions. | Put cmake in trace mode, but with variables expanded. | Put cmake in trace mode and sets the trace output format. | Not searching for unused variables given on the command line. | Put cmake in trace mode and redirect trace output to a file instead of stderr. | Trace will be written to cmake_trace.txt | -- The C compiler identification is GNU 13.2.0 | -- The CXX compiler identification is GNU 13.2.0 | CMake Warning (dev) at /usr/share/cmake-3.28/Modules/CMakeFindBinUtils.cmake:224 (find_program): | Policy CMP0126 is not set: set(CACHE) does not remove a normal variable of | the same name. Run "cmake --help-policy CMP0126" for policy details. Use | the cmake_policy command to set the policy and suppress this warning. | For compatibility with older versions of CMake, normal variable | "CMAKE_TAPI" will be removed from the current scope. | Call Stack (most recent call first): | /usr/share/cmake-3.28/Modules/CMakeDetermineCXXCompiler.cmake:202 (include) | CMakeLists.txt:5 (project) | This warning is for project developers. Use -Wno-dev to suppress it. | -- Detecting C compiler ABI info | -- Detecting C compiler ABI info - done | -- Check for working C compiler: /usr/bin/cc - skipped | -- Detecting C compile features | -- Detecting C compile features - done | -- Detecting CXX compiler ABI info | -- Detecting CXX compiler ABI info - done | -- Check for working CXX compiler: /usr/bin/c++ - skipped | -- Detecting CXX compile features | -- Detecting CXX compile features - done | -- Configuring done (0.3s) | -- Generating done (0.0s) | -- Build files have been written to: /home/matt/src/valve-src/gamescope/build/subprojects/openvr/__CMake_build openvr| CMake configuration: SUCCEEDED openvr| CMake project OpenVRSDK has 1 build targets. openvr| Generated Meson AST: /home/matt/src/valve-src/gamescope/build/subprojects/openvr/meson.build openvr| Project name: OpenVRSDK openvr| Project version: undefined openvr| C++ compiler for the host machine: ccache c++ (gcc 13.2.0 "c++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0") openvr| C++ linker for the host machine: c++ ld.bfd 2.42 openvr| Build targets in project: 1 openvr| Subproject openvr finished. Check usable header "vulkan/vulkan.h" with dependency vulkan: YES Build-time dependency wayland-scanner found: YES 1.23.0 Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner) Run-time dependency wayland-protocols found: YES 1.36 Looking for a fallback subproject for the dependency vkroots because: Use of fallback dependencies is forced. Executing subproject vkroots vkroots| Project name: vkroots vkroots| Project version: undefined vkroots| C++ compiler for the host machine: ccache c++ (gcc 13.2.0 "c++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0") vkroots| C++ linker for the host machine: c++ ld.bfd 2.42 vkroots| Build targets in project: 55 vkroots| Subproject vkroots finished. Dependency vkroots found: YES undefined (overridden) Run-time dependency xcb found: YES 1.15 Run-time dependency x11-xcb found: YES 1.8.7 Run-time dependency glm found: YES 0.9.9.8 Dependency wayland-client found: YES 1.23.0 (cached) Configuring VkLayer_FROG_gamescope_wsi.x86_64.json using configuration Run-time dependency xdamage found: YES 1.1.6 Run-time dependency xcomposite found: YES 0.4.5 Run-time dependency xcursor found: YES 1.2.1 Run-time dependency xrender found: YES 0.9.10 Run-time dependency xext found: YES 1.3.4 Run-time dependency xfixes found: YES 6.0.0 Run-time dependency xxf86vm found: YES 1.1.4 Run-time dependency xtst found: YES 1.2.3 Run-time dependency xres found: YES 1.2.1 Run-time dependency xmu found: YES 1.1.3 Run-time dependency xi found: YES 1.8.1 Run-time dependency libdrm found: YES 2.4.120 Run-time dependency libeis-1.0 found: YES 1.2.1 Run-time dependency wayland-server found: YES 1.23.0 Dependency wayland-protocols found: YES 1.36 (cached) Run-time dependency xkbcommon found: YES 1.6.0 Run-time dependency threads found: YES Run-time dependency libcap found: YES 2.66 Run-time dependency epoll-shim found: NO (tried pkgconfig and cmake) Dependency glm found: YES 0.9.9.8 (cached) Run-time dependency sdl2 found: YES 2.30.0 Run-time dependency stb found: YES 0.0 Run-time dependency libavif found: YES 1.0.4 Looking for a fallback subproject for the dependency wlroots because: Use of fallback dependencies is forced. Executing subproject wlroots wlroots| Project name: wlroots wlroots| Project version: 0.18.0 wlroots| C compiler for the host machine: ccache cc (gcc 13.2.0 "cc (Ubuntu 13.2.0-23ubuntu4) 13.2.0") wlroots| C linker for the host machine: cc ld.bfd 2.42 wlroots| Compiler for C supports arguments -Wundef: YES wlroots| Compiler for C supports arguments -Wlogical-op: YES wlroots| Compiler for C supports arguments -Wmissing-include-dirs: YES wlroots| Compiler for C supports arguments -Wold-style-definition: YES wlroots| Compiler for C supports arguments -Wpointer-arith: YES wlroots| Compiler for C supports arguments -Winit-self: YES wlroots| Compiler for C supports arguments -Wstrict-prototypes: YES wlroots| Compiler for C supports arguments -Wimplicit-fallthrough=2: YES wlroots| Compiler for C supports arguments -Wendif-labels: YES wlroots| Compiler for C supports arguments -Wstrict-aliasing=2: YES wlroots| Compiler for C supports arguments -Woverflow: YES wlroots| Compiler for C supports arguments -Wmissing-prototypes: YES wlroots| Compiler for C supports arguments -Walloca: YES wlroots| Compiler for C supports arguments -Wno-missing-braces: YES wlroots| Compiler for C supports arguments -Wno-missing-field-initializers: YES wlroots| Compiler for C supports arguments -Wno-unused-parameter: YES wlroots| Compiler for C supports arguments -fmacro-prefix-map=/prefix/to/hide=: YES wlroots| Dependency wayland-server found: YES 1.23.0 (cached) wlroots| Dependency libdrm found: YES 2.4.120 (cached) wlroots| Dependency xkbcommon found: YES 1.6.0 (cached) wlroots| Run-time dependency pixman-1 found: YES 0.42.2 wlroots| Library m found: YES wlroots| Library rt found: YES wlroots| Dependency wayland-protocols found: YES 1.36 (cached) wlroots| Dependency wayland-scanner found: YES 1.23.0 (cached) wlroots| Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner) wlroots| Has header "linux/dma-buf.h" : YES wlroots| Has header "sys/eventfd.h" : YES wlroots| Dependency pixman-1 found: YES 0.42.2 (cached) wlroots| Run-time dependency lcms2 found: YES 2.14 wlroots| Run-time dependency libudev found: YES 255 wlroots| Run-time dependency libseat found: YES 0.8.0 wlroots| Run-time dependency libinput found: YES 1.25.0 wlroots| Dependency wayland-client found: YES 1.23.0 (cached) wlroots| Run-time dependency xwayland found: YES 23.2.6 wlroots| Dependency xcb found: YES 1.15 (cached) wlroots| Run-time dependency xcb-composite found: YES 1.15 wlroots| Run-time dependency xcb-ewmh found: YES 0.4.1 wlroots| Run-time dependency xcb-icccm found: YES 0.4.1 wlroots| Run-time dependency xcb-render found: YES 1.15 wlroots| Run-time dependency xcb-res found: YES 1.15 wlroots| Run-time dependency xcb-xfixes found: YES 1.15 wlroots| Run-time dependency xcb-errors found: NO (tried pkgconfig and cmake) wlroots| Message: Required for printing X11 errors. wlroots| Checking for function "xcb_xfixes_set_client_disconnect_mode" with dependencies xcb, xcb-composite, xcb-ewmh, xcb-icccm, xcb-render, xcb-res, xcb-xfixes, xcb-errors: YES wlroots| Configuring config.h using configuration wlroots| Configuring version.h using configuration wlroots| Configuring config.h using configuration wlroots| Build targets in project: 192 wlroots| Subproject wlroots finished. Dependency wlroots from subproject subprojects/wlroots found: YES 0.18.0 Run-time dependency libdisplay-info found: YES 0.1.1 Run-time dependency libdecor-0 found: YES 0.2.2 Program glslang found: YES (/usr/bin/glslang) Looking for a fallback subproject for the dependency libliftoff because: Use of fallback dependencies is forced. Executing subproject libliftoff libliftoff| Project name: libliftoff libliftoff| Project version: 0.5.0 libliftoff| C compiler for the host machine: ccache cc (gcc 13.2.0 "cc (Ubuntu 13.2.0-23ubuntu4) 13.2.0") libliftoff| C linker for the host machine: cc ld.bfd 2.42 libliftoff| Compiler for C supports arguments -Wundef: YES (cached) libliftoff| Compiler for C supports arguments -Wmissing-prototypes: YES (cached) libliftoff| Compiler for C supports arguments -Walloca: YES (cached) libliftoff| Compiler for C supports arguments -Wdeclaration-after-statement: YES libliftoff| Compiler for C supports arguments -Wfloat-conversion: YES libliftoff| Compiler for C supports arguments -Wsign-conversion: YES libliftoff| Compiler for C supports arguments -Wno-missing-braces: YES (cached) libliftoff| Compiler for C supports arguments -Wno-unused-parameter: YES (cached) libliftoff| Dependency libdrm found: YES 2.4.120 (cached) libliftoff| Build targets in project: 205 libliftoff| Subproject libliftoff finished. Dependency libliftoff found: YES 0.5.0 (overridden) Run-time dependency benchmark found: YES 1.8.3 Build targets in project: 212 wlroots 0.18.0 drm-backend : NO x11-backend : NO libinput-backend: YES xwayland : YES gles2-renderer : NO vulkan-renderer : NO gbm-allocator : NO session : YES color-management: YES xcb-errors : NO egl : NO libliftoff : NO gamescope undefined Subprojects libliftoff: YES openvr : YES vkroots : YES wlroots : YES Found ninja-1.11.1 at /usr/bin/ninja ```

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.

mhmarf commented 1 month ago

Thank you for your response. Here's the full meson log (just did meson build/ again):

Details

``` 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 value or use a ... suffix to tell | CMake that the project does not need compatibility with older versions. | Put cmake in trace mode, but with variables expanded. | Put cmake in trace mode and sets the trace output format. | Not searching for unused variables given on the command line. | Put cmake in trace mode and redirect trace output to a file instead of stderr. | Trace will be written to cmake_trace.txt | -- The C compiler identification is GNU 13.2.0 | -- The CXX compiler identification is GNU 13.2.0 | CMake Warning (dev) at /usr/share/cmake-3.28/Modules/CMakeFindBinUtils.cmake:224 (find_program): | Policy CMP0126 is not set: set(CACHE) does not remove a normal variable of | the same name. Run "cmake --help-policy CMP0126" for policy details. Use | the cmake_policy command to set the policy and suppress this warning. | For compatibility with older versions of CMake, normal variable | "CMAKE_TAPI" will be removed from the current scope. | Call Stack (most recent call first): | /usr/share/cmake-3.28/Modules/CMakeDetermineCXXCompiler.cmake:202 (include) | CMakeLists.txt:5 (project) | This warning is for project developers. Use -Wno-dev to suppress it. | -- Detecting C compiler ABI info | -- Detecting C compiler ABI info - done | -- Check for working C compiler: /usr/bin/cc - skipped | -- Detecting C compile features | -- Detecting C compile features - done | -- Detecting CXX compiler ABI info | -- Detecting CXX compiler ABI info - done | -- Check for working CXX compiler: /usr/bin/c++ - skipped | -- Detecting CXX compile features | -- Detecting CXX compile features - done | -- Configuring done (0.3s) | -- Generating done (0.0s) | -- Build files have been written to: /home/mohammad/gamescope/build/subprojects/openvr/__CMake_build openvr| CMake configuration: SUCCEEDED openvr| CMake project OpenVRSDK has 1 build targets. openvr| Generated Meson AST: /home/mohammad/gamescope/build/subprojects/openvr/meson.build openvr| Project name: OpenVRSDK openvr| Project version: undefined openvr| C++ compiler for the host machine: c++ (gcc 13.2.0 "c++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0") openvr| C++ linker for the host machine: c++ ld.bfd 2.42 openvr| Build targets in project: 1 openvr| Subproject openvr finished. Check usable header "vulkan/vulkan.h" with dependency vulkan: YES Build-time dependency wayland-scanner found: YES 1.23.90 Program /usr/local/bin/wayland-scanner found: YES (/usr/local/bin/wayland-scanner) Run-time dependency wayland-protocols found: YES 1.36 Looking for a fallback subproject for the dependency vkroots because: Use of fallback dependencies is forced. Executing subproject vkroots vkroots| Project name: vkroots vkroots| Project version: undefined vkroots| C++ compiler for the host machine: c++ (gcc 13.2.0 "c++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0") vkroots| C++ linker for the host machine: c++ ld.bfd 2.42 vkroots| Build targets in project: 55 vkroots| Subproject vkroots finished. Dependency vkroots found: YES undefined (overridden) Run-time dependency xcb found: YES 1.15 Run-time dependency x11-xcb found: YES 1.8.7 Run-time dependency glm found: NO (tried pkgconfig and cmake) Looking for a fallback subproject for the dependency glm Executing subproject glm glm| Project name: glm glm| Project version: 0.9.9.8 glm| C++ compiler for the host machine: c++ (gcc 13.2.0 "c++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0") glm| C++ linker for the host machine: c++ ld.bfd 2.42 glm| Build targets in project: 55 glm| Subproject glm finished. Dependency glm from subproject subprojects/glm-0.9.9.8 found: YES 0.9.9.8 Dependency wayland-client found: YES 1.23.90 (cached) Configuring VkLayer_FROG_gamescope_wsi.x86_64.json using configuration Run-time dependency xdamage found: YES 1.1.6 Run-time dependency xcomposite found: YES 0.4.5 Run-time dependency xcursor found: YES 1.2.1 Run-time dependency xrender found: YES 0.9.10 Run-time dependency xext found: YES 1.3.4 Run-time dependency xfixes found: YES 6.0.0 Run-time dependency xxf86vm found: YES 1.1.4 Run-time dependency xtst found: YES 1.2.3 Run-time dependency xres found: YES 1.2.1 Run-time dependency xmu found: YES 1.1.3 Run-time dependency xi found: YES 1.8.1 Run-time dependency libdrm found: YES 2.4.120 Run-time dependency libeis-1.0 found: NO (tried pkgconfig and cmake) Run-time dependency wayland-server found: YES 1.23.90 Dependency wayland-protocols found: YES 1.36 (cached) Run-time dependency xkbcommon found: YES 1.6.0 Run-time dependency threads found: YES Run-time dependency libcap found: YES 2.66 Run-time dependency epoll-shim found: NO (tried pkgconfig and cmake) Dependency glm found: YES 0.9.9.8 (cached) sdl2-config found: NO Run-time dependency sdl2 found: NO (tried pkgconfig, config-tool and cmake) Run-time dependency stb found: NO (tried pkgconfig and cmake) Looking for a fallback subproject for the dependency stb Executing subproject stb stb| Project name: stb stb| Project version: 0.1.0 stb| C compiler for the host machine: cc (gcc 13.2.0 "cc (Ubuntu 13.2.0-23ubuntu4) 13.2.0") stb| C linker for the host machine: cc ld.bfd 2.42 stb| Build targets in project: 56 stb| Subproject stb finished. Dependency stb found: YES 0.1.0 (overridden) Run-time dependency libavif found: NO (tried pkgconfig and cmake) Looking for a fallback subproject for the dependency wlroots because: Use of fallback dependencies is forced. Executing subproject wlroots wlroots| Project name: wlroots wlroots| Project version: 0.18.0 wlroots| C compiler for the host machine: cc (gcc 13.2.0 "cc (Ubuntu 13.2.0-23ubuntu4) 13.2.0") wlroots| C linker for the host machine: cc ld.bfd 2.42 wlroots| Compiler for C supports arguments -Wundef: YES wlroots| Compiler for C supports arguments -Wlogical-op: YES wlroots| Compiler for C supports arguments -Wmissing-include-dirs: YES wlroots| Compiler for C supports arguments -Wold-style-definition: YES wlroots| Compiler for C supports arguments -Wpointer-arith: YES wlroots| Compiler for C supports arguments -Winit-self: YES wlroots| Compiler for C supports arguments -Wstrict-prototypes: YES wlroots| Compiler for C supports arguments -Wimplicit-fallthrough=2: YES wlroots| Compiler for C supports arguments -Wendif-labels: YES wlroots| Compiler for C supports arguments -Wstrict-aliasing=2: YES wlroots| Compiler for C supports arguments -Woverflow: YES wlroots| Compiler for C supports arguments -Wmissing-prototypes: YES wlroots| Compiler for C supports arguments -Walloca: YES wlroots| Compiler for C supports arguments -Wno-missing-braces: YES wlroots| Compiler for C supports arguments -Wno-missing-field-initializers: YES wlroots| Compiler for C supports arguments -Wno-unused-parameter: YES wlroots| Compiler for C supports arguments -fmacro-prefix-map=/prefix/to/hide=: YES wlroots| Dependency wayland-server found: YES 1.23.90 (cached) wlroots| Dependency libdrm found: YES 2.4.120 (cached) wlroots| Dependency xkbcommon found: YES 1.6.0 (cached) wlroots| Run-time dependency pixman-1 found: YES 0.42.2 wlroots| Library m found: YES wlroots| Library rt found: YES wlroots| Dependency wayland-protocols found: YES 1.36 (cached) wlroots| Dependency wayland-scanner found: YES 1.23.90 (cached) wlroots| Program /usr/local/bin/wayland-scanner found: YES (/usr/local/bin/wayland-scanner) wlroots| Has header "linux/dma-buf.h" : YES wlroots| Has header "sys/eventfd.h" : YES wlroots| Dependency pixman-1 found: YES 0.42.2 (cached) wlroots| Run-time dependency lcms2 found: NO (tried pkgconfig and cmake) wlroots| Run-time dependency libudev found: YES 255 wlroots| Run-time dependency libseat found: YES 0.8.0 wlroots| Run-time dependency libinput found: YES 1.25.0 wlroots| Dependency wayland-client found: YES 1.23.90 (cached) wlroots| Run-time dependency xwayland found: YES 23.2.6 wlroots| Dependency xcb found: YES 1.15 (cached) wlroots| Run-time dependency xcb-composite found: YES 1.15 wlroots| Run-time dependency xcb-ewmh found: YES 0.4.1 wlroots| Run-time dependency xcb-icccm found: YES 0.4.1 wlroots| Run-time dependency xcb-render found: YES 1.15 wlroots| Run-time dependency xcb-res found: YES 1.15 wlroots| Run-time dependency xcb-xfixes found: YES 1.15 wlroots| Run-time dependency xcb-errors found: NO (tried pkgconfig and cmake) wlroots| Message: Required for printing X11 errors. wlroots| Checking for function "xcb_xfixes_set_client_disconnect_mode" with dependencies xcb, xcb-composite, xcb-ewmh, xcb-icccm, xcb-render, xcb-res, xcb-xfixes, xcb-errors: YES wlroots| Configuring config.h using configuration wlroots| Configuring version.h using configuration wlroots| Configuring config.h using configuration wlroots| Build targets in project: 192 wlroots| Subproject wlroots finished. Dependency wlroots from subproject subprojects/wlroots found: YES 0.18.0 Run-time dependency libdisplay-info found: NO (tried pkgconfig and cmake) Looking for a fallback subproject for the dependency libdisplay-info Executing subproject libdisplay-info libdisplay-info| Project name: libdisplay-info libdisplay-info| Project version: 0.2.0 libdisplay-info| C compiler for the host machine: cc (gcc 13.2.0 "cc (Ubuntu 13.2.0-23ubuntu4) 13.2.0") libdisplay-info| C linker for the host machine: cc ld.bfd 2.42 libdisplay-info| Dependency hwdata found: YES 0.379 (cached) libdisplay-info| Program tool/gen-search-table.py found: YES (/home/mohammad/gamescope/subprojects/libdisplay-info/tool/gen-search-table.py) libdisplay-info| Library m found: YES libdisplay-info| Compiler for C supports arguments -Wundef: YES (cached) libdisplay-info| Compiler for C supports arguments -Wmissing-prototypes: YES (cached) libdisplay-info| Compiler for C supports arguments -Walloca: YES (cached) libdisplay-info| Compiler for C supports arguments -Wdeclaration-after-statement: YES libdisplay-info| Compiler for C supports arguments -Wconversion: YES libdisplay-info| Compiler for C supports arguments -Wno-unused-parameter: YES (cached) libdisplay-info| Compiler for C supports arguments -Wno-missing-field-initializers: YES (cached) libdisplay-info| Compiler for C supports arguments -Werror=implicit: YES libdisplay-info| Program ./edid-decode-check.sh found: YES (/home/mohammad/gamescope/subprojects/libdisplay-info/test/./edid-decode-check.sh) libdisplay-info| Program ./edid-print-check.sh found: YES (/home/mohammad/gamescope/subprojects/libdisplay-info/test/./edid-print-check.sh) libdisplay-info| Program ./edid-decode-diff.sh found: YES (/home/mohammad/gamescope/subprojects/libdisplay-info/test/./edid-decode-diff.sh) libdisplay-info| Using subprojects/libdisplay-info/subprojects/edid-decode.wrap libdisplay-info| WARNING: Subproject edid-decode's revision may be out of date; its wrap file has changed since it was first configured Executing subproject libdisplay-info:edid-decode edid-decode| Project name: edid-decode edid-decode| Project version: undefined edid-decode| C++ compiler for the host machine: c++ (gcc 13.2.0 "c++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0") edid-decode| C++ linker for the host machine: c++ ld.bfd 2.42 edid-decode| Program git found: YES (/usr/bin/git) edid-decode| Build targets in project: 197 edid-decode| Subproject edid-decode finished. libdisplay-info| Program edid-decode found: YES (overridden) libdisplay-info| Build targets in project: 198 libdisplay-info| Subproject libdisplay-info finished. Dependency libdisplay-info found: YES 0.2.0 (overridden) Run-time dependency libdecor-0 found: YES 0.2.2 Program glslangValidator found: YES (/usr/local/bin/glslangValidator) Looking for a fallback subproject for the dependency libliftoff because: Use of fallback dependencies is forced. Executing subproject libliftoff libliftoff| Project name: libliftoff libliftoff| Project version: 0.5.0 libliftoff| C compiler for the host machine: cc (gcc 13.2.0 "cc (Ubuntu 13.2.0-23ubuntu4) 13.2.0") libliftoff| C linker for the host machine: cc ld.bfd 2.42 libliftoff| Compiler for C supports arguments -Wundef: YES (cached) libliftoff| Compiler for C supports arguments -Wmissing-prototypes: YES (cached) libliftoff| Compiler for C supports arguments -Walloca: YES (cached) libliftoff| Compiler for C supports arguments -Wdeclaration-after-statement: YES (cached) libliftoff| Compiler for C supports arguments -Wfloat-conversion: YES libliftoff| Compiler for C supports arguments -Wsign-conversion: YES libliftoff| Compiler for C supports arguments -Wno-missing-braces: YES (cached) libliftoff| Compiler for C supports arguments -Wno-unused-parameter: YES (cached) libliftoff| Dependency libdrm found: YES 2.4.120 (cached) libliftoff| Build targets in project: 211 libliftoff| Subproject libliftoff finished. Dependency libliftoff found: YES 0.5.0 (overridden) Run-time dependency benchmark found: NO (tried pkgconfig and cmake) Build targets in project: 216 wlroots 0.18.0 drm-backend : NO x11-backend : NO libinput-backend: YES xwayland : YES gles2-renderer : NO vulkan-renderer : NO gbm-allocator : NO session : YES color-management: NO xcb-errors : NO egl : NO libliftoff : NO gamescope undefined Subprojects edid-decode : YES (from libdisplay-info) glm : YES libdisplay-info: YES 1 warnings libliftoff : YES openvr : YES stb : YES vkroots : YES wlroots : YES Found ninja-1.11.1 at /usr/bin/ninja WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. ```

Also ninja -C build/ install:

Details

``` $ 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
mhmarf commented 1 month ago

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...

matte-schwartz commented 1 month ago
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

mhmarf commented 1 month ago

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