Bug 1694938
Summary: | gamemode is not working (activated) for games that still use plain libgamemode.so | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail.v.gavrilov> | ||||
Component: | gamemode | Assignee: | Christian Kellner <ckellner> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | alex, ckellner, kenaanna33 | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | gamemode-1.3.1-2.fc31 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-04-08 14:14:29 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Mikhail
2019-04-02 06:19:25 UTC
Created attachment 1550887 [details]
screenshot
Looking at the Fedora package contents, it seems there isn't an unversioned library link for the client library (should have /usr/lib*/libgamemode.so linked to libgamemode.so.0). Before we started using versioned libraries in GameMode (https://github.com/FeralInteractive/gamemode/commit/77d4d0ad237ecb28f772fce979b5126c42cf338f), the client header only attempted to dlopen libgamemode.so, rather than trying libgamemode.so.0 first. Rise of the Tomb Raider was compiled against that older header, so without libgamemode.so, it won't make a request to GameMode. A libgamemode.so link is created when installing from source so I think this is an issue with the Fedora packages. As per the packaging guidelines the ("unversioned") libgaemmode.so is in the -devel package (i.e. gamemode-devel). @Alex, I guess there is no plan to update the "Rise of the Tomb Raider" (or there any other games?) to use the versioned one? I am tempted to move the libgamemode.so link from the -devel package to the main package. For the time being installing the gamemode-devel package is a work-around that should make it work. From us, Total War: Thrones of Britannia is also affected. No plans for patches to either game right now unfortunately. Ok, I have consulted a few others (Bastien, Richard, Peter) and the consensus was that this is unfortunate; and we are just going to ship the libgamemode*.so in the main package for the time being. Alex, it would be great if the games could maybe be updated eventually so we don't have to have that work-around forever ;) Build is here: https://koji.fedoraproject.org/koji/buildinfo?buildID=1246712 It seems that you are experiencing a warning message "Current CPU governor may impact performance" when launching the game "Rise of the Tomb Raider" from the Steam launcher, even though the package "gamemode" is installed. This warning does not appear when launching the game "DiRT 4." It's possible that the CPU governor settings are not being properly applied for "Rise of the Tomb Raider." You may want to check the CPU governor settings and ensure that they are being applied correctly for this game. Source: https://ricepurity-test.org/ |