ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.23k stars 174 forks source link

Harvest: Massive Encounter / unable to locate a running instance of Steam #2051

Open flo-at opened 11 years ago

flo-at commented 11 years ago

When starting Harvest: Massive Encounter the following error occurs:

[S_API FAIL] SteamAPI_Init() failed; Sys_LoadModule failed to load: ~/.steam/bin32/steamclient.so
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.

Steam is running, of course, and the pid in ~/.steampid is correctly set.

I'm running Arch (64 bit) and yes, I already read the ArchWiki Steam article. I tried both, with and without overlay. No difference at all.

System Information

Processor Information:
    Vendor:  GenuineIntel
    Speed: 3401 Mhz
    8 logical processors
    4 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported

Network Information:
    Network Speed:  

Operating System Version:
    Linux (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.7.9-2-ARCH
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11302901
    X Window Manager:  KWin
    Steam Runtime Version:  steam-runtime-release-i386_2013-02-22

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 570/PCIe/SSE2

    Driver Version:  4.3.0 NVIDIA 313.18
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 59 Hz
    VendorID:  0x10de
    DeviceID:  0x1081
    Number of Monitors:  2
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 3840 x 1080
    Primary Display Size: 20.91" x 11.77"  (23.98" diag)
                                            53.1cm x 29.9cm  (60.9cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 1280 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: Realtek ALC892

Memory:
    RAM:  7956 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  234728 Mb
    Largest Free Hard Disk Block:  60709 Mb
scottlu commented 11 years ago

I'm not able to reproduce this problem (Ubuntu 12.04). If you run the game from the command line, this problem would occur. If you run from Steam, it should not occur even on Arch 64.

The developer can fix this problem when running from the command line by upgrading to the latest steamworks sdk.

Do you get this when running from Steam? Can you try it again? (the developer may have updated the app).

If it still happens, can you please run this in a terminal and copy / paste the output of this in your reply.

ls -l ~/.steam

This one too:

xargs --null --max-args=1 echo < /proc/pidof steam/environ | grep STEAM_RUNTIME

Thanks.

scottlu commented 11 years ago

Note pidof steam should be within backticks. Somehow posting that message ate the backticks.

flo-at commented 11 years ago

Thank you for your reply.

The error occurs when running from steam and also when running the game directly. I deleted ~/.local/share/Steam and let steam recreate the whole thing but that didn't fix the problem.

Here are the outputs:

total 20
lrwxrwxrwx 1 flo users   22 Feb 28 23:23 bin -> /home/flo/.steam/bin32
lrwxrwxrwx 1 flo users   40 Feb 28 23:23 bin32 -> /home/flo/.local/share/Steam/ubuntu12_32
lrwxrwxrwx 1 flo users   40 Feb 28 23:23 bin64 -> /home/flo/.local/share/Steam/ubuntu12_64
-rw-r--r-- 1 flo users 2622 Feb 28 23:25 registry.vdf
lrwxrwxrwx 1 flo users   28 Feb 28 23:23 root -> /home/flo/.local/share/Steam
lrwxrwxrwx 1 flo users   36 Feb 28 23:23 sdk32 -> /home/flo/.local/share/Steam/linux32
lrwxrwxrwx 1 flo users   36 Feb 28 23:23 sdk64 -> /home/flo/.local/share/Steam/linux64
lrwxrwxrwx 1 flo users   28 Feb 28 23:23 steam -> /home/flo/.local/share/Steam
-rw-r--r-- 1 flo users    5 Feb 28 23:23 steam.pid
prw------- 1 flo users    0 Feb 15 00:58 steam.pipe
-rwxr-xr-x 1 flo users 8860 Feb  8 19:46 steam_install_agreement.txt

and

STEAM_RUNTIME=/home/flo/.local/share/Steam/ubuntu12_32/steam-runtime
tobiwae commented 11 years ago

I can confirm this bug on Arch64.

Gtk-Message: Failed to load module "canberra-gtk-module"
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
[S_API FAIL] SteamAPI_Init() failed; Sys_LoadModule failed to load: /home/tobiwae/.steam/bin32/steamclient.so
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.
Daisy version 0.7No running copy of Steam detected. This version of Harvest: Massive Encounter requires Steam.Game removed: AppID 15400 "Harvest: Massive Encounter", ProcID 10564 

Output of ls -l ~/.steam

lrwxrwxrwx 1 tobiwae users   26 Mar  2 10:11 bin -> /home/tobiwae/.steam/bin32
lrwxrwxrwx 1 tobiwae users   44 Mar  2 10:11 bin32 -> /home/tobiwae/.local/share/Steam/ubuntu12_32
lrwxrwxrwx 1 tobiwae users   44 Mar  2 10:11 bin64 -> /home/tobiwae/.local/share/Steam/ubuntu12_64
-rw-r--r-- 1 tobiwae users 1121 Mar  2 10:12 registry.vdf
lrwxrwxrwx 1 tobiwae users   32 Mar  2 10:11 root -> /home/tobiwae/.local/share/Steam
lrwxrwxrwx 1 tobiwae users   40 Mar  2 10:11 sdk32 -> /home/tobiwae/.local/share/Steam/linux32
lrwxrwxrwx 1 tobiwae users   40 Mar  2 10:11 sdk64 -> /home/tobiwae/.local/share/Steam/linux64
lrwxrwxrwx 1 tobiwae users   32 Mar  2 10:11 steam -> /home/tobiwae/.local/share/Steam
-rwxr-xr-x 1 tobiwae users 8860 Feb  9 20:00 steam_install_agreement.txt
-rw-r--r-- 1 tobiwae users    6 Mar  2 10:11 steam.pid
prw------- 1 tobiwae users    0 Mar  2 10:12 steam.pipe

Output of xargs --null --max-args=1 echo < /proc/pidof steam/environ | grep STEAM_RUNTIME

STEAM_RUNTIME=/home/tobiwae/.local/share/Steam/ubuntu12_32/steam-runtime

System Info

Processor Information:
    Vendor:  GenuineIntel
    Speed: 2401 Mhz
    2 logical processors
    2 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Unsupported

Network Information:
    Network Speed:  

Operating System Version:
    Linux (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.7.9-2-ARCH
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11302901
    X Window Manager:  Mutter (Muffin)
    Steam Runtime Version:  steam-runtime-release-i386_2013-02-22

Video Card:
    Driver:  nouveau Gallium 0.4 on NV84

    Driver Version:  3.0 Mesa 9.1
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x10de
    DeviceID:  0x407
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1680 x 1050
    Desktop Resolution: 1680 x 1050
    Primary Display Size: 13.03" x 8.15"  (15.35" diag)
                                            33.1cm x 20.7cm  (39.0cm diag)
    Primary VRAM Not Detected

Sound card:
    Audio device: SigmaTel STAC9228

Memory:
    RAM:  3956 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  65515 Mb
    Largest Free Hard Disk Block:  606 Mb
flo-at commented 11 years ago

Changing the run_harvest script to

#!/bin/bash
exec ./Harvest

works for me now. ArchWiki: Steam updated.

kisak-valve commented 7 years ago

Hello @flo-at, this issue should be brought to the attention of the game's devs if it has not been already.