ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] проблемы со звуком на бранче 4.1
@ 2009-03-01  7:55 Denis G. Samsonenko
  2009-03-02 17:04 ` Denis G. Samsonenko
  0 siblings, 1 reply; 4+ messages in thread
From: Denis G. Samsonenko @ 2009-03-01  7:55 UTC (permalink / raw)
  To: community

День добрый!

Заметил на одной из своих проблем следующее: в играх нет звука, при
этом видео играется тем же mplayer'ом нормально.

При запуске, например, briquolo или Ri_li пишет:

Audio write: Ошибка ввода/вывода

Если запускать через aoss, то некоторым играм помогает, а
supertuxkart, например, не помогает.

Машина живёт на бранче-4.1. При этом на домашней машине с ALD-4.1 у
меня таких проблем нет.

Не подскажете, в чём может быть дело?

$ rpm -qa |grep alsa
libalsa-1.0.15-alt1
libao-alsa-0.8.8-alt1.13239
alsa-utils-1.0.15-alt1
alsa-plugins-1.0.15-alt1
alsa-oss-1.0.15-alt1
kernel-modules-alsa-std-ll-2.6.25-alt8.M41.4


$ rpm -qa |grep sound
esound-0.2.39-alt0.M41.1
sound-scripts-1.0.0-alt0.M41.1
libsoundtouch-1.3.1-alt1
libSDL_sound-1.0.1-alt2
sound_handler-0.3.1-alt0.M41.1


# lspci |grep Audio
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)


# lsmod |grep snd
snd_hda_intel         365076  1
snd_pcm_oss            46112  0
snd_seq_dummy           7684  0
snd_seq_oss            36736  0
snd_seq_midi_event     11520  1 snd_seq_oss
snd_seq                56944  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         12172  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_mixer_oss          20864  1 snd_pcm_oss
snd_pcm                81284  2 snd_hda_intel,snd_pcm_oss
snd_timer              28040  2 snd_seq,snd_pcm
snd_page_alloc         14216  2 snd_hda_intel,snd_pcm
snd_hwdep              13700  1 snd_hda_intel
snd                    61988  11
snd_hda_intel,snd_pcm_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
soundcore              12384  1 snd


$ cat /etc/modprobe.d/alsa-modindex
#### AC97 software sound chips
## spare index=0 for a real soundcard (if any)
#options snd_intel8x0 index=2
#options snd_via82xx index=2
#options snd-bt87x index=3
#options snd_intel8x0m index=4
#options snd-atiixp-modem index=4
#options snd-via82xx-modem index=4

## if you experience noisy sound with VIA AC97 audio,
## try to uncomment this and play with 4/2/1:
#options snd-via82xx dxs_support=4

#### MIDI
#alias midi snd-seq-oss

## bank autoload; get from driver CD and uncomment these lines
#install snd-seq-oss /sbin/modprobe --ignore-install snd-seq-oss && {
/bin/sfxload /etc/midi/8mbgmsfx.sf2 > /dev/null 2>&1 || :; }

## -- or -- install awesfx and uncomment this:
#install snd-seq-oss /sbin/modprobe --ignore-install snd-seq-oss && {
/bin/sfxload /etc/midi/gu11-rom.sf2 > /dev/null 2>&1 || :; }


$ cat /etc/modprobe.d/oss
alias sound_slot_0 snd_card_0
alias sound_service_0_0 snd-mixer-oss
alias sound_service_0_1 snd-seq-oss
alias sound_service_0_3 snd-pcm-oss
alias sound_service_0_8 snd-seq-oss
alias sound_service_0_12 snd-pcm-oss
install snd-mixer-oss /sbin/modprobe --first-time --ignore-install
snd-mixer-oss && { /sbin/modprobe snd-seq-oss; /bin/true; }
install snd-pcm /sbin/modprobe --first-time --ignore-install snd-pcm
&& { /sbin/modprobe snd-mixer-oss; /bin/true; }
install snd-seq-oss /sbin/modprobe --first-time --ignore-install
snd-seq-oss && { /sbin/modprobe snd-pcm-oss; /bin/true; }
remove snd-mixer-oss { /sbin/modprobe -r snd-seq-oss; } ;
/sbin/modprobe -r --first-time --ignore-remove snd-mixer-oss
remove snd-pcm { /sbin/modprobe -r snd-mixer-oss; } ; /sbin/modprobe
-r --first-time --ignore-remove snd-pcm
remove snd-seq-oss { /sbin/modprobe -r snd-pcm-oss; } ; /sbin/modprobe
-r --first-time --ignore-remove snd-seq-oss


$ cat /etc/modprobe.d/oss.rpmconv
# This configuration file was automatically converted from the old syntax
# used by the modutils package.
#
# Auto-converted-from: /etc/modutils.d/oss
# If you want to edit this file manually, remove the line above to prevent
# the conversion script from overwriting the file if you redo the conversion.

install snd-mixer-oss /sbin/modprobe --first-time --ignore-install
snd-mixer-oss && { /sbin/modprobe snd-seq-oss; /bin/true; }
install snd-pcm /sbin/modprobe --first-time --ignore-install snd-pcm
&& { /sbin/modprobe snd-mixer-oss; /bin/true; }
install snd-seq-oss /sbin/modprobe --first-time --ignore-install
snd-seq-oss && { /sbin/modprobe snd-pcm-oss; /bin/true; }
remove snd-mixer-oss { /sbin/modprobe -r snd-seq-oss; } ;
/sbin/modprobe -r --first-time --ignore-remove snd-mixer-oss
remove snd-pcm { /sbin/modprobe -r snd-mixer-oss; } ; /sbin/modprobe
-r --first-time --ignore-remove snd-pcm
remove snd-seq-oss { /sbin/modprobe -r snd-pcm-oss; } ; /sbin/modprobe
-r --first-time --ignore-remove snd-seq-oss


-- 
Всего доброго,

Денис.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] проблемы со звуком на бранче 4.1
  2009-03-01  7:55 [Comm] проблемы со звуком на бранче 4.1 Denis G. Samsonenko
@ 2009-03-02 17:04 ` Denis G. Samsonenko
  2009-03-04  4:56   ` Denis G. Samsonenko
  0 siblings, 1 reply; 4+ messages in thread
From: Denis G. Samsonenko @ 2009-03-02 17:04 UTC (permalink / raw)
  To: community

День добрый!

Проверил на домашней машине. Тут вроде бы то же самое. Отличие только в выводе

# lsmod |grep snd
snd_hda_intel         360344  1
snd_pcm_oss            45728  0
snd_seq_dummy           7812  0
snd_seq_oss            38656  0
snd_seq_midi_event     11520  1 snd_seq_oss
snd_seq                57840  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_mixer_oss          20864  1 snd_pcm_oss
snd_mpu401             12392  0
snd_pcm                81412  2 snd_hda_intel,snd_pcm_oss
snd_timer              28040  2 snd_seq,snd_pcm
snd_mpu401_uart        12800  1 snd_mpu401
snd_page_alloc         14600  2 snd_hda_intel,snd_pcm
snd_rawmidi            28960  1 snd_mpu401_uart
snd_hwdep              13828  1 snd_hda_intel
snd_seq_device         12428  4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd                    60324  15
snd_hda_intel,snd_pcm_oss,snd_seq_dummy,snd_seq_oss,snd_s

eq,snd_mixer_oss,snd_mpu401,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_hwdep,snd_se
                                               q_device
soundcore              12384  1 snd


В отличии от предыдущего (на машине на работе) тут присутствуют так же
snd_mpu401 и snd_mpu401_uart. Но я не знаю, как они влияют и где
грузятся. В /etc/modprobe.d/ я про них упоминаний не нашёл.

-- 
Всего доброго,

Денис.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] проблемы со звуком на бранче 4.1
  2009-03-02 17:04 ` Denis G. Samsonenko
@ 2009-03-04  4:56   ` Denis G. Samsonenko
  2009-03-04  5:33     ` Denis G. Samsonenko
  0 siblings, 1 reply; 4+ messages in thread
From: Denis G. Samsonenko @ 2009-03-04  4:56 UTC (permalink / raw)
  To: community

День добрый!

Неужели никто не знает от чего это происходит и как это побороть?

$ hedgewars
Audio write: Ошибка ввода/вывода

Звука нет.

[denis@ogion ~]$ aoss hedgewars
SNDCTL_DSP_SETFRAGMENT: Недопустимый аргумент

Звук есть.

$ rpm -qa |grep kernel
kernel-headers-common-1.1.9-alt1
kernel-modules-kqemu-std-ll-1.3.0-alt0.1.pre11.132633.8.M41.4
kernel-modules-nvidia-std-ll-177.80-alt1.132633.8.M41.4
kernel-image-std-ll-2.6.25-alt8.M41.4
update-kernel-0.7-alt0.M41.1
kernel-modules-drm-std-ll-2.6.25-alt8.M41.4
kernel-modules-subfs-std-ll-0.9-alt10.2.132633.8.M41.4
kernel-modules-alsa-std-ll-2.6.25-alt8.M41.4


-- 
Всего доброго,

Денис.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] проблемы со звуком на бранче 4.1
  2009-03-04  4:56   ` Denis G. Samsonenko
@ 2009-03-04  5:33     ` Denis G. Samsonenko
  0 siblings, 0 replies; 4+ messages in thread
From: Denis G. Samsonenko @ 2009-03-04  5:33 UTC (permalink / raw)
  To: community

День добрый!

> $ rpm -qa |grep kernel
> kernel-headers-common-1.1.9-alt1
> kernel-modules-kqemu-std-ll-1.3.0-alt0.1.pre11.132633.8.M41.4
> kernel-modules-nvidia-std-ll-177.80-alt1.132633.8.M41.4
> kernel-image-std-ll-2.6.25-alt8.M41.4
> update-kernel-0.7-alt0.M41.1
> kernel-modules-drm-std-ll-2.6.25-alt8.M41.4
> kernel-modules-subfs-std-ll-0.9-alt10.2.132633.8.M41.4
> kernel-modules-alsa-std-ll-2.6.25-alt8.M41.4

Однако, поставив более старую сборку ядра из ALD4.1.0 (alt8.M41.1)
обнаружил, что звук в играх появился без плясок с aoss. Повешу ка я
багу на ядро.

-- 
Всего доброго,

Денис.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-03-04  5:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-01  7:55 [Comm] проблемы со звуком на бранче 4.1 Denis G. Samsonenko
2009-03-02 17:04 ` Denis G. Samsonenko
2009-03-04  4:56   ` Denis G. Samsonenko
2009-03-04  5:33     ` Denis G. Samsonenko

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git