http://bugs.winehq.org/show_bug.cgi?id=27453
Summary: Lag when loading new sound in source games Product: Wine Version: 1.3.21 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: congelli501@gmail.com
When you start a level in a game powered by valve's source engine, sounds that are played for the first time since the game was launched will cause the game to lag. Ex: open a new portal for the first time in a Portal2 level.
Affects: - Portal 2 - Left 4 Dead 2 - Probably more...
http://bugs.winehq.org/show_bug.cgi?id=27453
thehoome thehoome.prototype@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #1 from thehoome thehoome.prototype@gmail.com 2011-07-19 04:04:15 CDT --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=27453
thehoome thehoome.prototype@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thehoome.prototype@gmail.co | |m
--- Comment #2 from thehoome thehoome.prototype@gmail.com 2011-07-19 04:04:52 CDT --- I can confirm this bug, also happens in Team Fortress 2 and Half Life 2
http://bugs.winehq.org/show_bug.cgi?id=27453
Enrico Enrico_m@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Enrico_m@gmx.de
http://bugs.winehq.org/show_bug.cgi?id=27453
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #3 from Dan Kegel dank@kegel.com 2011-07-19 09:59:10 CDT --- Are you sure it's sounds? Might also be shaders.
http://bugs.winehq.org/show_bug.cgi?id=27453
--- Comment #4 from congelli501 congelli501@gmail.com 2011-07-19 11:51:34 CDT --- The lags appear for things that doesn't seem to use shader effects, like reloading a weapon, so I think it's about the sounds.
http://bugs.winehq.org/show_bug.cgi?id=27453
Brandon Howard FinalCrisisSX@Hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |FinalCrisisSX@Hotmail.com
--- Comment #5 from Brandon Howard FinalCrisisSX@Hotmail.com 2011-07-22 01:01:33 CDT --- Has the OP tried disabling GLSL shaders via regedit or winetricks? I had this same issue and that resolved it. A few others in the wine tf2 comment section report similar results, though one other says it had no change for him (I have to wonder if it was done correctly though).
http://bugs.winehq.org/show_bug.cgi?id=27453
--- Comment #6 from thehoome thehoome.prototype@gmail.com 2011-07-22 04:40:24 CDT --- Well, i tryed to disable GLSL, inproved, but, not solve it at all, some parts still frozen.
I also belivr that is connect with the sounds and not with the shadows, do a simple test l, open a teM fortress 2 or other source multiplayer game ane load a empty map, wait some seconds to all sounds os the map load, and, dont walk or shot, so, turn your camera to everywhere, since camera dont have sounds when you move, dont have lag, but, ir you fire or move, even after the map completly load, you gonna freezy.
Now im in my cellphone, and i cant run any tests from here, but, when i get back to my computer, i will run some tests and provide more useful information.
http://bugs.winehq.org/show_bug.cgi?id=27453
Nephyrin zey Nephyrin@nephyrin.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Nephyrin@nephyrin.net
--- Comment #7 from Nephyrin zey Nephyrin@nephyrin.net 2011-08-13 16:49:19 CDT --- I get this bad stuttering, but disabling GLSL solves it. non-GLSL mode is slightly laggier, but there are no more lag spikes.
Disabling sound entirely doesn't fix the stuttering, so I see no reason to believe this is sound related.
http://bugs.winehq.org/show_bug.cgi?id=27453
--- Comment #8 from congelli501 congelli501@gmail.com 2011-08-14 06:09:30 CDT --- (In reply to comment #7)
Disabling sound entirely doesn't fix the stuttering, so I see no reason to believe this is sound related.
How did you diabled the sound ? There are great chances that even with no sound (volume off / mute) the sounds are loaded into memory and even played by the computer.
http://bugs.winehq.org/show_bug.cgi?id=27453
--- Comment #9 from Nephyrin zey Nephyrin@nephyrin.net 2011-08-14 14:41:22 CDT --- (In reply to comment #8)
(In reply to comment #7)
Disabling sound entirely doesn't fix the stuttering, so I see no reason to believe this is sound related.
How did you diabled the sound ? There are great chances that even with no sound (volume off / mute) the sounds are loaded into memory and even played by the computer.
You can start the game with the '-nosound' command line option to disable the sound system completely. That aside, I don't get these stutters with GLSL off, so it seems a much more likely culprit.
Are you using nvidia binary drivers, by chance?
http://bugs.winehq.org/show_bug.cgi?id=27453
Kristopher Henry Kram kristopherkram@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kristopherkram@gmail.com
--- Comment #10 from Kristopher Henry Kram kristopherkram@gmail.com 2011-09-12 09:26:28 CDT --- (In reply to comment #9)
(In reply to comment #8)
(In reply to comment #7)
Disabling sound entirely doesn't fix the stuttering, so I see no reason to believe this is sound related.
How did you diabled the sound ? There are great chances that even with no sound (volume off / mute) the sounds are loaded into memory and even played by the computer.
You can start the game with the '-nosound' command line option to disable the sound system completely. That aside, I don't get these stutters with GLSL off, so it seems a much more likely culprit.
Are you using nvidia binary drivers, by chance?
OS: Gentoo Linux wine --vesrsion: 1.3.28 nvidia-drivers: 270.41.19
I have the same bug on my system and putting -nosound in advanced options defiantly fixed the issue.
http://bugs.winehq.org/show_bug.cgi?id=27453
ComputerDruid@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ComputerDruid@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=27453
leech@deathgrab.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leech@deathgrab.com
http://bugs.winehq.org/show_bug.cgi?id=27453
--- Comment #11 from leech@deathgrab.com 2011-12-28 11:52:22 CST --- I can confirm that I also have this bug on Team Fortress 2 and Dota 2 making competitive play impossible.
OS: openSUSE 12.1 64 bit wine: 1.3.35 nvidia binary driver: 290.10
http://bugs.winehq.org/show_bug.cgi?id=27453
--- Comment #12 from leech@deathgrab.com 2012-01-01 14:57:52 CST --- (In reply to comment #11)
I can confirm that I also have this bug on Team Fortress 2 and Dota 2 making competitive play impossible.
OS: openSUSE 12.1 64 bit wine: 1.3.35 nvidia binary driver: 290.10
The lag on sounds seems to be gone for me since 1.3.36. Test in TF2 and Dota 2.
Still get random crashes in Dota 2 with PA enabled, but that is another issue.
http://bugs.winehq.org/show_bug.cgi?id=27453
--- Comment #13 from Brandon Howard FinalCrisisSX@Hotmail.com 2012-01-05 07:33:52 CST --- (In reply to comment #12)
The lag on sounds seems to be gone for me since 1.3.36. Test in TF2 and Dota 2.
Still get random crashes in Dota 2 with PA enabled, but that is another issue.
Can anyone else confirm this? I'm especially interested in hearing from those that needed to turn off GLSL before. In TF2, it seems to work relatively smoothly with UseGLSL enabled again, but still lags for ~3 seconds the first time I jump into water. With that disabled, it clearly takes less than 1/3 of the time to recover from hanging for me, negligible. So, I don't know if it's just me or what..
http://bugs.winehq.org/show_bug.cgi?id=27453
Quids quidsup@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |quidsup@gmail.com
--- Comment #14 from Quids quidsup@gmail.com 2012-01-18 17:15:18 CST --- Confirmed this Bug affects Portal 2. Disabling GLSL made no difference.
Only improvement I did find was lowering the Audio Quality in Portal 2. The Sound still stuttered when a new Sound Effect was played, but no where near as bad as when High Quality Audio was selected.
I was able to get a decent frame rate with the Resolution at 1920x1080, all Effects and Texture settings turned up to High, and Anti-Aliasing at 4x.
Pushing the Texture settings further to Very High and Anti-Aliasing to 8x slowed frame rate slightly and resulted in increased lag with the Sound.
OS: Ubuntu 11.10 Wine: 1.3.37 nVidia Driver: 280.13 Graphics Card: nVidia GTX 560ti
http://bugs.winehq.org/show_bug.cgi?id=27453
Kelvie Wong kelvie@ieee.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kelvie@ieee.org
--- Comment #15 from Kelvie Wong kelvie@ieee.org 2012-03-30 13:35:07 CDT --- I can confirm that this crashes my system while playing Dota 2
I use:
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
with PulseAudio on Ubuntu 11.10 on my gaming machine with wine 1.4.
Occasionally, when sound is being loaded (e.g. when a hero uses a couple of abilities at the same time with new sound), it will repeat it over and over, and sometimes crash afterward.
http://bugs.winehq.org/show_bug.cgi?id=27453
Tom Englund tomenglund26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tomenglund26@gmail.com
--- Comment #16 from Tom Englund tomenglund26@gmail.com 2012-04-16 03:05:35 CDT --- this might be of interest to some to debug this issue, have yet to test it myself with the cvar snd_async_spew_blocking.
https://developer.valvesoftware.com/wiki/Soundcache
http://bugs.winehq.org/show_bug.cgi?id=27453
rmlipman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rmlipman@gmail.com
--- Comment #17 from rmlipman@gmail.com 2012-05-12 20:09:36 CDT --- (In reply to comment #15)
I can confirm that this crashes my system while playing Dota 2
I use:
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
with PulseAudio on Ubuntu 11.10 on my gaming machine with wine 1.4.
Occasionally, when sound is being loaded (e.g. when a hero uses a couple of abilities at the same time with new sound), it will repeat it over and over, and sometimes crash afterward.
That's farther than I've managed to get with Dota 2. So far I've only tried solo games and bot matches with lobbies, and I always crash on the hero select screen. I'm using pulseaudio 2.0 on Arch with wine 1.5.4
http://bugs.winehq.org/show_bug.cgi?id=27453
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #18 from joaopa jeremielapuree@yahoo.fr 2012-05-12 20:22:17 CDT --- Pulseaudio is not supported. Please, use alsa only.
http://bugs.winehq.org/show_bug.cgi?id=27453
--- Comment #19 from Tom Englund tomenglund26@gmail.com 2012-05-12 20:25:29 CDT --- (In reply to comment #18)
Pulseaudio is not supported. Please, use alsa only.
wich is fucking stupid, gnome 3 depends on it, and there is tons of distros using it by default.
(In reply to comment #17)
i fixed the constant pulseaudio crashes by setting enable-shm = no in /etc/pulse/client.conf it will introduce tiny bits of latency if your a audio nerd but a average joe does not notice it
http://bugs.winehq.org/show_bug.cgi?id=27453
--- Comment #20 from rmlipman@gmail.com 2012-05-12 21:48:04 CDT --- (In reply to comment #19)
(In reply to comment #18)
Pulseaudio is not supported. Please, use alsa only.
wich is fucking stupid, gnome 3 depends on it, and there is tons of distros using it by default.
(In reply to comment #17)
i fixed the constant pulseaudio crashes by setting enable-shm = no in /etc/pulse/client.conf it will introduce tiny bits of latency if your a audio nerd but a average joe does not notice it
I already had enable-shm = no set, but what fixed the crashes for me was setting dota.exe to be Large Address Aware. For some reason Valve didn't set it on that game, but it's set on all the others. I have 8GB of ram, and this usually fixes most of the random "unable to read memory" crashes I get in games.
And at this point this discussion is getting less about the sound lag in Source games, so I'll leave it at that.
http://bugs.winehq.org/show_bug.cgi?id=27453
Prot protoss-asi@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |protoss-asi@yandex.ru
http://bugs.winehq.org/show_bug.cgi?id=27453
marast78@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marast78@gmail.com
--- Comment #21 from marast78@gmail.com 2012-05-29 19:33:22 CDT --- Ok, my experience regarding this stutter in L4D2 I bought recently.
I've gotten similar symptoms as others. After level load, firing a weapon, changing to another one, explosions etc. all of those created that horrible stutter which was driving me mad. No engine specific precache options helped. Lowering sound to medium didn't help it either, same for -nosound.
But I noticed that if shaders are set to medium, the stutter is not even half as bad as with shaders set to high. You guessed it, GLSL=disabled fixed the problem completely. There are no visual or performance problems after disabling them either, so it seems like a perfect fix.
Btw, I still use my old Audigy2ZS with Pulseaudio running.
Specs: Q6600, GTX260 (302.11 beta), CentOS 6.2 x86_64 (2.6.32), wine 1.4.
http://bugs.winehq.org/show_bug.cgi?id=27453
Kelvie Wong kelvie@ieee.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|kelvie@ieee.org |
http://bugs.winehq.org/show_bug.cgi?id=27453
--- Comment #22 from Nephyrin zey Nephyrin@nephyrin.net 2012-05-29 22:17:56 CDT --- There is definitely resource-load stuttering in source engine games - but I see no evidence, other than the reporter's speculation, that this is sound related. Especially as nearly everyone has confirmed that -nosound does not solve the problem.
http://bugs.winehq.org/show_bug.cgi?id=27453
--- Comment #23 from congelli501 congelli501@gmail.com 2012-05-31 08:15:40 CDT --- I thought it was because of sound instead of shaders because it laged when a new sound was played, even with a very basic animation (ex: changing weapon, reloading). Moreover, if there is more than one sound for a single action (for exemple, using a gun in Left 4 Dead use different sounds), then each time a sound is played for the first time, it lags, even if the gun animation have already been played with another sound.
http://bugs.winehq.org/show_bug.cgi?id=27453
supimbao@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |supimbao@gmail.com
--- Comment #24 from supimbao@gmail.com 2012-06-19 17:43:14 CDT --- Confirming it's shaders: setting shaders to medium or low on settings greatly increases game performance and also fixes some glitches.
Hardware/software: Nvidia Geforce 9600GT Nvidia drivers 280.13 Ubuntu 11.10 wine 1.5.5
http://bugs.winehq.org/show_bug.cgi?id=27453
Luke Bratch l_bratch@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l_bratch@yahoo.co.uk
http://bugs.winehq.org/show_bug.cgi?id=27453
runetmember@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |runetmember@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=27453
Rhoki rhoki@wp.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rhoki@wp.pl
--- Comment #25 from Rhoki rhoki@wp.pl --- Still encountered in Half Life 2 Episode 2, hl2 and episode one worked brilliantly though.
https://bugs.winehq.org/show_bug.cgi?id=27453
Tom Hackers tomhackers@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tomhackers@gmail.com
--- Comment #26 from Tom Hackers tomhackers@gmail.com --- And naturally happens also in Half-life 2 based mods. wine 1.7.23.
https://bugs.winehq.org/show_bug.cgi?id=27453
--- Comment #27 from Tom Hackers tomhackers@gmail.com --- (In reply to Tom Hackers from comment #26)
And naturally happens also in Half-life 2 based mods. wine 1.7.23.
Can't reproduce lag after switching to stock linux kernel, was using bfq with linux-ck (with wine-rt). Now using stock wine 1.7.23. Also I rebuilt my soundcache https://developer.valvesoftware.com/wiki/Soundcache but that didn't fix all the stuttering, until I switched back to stock kernel.
https://bugs.winehq.org/show_bug.cgi?id=27453
--- Comment #28 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.51 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=27453
russianneuromancer@ya.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|russianneuromancer@ya.ru |
https://bugs.winehq.org/show_bug.cgi?id=27453
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #29 from super_man@post.com --- (In reply to _ from comment #24)
Confirming it's shaders: setting shaders to medium or low on settings greatly increases game performance and also fixes some glitches.
Hardware/software: Nvidia Geforce 9600GT Nvidia drivers 280.13 Ubuntu 11.10 wine 1.5.5
This has happened even with native dota 2 game. I don't know if there is anything to fix here.
https://bugs.winehq.org/show_bug.cgi?id=27453
Manoa jhopper@safe-mail.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jhopper@safe-mail.net
--- Comment #30 from Manoa jhopper@safe-mail.net --- I have this problem in wine 5.2, but it's slightly different in that when using VK renderer doesn't happen but when using GL renderer does (both tested very high shaders and GLSL enabled)
https://bugs.winehq.org/show_bug.cgi?id=27453
Linards linards.liepins@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |linards.liepins@gmail.com
--- Comment #31 from Linards linards.liepins@gmail.com --- (In reply to Manoa from comment #30)
I have this problem in wine 5.2, but it's slightly different in that when using VK renderer doesn't happen but when using GL renderer does (both tested very high shaders and GLSL enabled)
Hi.
Can you please retest on latest wine-staging 6.7?
Also, if the game is not Vulkan-native, you might post bug report in dxvk tracker (if you have DXVK installed via winetricks) ;)