protonscr

Portal 2 (Beta) not run under Fedora 20 x64

steamclosed reviewed
ValveSoftware/steam-for-linux#3174 · opened 2014-02-26 by NTMan · updated 2014-07-18 · 7 comments · github
NNTMan 2014-02-26 github

Game update: AppID 620 "Portal 2 (Beta)", ProcID 3196, IP 0.0.0.0:0
ERROR: ld.so: object '/home/mikhail/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
/bin/sh: /home/mikhail/.local/share/Steam/SteamApps/common/Portal 2/portal2.sh: /bin/bash^M: bad interpreter: No such file or directory
CGameStreamThread: Added instance ID 3196 for appid 620
CGameStreamThread: Set render instance ID 3196 for appid 620

Processor Information:
Vendor: GenuineIntel
CPU Family: 0x6
CPU Model: 0x3c
CPU Stepping: 0x3
CPU Type: 0x0
Speed: 3900 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:
"Fedora release 20 (Heisenbug)" (64 bit)
Kernel Name: Linux
Kernel Version: 3.13.5-200.fc20.x86_64
X Server Vendor: Fedora Project
X Server Release: 11404000
X Window Manager: GNOME Shell
Steam Runtime Version: steam-runtime-release_2014-02-05

Video Card:
Driver: Intel Open Source Technology Center Mesa DRI Intel(R) Haswell Desktop

Driver Version:  3.0 Mesa 9.2.5
OpenGL Version: 3.0
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID:  0x8086
DeviceID:  0x412
Number of Monitors:  1
Number of Logical Video Cards:  1
Primary Display Resolution:  1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 20,04" x 11,26"  (22,95" diag)
                                        50,9cm x 28,6cm  (58,3cm diag)
Primary VRAM Not Detected

Sound card:
Audio device: Intel Haswell HDMI

Memory:
RAM: 32064 Mb

Miscellaneous:
UI Language: English
LANG: en_US.utf8
Microphone: Not set
Total Hard Disk Space Available: 2816556 Mb
Largest Free Hard Disk Block: 210668 Mb

Installed software:

Recent Failure Reports:

Fferranobon 2014-02-26 github

Same happens in Debian Jessie. Only the following error message is found:

portal2.sh: /bin/bash^M: bad interpreter.

When executing through "sh ./portal2.sh" then the following error shows up:

"/portal2.sh: 16: ./portal2.sh: Syntax error: "elif" unexpected (expecting "then")"

Jjoerg 2014-02-26 github

Well, whoever wrote this script can not have tested it even once on linux:

  • Line endings are windows style.
  • GAMEEXE is not set for linux, only osx

Once these bugs are fixed I still get a "Failed to load launcher DLL" error.

Ddavidw-valve maintainer 2014-02-26 github

Did you follow the instructions in the README and opt yourself in to the beta? You need to do this otherwise it won't work.

WWhyNotHugo 2014-02-27 github

What README? The game is installed normally via Steam.
portal2.sh needs to be saved with LF and line endings, not CR+LF.

There's also no README included:
find ~/.local/share/Steam/SteamApps/common/Portal\ 2/ -iname README

Even after fixed the line feeds, the script has other errors regarding mixing 64/32bit libs. After symlinking to 64bit ones, another error is given.

I'm on ArchLinux amd64.

Fferranobon 2014-02-27 github

It also confused me. My bet is that he is referring to the online one on github:
https://github.com/ValveSoftware/portal2

Ddavidw-valve maintainer 2014-02-27 github

Yes, please refer here for instructions: https://github.com/ValveSoftware/portal2

You need to opt-in to the beta in Steam to play Portal2 on Linux right now.

WWhyNotHugo 2014-03-03 github

I belive it's extremely confusing because the game appear in the library and is installable right from Steam, but DOES NOT work as is; one needs to come across the github readme to get it to work. Is there any reason why the "(beta)" doesn't work, and we need to opt into "(beta) [beta]"?

Nothing extracted yet.