Skip to content

Gamemode is enabled but process is not registered with Proton GE #485

@chenxiex

Description

@chenxiex

Describe the problem
The following error is logged when launching a game with Proton GE.

gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory

And querying the gamemode status for the game returns this:

> gamemoded -s77895
gamemode is active but [77895] not registered

Set LD_PRELOAD=/app/lib/libgamemode.so fix this problem.
Running native linux game or using non-proton wine doesn't cause this problem.

Is it reproducible with native Lutris?
No.

Steps to reproduce

  1. Launching a game with Proton GE and gamemode enabled.
  2. Check the log for dlopen failed error.
  3. Check the output of gamemoded -s$GAMEPID on host.

Expected behavior
Game process is registered

Actual behavior
libgamemode.so isn't loaded, and game process isn't registered.

Flatpak info
flatpak --version
Flatpak 1.16.0
flatpak --gl-drivers

nvidia-570-133-07
default
host

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions