protonscr

Amnesia Dark Descent: Launcher window is empty

steamclosed duplicate3rd party game
ValveSoftware/steam-for-linux#496 · opened 2013-01-01 by OliverSwift · updated 2013-01-01 · 8 comments · github
OOliverSwift 2013-01-01 github

Hello,

Starting Amnesia from Steam a window pops up but there is nothing in it (you can see its background content) as shown on this screenshot:
DarkDescentLauncher

From the command line Steam outputs:
Game update: AppID 57300 "Amnesia: The Dark Descent", ProcID 20074, IP 0.0.0.0:0
SteamUpdateUI: An X Error occurred
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 20 (X_GetProperty)
Resource id in failed request: 0x3000079
Serial number of failed request: 12958
Checking libraries .. done
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
X_ChangeProperty: BadValue (integer parameter out of range for operation) 0x0
Installing breakpad exception handler for appid(steam)/version(1355957371_client)
Installing breakpad exception handler for appid(steam)/version(1355957371_client)

I just had to press Space Bar to start the game, it was a guess, then everything is fine.

Window Manager: KDE

System config:

Processeur :
Fabricant : GenuineIntel
Vitesse : 2668 MHz
4 processeurs logiques
4 processeurs physiques
HyperThreading : Non pris en charge
FCMOV : Pris en charge
SSE2 : Pris en charge
SSE3 : Pris en charge
SSSE3 : Pris en charge
SSE4a : Non pris en charge
SSE41 : Pris en charge
SSE42 : Pris en charge

Réseau :
Vitesse du réseau :

Version Windows :
Ubuntu 12.04.1 LTS (32 bits)
Nom du noyau : Linux
Version du noyau : 3.2.0-35-generic-pae
Éditeur du serveur X : The X.Org Foundation
Version du serveur X : 11103000

Carte vidéo :
Pilote : NVIDIA Corporation GeForce GTS 250/PCIe/SSE2

Version du pilote : 3.3.0 NVIDIA 310.14
Profondeur de couleur du bureau : 24 bits par pixel
Taux de rafraîchissement du moniteur : 59 Hz
ID fabricant : 0x10de
ID périphérique : 0x615
Nombre de moniteurs : 1
Nombre de cartes vidéo logiques : 1
Résolution de l'affichage principal : 1680 x 1050
Résolution du bureau : 1680 x 1050
Taille de l'affichage principal : 18.66" x 11.65" (21.97" diag)
                                        47.4cm x 29.6cm (55.8cm diag)
Bus principal : PCI Express 16x
Mémoire vidéo principale : 1024 Mo
Modes MSAA pris en charge : 2x 4x 8x 16x 

Carte son :
Périphérique audio : VIA VT1708S

Mémoire :
RAM : 4022 Mo

Divers :
Langue de l'interface : Français
LANG: fr_FR.UTF-8
Micro : Not set
Espace disque total disponible : 225178 Mo
Plus grand bloc disponible sur le disque dur : 17925 Mo

Logiciel installé :

Rapports d'échec récent :
Tue Jan 1 00:21:57 2013 GMT: file ''/tmp/dumps/assert_20130101012144_1.dmp'', upload yes: ''CrashID=bp-00d7127d-0a96-447d-9643-353c92121231''
Tue Jan 1 00:22:10 2013 GMT: file ''/tmp/dumps/assert_20130101012157_2.dmp'', upload yes: ''CrashID=bp-33e20582-ca14-4ae2-b490-7b2342121231''
Tue Jan 1 00:22:24 2013 GMT: file ''/tmp/dumps/assert_20130101012212_3.dmp'', upload yes: ''CrashID=bp-e86ce37e-e2c9-4fdb-a01b-3151c2121231''

OOliverSwift 2013-01-01 github

Note: when I start it manually it shows up properly! No more Bad Window Parameter error message.

olivier@Dilbert:~/.local/share/Steam/SteamApps/common/Amnesia The Dark Descent$ ./run_steam.sh

MMrSchism 2013-01-01 github

Now that it's run correctly, can you reproduce the issue the way you had encountered it before?

OOliverSwift 2013-01-01 github

Yes. From Steam window always appears as empty, the launcher only properly shows up when run manually.
It doesn't work either with the shorcut (desktop file), but nothing surprising here since the shorcut launches the game through steam app. The game icon is missing by the way (steam_icon_57300).
It was not a first run issue.

Oolavd 2013-01-01 github

Caused by the Steam overlay, and disabling it for this game will render the window correctly. Used this set-up: https://gist.github.com/4377544, which are quite different from OliverSwift's. I also tried with and without KDE4 effects.

OOliverSwift 2013-01-01 github

Thank you Olav! Without Steam Overaly the launcher does appear correctly now.
I confirm, issue is also reproduced regardless of compositing settings.

OOliverSwift 2013-01-01 github

Actually it does come with a game icon, only it is 256x256:
~/.local/share/icons/hicolor/256x256/apps/steam_icon_57300.png
steam_icon_57300

Oolavd 2013-01-01 github

My bad. I have now configured the desktop to use 256, and it picked up everything.

MMrSchism 2013-01-01 github

This appears to be a variant of #446

Nothing extracted yet.