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: Tue, 24 Jan 2006 15:49:14
Message-Id: 756628910601240745t1f64108cq@mail.gmail.com
In Reply to: Re: [gentoo-amd64] Bad performance on doom3 with alsa and oss by Etienne Imguimbert
1 I confirm, I don't have any snd-ioctl32 module in the module tree of my
2 current kernel. Althought, sound works with doom3 (32 bits app) but is very
3 noisy. I've installed alsa with emerge, not directly in the kernel...
4
5 I've searched in the alsa documentation, also in the kernel documentation.
6 Nothing found about that :-(
7 Has someone any information about this module?
8 Thank you in advance
9
10 Etienne
11
12
13 2006/1/20, Etienne Imguimbert <eimguimbert@×××××.com>:
14 >
15 > I have looked in /lib/modules/kernelXXX, I did not found any snd-ioctl32
16 > module...
17 > I have juste enabled tue sound support in the kernel (and no oss or alsa),
18 > and just emerged alsa-driver, alsa-lib. Where can I find this module?
19 >
20 > Regards,
21 > Etienne
22 >
23 >
24 > 2006/1/20, David Guerizec <david@××××××××.net>:
25 > >
26 > > Le Vendredi 20 Janvier 2006 09:36, Etienne Imguimbert a écrit:
27 > > > Dear all
28 > > >
29 > > > Here is the alsa section of the FAQ about Linux version of doom3:
30 > > >
31 > > http://zerowing.idsoftware.com/linux/doom/#head-8c36163f1dfc3a253ef72c0f821
32 > > >b0b0dd2fc17b1
33 > > >
34 > > > This FAQ says about amd64 system:
35 > > > "on amd64 systems you may need to get the snd-ioctl32 module loaded in
36 > > "
37 > > >
38 > > > What does it mean? I don't understand the meaning of this sentence
39 > > (excuse
40 > > > me but english is not my mother tongue). What is the snd-ioctl32
41 > > module ?
42 > >
43 > > modprobe snd-ioctl32
44 > >
45 > > CQFD!
46 > >
47 > > David
48 > >
49 > > > Thanks in advance,
50 > > > Best regards,
51 > > >
52 > > > Etienne
53 > > >
54 > > > 2006/1/16, Etienne Imguimbert < eimguimbert@×××××.com>:
55 > > > > Le Dimanche 15 Janvier 2006 05:48, Eric Augustus a écrit:
56 > > > > > On Fri, Jan 13, 2006 at 09:34:32AM +0100, Etienne Imguimbert
57 > > wrote:
58 > > > > > > Dear gentoo amd64 users
59 > > > > > >
60 > > > > > > I've installed doom3 via the emerge command, and I have
61 > > several
62 > > > > > > problems of performance. I tried several configurations:
63 > > > > > >
64 > > > > > > - when I switch to alsa in doom3, I get very noisy sounds (I
65 > > get
66 > > > > > > several messages of rejected packets by alsa in the shell)
67 > > > > >
68 > > > > > You could try changing to the alsa PCM setting, "seta s_alsa_pcm"
69 > > to
70 > > > > > "surround51" or anything else besides "default" in your
71 > > DoomConfig.cfg.
72 > > > >
73 > > > > I
74 > > > >
75 > > > > > had issues with the default setting on my setup and switched. Now
76 > > I get
77 > > > > > pretty decent sound.
78 > > > > >
79 > > > > > > - when I switch to oss, I get huge slowdowns in the game (I
80 > > think
81 > > > > > > there is a problem with the OSS emulation by alsa)
82 > > > > > >
83 > > > > > > - when playing timedemo demo1 in the doom3 prompt, I get a
84 > > good
85 > > > >
86 > > > > number
87 > > > >
88 > > > > > > of fps (about 60), but this benchmark is played without
89 > > sound, so
90 > > > > > > I deduce that I have problem with sounds.
91 > > > > >
92 > > > > > The demo is not supposed to have sound.
93 > > > > >
94 > > > > >
95 > > > > > --
96 > > > > > Eric Augustus
97 > > > > > shrike@×××××××××.com
98 > > > > > -----------------
99 > > > > > For the sake of argument I'll ignore all your fighting words.
100 > > > > > -- Larry Wall in < 199710221710.KAA24242@××××.org>
101 > > > >
102 > > > > Dear Eric,
103 > > > > I've modified the file DoomConfig.cfg as you indicate, and there is
104 > > no
105 > > > > sound
106 > > > > at all when I switch to alsa. The message I get is:
107 > > > >
108 > > > > ------------- Warnings ---------------
109 > > > > during DOOM 3 initialization...
110 > > > > WARNING: idPort::SendPacket: bad address type NA_BAD - ignored
111 > > > > WARNING: sound subsystem disabled
112 > > > >
113 > > > > 2 warnings
114 > > > >
115 > > > > When I specify seta s_alsa_pcm "default" in the config file, I get
116 > > very
117 > > > > noisy
118 > > > > sounds, and the messages in the shell are:
119 > > > > ....
120 > > > > idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
121 > > > > snd_pcm_writei failed: Resource temporarily unavailable
122 > > > > snd_pcm_writei short write: 940 out of 1024
123 > > > > snd_pcm_writei short write: 1880 out of 2048
124 > > > > snd_pcm_writei short write: 940 out of 1024
125 > > > > idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
126 > > > > snd_pcm_writei short write: 1880 out of 2048
127 > > > > snd_pcm_writei short write: 940 out of 1024
128 > > > > snd_pcm_writei short write: 940 out of 1024
129 > > > > snd_pcm_writei short write: 940 out of 1024
130 > > > > idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
131 > > > > snd_pcm_writei failed: Resource temporarily unavailable
132 > > > > snd_pcm_writei short write: 940 out of 1024
133 > > > > ....
134 > > > >
135 > > > > I precise:
136 > > > > I've got arts running using alsa output, but I specify it to suspend
137 > > if
138 > > > > inactive during 30 secondes. I tested sounds in doom3 with and
139 > > without
140 > > > > arts
141 > > > > launched: it changes nothing.
142 > > > >
143 > > > > Also when running doom3, the cpu frequency is max ( 2.2 GHz), so I
144 > > don't
145 > > > > think
146 > > > > that my problem would come from bad configured cpuscaling...
147 > > > >
148 > > > > I don't know what to do to have good perfs with good sounds.
149 > > (Remember if
150 > > > > I
151 > > > > switch to oss backend, perfs are low and sounds are just
152 > > acceptable).
153 > > > >
154 > > > > Best regards,
155 > > > >
156 > > > > Etienne Imguimbert
157 > > > >
158 > > > >
159 > > > >
160 > > > > --
161 > > > > gentoo-amd64@g.o mailing list
162 > >
163 > > --
164 > > gentoo-amd64@g.o mailing list
165 > >
166 > >
167 >

Replies

Subject Author
[gentoo-amd64] Re: Bad performance on doom3 with alsa and oss Duncan <1i5t5.duncan@×××.net>