8000 add /usr/lib64 as gamemode location · Issue #67 · goatcorp/XIVLauncher.Core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add /usr/lib64 as gamemode location #67

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

Closed
jabuxas opened this issue Aug 8, 2023 · 1 comment · Fixed by #68
Closed

add /usr/lib64 as gamemode location #67

jabuxas opened this issue Aug 8, 2023 · 1 comment · Fixed by #68

Comments

@jabuxas
Copy link
jabuxas commented Aug 8, 2023

on gentoo, gamemode only exists in /usr/lib64 unless compiled with 32bit as well, so this line fails https://github.com/goatcorp/XIVLauncher.Core/blob/main/src/XIVLauncher.Core/Components/SettingsPage/Tabs/SettingsTabWine.cs#L32 and no gamemode is detected, which is weird since if installed as flatpak, it detects normally.

even preloading the lib as by gamemode wiki didn't really work

LD_PRELOAD="$LD_PRELOAD:/usr/\$LIB/libgamemodeauto.so.0" XL_SECRET_PROVIDER=FILE xivlauncher
@Dormanil
Copy link
Contributor

Well, yes, that LD_PRELOAD wouldn't work because you need to preload it into wine64, not XIVLauncher.Core. Either way, thanks for telling us about this.

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

Successfully merging a pull request may close this issue.

2 participants
0