Re: Audio problems with OpenBSD-current/amd64 on Acer C720p Chromebook
Sorry for wasting yout time. there is still stutter on disk activity on mp amd64 which is mostly in media players depending on gtk libs, it is embarrassing to say the least.
Re: Audio problems with OpenBSD-current/amd64 on Acer C720p Chromebook
On Fri, Jul 31, 2015 at 03:05:40AM +0200, Alexander Shendi wrote: Hi, after rebooting the GENERIC.MP kernel supplied with the 5.8 snapshot I had been using previously everything works fine. I don't actually know why -- I'll assume it was a hardware glitch. Sorry for wasting yout time. no problem :)
Re: Audio problems with OpenBSD-current/amd64 on Acer C720p Chromebook
On Fri, Jul 31, 2015 at 11:53:31AM +0300, li...@wrant.com wrote: Sorry for wasting yout time. there is still stutter on disk activity on mp amd64 which is mostly in media players depending on gtk libs, it is embarrassing to say the least. You mean that audio on a mostly idle box, with only a gtk-based player sutters? When audio stutters, before playback stops, you could run audioctl to see the number of errors, to determine whether they are caused by the player (very few errors or not at all) or by the audio sub-system. Before testing, make sure you use the latest kernel, libsndio, sndiod and audioctl.
Re: Audio problems with OpenBSD-current/amd64 on Acer C720p Chromebook
On Fri, Jul 31, 2015 at 11:53:31AM +0300, li...@wrant.com wrote: [...] there is still stutter on disk activity on mp amd64 which is mostly in media players depending on gtk libs, it is embarrassing to say the least. [...] I've seen something similar when my cvsync cronjob kicks in. I can live with that though to be honest. Your patch didn't apply though, you might want to resend it. -- Gregor Best
Audio problems with OpenBSD-current/amd64 on Acer C720p Chromebook
Dear list subscribers, I have installed OpenBSD-current on my Acer C720p Chromebook. I am using -current because I had problems with X11 with the 5.7 release. Audio used to work out of the box on that device with earlier versions of -current, but has stopped working in the most recent version I have installed (Playback of an MP3-file with either VLC or mpg123 produced no sound) $ uname -a OpenBSD alex-acer-720p.my.domain 5.8 GENERIC.MP#1206 amd64 Excerpt from dmesg follows: [...] azalia0 at pci0 dev 3 function 0 Intel Core 4G HD Audio rev 0x09: msi azalia0: No codecs found [...] azalia1 at pci0 dev 27 function 0 Intel 8 Series HD Audio rev 0x04: msi azalia1: codecs: Realtek/0x0283 audio0 at azalia1 [...] (The entire dmesg can be found at: http://www.alexshendi.org/tmp/dmesg-c720p-20150730.txt) However I had some success in getting sound to work: I added the line: sndiod_flags='-f /dev/audio1' to /etc/rc.conf.local Now playing an MP3-file in VLC works, but I'm not able to adjust the volume in VLC. Does this have something to do with /dev/audioctl? I noticed that both /dev/audio and /dev/audioctl are symlinks to /dev/audio0 resp. /dev/audioctl0. Sould I change these links to point to audio1 and audioctl1? Any suggestions will be appreciated. Many thanks in advance. Best Regards, Alexander
Re: Audio problems with OpenBSD-current/amd64 on Acer C720p Chromebook
On Thu, Jul 30, 2015 at 09:29:31PM +0200, Alexander Shendi wrote: Dear list subscribers, I have installed OpenBSD-current on my Acer C720p Chromebook. I am using -current because I had problems with X11 with the 5.7 release. Audio used to work out of the box on that device with earlier versions of -current, but has stopped working in the most recent version I have installed (Playback of an MP3-file with either VLC or mpg123 produced no sound) $ uname -a OpenBSD alex-acer-720p.my.domain 5.8 GENERIC.MP#1206 amd64 Excerpt from dmesg follows: [...] azalia0 at pci0 dev 3 function 0 Intel Core 4G HD Audio rev 0x09: msi azalia0: No codecs found [...] azalia1 at pci0 dev 27 function 0 Intel 8 Series HD Audio rev 0x04: msi azalia1: codecs: Realtek/0x0283 audio0 at azalia1 [...] (The entire dmesg can be found at: http://www.alexshendi.org/tmp/dmesg-c720p-20150730.txt) However I had some success in getting sound to work: I added the line: sndiod_flags='-f /dev/audio1' to /etc/rc.conf.local there's no /dev/audio1 according to your dmesg and -f uses another syntax (see sndio(7) man page) Now playing an MP3-file in VLC works, but I'm not able to adjust the volume in VLC. Does this have something to do with /dev/audioctl? I noticed that both /dev/audio and /dev/audioctl are symlinks to /dev/audio0 resp. /dev/audioctl0. Sould I change these links to point to audio1 and audioctl1? The symlinks are only used by audioctl and mixerctl utilities, no need to change them. Any suggestions will be appreciated. Many thanks in advance. could you do the following: build install a new kernel with these options defined. option AUDIO_DEBUG option AZALIA_DEBUG Then, boot it, kill sndiod, and start it in a terminal with: sndiod -dd and in another terminal, play a .mp3 with mpg123 (or whatever you use) and see what errors sndiod displays and what dmesg says. Let me know if you have questions and/or you need help for the setup. thanks
Re: Audio problems with OpenBSD-current/amd64 on Acer C720p Chromebook
Gesendet: Donnerstag, 30. Juli 2015 um 23:27 Uhr Von: Alexandre Ratchov a...@caoua.org An: Alexander Shendi alexander.she...@web.de Cc: misc@openbsd.org Betreff: Re: Audio problems with OpenBSD-current/amd64 on Acer C720p Chromebook [snip] could you do the following: build install a new kernel with these options defined. option AUDIO_DEBUG option AZALIA_DEBUG Then, boot it, kill sndiod, and start it in a terminal with: sndiod -dd and in another terminal, play a .mp3 with mpg123 (or whatever you use) and see what errors sndiod displays and what dmesg says. Let me know if you have questions and/or you need help for the setup. thanks I did as you requested. Namely: * Got the OpenBSD-current sources via AnonCVS. * Built a custom kernel with the options above * Removed the -f /dev/audio1 flags from /etc/rc.conf.local * Booted the new, custom kernel * Killed sndiod via pkill sndiod * Restarted it in a terminal as requested above * Played an MP3-file in VLC (no sound output observed) for a few seconds. Please find the combined terminal output and the new dmesg at: http://www.alexshendi.org/tmp/dmesg-acer-c720p-20150731.txt However I can't make much sense of the output as I don't know enough about the audio subsystem. Could you please have a look? Please let me know if I can run further test, or if you need further info. Many thanks for your help. Best Regards, Alexander
Re: Audio problems with OpenBSD-current/amd64 on Acer C720p Chromebook
Hi, after rebooting the GENERIC.MP kernel supplied with the 5.8 snapshot I had been using previously everything works fine. I don't actually know why -- I'll assume it was a hardware glitch. Sorry for wasting yout time. Best Regards, Alexander