Le Dimanche 15 Janvier 2006 05:48, Eric Augustus a écrit : > On Fri, Jan 13, 2006 at 09:34:32AM +0100, Etienne Imguimbert wrote: > > Dear gentoo amd64 users > > > > I've installed doom3 via the emerge command, and I have several > > problems of performance. I tried several configurations: > > > > - when I switch to alsa in doom3, I get very noisy sounds (I get > > several messages of rejected packets by alsa in the shell) > > You could try changing to the alsa PCM setting, "seta s_alsa_pcm" to > "surround51" or anything else besides "default" in your DoomConfig.cfg. I > had issues with the default setting on my setup and switched. Now I get > pretty decent sound. > > > - when I switch to oss, I get huge slowdowns in the game (I think > > there is a problem with the OSS emulation by alsa) > > > > - when playing timedemo demo1 in the doom3 prompt, I get a good number > > of fps (about 60), but this benchmark is played without sound, so I > > deduce that I have problem with sounds. > > The demo is not supposed to have sound. > > > -- > Eric Augustus > [EMAIL PROTECTED] > ----------------- > For the sake of argument I'll ignore all your fighting words. > -- Larry Wall in <[EMAIL PROTECTED]>
Dear Eric, I've modified the file DoomConfig.cfg as you indicate, and there is no sound at all when I switch to alsa. The message I get is: ------------- Warnings --------------- during DOOM 3 initialization... WARNING: idPort::SendPacket: bad address type NA_BAD - ignored WARNING: sound subsystem disabled 2 warnings When I specify seta s_alsa_pcm "default" in the config file, I get very noisy sounds, and the messages in the shell are: .... idAudioHardwareALSA::Write: 4096 frames overflowed and dropped snd_pcm_writei failed: Resource temporarily unavailable snd_pcm_writei short write: 940 out of 1024 snd_pcm_writei short write: 1880 out of 2048 snd_pcm_writei short write: 940 out of 1024 idAudioHardwareALSA::Write: 4096 frames overflowed and dropped snd_pcm_writei short write: 1880 out of 2048 snd_pcm_writei short write: 940 out of 1024 snd_pcm_writei short write: 940 out of 1024 snd_pcm_writei short write: 940 out of 1024 idAudioHardwareALSA::Write: 4096 frames overflowed and dropped snd_pcm_writei failed: Resource temporarily unavailable snd_pcm_writei short write: 940 out of 1024 .... I precise: I've got arts running using alsa output, but I specify it to suspend if inactive during 30 secondes. I tested sounds in doom3 with and without arts launched: it changes nothing. Also when running doom3, the cpu frequency is max (2.2 GHz), so I don't think that my problem would come from bad configured cpuscaling... I don't know what to do to have good perfs with good sounds. (Remember if I switch to oss backend, perfs are low and sounds are just acceptable). Best regards, Etienne Imguimbert -- [email protected] mailing list
