protonscr

[CS:S] SteamAPI_Init() failed; no appID found.

steamclosed reviewedMOVED: Counter-Strike: Source
ValveSoftware/steam-for-linux#1335 · opened 2013-02-06 by lzap · updated 2013-02-08 · 28 comments · github
2 matching comments, n / p to jump
Llzap 2013-02-06 github

When I try to launch my brand new CS:S installation on Fedora 18 64bits, ThinkPad X201, Intel 3000 laptop, I get black screen and the error message:

Running with -windowed mode. This is the error message:

Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
[S_API FAIL] SteamAPI_Init() failed; no appID found.
Either launch the game from Steam, or put the file steam_appid.txt containing the correct appID in your game folder.
Aam1github 2013-02-06 github

I can confirm this issue by uploading a file to Dropbox (2.15 MB).

It contains the whole log, from starting the game with ./hl2.sh -game cstrike to ending the game by chosing Quit and press enter. (i know the layout from some years ago ;-) )

Seems everthing works (sound, menu, intro, ...) except the screen. I've got black screen too.

My system is a gentoo 64bit

  • kernel: 3.6.11-gentoo
  • cpu: intel core2duo su7300
  • gpu: intel gma 4500mhd
  • xorg: 1.13.1
  • mesa: 9.0.1
  • xf86-video-intel: 2.20.13

Get the logfile! ----- http://dl.dropbox.com/u/99061936/steam_hl2_cstrike.log
Size: 2.15MB

Let me know, if you need more info.

Kind regards
Alex

Llzap 2013-02-07 github

Is is possible to create the steam_appid.txt file manually as a workaround? I googled it and it seems I just need to put some number there. Thanks!

Bbdeen-valve maintainer 2013-02-07 github

It's hard to tell from the comments here, but are you actually launching it from Steam and getting the SteamAPI_Init() error? Or are you trying to launch it manually?

As for the black screen, it's the Intel drivers. Do you have their latest drivers?

Jjohndrinkwater 2013-02-07 github

I seem to recall some people were having this issue with an out-of-date bootstrapper, make sure you have the latest distro-specific update of steam.deb, might fix this.

Llzap 2013-02-07 github

Will check, thanks. Here is what I have:

$ rpm -q steam xorg-x11-drv-intel
steam-1.0.0.21-1.fc18.i686
xorg-x11-drv-intel-2.20.19-1.fc18.x86_64
xorg-x11-drv-intel-2.20.19-1.fc18.i686

It looks like steam is one version behind (we did not have any repo for Fedora, but it seems "spot" is back).

Llzap 2013-02-07 github

Oh I am launching it with:

./hl2.sh -windowed -game cstrike -windowed

because I want to see the output. Launching it via Steam hides it for me - and I want to see what is wrong (I see only black screen).

Ok updating steam to 1.0.0.22-1 did not help :-(

Bbdeen-valve maintainer 2013-02-07 github

On Steam, check Help->About Steam. The date listed should be Feb 5th. If it's not, then you're either not enlisted in the linux steam beta, or you've not updated your steam binary.

Bbdeen-valve maintainer 2013-02-07 github

Pretty sure Steam's package is 1.0.0.23...

MMajkl578 2013-02-07 github

Latest (public) steam .deb package is 1.0.0.22, both in repo and in downloads on the web.

Llzap 2013-02-07 github

Mine is .22 and in the About box I see Feb 5. Anyway this must be an intel driver issue (again) :-(

So we can close perhaps.

Aam1github 2013-02-07 github

Ok, i'm launching it from console (manually) to see the errors too.

Built: Feb 5 2013, at 14:52:26
Steam API: v012
Steam package versions: 1360108773 / 1360107...

How can i figure out, which steam.deb is being used?

Changing the kernel from gentoo-sources to vanilla-sources brings nothing. :-(

MMajkl578 2013-02-07 github

Try this:

cat /usr/bin/steam | grep VERSION

It should be equivalent to .deb version.

Aam1github 2013-02-07 github

@Majkl578 : Thanks!

export STEAMSCRIPT_VERSION=100022

Llzap 2013-02-07 github

Got the same:

cat /usr/bin/steam | grep VERSION
export STEAMSCRIPT_VERSION=100022
Llzap 2013-02-07 github

@bdeen-valve so can you confirm the black screen is because of our drivers? Isn't there a workaround? Like changing a setting or something to get it working.

Aam1github 2013-02-07 github

Upgrading to =x11-drivers/xf86-video-intel-2.21.0 brings nothing too.

Nothing changed with all useflags enabled: dri sna udev uxa xvmc glamor :-1: hmpf...

Aam1github 2013-02-07 github

Ok, seems like this bug is a duplicate to [#150](https://github.com/ValveSoftware/steam-for-linux/issues/150)

Short answer from a user in the above issue-thread [#150](https://github.com/ValveSoftware/steam-for-linux/issues/150#issuecomment-11645144): Its because our graphic-cards does only support OpenGL 2.1, but CS:S needs OpenGL 3.1. It needs a driver-patch.

Read for your own in the main-thread [#19](https://github.com/ValveSoftware/steam-for-linux/issues/19).

I hope it will be fixed, waiting so long for this game running under native linux. :+1:

Llzap 2013-02-07 github

Thanks, you have no luck (using GMA), but I do have an Intel Sandy Bridge (HD 3000) which supports OpenGL 3.1. And I do have Mesa 9 and quite new drivers, so I dont get where is the issue.

Bbdeen-valve maintainer 2013-02-07 github

I wish there was a workaround, but I don't know of one.

You should read through https://github.com/ValveSoftware/steam-for-linux/blob/master/README.md to see if what graphics card you're running will work or not.

Also, for those of you running the open sourced AMD or Intel drivers, we know those do not work.

To figure out what version of Steam you're running you can ask apt.
apt-cache policy steam

Aam1github 2013-02-07 github

Okay, I GOT IT !!

Thread [#19](https://github.com/ValveSoftware/steam-for-linux/issues/19):

export MESA_GLSL_VERSION_OVERRIDE=130

Now, i have some pictures but sometimes a little bit ugly-broken-pictures...
Will try to figure out, how to optimize... :+1:

Aam1github 2013-02-07 github

@bdeen-valve : I've a logfile for you, with the current working procedure. Can you any good to you?

I've recorded a video too. Both on Dropbox.

Logfile Size: 5,1 KB
Video Size: 27,4 MB | Quality: SD480

Seems like, this a mesa-issue?!

Jjohndrinkwater 2013-02-07 github

@seves985 that export will allow you to fool the game into thinking your card+driver has support, but it doesn’t really. Intel accept bug reports here https://01.org/linuxgraphics/documentation/how-report-bugs-0 though a better long‐term solution for you would be to upgrade.

Aam1github 2013-02-07 github

@johndrinkwater : :+1: Thanks!

Llzap 2013-02-07 github

Ok I think I need wait for http://lists.freedesktop.org/archives/intel-gfx/2013-February/024277.html to be built for Fedora.

Bbdeen-valve maintainer 2013-02-07 github

@seves985: Ok, that was cool. Did I see that right and your video was upside down and backwards? ha! Ya, you've got some issue with your video driver/card. Telling your card to lie about what it can do will end up with weird issues like this.

Bbdeen-valve maintainer 2013-02-07 github

I'm not sure what else to do with this bug. It started out with launching games by hand...not really supported. You should launch them through Steam.
It's morphed into a dogs breakfast of driver issues. I think these are best covered by a bunch of existing bugs.

Aam1github 2013-02-08 github

@lzap : Doesn't help in gentoo, because there 2.21.0 is already launched - nothing has changed. :-1:

Aam1github 2013-02-08 github

I've reported a bug on freedesktop:
https://bugs.freedesktop.org/show_bug.cgi?id=60481