Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Ostatnimi czasy pojawił się u mnie problem podczas odtwarzania filmów. Po wybraniu w odtwarzaczu (VLC) opcji Urządzenie dźwiękowe -> 5.1 pojawia się komunikat:
Błąd wyjścia dźwiękowego: Urządzenie dźwiękowe "surround51" jest już używane. Błąd wyjścia dźwiękowego: VLC nie mógł otworzyć urządzenia ALSA "surround51" (Urządzenie lub zasoby zajęte).
Jakiś czas temu działało to bez problemów i nie bardzo mam pomysł co mogło spowodować zmianę. Dawno nie używałem tej funkcji a aktualizacje robię w zasadzie codziennie (wheezy + kde 4.7.4 zainstalowany wg instrukcji stąd: http://pkg-kde.alioth.debian.org/kde47.html). Nie dłubałem ręcznie w żadnych plikach konfiguracyjnych od dźwięku ani nie zmieniałem ustawień w konfiguratorach graficznych. Przy ustawionym w VLC urządzeniu dźwiękowym 'stereo' działa bez problemu nawet przy odtwarzaniu z kilku źródeł dźwięku naraz (VLC, Amarok, dźwięki systemowe).
Trochę danych zgodnie z szablonem:
lspci 00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge 00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0) 00:0a.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5) 00:11.0 SATA controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] 00:12.0 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:12.1 USB controller: ATI Technologies Inc SB7x0 USB OHCI1 Controller 00:12.2 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:13.0 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:13.1 USB controller: ATI Technologies Inc SB7x0 USB OHCI1 Controller 00:13.2 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a) 00:14.1 IDE interface: ATI Technologies Inc SB7x0/SB8x0/SB9x0 IDE Controller 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) 00:14.3 ISA bridge: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller 00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge 00:14.5 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI2 Controller 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 01:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 9800 GT] (rev a2) 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) 03:0e.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)
lspci -n 00:00.0 0600: 1022:9600 00:02.0 0604: 1022:9603 00:0a.0 0604: 1022:9609 00:11.0 0106: 1002:4391 00:12.0 0c03: 1002:4397 00:12.1 0c03: 1002:4398 00:12.2 0c03: 1002:4396 00:13.0 0c03: 1002:4397 00:13.1 0c03: 1002:4398 00:13.2 0c03: 1002:4396 00:14.0 0c05: 1002:4385 (rev 3a) 00:14.1 0101: 1002:439c 00:14.2 0403: 1002:4383 00:14.3 0601: 1002:439d 00:14.4 0604: 1002:4384 00:14.5 0c03: 1002:4399 00:18.0 0600: 1022:1100 00:18.1 0600: 1022:1101 00:18.2 0600: 1022:1102 00:18.3 0600: 1022:1103 01:00.0 0300: 10de:0605 (rev a2) 02:00.0 0200: 10ec:8168 (rev 02) 03:0e.0 0c00: 104c:8024
cat /proc/asound/cards 0 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xfe024000 irq 16
cat /proc/asound/modules 0 snd_hda_intel
cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.24.
uname -a Linux DebYan 3.2.0-1-amd64 #1 SMP Sun Feb 5 15:17:15 UTC 2012 x86_64 GNU/Linux
dpkg -l | grep alsa ii alsa-base 1.0.23+dfsg-4 ALSA driver configuration files ii alsa-utils 1.0.25-1 Utilities for configuring and using ALSA ii gstreamer0.10-alsa 0.10.35-1 GStreamer plugin for ALSA rc libsdl1.2debian-alsa 1.2.14-6.1 Simple DirectMedia Layer (with X11 and ALSA options) ii libsox-fmt-alsa 14.3.2-3 SoX alsa format I/O library
dpkg -l | grep pulse ii libpulse-mainloop-glib0 1.0-4 PulseAudio client libraries (glib support) ii libpulse0 1.0-4 PulseAudio client libraries rc pulseaudio 1.0-4 PulseAudio sound server ii vlc-plugin-pulse 1:1.1.13-0.0 PulseAudio plugin for VLC
Będę wdzięczny za jakieś sugestie pozwalające rozwiązać problem.
Pozdrawiam
ya
Offline
Najpierw sprawdź konsolpwym mplayerem
mplayer film.avi -channels 6
Offline
W głośnikach cisza a w konsoli:
mplayer Alisa.v.strane.chudes.2010.x264.BDRip.1080p.mkv -channels 6 Failed to read /etc/mplayer/mplayer.conf.local: No such file or directory Warning unknown option include at line 171 MPlayer SVN-r34643 (C) 2000-2010 MPlayer Team Can't open joystick device /dev/input/js0: No such file or directory Can't init input joystick mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing Alisa.v.strane.chudes.2010.x264.BDRip.1080p.mkv. libavformat version 54.0.100 (internal) libavformat file format detected. [lavf] stream 0: video (h264), -vid 0 [lavf] stream 1: audio (ac3), -aid 0, -alang rus, CAMRip [lavf] stream 2: audio (dca), -aid 1, -alang eng [lavf] stream 3: subtitle (text), -sid 0, -slang rus, VORONINE [lavf] stream 4: subtitle (text), -sid 1, -slang eng VIDEO: [H264] 1920x1080 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s) Load subtitles in ./ SUB: Added subtitle file (1): ./Alisa.v.strane.chudes.2010.x264.BDRip.1080p.txt open: No such file or directory [MGA] Couldn't open: /dev/mga_vid open: No such file or directory [MGA] Couldn't open: /dev/mga_vid [VO_TDFXFB] Can't open /dev/fb0: No such file or directory. s3fb: can't open /dev/fb0: No such file or directory ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 54.0.102 (internal) Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 6 ch, s16le, 1536.0 kbit/33.33% (ratio: 192000->576000) Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS) ========================================================================== [AO_ALSA] alsa-lib: pcm_hw.c:1293:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-16): Device or resource busy [AO_ALSA] Playback open error: Device or resource busy Failed to initialize audio driver 'alsa' [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy [AO_ALSA] alsa-lib: pcm_hw.c:1293:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-16): Device or resource busy [AO_ALSA] Playback open error: Device or resource busy AO: [pulse] Init failed: Connection refused Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started [JACK] cannot open server ao_nas: init(): Can't open nas audio server -> nosound [AO SDL] Samplerate: 48000Hz Channels: Stereo Format s16le [AO_ALSA] alsa-lib: pcm_hw.c:1293:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-16): Device or resource busy [AO SDL] Unable to open audio: Couldn't open audio device: Device or resource busy DVB card number must be between 1 and 4 AO: [null] 48000Hz 6ch s16le (2 bytes per sample) Starting playback... Unsupported PixelFormat 61 Unsupported PixelFormat 53 Unsupported PixelFormat 81 Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12 A: 12.3 V: 12.3 A-V: 0.005 ct: 0.035 0/ 0 56% 11% 5.5% 4 0 No bind found for key 'MOUSE_BTN2'. A: 82.1 V: 82.1 A-V: -0.003 ct: 0.018 0/ 0 53% 8% 5.6% 6 0 Exiting... (Quit)
Offline
Pokaz
lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
Offline
lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/* COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME kded4 2138 yaros 15u CHR 116,8 0t0 3648 /dev/snd/controlC0 knotify4 2320 yaros mem CHR 116,5 3643 /dev/snd/pcmC0D0p knotify4 2320 yaros 16r CHR 116,33 0t0 4185 /dev/snd/timer knotify4 2320 yaros 17u CHR 116,5 0t0 3643 /dev/snd/pcmC0D0p kmix 2435 yaros 10u CHR 116,8 0t0 3648 /dev/snd/controlC0
Offline
Sprobuj ubić knotify
killall knotify4
Potem znów sprawdź mplayerem konsolowym
Najpierw
mplayer film.xxx
potem
mplayer film.xxx -channels 6
Offline
knotify ubite i po tym się polepszyło.
Dźwięk jest:
mplayer Alisa.v.strane.chudes.2010.x264.BDRip.1080p.mkv Failed to read /etc/mplayer/mplayer.conf.local: No such file or directory Warning unknown option include at line 171 MPlayer SVN-r34643 (C) 2000-2010 MPlayer Team Can't open joystick device /dev/input/js0: No such file or directory Can't init input joystick mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing Alisa.v.strane.chudes.2010.x264.BDRip.1080p.mkv. libavformat version 54.0.100 (internal) libavformat file format detected. [lavf] stream 0: video (h264), -vid 0 [lavf] stream 1: audio (ac3), -aid 0, -alang rus, CAMRip [lavf] stream 2: audio (dca), -aid 1, -alang eng [lavf] stream 3: subtitle (text), -sid 0, -slang rus, VORONINE [lavf] stream 4: subtitle (text), -sid 1, -slang eng VIDEO: [H264] 1920x1080 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s) Load subtitles in ./ SUB: Added subtitle file (1): ./Alisa.v.strane.chudes.2010.x264.BDRip.1080p.txt open: No such file or directory [MGA] Couldn't open: /dev/mga_vid open: No such file or directory [MGA] Couldn't open: /dev/mga_vid [VO_TDFXFB] Can't open /dev/fb0: No such file or directory. s3fb: can't open /dev/fb0: No such file or directory ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 54.0.102 (internal) Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000) Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS) ========================================================================== AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... Unsupported PixelFormat 61 Unsupported PixelFormat 53 Unsupported PixelFormat 81 Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12 A: 9.3 V: 9.3 A-V: -0.007 ct: -0.006 0/ 0 50% 9% 1.3% 6 0 Exiting... (Quit)
I tutaj też dźwięk jest:
mplayer Alisa.v.strane.chudes.2010.x264.BDRip.1080p.mkv -channels 6 Failed to read /etc/mplayer/mplayer.conf.local: No such file or directory Warning unknown option include at line 171 MPlayer SVN-r34643 (C) 2000-2010 MPlayer Team Can't open joystick device /dev/input/js0: No such file or directory Can't init input joystick mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing Alisa.v.strane.chudes.2010.x264.BDRip.1080p.mkv. libavformat version 54.0.100 (internal) libavformat file format detected. [lavf] stream 0: video (h264), -vid 0 [lavf] stream 1: audio (ac3), -aid 0, -alang rus, CAMRip [lavf] stream 2: audio (dca), -aid 1, -alang eng [lavf] stream 3: subtitle (text), -sid 0, -slang rus, VORONINE [lavf] stream 4: subtitle (text), -sid 1, -slang eng VIDEO: [H264] 1920x1080 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s) Load subtitles in ./ SUB: Added subtitle file (1): ./Alisa.v.strane.chudes.2010.x264.BDRip.1080p.txt open: No such file or directory [MGA] Couldn't open: /dev/mga_vid open: No such file or directory [MGA] Couldn't open: /dev/mga_vid [VO_TDFXFB] Can't open /dev/fb0: No such file or directory. s3fb: can't open /dev/fb0: No such file or directory ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 54.0.102 (internal) Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 6 ch, s16le, 1536.0 kbit/33.33% (ratio: 192000->576000) Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS) ========================================================================== AO: [alsa] 48000Hz 6ch s16le (2 bytes per sample) Starting playback... Unsupported PixelFormat 61 Unsupported PixelFormat 53 Unsupported PixelFormat 81 Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12 A: 29.0 V: 29.0 A-V: -0.013 ct: 0.018 0/ 0 52% 8% 1.3% 3 0 Exiting... (Quit)
Ciekawe co nie działa po zamordowaniu knotify4 - dźwięk ostrzegający przy kasowaniu pliku zadziałał ;)
EDIT:
Wygląda na to, że problem znany i zgłoszony: https://bugs.kde.org/show_bug.cgi?id=281961
Trzeba czekać na poprawkę a do tego czasu killować knotify4 jak się chce posłuchać dźwięku przestrzennego ;)
Wielkie dzięki za pomoc
Pozdrawiam
ya
Ostatnio edytowany przez yaros (2012-02-24 21:49:52)
Offline
Time (s) | Query |
---|---|
0.00009 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00065 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.135.183.19' WHERE u.id=1 |
0.00127 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.135.183.19', 1734021522) |
0.00023 | SELECT * FROM punbb_online WHERE logged<1734021222 |
0.00091 | SELECT topic_id FROM punbb_posts WHERE id=195765 |
0.00005 | SELECT id FROM punbb_posts WHERE topic_id=20768 ORDER BY posted |
0.00030 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=20768 AND t.moved_to IS NULL |
0.00038 | SELECT search_for, replace_with FROM punbb_censoring |
0.00121 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=20768 ORDER BY p.id LIMIT 0,25 |
0.00081 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=20768 |
Total query time: 0.00594 s |