Gentoo Archives: gentoo-amd64

From: Etienne Imguimbert <eimguimbert@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Bad performance on doom3 with alsa and oss
Date: Fri, 20 Jan 2006 08:39:09
Message-Id: 756628910601200036r3c826de7x@mail.gmail.com
In Reply to: Re: [gentoo-amd64] Bad performance on doom3 with alsa and oss by Etienne Imguimbert
1 Dear all
2
3 Here is the alsa section of the FAQ about Linux version of doom3:
4 http://zerowing.idsoftware.com/linux/doom/#head-8c36163f1dfc3a253ef72c0f821b0b0dd2fc17b1
5
6 This FAQ says about amd64 system:
7 "on amd64 systems you may need to get the snd-ioctl32 module loaded in "
8
9 What does it mean? I don't understand the meaning of this sentence (excuse
10 me but english is not my mother tongue). What is the snd-ioctl32 module ?
11
12 Thanks in advance,
13 Best regards,
14
15 Etienne
16
17
18
19 2006/1/16, Etienne Imguimbert <eimguimbert@×××××.com>:
20 >
21 > Le Dimanche 15 Janvier 2006 05:48, Eric Augustus a écrit:
22 > > On Fri, Jan 13, 2006 at 09:34:32AM +0100, Etienne Imguimbert wrote:
23 > > > Dear gentoo amd64 users
24 > > >
25 > > > I've installed doom3 via the emerge command, and I have several
26 > > > problems of performance. I tried several configurations:
27 > > >
28 > > > - when I switch to alsa in doom3, I get very noisy sounds (I get
29 > > > several messages of rejected packets by alsa in the shell)
30 > >
31 > > You could try changing to the alsa PCM setting, "seta s_alsa_pcm" to
32 > > "surround51" or anything else besides "default" in your DoomConfig.cfg.
33 > I
34 > > had issues with the default setting on my setup and switched. Now I get
35 > > pretty decent sound.
36 > >
37 > > > - when I switch to oss, I get huge slowdowns in the game (I think
38 > > > there is a problem with the OSS emulation by alsa)
39 > > >
40 > > > - when playing timedemo demo1 in the doom3 prompt, I get a good
41 > number
42 > > > of fps (about 60), but this benchmark is played without sound, so I
43 > > > deduce that I have problem with sounds.
44 > >
45 > > The demo is not supposed to have sound.
46 > >
47 > >
48 > > --
49 > > Eric Augustus
50 > > shrike@×××××××××.com
51 > > -----------------
52 > > For the sake of argument I'll ignore all your fighting words.
53 > > -- Larry Wall in <199710221710.KAA24242@××××.org>
54 >
55 > Dear Eric,
56 > I've modified the file DoomConfig.cfg as you indicate, and there is no
57 > sound
58 > at all when I switch to alsa. The message I get is:
59 >
60 > ------------- Warnings ---------------
61 > during DOOM 3 initialization...
62 > WARNING: idPort::SendPacket: bad address type NA_BAD - ignored
63 > WARNING: sound subsystem disabled
64 >
65 > 2 warnings
66 >
67 > When I specify seta s_alsa_pcm "default" in the config file, I get very
68 > noisy
69 > sounds, and the messages in the shell are:
70 > ....
71 > idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
72 > snd_pcm_writei failed: Resource temporarily unavailable
73 > snd_pcm_writei short write: 940 out of 1024
74 > snd_pcm_writei short write: 1880 out of 2048
75 > snd_pcm_writei short write: 940 out of 1024
76 > idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
77 > snd_pcm_writei short write: 1880 out of 2048
78 > snd_pcm_writei short write: 940 out of 1024
79 > snd_pcm_writei short write: 940 out of 1024
80 > snd_pcm_writei short write: 940 out of 1024
81 > idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
82 > snd_pcm_writei failed: Resource temporarily unavailable
83 > snd_pcm_writei short write: 940 out of 1024
84 > ....
85 >
86 > I precise:
87 > I've got arts running using alsa output, but I specify it to suspend if
88 > inactive during 30 secondes. I tested sounds in doom3 with and without
89 > arts
90 > launched: it changes nothing.
91 >
92 > Also when running doom3, the cpu frequency is max (2.2 GHz), so I don't
93 > think
94 > that my problem would come from bad configured cpuscaling...
95 >
96 > I don't know what to do to have good perfs with good sounds. (Remember if
97 > I
98 > switch to oss backend, perfs are low and sounds are just acceptable).
99 >
100 > Best regards,
101 >
102 > Etienne Imguimbert
103 >
104 >
105 >
106 > --
107 > gentoo-amd64@g.o mailing list
108 >
109 >

Replies

Subject Author
Re: [gentoo-amd64] Bad performance on doom3 with alsa and oss David Guerizec <david@××××××××.net>