Skip to content
Snippets Groups Projects
  1. Aug 06, 2021
  2. Aug 03, 2021
  3. Jul 20, 2021
    • Ludovico de Nittis's avatar
      Adjust LD_PRELOAD and LD_AUDIT to prevent ELF warnings · e7a5f274
      Ludovico de Nittis authored and Simon McVittie's avatar Simon McVittie committed
      
      When a game is launched with the Steam Overlay feature enabled (it's on
      by default), we end up with an LD_PRELOAD that contains
      `gameoverlayrenderer.so` two times, one for 32-bit and the other for
      64-bit processes.
      
      However this leads to a warning that is harmless but scary for users and
      developers unaware of that:
      `ERROR: ld.so: object
      '/home/me/.local/share/steam/ubuntu12_64/gameoverlayrenderer.so' from
      LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.`
      
      And every 64-bit process prints something similar about the ELFCLASS32.
      
      By creating a temporary directory and using the dynamic linker token
      expansion `$PLATFORM` we can let a process preload only the
      `gameoverlayrenderer.so` for the right ABI.
      
      Signed-off-by: default avatarLudovico de Nittis <ludovico.denittis@collabora.com>
      e7a5f274
  4. Jul 05, 2021
  5. Jan 05, 2021
  6. Sep 09, 2020
  7. Sep 07, 2020
    • Simon McVittie's avatar
      wrap, adverb: Move "wrap with xterm" code into the adverb · 5dd3b8aa
      Simon McVittie authored
      
      Looking at environment variables is still part of pv-wrap, but the
      command-line part now happens in pv-adverb. This means the launching
      scripts for the "session" mode, which use pv-launch to run the main
      game command in a previously-set-up pv-launcher environment, can
      direct pv-adverb to run an interactive shell instead of or in addition
      to the actual game.
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      5dd3b8aa
  8. Aug 19, 2020
Loading