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
Change mangohud detection and fix mangohud loading #569
Conversation
Upstream officially supports the use of $LIB/mangohud/ Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
yeah that would probably be best since that file is generated at build time and |
Well, mangohud installs the vulkan layers into Here are my suggestions:
|
As described in this comment we can rely on the layer being present in |
Alright, so it appears that the spec gives us a set of predefined paths to look for, but it doesn't appear to be using XDG_DATA_DIRS. Is using
This should work fine, but I worry that this wouldn't work in flatpak. |
Qt should respect |
vulkan-loader uses XDG_DATA_DIRS for it and not
We could but I worry that this will have sideffects on Prismlauncher itself or other wrappers that may be used with it. Worst case we can add our own env var along the lines of EDIT: |
bbc00ff
to
499d98c
Compare
Its now detecting the library path by looking for and reading out vulkan layer files. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong button. Muscle memory be like
499d98c
to
1210957
Compare
1210957
to
541a11e
Compare
dcf1410
to
5c18c94
Compare
Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
5c18c94
to
deb9c98
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
Closes #91
Closes #165
In order of commits:
getExecutable should probably be offloaded to some sort of utilities class, but I hadn't found a proper location for it.