Gentoo Archives: gentoo-amd64

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

Replies

Subject Author
Re: [gentoo-amd64] Bad performance on doom3 with alsa and oss Etienne Imguimbert <eimguimbert@×××××.com>