Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run build as described in the README.md #1539

Open
Kagukara opened this issue Sep 22, 2024 · 2 comments
Open

Cannot run build as described in the README.md #1539

Kagukara opened this issue Sep 22, 2024 · 2 comments

Comments

@Kagukara
Copy link

I would like to be able to test gamescope without installing it. On the Building section of the README.md it shows that this is possible.

When running build/gamescope -- glxgears (build/gamescope -- <game>) I get:

bash: build/gamescope: No such file or directory

When looking through the ../build folder gamescope is located in ../build/src. When running build/src/gamescope -- glxgears it starts but then gives the error:

[gamescope] [Error] process: Failed to start process "gamescopereaper": No such file or directory

How are you suppose to run gamescope if what is said in the Building section of the README.md is wrong/not working?

@matte-schwartz
Copy link

The first part will be addressed in my readme PR, while the second part is actually something I'm not totally sure about the best way to deal with. For example, PATH=./build/src:$PATH gamescope -- vkcube will let you run the gamescope binary, but it won't be able to know where to look for the WSI layer without installing. The library directories are determined by the prefix you give to meson during configuration, so the .json file for the layer is directed to your libdir rather than the build/layer directory. I'll see if I can figure out a way to get this to work without affecting the ability to install the layers that get compiled during the build.

@matte-schwartz
Copy link

@misyltoad any ideas for running local gamescope in a way that doesn't require you to install system gamescope first in order to find the utility executables and the WSI layer? or should we just structure the readme in a way that only promotes installing to a local directory (like MangoHud does here: https://github.com/flightlessmango/MangoHud?tab=readme-ov-file#installation---build-from-source) and how to configure that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants