Package Details: gamescope-nvidia-git 3.15.9.r0.g80457860-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-3-Clause, BSD-2-Clause, LicenseRef-Reshade
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-09-11 20:57 (UTC)

Required by (31)

Sources (10)

Latest Comments

1 2 Next › Last »

detian commented on 2024-08-19 11:03 (UTC)

@SimpleBR ok updated.

SimpleBR commented on 2024-08-16 16:28 (UTC) (edited on 2024-08-18 03:56 (UTC) by SimpleBR)

Add libdecor and libavif as dependency to fix installation error.

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.