lichess.org
Donate

Lichess kills sound on computer

The lichess move sounds sometimes stop working in blitz games. Anyone else getting this?
<Comment deleted by user>
Try chrome/Yandex/other webbrowsers on wiki list.
Exit (close) your browser completely and then re-start the browser and the sound will come back.
That works for me. It is annoying because I have to do this after each blitz game I play. If I don't, I lose the sound after 88 moves.
"The lichess move sounds sometimes stop working in blitz games. Anyone else getting this?"

Yes, and it's only on lichess.
I have this disappearing sound issue as well.

I play using latest Firefox on Win 7, and this phenomenon only occurs while playing lichess.

For some reason Win 7 claims there is not enough memory to run apps like Windows Media Player when this is happening, although there are many gigs of memory assigned to Standby which should be released and reused if needed to run something else. (Checked with Win 7 resource monitor and also the RAMMap app from Sys Internals.)

It is hard to imagine what explanation there could be for this, but possibly some kind of memory leak in lichess that pushes Firefox to grab free memory until it reaches a point that Win 7 cannot handle gracefully, even with the Standby pool being large. Why that would affect sound in particular is a mystery though.

Emptying the memory allocated to standby (which is something you can do with RAMMap) seems to prevent this sound issue from happening for a while, but only until such time as Windows has allocated standby memory again, which can be relatively quick as Win regards this as pre-caching stuff that you are likely to run in the future, and aims to keep it near-full.
jvs, you seem to know what you're talking about.

Can you please join the #lichess IRC channel on freenode so we can discuss and resolve the issue? I need your help, because it seems like it only happens on windows, which I don't have.
Good to know that I'm not the only one.
It kills video-sounds on any media-player and streaming-sites.
But game-sounds are still ok. For example when I play Wacraft 3.
It usually gets temporarily fixed as well by uninstalling and reinstalling adobe flashplayer.
But in the end, I just turned off the sounds, cause it got way too annoying.
I could reproduce a memory leak and found a workaround, this is most probably the issue that disables sound. I could only reproduce it on Windows 7 32-bit with Firefox (Vista is probably affected too).

I haven't seen anyone in this thread having this problem with chrome, there were a sound issue some month(s) ago with chrome that should be fixed

Apart from switching to chrome or installing the hotfix, is seems to help by disabling sound enhancements and restarting firefox.
Control Panel -> Hardware and Sound -> Sound. Double click on Speakers, go to the Sound Blaster tab and check Disable Enhancements. Or with pictures:
http://technicallyeasy.net/2010/09/how-to-disable-audio-enhancements-windows-7/

This hotfix might work too but i didn't test it: http://support.microsoft.com/kb/981013

---------- debugging notes ----------
Windows 7 Ultimate 64-bit Without hotfix KB981013
audiodb.exe 6.1.7600.16385
Chrome 39.0.2171.95 m and Firefox 34.0.5: can't reproduce, tested multiple tabs http://en.lichess.org/tv for 15 minutes. audiodb goes up a few MB then down when closing tabs.
Internet explorer 8: inconclusive results, recommend uninstall

---

Windows 7 Ultimate 32-bit Without hotfix
(everything the same version but 32-bit)
audiodb.exe 6.1.7600.16385
Chrome 39.0.2171.95 m: can't reproduce
Firefox 34.0.5: I can reproduce the memory leak, audiodb goes from 15MB to 800MB, about 1MB per move or more. The sound never went away, but it only has 2GB ram so couldn't really test more. Went down to 30MB when closing fx completely.

hasOgg="probably", hasMp3="maybe"
I forced it to use mp3 instead of ogg, with a cleanly restarted audiodb process but still has the leak.

Restarting service Audiosrv helps with the memory leak and could give sound back.
Hi,

I tried that with Mozilla, but after a little more time the sound was gone.:(

This topic has been archived and can no longer be replied to.