Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gccpacman/7f4a0cf1ce626f2786e735d99e5d549e to your computer and use it in GitHub Desktop.
Save gccpacman/7f4a0cf1ce626f2786e735d99e5d549e to your computer and use it in GitHub Desktop.

Revisions

  1. @russiantux russiantux renamed this gist May 1, 2024. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. @russiantux russiantux created this gist May 1, 2024.
    25 changes: 25 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    # Build & install [gamescope](https://github.com/ValveSoftware/gamescope) for fresh-install Ubuntu 24.04 (Noble Numbat)
    *[Due to what appears to be dependency issues](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058493), the `gamescope` package isn't avalible for Ubuntu 24.04. So here's a guide on how to build and install gamescope for Ubuntu 24.04*
    1. Pull latest git of [gamescope](https://github.com/ValveSoftware/gamescope)

    `$ git clone https://github.com/ValveSoftware/gamescope.git`

    2. Install needed dependencies to build `gamescope`

    `$ sudo apt install libbenchmark1.8.3 libdisplay-info1 libevdev-dev libgav1-1 libgudev-1.0-dev libmtdev-dev libseat1 libstb0 libwacom-dev libxcb-ewmh2 libxcb-shape0-dev libxcb-xfixes0-dev libxmu-headers libyuv0 libx11-xcb-dev libxres-dev
    libxmu-dev libseat-dev libinput-dev libxcb-composite0-dev libxcb-ewmh-dev libxcb-icccm4-dev libxcb-res0-dev libcap-dev
    wayland-protocols libvulkan-dev libwayland-dev libx11-dev cmake pkg-config meson libxdamage-dev libxcomposite-dev libxcursor-dev
    libxxf86vm-dev libxtst-dev libxkbcommon-dev libdrm-dev libpixman-1-dev libdecor-0-dev glslang-tools libbenchmark-dev libsdl2-dev
    libglm-dev libeis-dev libavif-dev`

    3. Build `gamescope` with **meson** first

    `$ meson build/ `

    4. Buid `gamescope` with **ninja**

    `$ ninja -C build/ `

    5. If the **ninja** build didn't produce any errors, install it to your system.

    `$ meson install -C build/ --skip-subprojects `