Package Details: gamescope-nvidia-git 3.14.3.r8.gf88723f-1

Git Clone URL: https://aur.archlinux.org/gamescope-nvidia-git.git (read-only, click to copy)
Package Base: gamescope-nvidia-git
Description: SteamOS session compositing window manager (NVIDIA patch)
Upstream URL: https://github.com/sharkautarch/gamescope/tree/nvidia-fix
Keywords: gamescope nvidia session steamcompmgr steamos
Licenses: BSD-2-Clause
Conflicts: gamescope
Provides: gamescope
Submitter: detian
Maintainer: detian
Last Packager: detian
Votes: 0
Popularity: 0.000000
First Submitted: 2023-12-12 09:20 (UTC)
Last Updated: 2024-04-15 02:32 (UTC)

Required by (25)

Sources (8)

Latest Comments

grahfmusic commented on 2024-02-12 12:34 (UTC)

@detian, ahh glad you were able to pinpoint the issue :)

detian commented on 2024-02-12 12:00 (UTC)

@grahfmusic yea find out it's vkroots-git too new, I'm trying force meson not to use system vkroots

grahfmusic commented on 2024-02-12 04:42 (UTC)

@detian, thanks for the advice but unfortunately didn't work.

detian commented on 2024-02-12 01:21 (UTC)

@grahfmusic try update and rebuild vkroots-git?

grahfmusic commented on 2024-02-12 00:34 (UTC)

I also can't build, I then noticed the issue with openvr and uninstalled it and tried building again to not success.

Log: https://pastebin.com/1YBhUiRd

detian commented on 2024-01-29 00:20 (UTC)

@gardotd426 actually it's because gamescope newest v3.14.0 moved to openvr 2.0, but openvr in arch official repo still 1.0 and out-of-date, uninstall system openvr so meson will compile it from source and everything built. I didn't force compile openvr from source in PKGBUILD because it's big and I thought openvr in arch repo will be updated soon

gardotd426 commented on 2024-01-28 22:14 (UTC)

Unfortunately there are issues beyond just some conflicting files.

Currently fails to build with a ton of C++ errors which causes the build to fail repeatedly, and it seems that the fork creator isn't quite in the swing of things with C++, once the errors start they're 100% errors of bad coding.

[69/83] Compiling C++ object src/gamescope.p/vr_session.cpp.o
FAILED: src/gamescope.p/vr_session.cpp.o
sccache c++ -Isrc/gamescope.p -Isrc -I../gamescope/src -I../gamescope/src/reshade/source -I../gamescope/src/reshade/include -I../gamescope/thirdparty/SPIRV-Headers/include/spirv/unified1 -Isubprojects/glm-0.9.9.8 -I../gamescope/subprojects/glm-0.9.9.8 -Isubprojects/stb -I../gamescope/subprojects/stb -Iprotocol -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/openvr -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++20 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-missing-field-initializers -Wno-invalid-offsetof -Wno-unused-const-variable -Wno-volatile -Wno-ignored-qualifiers -Wno-missing-braces -ffast-math -DHAVE_PIPEWIRE=1 -DHAVE_OPENVR=1 '-DHWDATA_PNP_IDS="//usr/share/hwdata/pnp.ids"' -march=znver3 -mtune=znver3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -mtune=znver3 -march=znver3 -fPIE -DAVIF_DLL -D_REENTRANT -pthread -MD -MQ src/gamescope.p/vr_session.cpp.o -MF src/gamescope.p/vr_session.cpp.o.d -o src/gamescope.p/vr_session.cpp.o -c ../gamescope/src/vr_session.cpp
../gamescope/src/vr_session.cpp: In function ‘bool vrsession_init()’:
../gamescope/src/vr_session.cpp:146:60: error: ‘VROverlayFlags_EnableControlBar’ is not a member of ‘vr’; did you mean ‘VROverlayFlags_EnableControlBarSteamUI’?
  146 |     vr::VROverlay()->SetOverlayFlag( GetVR().hOverlay, vr::VROverlayFlags_EnableControlBar,                     GetVR().bEnableControlBar );
      |                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                            VROverlayFlags_EnableControlBarSteamUI
../gamescope/src/vr_session.cpp:147:60: error: ‘VROverlayFlags_EnableControlBarKeyboard’ is not a member of ‘vr’; did you mean ‘VROverlayFlags_EnableControlBarSteamUI’?
  147 |     vr::VROverlay()->SetOverlayFlag( GetVR().hOverlay, vr::VROverlayFlags_EnableControlBarKeyboard,     GetVR().bEnableControlBarKeyboard );
      |                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                            VROverlayFlags_EnableControlBarSteamUI
../gamescope/src/vr_session.cpp:148:60: error: ‘VROverlayFlags_EnableControlBarClose’ is not a member of ‘vr’; did you mean ‘VROverlayFlags_EnableControlBarSteamUI’?
  148 |     vr::VROverlay()->SetOverlayFlag( GetVR().hOverlay, vr::VROverlayFlags_EnableControlBarClose,        GetVR().bEnableControlBarClose );
      |                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                            VROverlayFlags_EnableControlBarSteamUI
[76/83] Compiling C++ object layer/libVkLayer_FROG_gamescope_wsi_x86_64.so.p/VkLayer_FROG_gamescope_wsi.cpp.o
../gamescope/layer/VkLayer_FROG_gamescope_wsi.cpp: In function ‘uint32_t GamescopeWSILayer::gamescopeFrameLimiterOverride()’:
../gamescope/layer/VkLayer_FROG_gamescope_wsi.cpp:133:10: warning: ignoring return value of ‘ssize_t pread(int, void*, size_t, __off64_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  133 |     pread(fd, &overrideValue, sizeof(overrideValue), 0);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[81/83] Compiling C++ object src/gamescope.p/steamcompmgr.cpp.o
../gamescope/src/steamcompmgr.cpp: In function ‘bool set_color_3dlut_override(const char*)’:
../gamescope/src/steamcompmgr.cpp:619:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  619 |         fread(g_ColorMgmtLutsOverride[nLutIndex].lut3d, elems, sizeof(uint16_t), f);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../gamescope/src/steamcompmgr.cpp: In function ‘bool set_color_shaperlut_override(const char*)’:
../gamescope/src/steamcompmgr.cpp:646:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  646 |         fread(g_ColorMgmtLutsOverride[nLutIndex].lut1d, elems, sizeof(uint16_t), f);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../gamescope/src/steamcompmgr.cpp: In function ‘void update_runtime_info()’:
../gamescope/src/steamcompmgr.cpp:5424:15: warning: ignoring return value of ‘ssize_t pwrite(int, const void*, size_t, __off64_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 5424 |         pwrite( g_nRuntimeInfoFd, &limiter_enabled, sizeof( limiter_enabled ), 0 );
      |         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../gamescope/src/steamcompmgr.cpp: In function ‘void spawn_client(char**)’:
../gamescope/src/steamcompmgr.cpp:6945:29: warning: ignoring return value of ‘int nice(int)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 6945 |                         nice( g_nOldNice - g_nNewNice );
      |                         ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../gamescope/src/steamcompmgr.cpp: In function ‘void determine_and_apply_focus(xwayland_ctx_t*, std::vector<steamcompmgr_win_t*>&)’:
../gamescope/src/steamcompmgr.cpp:3899:31: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 3899 |                         system( buf );
      |                         ~~~~~~^~~~~~~
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: gamescope-nvidia-git-exit status 4

detian commented on 2023-12-14 14:59 (UTC)

@one1grw added arg --skip-subprojects for prevent install dependencies that compiled, but upstream haven't support the run-time dependency wlroots v0.18.0 (https://github.com/ValveSoftware/gamescope/pull/1027), so it may not work with wlroots-git.

one1grw commented on 2023-12-13 16:07 (UTC)

Cannot install due to conflicting files with wlroots.

error: failed to commit transaction (conflicting files)
gamescope-nvidia-git: /usr/include/wlr/backend.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/backend/headless.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/backend/interface.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/backend/libinput.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/backend/multi.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/backend/session.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/backend/wayland.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/config.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/interfaces/wlr_buffer.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/interfaces/wlr_keyboard.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/interfaces/wlr_output.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/interfaces/wlr_pointer.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/interfaces/wlr_switch.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/interfaces/wlr_tablet_pad.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/interfaces/wlr_tablet_tool.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/interfaces/wlr_touch.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/render/allocator.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/render/dmabuf.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/render/drm_format_set.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/render/interface.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/render/pass.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/render/pixman.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/render/swapchain.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/render/wlr_renderer.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/render/wlr_texture.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_buffer.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_compositor.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_content_type_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_cursor.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_cursor_shape_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_damage_ring.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_data_control_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_data_device.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_drm.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_export_dmabuf_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_foreign_toplevel_management_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_fractional_scale_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_fullscreen_shell_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_gamma_control_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_idle_inhibit_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_idle_notify_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_input_device.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_input_method_v2.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_keyboard.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_keyboard_group.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_keyboard_shortcuts_inhibit_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_layer_shell_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_linux_dmabuf_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_matrix.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_output.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_output_layer.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_output_layout.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_output_management_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_output_power_management_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_pointer.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_pointer_constraints_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_pointer_gestures_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_presentation_time.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_primary_selection.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_primary_selection_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_region.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_relative_pointer_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_scene.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_screencopy_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_seat.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_security_context_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_server_decoration.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_session_lock_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_shm.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_single_pixel_buffer_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_subcompositor.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_switch.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_tablet_pad.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_tablet_tool.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_tablet_v2.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_tearing_control_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_text_input_v3.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_touch.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_viewporter.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_virtual_keyboard_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_virtual_pointer_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_xcursor_manager.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_xdg_activation_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_xdg_decoration_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_xdg_foreign_registry.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_xdg_foreign_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_xdg_foreign_v2.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_xdg_output_v1.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/types/wlr_xdg_shell.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/util/addon.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/util/box.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/util/edges.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/util/log.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/util/region.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/version.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/xcursor.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/xwayland.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/xwayland/server.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/xwayland/shell.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/include/wlr/xwayland/xwayland.h exists in filesystem (owned by wlroots-git)
gamescope-nvidia-git: /usr/lib/pkgconfig/wlroots.pc exists in filesystem (owned by wlroots-git)
Errors occurred, no packages were upgraded.