I have this problem: When playing a PC game via wine while listening to music with let's say Amarok, there's no sound in the PC game anymore. It's like the sound channel is occupied by the music player so wine cannot playback any soundfiles. Sounds are working if I play a Linux game like Nexuiz while running some music via a music player (ok, completely different, I know, but still...), so I suppose that there's a way to get this too work, but I cannot guess how. Does somebody have any idea? Or is this a current issue which needs some sort of fix?
Dark Mayu wrote:> I have this problem: When playing a PC game via wine while listening to music with let's say Amarok, there's no sound in the PC game anymore. It's like the sound channel is occupied by the music player so wine cannot playback any soundfiles. > Sounds are working if I play a Linux game like Nexuiz while running some music via a music player (ok, completely different, I know, but still...), so I suppose that there's a way to get this too work, but I cannot guess how. Does somebody have any idea? Or is this a current issue which needs some sort of fix?Hi, what's your distro? More importantly, do you use a mixer? Do you use OSS or ALSA? (check winecfg). That's probably due to the fact that Wine gets direct access to the hw (or semidirect, through, say, OSS). I, myself, use Alsa with Pulseaudio enabled.
Dark Mayu
2009-Jun-17 16:10 UTC
[Wine] Re: Playing Games with Wine while listening to music
wow, now I learned something new again, thanks James Huk^^. Well, 1st back to aoss: Code: aoss wine quake2.exe ERROR: ld.so: object '/usr/$LIB/libaoss.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/$LIB/libaoss.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/$LIB/libaoss.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/$LIB/libaoss.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/$LIB/libaoss.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/$LIB/libaoss.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/$LIB/libaoss.so' from LD_PRELOAD cannot be preloaded: ignored. This is the error I get so I suppose that I'm missing dependencies or something else. The app (in this case quake2) works, but won't mix with another soundsoucre. Since there're not many win-games I'm playing on linux (actually only quake 2 and homeworld 2, others have to be played on my winxp partition), I do not bother using another application layer. When changing winecfg to use alsa, I get sounds while running amarok, but those sounds sound like garbage. My soundcard (which is an onboard chip, SoundMax I think, the 2nd one ATI HDMI but attached to the speakers) is able to mix. I mentioned that any game compiled on linux like Doom 3 or warzone works normally even when running amarok. Also, when I used windows, it worked, too, so I think it should also be possible on Linux. But from my investigations, I learned that this issue was a long-time-bug... I wonder if there's a solution for it? As James Huk mentioned above, it would work if I could fix Alsa, after all, I get sound with it, too, it's just garbage (while amarok when set to use alsa works normally).