ValveSoftware / steam-runtime

A runtime environment for Steam applications
Other
1.21k stars 86 forks source link

7 Days To Die not starting at all #205

Closed ZyanKLee closed 3 years ago

ZyanKLee commented 5 years ago

PRESSURE_VESSEL_SHARE_HOME=0 steam

Computerinformationen:
    Hersteller: Unknown
    Modell: Unknown
    Formfaktor: Desktop
    Keine Touch-Eingabe erkannt

Prozessor:
    CPU-Hersteller: GenuineIntel
    CPU-Marke:        Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz
    CPU-Familie: 0x6
    CPU-Modell: 0x2d
    CPU-Stepping: 0x7
    CPU-Typ: 0x0
    Geschwindigkeit: 2800 MHz
    12 logische Prozessoren
    6 technische Prozessoren
    HyperThreading:  Unterstützt
    FCMOV:  Unterstützt
    SSE2:  Unterstützt
    SSE3:  Unterstützt
    SSSE3:  Unterstützt
    SSE4a:  Nicht unterstützt
    SSE41:  Unterstützt
    SSE42:  Unterstützt
    AES: Unterstützt
    AVX: Unterstützt
    AVX2: Nicht unterstützt
    AVX512F: Nicht unterstützt
    AVX512PF: Nicht unterstützt
    AVX512ER: Nicht unterstützt
    AVX512CD: Nicht unterstützt
    AVX512VNNI: Nicht unterstützt
    SHA: Nicht unterstützt
    CMPXCHG16B: Unterstützt
    LAHF/SAHF: Unterstützt
    PrefetchW: Nicht unterstützt

Betriebssystem:
    Ubuntu 19.10 (64 Bit)
    Kernel-Name: Linux
    Kernel-Version: 5.3.0-19-generic
    X-Server-Vendor: The X.Org Foundation
    X-Server-Release: 12005000
    X-Fenstermanager: GNOME Shell
    Steam-Runtime-Version: steam-runtime_0.20191024.0

Grafikkarte:
    Treiber: NVIDIA Corporation GeForce GTX 970/PCIe/SSE2
    Treiberversion: 4.6.0 NVIDIA 440.26
    OpenGL-Version: 4.6
    Desktopfarbtiefe: 24 Bit per Pixel
    Monitor-Aktualisierungsrate: 59 Hz
    Anbieterkennung: 0x10de
    Gerätekennung: 0x13c2
    Revision nicht gefunden
    Anzahl der Monitore: 1
    Anzahl der logischen Grafikkarten: 1
    Prim. Anzeigeauflösung: 2560 x 1440
    Desktopauflösung: 2560 x 1440
    Prim. Anzeigegröße: 21.77" x 12.24" (24.96" diag)
 55.3cm x 31.1cm (63.4cm diag)
    Primärer Bus: PCI Express 16x
    Primärer VRAM: 4096 MB
    Unterstützte MSAA-Modi: 2x 4x 8x 16x 

Soundkarte:
    Audiogerät: Realtek ALC898

Speicher:
    RAM: 15958 MB

Weitere Daten:
    UI-Sprache: Deutsch (Deutsch)
    SPRACHE: de_DE.UTF-8
    Verfügbarer Festplattenspeicher insgesamt: 234602 MB
    Größter freier Festplattenspeicherblock: 63857 MB
    VR-Headset: Keines gefunden

Steam Linux Runtime Information:
{
  "can-write-uinput" : true,
  "steam-installation" : {
    "path" : "/home/user/.local/share/Steam",
    "data_path" : "/home/user/.local/share/Steam",
    "issues" : [
    ]
  },
  "runtime" : {
    "path" : "/home/user/.local/share/Steam/ubuntu12_32/steam-runtime",
    "version" : "0.20191024.0",
    "issues" : [
    ]
  },
  "os-release" : {
    "id" : "ubuntu",
    "id_like" : [
      "debian"
    ],
    "name" : "Ubuntu",
    "pretty_name" : "Ubuntu 19.10",
    "version_id" : "19.10",
    "version_codename" : "eoan"
  },
  "architectures" : {
    "i386-linux-gnu" : {
      "can-run" : true,
      "library-issues-summary" : [
      ],
      "graphics-details" : {
        "x11/vulkan" : {
          "messages" : "ERROR: [Loader Message] Code 0 : /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS64\nWARNING: [Loader Message] Code 0 : loader_icd_scan: Can not find 'ICD' object in ICD JSON file /usr/share/vulkan/icd.d/nvidia_layers.json.  Skipping ICD JSON\nERROR: [Loader Message] Code 0 : /usr/lib/x86_64-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS64\n",
          "renderer" : "GeForce GTX 970",
          "version" : "1.1.119 (device 10de:13c2) (driver 440.104.0)"
        },
        "glx/gl" : {
          "renderer" : "GeForce GTX 970/PCIe/SSE2",
          "version" : "4.6.0 NVIDIA 440.26"
        },
        "egl_x11/gl" : {
          "messages" : "Waffle error: 0x1 WAFFLE_ERROR_FATAL: dlopen(\"libEGL.so.1\") failed: libEGL.so.1: wrong ELF class: ELFCLASS64\n",
          "renderer" : null,
          "version" : null,
          "issues" : [
            "cannot-load"
          ]
        },
        "egl_x11/glesv2" : {
          "messages" : "Waffle error: 0x1 WAFFLE_ERROR_FATAL: dlopen(\"libEGL.so.1\") failed: libEGL.so.1: wrong ELF class: ELFCLASS64\n",
          "renderer" : null,
          "version" : null,
          "issues" : [
            "cannot-load"
          ]
        }
      }
    },
    "x86_64-linux-gnu" : {
      "can-run" : true,
      "library-issues-summary" : [
      ],
      "graphics-details" : {
        "x11/vulkan" : {
          "messages" : "WARNING: [Loader Message] Code 0 : loader_icd_scan: Can not find 'ICD' object in ICD JSON file /usr/share/vulkan/icd.d/nvidia_layers.json.  Skipping ICD JSON\n",
          "renderer" : "GeForce GTX 970",
          "version" : "1.1.119 (device 10de:13c2) (driver 440.104.0)"
        },
        "glx/gl" : {
          "renderer" : "GeForce GTX 970/PCIe/SSE2",
          "version" : "4.6.0 NVIDIA 440.26"
        },
        "egl_x11/gl" : {
          "renderer" : "GeForce GTX 970/PCIe/SSE2",
          "version" : "4.6.0 NVIDIA 440.26"
        },
        "egl_x11/glesv2" : {
          "renderer" : "GeForce GTX 970/PCIe/SSE2",
          "version" : "OpenGL ES 3.2 NVIDIA 440.26"
        }
      }
    }
  },
  "locale-issues" : [
  ],
  "locales" : {
    "<default>" : {
      "resulting-name" : "de_DE.UTF-8",
      "charset" : "UTF-8",
      "is_utf8" : true
    },
    "C" : {
      "resulting-name" : "C",
      "charset" : "ANSI_X3.4-1968",
      "is_utf8" : false
    },
    "C.UTF-8" : {
      "resulting-name" : "C.UTF-8",
      "charset" : "UTF-8",
      "is_utf8" : true
    },
    "en_US.UTF-8" : {
      "resulting-name" : "en_US.UTF-8",
      "charset" : "UTF-8",
      "is_utf8" : true
    }
  },
  "egl" : {
    "icds" : [
      {
        "json_path" : "/usr/share/glvnd/egl_vendor.d/10_nvidia.json",
        "library_path" : "libEGL_nvidia.so.0"
      },
      {
        "json_path" : "/usr/share/glvnd/egl_vendor.d/50_mesa.json",
        "library_path" : "libEGL_mesa.so.0"
      }
    ]
  },
  "vulkan" : {
    "icds" : [
      {
        "json_path" : "/usr/share/vulkan/icd.d/radeon_icd.x86_64.json",
        "library_path" : "/usr/lib/x86_64-linux-gnu/libvulkan_radeon.so",
        "api_version" : "1.1.107"
      },
      {
        "json_path" : "/usr/share/vulkan/icd.d/nvidia_icd.json",
        "library_path" : "libGLX_nvidia.so.0",
        "api_version" : "1.1.119"
      },
      {
        "json_path" : "/usr/share/vulkan/icd.d/nvidia_layers.json",
        "error-domain" : "g-io-error-quark",
        "error-code" : 0,
        "error" : "No \"ICD\" object in \"/usr/share/vulkan/icd.d/nvidia_layers.json\""
      },
      {
        "json_path" : "/usr/share/vulkan/icd.d/intel_icd.x86_64.json",
        "library_path" : "/usr/lib/x86_64-linux-gnu/libvulkan_intel.so",
        "api_version" : "1.1.102"
      }
    ]
  }
}

CClientJobGatherRuntimeInformation: container read output failed
GameAction [AppID 251570, ActionID 1] : LaunchApp changed task to ShowLaunchOption with ""
GameAction [AppID 251570, ActionID 1] : LaunchApp waiting for user response to ShowLaunchOption ""
GameAction [AppID 251570, ActionID 1] : LaunchApp continues with user response "1"
Opted-in Controller Mask Forced Off
GameAction [AppID 251570, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 251570, ActionID 1] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 251570, ActionID 1] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 251570, ActionID 1] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 251570, ActionID 1] : LaunchApp continues with user response "CreatingProcess"
Game update: AppID 251570 "", ProcID 14673, IP 0.0.0.0:0
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Starting app 251570
>>> Adding process 14673 for game ID 251570
GameAction [AppID 251570, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 251570, ActionID 1] : LaunchApp changed task to Completed with ""
>>> Adding process 14674 for game ID 251570
>>> Adding process 14675 for game ID 251570
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_new
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
>>> Adding process 14676 for game ID 251570
>>> Adding process 14679 for game ID 251570
Installing breakpad exception handler for appid(steam)/version(1573176642)
pressure-vessel-locale-gen: No locales need to be generated
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 14792 for game ID 251570
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 14793 for game ID 251570
>>> Adding process 14794 for game ID 251570
Segmentation fault (core dumped)
Game removed: AppID 251570 "", ProcID 14673 
Uploaded AppInterfaceStats to Steam
Exiting app 251570
ZyanKLee commented 5 years ago

just tested it with PRESSURE_VESSEL_SHARE_HOME=1 steam as well - the game still crashes disabling the Linux Steam Runtime reverts the game to be playable

smcv commented 5 years ago

Segmentation fault (core dumped)

Can you find out which process segfaults: the game itself, or some helper process like pressure-vessel-wrap? (The last few lines of dmesg after the crash should give you a clue.)

TTimo commented 5 years ago

It is starting fine for me on a Manjaro system. However I noticed that while the 7DaysToDie.x86_64 process is running in a container setup, the bwrap binary has exited.

The command line executed by the steam client is "/home/timo/.local/share/Steam/SteamApps/common/7 Days To Die/7DaysToDie.sh" -from-steam

Which executes a 7dLauncher.x86_64 launcher that will start the actual game .. I assume bwrap is exiting when that terminates.

(the steam client does not do any restarting via IPC like we had initially suspected)

smcv commented 5 years ago

bwrap exiting is not necessarily such a bad thing: the actual container will stay alive as long as it's referenced by at least one process. bwrap exits after its direct child process exits, even if there is an indirect child process that is running in the background and has been reparented to the nearest subreaper or to init (similar to the standard daemonize/double-fork trick), but that shouldn't result in the mount namespace being cleaned up.

To tell whether a process is in the container, look at /proc/PID/root where PID is its process ID. It's a "magic symlink": if you use ls -l it will appear to be a symlink to /, but if you dereference it (for example ls /proc/PID/root/ or cat /proc/PID/root/usr/lib/os-release) you'll see whatever is in that process's root filesystem. For games in a Steam Runtime container, os-release says ID=steamrt.

Having said that, some unrelated changes in progress in pressure-vessel (related to locking) are likely to result in there being a subreaper process inside the container, which will mean that background processes become its children and the process tree stops being misleading.

ZyanKLee commented 5 years ago

Segmentation fault (core dumped)

Can you find out which process segfaults: the game itself, or some helper process like pressure-vessel-wrap? (The last few lines of dmesg after the crash should give you a clue.)

sadly nothing appears in dmesg output

RyuzakiKK commented 3 years ago

This games works for me with SLR enabled.

@ZyanKLee Can you please try it again? A lot has changed in the past couple of years since you first reported this issue. And I also see that in the initial log that you posted you had CClientJobGatherRuntimeInformation: container read output failed, meaning that the Steam Linux Runtime was not working correctly on your system.

kisak-valve commented 3 years ago

Closing pending feedback.