Sounds playing after game has been closed.

lhvwblhvwb Australia Join Date: 2013-10-31 Member: 188884Members, Reinforced - Shadow
Someone running NS2 on Windows (I run on Linux), mentioned that their pc was playing sounds from NS2 after they had closed the game (since the latest patch). I also experienced this issue running under Linux with pulseaudio.

In detail, I played NS2 for a few hours (on Linux with pulseaudio) before closing it and doing other things. Some time after closing NS2 (about 15 mins, so not immediately), I started hearing various NS2 sounds, such as shooting, axing, biting, music, walking, and even talking which sounded like voice communication. It sounds like I'm spectating/playing a game of NS2. Pulseaudio reports that the sound is being produced by the "chromium" application, however closing all processes related to chromium does not stop the audio, which suggests that it is not related to the problem. Closing steam does stop the sounds from playing. Running steam again is fine, however if I open up NS2 and join a server the sound starts again, still apparently from "chromium", in addition to normal NS2 sound from the ALSA plugin which NS2 uses to play sound using pulseaudio on linux. Restarting my audio server - pulseaudio - appears to have stopped the sounds from occurring when I run NS2 again.

So far it has not happened again, although since someone else reported similar issues I thought I'ld mention them here in case others have a similar problem. It's rather annoying and distracting to hear what sounds like an entire NS2 game playing when the game itself is closed, although I can mute it. I will do some debugging and report further if it occurs again. My first guess was that NS2 or a mod (I had played on Diamond gamers which has so many mods) had opened some hidden steam window playing a video, although I did not see any relevant processes.

Comments

  • GhoulofGSG9GhoulofGSG9 Join Date: 2013-03-31 Member: 184566Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Reinforced - Supporter, WC 2013 - Supporter, Pistachionauts
    Hi,

    thanks for reporting this issue.

    Could you maybe get us a record of that sound and check if there are any fmod threads still running when this happens. I would actually guess it's the steam web helper we use for in-game HTML rendering so maybe also try to see if terminating that process stops the sound.

    I also opened a ticket at our bug tracker and assigned remi (who last worked at the html renderer) to it

  • mockmock Germany Join Date: 2014-03-28 Member: 195015Members, NS2 Playtester
    Spooky! So I was not imagining things... Because, you see, I heard voices, too (and had not have very much sleep the last few days)!

    And to make it even spookier: I had not even played the game today, it happened 5 minutes after booting the PC. I heard sounds like I was spectating a game, but I could not find the source! No browser open, and in Steam there was only the friends list and the library open. NS2 was still on the beta branch from last Monday's PT. It stopped after I killed Steam.

  • GhoulofGSG9GhoulofGSG9 Join Date: 2013-03-31 Member: 184566Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Reinforced - Supporter, WC 2013 - Supporter, Pistachionauts
    edited October 2016
    mock wrote: »
    Spooky! So I was not imagining things... Because, you see, I heard voices, too (and had not have very much sleep the last few days)!

    And to make it even spookier: I had not even played the game today, it happened 5 minutes after booting the PC. I heard sounds like I was spectating a game, but I could not find the source! No browser open, and in Steam there was only the friends list and the library open. NS2 was still on the beta branch from last Monday's PT. It stopped after I killed Steam.

    Could it be steam streaming went wild o.O . Would be great if we could confirm if it has something to do with ns2 or steam itself.
  • lhvwblhvwb Australia Join Date: 2013-10-31 Member: 188884Members, Reinforced - Shadow
    Good to hear that someone else is at least as insane as I am. ;) So far I haven't managed to reproduce the issue again. I have never used steams streaming features, nor have I had a similar issue with other games, possibly an issue with steam though.
  • lhvwblhvwb Australia Join Date: 2013-10-31 Member: 188884Members, Reinforced - Shadow
    edited October 2016
    Okay, so I managed to reproduce the issue, meaning that at some point (about 30mins this time) after closing NS2 (although maybe NS2 doesn't need to have been opened for this to occur) the same issue occurred as described above. I listened to the sounds for longer and it is definitely a tutorial video, after the combat sounds and voice comms (which are apparently an introduction), I hear a lengthy description of how to play a fade, describing their abilities including when they are unlocked, energy use, dmg and how to use them effectively (for at least 5 mins). After a brief pause it started playing another general tutorial about NS2, which sounds like an introduction to the game for rookies. And then it started playing a introduction tutorial but this time in French. Then a tutorial by "It's super effective" from "Tactical Operations" about commanding in NS2.

    My guess is that somehow NS2 is playing a bunch of audio files located in it's game folder in some consistent order, although it would be good if someone could confirm that there are in fact audio files matching those described located in NS2.

    As previously mentioned I cannot see any NS2 processes open ("ps -A | grep ns2" returns nothing, although I might be missing a thread), again there were a number of steam related processes none of which seem related, unfortunately I managed to kill steam by killing steamwebhelper processes while seeing if it was any of them, which meant that I had to restart steam, then my NS2 audio bugged so I had to restart pulseaudio and the tutorial sound is no longer playing. I'll post a list of processes next time it happens.

    (Side note: NS2 audio bugging is due to a different issue, likely related to the fact that I'm running on a linux distro with a newer pulseaudio/alsa version to the one provided by SteamOS and Ubuntu. Occasionally when playing NS2 the alsa plugin for pulseaudio loses connction to the pulseaudio server, while I can see it trying to reconnect using a tool such as pavucontrol it will drop almost immediately , resulting in distorted sound from NS2, this continues even after restarting NS2. Only restarting pulseaudio appears to fix this. This is likely a problem in the ALSA plugin, FMOD or even audio drivers rather than NS2 itself. )
  • lhvwblhvwb Australia Join Date: 2013-10-31 Member: 188884Members, Reinforced - Shadow
    edited October 2016
    Okay, so looking at the training section of NS2, I'm pretty sure that it's playing audio from the Tutorial "Introduction" video as well as the "Tip Clips" videos. Ironically when playing these within NS2 I don't have any audio for them, despite all other NS2 sounds working fine as far as I can tell, and there are no related error messages in the NS2 console.
  • lhvwblhvwb Australia Join Date: 2013-10-31 Member: 188884Members, Reinforced - Shadow
    Confirmed in a pub that this has happened to several other people (>4), I believe that they were all on windows and could also mute the offending sounds (apparently by muting steamwebhelper).
  • GhoulofGSG9GhoulofGSG9 Join Date: 2013-03-31 Member: 184566Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Reinforced - Supporter, WC 2013 - Supporter, Pistachionauts
    edited October 2016
    lhvwb wrote: »
    Confirmed in a pub that this has happened to several other people (>4), I believe that they were all on windows and could also mute the offending sounds (apparently by muting steamwebhelper).

    Thanks for those details yeah it sound very much like the in-game html renderer doesn't get terminated correctly and continues to play you tube videos etc. .
  • gLovegLove Join Date: 2016-10-13 Member: 223099Members
    edited October 2016
    This is also happening to me but it happens as soon as I start Steam, I don't even need to have launched the game.
  • lhvwblhvwb Australia Join Date: 2013-10-31 Member: 188884Members, Reinforced - Shadow
    edited October 2016
    Happened again, this time I confirmed that a "steamwebhelper" process was causing the sound as killing it stopped the sound, this time without killing steam.

    Following is output of all children of the initial steam process 6286 from "ps -Al", don't worry too much about the first few processes as they are mostly bash scripts required to run steam and steam games within the user chroot required by my strange linux distribution. Process 8989, which was started well after the others is the offending process and it was not started while NS2 was running, consistent with reporting from others that NS2 doesn't even need to have been opened.
    F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
    0 S 1000 6286 1 0 80 0 - 31227 wait ? 00:00:00 bash
    0 S 1000 6289 6286 0 80 0 - 39398 wait ? 00:00:00 6dv60pfc3an6szf
    4 S 1000 6292 6289 0 80 0 - 29529 wait ? 00:00:00 steam
    0 S 1000 6316 6292 0 80 0 - 31335 wait ? 00:00:00 bash
    0 S 1000 6317 6292 0 80 0 - 31182 pipe_w ? 00:00:00 tee
    0 S 1000 6392 6316 1 80 0 - 104800 poll_s ? 00:00:20 steam
    1 S 1000 6400 6392 0 80 0 - 35183 wait ? 00:00:00 steam
    0 S 1000 6401 6400 0 80 0 - 132943 poll_s ? 00:00:02 steamwebhelper
    0 S 1000 6404 6401 0 80 0 - 34504 poll_s ? 00:00:00 steamwebhelper
    1 S 1000 6512 6404 0 80 0 - 71580 futex_ ? 00:00:00 steamwebhelper
    1 S 1000 8989 6404 4 80 0 - 105482 futex_ ? 00:00:04 steamwebhelper
  • GhoulofGSG9GhoulofGSG9 Join Date: 2013-03-31 Member: 184566Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Reinforced - Supporter, WC 2013 - Supporter, Pistachionauts
    Copy & paste from the steam forum:

    Could somebody who has this issue go in Steam to Help -> About Steam and post the built date of the used Steam client.

    Afterwards it would be great if somebody could check if the issue gets resolved by the using the latest Steam Beta build (Steam -> Settings then hit the Change button in the Account tab and select the Steam Beta Update and click OK).

    Also please provide a tech_support.zip if possible
  • remiremi remedy [blu.knight] Join Date: 2003-11-18 Member: 23112Members, Super Administrators, Forum Admins, NS2 Developer, NS2 Playtester
    Can someone who is having this issue try doing this in the Steam settings to see if it fixes it?

    fixRandomSounds.JPG.jpg
  • ArchieArchie Antarctica Join Date: 2006-09-19 Member: 58028Members, Constellation, Reinforced - Supporter, WC 2013 - Supporter
    edited October 2016
    I suspect i know what the issue is, but i don't think it's a good place to mention it :) Message me @IronHorse
  • postalbobpostalbob Join Date: 2012-02-29 Member: 147772Members
    I noticed when i moused over the workshop videos in the steam game page it would open and autoplay videos in a sneaky tiny disappearing window. Sounds stop after closing steam.
  • KeatsKeats United States Join Date: 2014-11-04 Member: 199413Members, NS2 Playtester, Reinforced - Shadow
    Just got this bug. The sound didn't last long, so I might not have gotten the tech_support in time. Here it is: google drive tech support
Sign In or Register to comment.