Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Weird audio problem [No sound in KDE]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
skutnar
n00b
n00b


Joined: 13 Jun 2006
Posts: 65

PostPosted: Sat Jan 22, 2011 12:05 am    Post subject: [SOLVED] Weird audio problem [No sound in KDE] Reply with quote

I'm having some strange audio problems recently. The first sign of a problem was KDE telling me my audio devices no longer existed when I logged in. I'm on ~amd64 and updated to KDE 4.5.5 on Jan. 15 and gentoo-sources-2.6.36-r7 on the 16th. I didn't see the audio device error until after rebuilding world and restarting.

Audio works in these:
- ALSA aplay
- SOX play
- mplayer, using ALSA as the audio output
- YouTube videos in Firefox
- Flash in Firefox
- VLC with ALSA as the audio output
- Quake 3

Audio doesn't work in these:
- PulseAudio
- VLC with the default audio output
- FFMpeg's ffplay
- KDE with any backend: Xine, Gstreamer, VLC

Any ideas?


Last edited by skutnar on Tue Jan 25, 2011 3:32 am; edited 2 times in total
Back to top
View user's profile Send private message
skutnar
n00b
n00b


Joined: 13 Jun 2006
Posts: 65

PostPosted: Sat Jan 22, 2011 12:06 am    Post subject: Reply with quote

I should add that after the KDE message, I installed PulseAudio, Gstreamer, the VLC phonon plug-in.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Sat Jan 22, 2011 2:18 am    Post subject: Reply with quote

Check permissions on audio devices, if pulseaudio is actually running and consolekit.
Back to top
View user's profile Send private message
skutnar
n00b
n00b


Joined: 13 Jun 2006
Posts: 65

PostPosted: Sat Jan 22, 2011 3:58 am    Post subject: Reply with quote

Permission are fine: 660 root:audio. The user 'pulse' and my user id both are in the audio group.

BTW, pulse never reports an error. The volume control level meters actually move when I try to play audio, even though I hear nothing.

Consolekit and policykit were also re-added to the system after a long period of not having it.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Sat Jan 22, 2011 5:34 am    Post subject: Reply with quote

That doesn't actually mean fine - full output of 'ls -l', please.
Also, the expected way of using pulseaudio (as a user started daemon) doesn't really care about pulse group.
Back to top
View user's profile Send private message
skutnar
n00b
n00b


Joined: 13 Jun 2006
Posts: 65

PostPosted: Sat Jan 22, 2011 6:16 am    Post subject: Reply with quote

As requested.

Code:

$ ls -al /dev/snd /dev/dsp
crw-rw---- 1 root audio 14, 3 Jan 21 17:52 /dev/dsp

/dev/snd:
total 0
drwxr-xr-x  3 root root      360 Jan 21 17:52 .
drwxr-xr-x 18 root root     4240 Jan 21 17:52 ..
drwxr-xr-x  2 root root       60 Jan 21 17:51 by-path
crw-rw----  1 root audio 116,  0 Jan 21 17:51 controlC0
crw-rw----  1 root audio 116,  4 Jan 21 17:51 hwC0D0
crw-rw----  1 root audio 116,  6 Jan 21 17:52 hwC0D2
crw-rw----  1 root audio 116,  8 Jan 21 17:51 midiC0D0
crw-rw----  1 root audio 116,  9 Jan 21 17:51 midiC0D1
crw-rw----  1 root audio 116, 10 Jan 21 17:52 midiC0D2
crw-rw----  1 root audio 116, 11 Jan 21 17:52 midiC0D3
crw-rw----  1 root audio 116, 24 Jan 22 00:12 pcmC0D0c
crw-rw----  1 root audio 116, 16 Jan 22 00:15 pcmC0D0p
crw-rw----  1 root audio 116, 25 Jan 21 17:51 pcmC0D1c
crw-rw----  1 root audio 116, 26 Jan 21 17:51 pcmC0D2c
crw-rw----  1 root audio 116, 18 Jan 21 17:51 pcmC0D2p
crw-rw----  1 root audio 116, 19 Jan 21 17:51 pcmC0D3p
crw-rw----  1 root audio 116,  1 Jan 21 17:52 seq
crw-rw----  1 root audio 116, 33 Jan 21 17:51 timer


My groups:
disk wheel floppy audio cdrom video cdrw usb users portage plugdev games

Pulse groups:
audio pulse

emerge --info
Code:

Portage 2.2.0_alpha18 (default/linux/amd64/10.0/no-multilib, gcc-4.5.2-asneeded, glibc-2.12.2-r0, 2.6.36-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r7-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.1
Timestamp of tree: Fri, 21 Jan 2011 22:00:22 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.5
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo local vmware
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -Wl,-z,now"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/vmware"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac accessibility acpi alsa amd64 ao avahi bash-completion branding bzip2 cairo caps cdda cddb cdparanoia cli consolekit cracklib crypt css cups curl cxx dbus dga dri dv dvd dvdr encode exif expat faac faad fbcon ffmpeg fftw flac fontconfig fortran geoip ggi gif glib gmp gnutls gphoto2 gpm gs gstreamer gtk iconv icu id3tag idn ieee1394 imagemagick imlib ipv6 ithreads java jfs joystick jpeg jpeg2k kde kdehiddenvisibility kontact lame lcms libsamplerate lm_sensors logrotate lzo mad matroska mbox mjpeg mmap mmx mmxext mng modplug modules motif mp3 mpeg mplayer msn mtp mudflap musepack musicbrainz ncurses network network-cron nls nptl nptlonly nsplugin ntfs offensive ogg openal opengl openmp openssl oscar pam pcre pdf perl plasma plotutils png policykit pppd pulseaudio qt3support qt4 quicktime rar readline samba schroedinger sdl session smp sndfile speex spell sse sse2 sse3 ssl startup-notification stats subversion suid svg sysfs syslog tcl tcpd theora threads tiff truetype twolame udev unicode usb vaapi vcd vdpau vim-syntax vnc vorbis vpx wavpack wmf wxwidgets x264 xcb xcomposite xfs xft xine xml xorg xpm xscreensaver xv xvid zlib" ALSA_CARDS="emu10k1 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Sat Jan 22, 2011 2:57 pm    Post subject: Reply with quote

Is consolekit set up correctly, as I don't see ACLs set in that output ?
Back to top
View user's profile Send private message
skutnar
n00b
n00b


Joined: 13 Jun 2006
Posts: 65

PostPosted: Sat Jan 22, 2011 4:27 pm    Post subject: Reply with quote

All I did was emerge it and verified that it's running and ck-list-sessions shows active/is-local TRUE for me.

What needs to happen for it to be set up correctly to show ACL info? I don't have the ACL USE flag set, if that means anything.
Back to top
View user's profile Send private message
skutnar
n00b
n00b


Joined: 13 Jun 2006
Posts: 65

PostPosted: Sat Jan 22, 2011 5:18 pm    Post subject: Reply with quote

I'm going to enable the ACL USE flag and rebuild. I always thought that ACLs were unnecessary on a single-user desktop.
Back to top
View user's profile Send private message
skutnar
n00b
n00b


Joined: 13 Jun 2006
Posts: 65

PostPosted: Sat Jan 22, 2011 10:05 pm    Post subject: Reply with quote

After adding the acl USE flag, rebuilding with emerge -auvDN world, and rebooting, I still see no + signs next to the audio devices. Could this because I don't need the ACLs due to group membership?

I still have no sound in KDE / PulseAudio
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Sat Jan 22, 2011 10:22 pm    Post subject: Reply with quote

Have you tried with a clean kde config? Try renaming your ~/.kde4 dir while not in kde DE. I have the same problem and this works for a while. Actually all other DE's are working fine, only kde have this problem. There were others who have posted here about this problem and I did not hear they solved it. I suggest instal some other minimal DE until the problem solved. Emerging them is almost instantly:
Openbox 40 seconds,
Fluxbox 4 minutes,
Icewm 1 minute and 43 seconds.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Sat Jan 22, 2011 10:39 pm    Post subject: Reply with quote

Do you have ACL support enabled in kernel for your filesystems ?
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Sat Jan 22, 2011 10:52 pm    Post subject: Reply with quote

VoidMage wrote:
Do you have ACL support enabled in kernel for your filesystems ?

If you are asking to me, yes I have ACL support in kernel for filesystems and it is in my useflags.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
skutnar
n00b
n00b


Joined: 13 Jun 2006
Posts: 65

PostPosted: Sun Jan 23, 2011 4:57 am    Post subject: Reply with quote

I do not have support in my kernel for xattrs on any file systems. Extended attributes are not quite the same as ACLs, though ACLs can be stored in xattrs. http://acl.bestbits.at/about.html
Back to top
View user's profile Send private message
skutnar
n00b
n00b


Joined: 13 Jun 2006
Posts: 65

PostPosted: Sun Jan 23, 2011 5:02 am    Post subject: Reply with quote

But, this is getting a bit away from the issue I'm having... I may just get PulseAudio out of the picture completely and see where that leads me. Having sound in most things I use all the time is keeping this from being a big deal. It seems anything that directly talks to ALSA works fine. The problems occurs when audio goes through an additional layer.
Back to top
View user's profile Send private message
skutnar
n00b
n00b


Joined: 13 Jun 2006
Posts: 65

PostPosted: Sun Jan 23, 2011 5:54 am    Post subject: Reply with quote

Decided to add xattr support for my filesystems in the kernel and added the xattr USE flag, rebuilt, rebooted...

Code:

$ ls -al /dev/snd /dev/dsp
crw-rw----+ 1 root audio 14, 3 Jan 23 00:44 /dev/dsp

/dev/snd:
total 0
drwxr-xr-x   3 root root      360 Jan 23 00:44 .
drwxr-xr-x  18 root root     4240 Jan 23 00:45 ..
drwxr-xr-x   2 root root       60 Jan 23 00:44 by-path
crw-rw----+  1 root audio 116,  0 Jan 23 00:44 controlC0
crw-rw----+  1 root audio 116,  4 Jan 23 00:44 hwC0D0
crw-rw----+  1 root audio 116,  6 Jan 23 00:44 hwC0D2
crw-rw----+  1 root audio 116,  8 Jan 23 00:44 midiC0D0
crw-rw----+  1 root audio 116,  9 Jan 23 00:44 midiC0D1
crw-rw----+  1 root audio 116, 10 Jan 23 00:44 midiC0D2
crw-rw----+  1 root audio 116, 11 Jan 23 00:44 midiC0D3
crw-rw----+  1 root audio 116, 24 Jan 23 00:52 pcmC0D0c
crw-rw----+  1 root audio 116, 16 Jan 23 00:52 pcmC0D0p
crw-rw----+  1 root audio 116, 25 Jan 23 00:44 pcmC0D1c
crw-rw----+  1 root audio 116, 26 Jan 23 00:44 pcmC0D2c
crw-rw----+  1 root audio 116, 18 Jan 23 00:44 pcmC0D2p
crw-rw----+  1 root audio 116, 19 Jan 23 00:44 pcmC0D3p                                                                             
crw-rw----+  1 root audio 116,  1 Jan 23 00:44 seq                                                                                   
crw-rw----+  1 root audio 116, 33 Jan 23 00:44 timer


Plusses in place...
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Sun Jan 23, 2011 1:29 pm    Post subject: Reply with quote

OK, what's the result of 'paplay -v --raw /dev/urandom' then ?
Back to top
View user's profile Send private message
skutnar
n00b
n00b


Joined: 13 Jun 2006
Posts: 65

PostPosted: Sun Jan 23, 2011 4:29 pm    Post subject: Reply with quote

Here:
Code:

$ paplay -v --raw /dev/urandom
Opening a playback stream with sample specification 's16le 2ch 44100Hz' and channel map 'front-left,front-right'.
Connection established.
Stream successfully created.
Buffer metrics: maxlength=4194304, tlength=352800, prebuf=349276, minreq=3528
Using sample spec 's16le 2ch 44100Hz', channel map 'front-left,front-right'.
Connected to device alsa_output.pci-0000_05_07.0.analog-stereo (0, not suspended).
Stream started.
Time: xx.xxx sec; Latency xxxxxxx usec.


Time and latency replaced with xxxx as I couldn't capture that while it was running. No sound heard.

Then, I tried this:
Code:

$ aplay -v /dev/urandom
Playing raw data '/dev/urandom' : Unsigned 8 bit, Rate 8000 Hz, Mono
Plug PCM: Hardware PCM card 0 'SB Audigy 1 [SB0090]' device 0 subdevice 1
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 8000
  exact rate   : 8000 (8000/1)
  msbits       : 8
  buffer_size  : 4000
  period_size  : 1000
  period_time  : 125000
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 1000
  period_event : 0
  start_threshold  : 4000
  stop_threshold   : 4000
  silence_threshold: 0
  silence_size : 0
  boundary     : 9007199254740992000
  appl_ptr     : 0
  hw_ptr       : 0
^CAborted by signal Interrupt...


Quite loud white noise...
Back to top
View user's profile Send private message
skutnar
n00b
n00b


Joined: 13 Jun 2006
Posts: 65

PostPosted: Sun Jan 23, 2011 4:37 pm    Post subject: Reply with quote

More info:

Code:

$ pacmd list
Welcome to PulseAudio! Use "help" for usage information.
>>> Memory blocks currently allocated: 4, size: 129.0 KiB.
Memory blocks allocated during the whole lifetime: 4243, size: 113.7 MiB.
Memory blocks imported from other processes: 3, size: 65.0 KiB.
Memory blocks exported to other processes: 0, size: 0 B.
Total sample cache size: 0 B.
Default sample spec: s16le 2ch 44100Hz
Default channel map: front-left,front-right
Default sink name: alsa_output.pci-0000_05_07.0.analog-stereo
Default source name: alsa_output.pci-0000_05_07.0.analog-stereo.monitor
Memory blocks of type POOL: 1 allocated/1 accumulated.
Memory blocks of type POOL_EXTERNAL: 0 allocated/22 accumulated.
Memory blocks of type APPENDED: 0 allocated/0 accumulated.
Memory blocks of type USER: 0 allocated/0 accumulated.
Memory blocks of type FIXED: 0 allocated/3423 accumulated.
Memory blocks of type IMPORTED: 3 allocated/819 accumulated.
22 module(s) loaded.
    index: 0
        name: <module-device-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the volume/mute state of devices"
                module.version = "0.9.22"
    index: 1
        name: <module-stream-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the volume/mute/device state of streams"
                module.version = "0.9.22"
    index: 2
        name: <module-card-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore profile of cards"
                module.version = "0.9.22"
    index: 3
        name: <module-augment-properties>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Augment the property sets of streams with additional static information"
                module.version = "0.9.22"
    index: 4
        name: <module-alsa-card>
        argument: <device_id="0" name="pci-0000_05_07.0" card_name="alsa_card.pci-0000_05_07.0" tsched=yes ignore_dB=no card_properties="module-udev-detect.discovered=1">
        used: 1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "ALSA Card"
                module.version = "0.9.22"
    index: 5
        name: <module-udev-detect>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Detect available audio hardware and load matching drivers"
                module.version = "0.9.22"
    index: 6
        name: <module-esound-protocol-unix>
        argument: <>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "ESOUND protocol (UNIX sockets)"
                module.version = "0.9.22"
    index: 7
        name: <module-native-protocol-unix>
        argument: <>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "Native protocol (UNIX sockets)"
                module.version = "0.9.22"
    index: 8
        name: <module-zeroconf-publish>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "mDNS/DNS-SD Service Publisher"
                module.version = "0.9.22"
    index: 9
        name: <module-default-device-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the default sink and source"
                module.version = "0.9.22"
    index: 10
        name: <module-rescue-streams>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "When a sink/source is removed, try to move their streams to the default sink/source"
                module.version = "0.9.22"
    index: 11
        name: <module-always-sink>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Always keeps at least one sink loaded even if it's a null one"
                module.version = "0.9.22"
    index: 12
        name: <module-intended-roles>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically set device of streams based of intended roles of devices"
                module.version = "0.9.22"
    index: 13
        name: <module-suspend-on-idle>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "When a sink/source is idle for too long, suspend it"
                module.version = "0.9.22"
    index: 14
        name: <module-console-kit>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Create a client for each ConsoleKit session of this user"
                module.version = "0.9.22"
    index: 15
        name: <module-position-event-sounds>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
                module.version = "0.9.22"
    index: 16
        name: <module-cork-music-on-phone>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Mute or cork music while a phone stream exists"
                module.version = "0.9.22"
    index: 17
        name: <module-device-manager>
        argument: <do_routing=1>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Keep track of devices (and their descriptions) both past and present and prioritise by role"
                module.version = "0.9.22"
    index: 18
        name: <module-x11-publish>
        argument: <display=:0>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "X11 credential publisher"
                module.version = "0.9.22"
    index: 19
        name: <module-x11-cork-request>
        argument: <display=:0>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "Synthesize X11 media key events when cork/uncork is requested"
                module.version = "0.9.22"
    index: 20
        name: <module-x11-xsmp>
        argument: <display=:0 session_manager=local/zeus:@/tmp/.ICE-unix/2574,unix/zeus:/tmp/.ICE-unix/2574>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "X11 session management"
                module.version = "0.9.22"
    index: 21
        name: <module-cli-protocol-unix>
        argument: <>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "Command line interface protocol (UNIX sockets)"
                module.version = "0.9.22"
1 sink(s) available.
  * index: 0
        name: <alsa_output.pci-0000_05_07.0.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
        state: RUNNING
        suspend cause:
        priority: 9059
        volume: 0:  74% 1:  74%
                0: -8.00 dB 1: -8.00 dB
                balance 0.00
        base volume: 100%
                     0.00 dB
        volume steps: 65537
        muted: no
        current latency: 210.61 ms
        max request: 63 KiB
        max rewind: 64 KiB
        monitor source: 0
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 1
        linked by: 1
        configured latency: 371.52 ms; range is 0.50 .. 371.52 ms
        card: 0 <alsa_card.pci-0000_05_07.0>
        module: 4
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ADC Capture/Standard PCM Playback"
                alsa.id = "emu10k1"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "SB Audigy 1 [SB0090]"
                alsa.long_card_name = "SB Audigy 1 [SB0090] (rev.3, serial:0x511102) at 0xa000, irq 17"
                alsa.driver_name = "snd_emu10k1"
                device.bus_path = "pci-0000:05:07.0"
                sysfs.path = "/devices/pci0000:00/0000:00:09.0/0000:05:07.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "1102"
                device.product.id = "0004"
                device.string = "front:0"
                device.buffering.buffer_size = "65536"
                device.buffering.fragment_size = "65536"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "SB Audigy 1 [SB0090] Analog Stereo"
                alsa.mixer_name = "TriTech TR28602"
                alsa.components = "AC97a:54524123"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                output-amplifier-on: Amplifier (priority 10)
                output-amplifier-off: No Amplifier (priority 0)
        active port: <output-amplifier-on>
2 source(s) available.
  * index: 0
        name: <alsa_output.pci-0000_05_07.0.analog-stereo.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: IDLE
        suspend cause:
        priority: 1050
        volume: 0: 100% 1: 100%
                0: 0.00 dB 1: 0.00 dB
                balance 0.00
        base volume: 100%
                     0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max rewind: 64 KiB
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 371.52 ms; range is 0.50 .. 371.52 ms
        monitor_of: 0
        card: 0 <alsa_card.pci-0000_05_07.0>
        module: 4
        properties:
                device.description = "Monitor of SB Audigy 1 [SB0090] Analog Stereo"
                device.class = "monitor"
                alsa.card = "0"
                alsa.card_name = "SB Audigy 1 [SB0090]"
                alsa.long_card_name = "SB Audigy 1 [SB0090] (rev.3, serial:0x511102) at 0xa000, irq 17"
                alsa.driver_name = "snd_emu10k1"
                device.bus_path = "pci-0000:05:07.0"
                sysfs.path = "/devices/pci0000:00/0000:00:09.0/0000:05:07.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "1102"
                device.product.id = "0004"
                device.string = "0"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
    index: 1
        name: <alsa_input.pci-0000_05_07.0.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9059
        volume: 0: 100% 1: 100%
                0: 0.00 dB 1: 0.00 dB
                balance 0.00
        base volume: 100%
                     0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max rewind: 0 KiB
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 371.52 ms
        card: 0 <alsa_card.pci-0000_05_07.0>
        module: 4
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ADC Capture/Standard PCM Playback"
                alsa.id = "emu10k1"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "SB Audigy 1 [SB0090]"
                alsa.long_card_name = "SB Audigy 1 [SB0090] (rev.3, serial:0x511102) at 0xa000, irq 17"
                alsa.driver_name = "snd_emu10k1"
                device.bus_path = "pci-0000:05:07.0"
                sysfs.path = "/devices/pci0000:00/0000:00:09.0/0000:05:07.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "1102"
                device.product.id = "0004"
                device.string = "hw:0"
                device.buffering.buffer_size = "65536"
                device.buffering.fragment_size = "32768"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "SB Audigy 1 [SB0090] Analog Stereo"
                alsa.mixer_name = "TriTech TR28602"
                alsa.components = "AC97a:54524123"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
6 client(s) logged in.
    index: 0
        driver: <module-console-kit.c>
        owner module: 14
        properties:
                application.name = "ConsoleKit Session /org/freedesktop/ConsoleKit/Session1"
                console-kit.session = "/org/freedesktop/ConsoleKit/Session1"
    index: 4
        driver: <protocol-native.c>
        owner module: 7
        properties:
                application.name = "KMix KDE 4"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "16"
                application.process.id = "2607"
                application.process.user = "skutnar"
                application.process.host = "zeus"
                application.process.binary = "kmix"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "4d068b573e7c7139c5af80a74972ce0a"
                application.process.session_id = "4d068b573e7c7139c5af80a74972ce0a-1295761937.227104-388589852"
                application.icon_name = "kmix"
    index: 7
        driver: <module-x11-xsmp.c>
        owner module: 20
        properties:
                application.name = "XSMP Session on KDE as 107a657573000129576195200000025740006"
                xsmp.vendor = "KDE"
                xsmp.client.id = "107a657573000129576195200000025740006"
    index: 9
        driver: <protocol-native.c>
        owner module: 7
        properties:
                application.name = "libcanberra"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "16"
                application.version = "0.26"
                application.id = "org.freedesktop.libcanberra"
                application.process.id = "6359"
                application.process.user = "skutnar"
                application.process.host = "zeus"
                application.process.binary = "firefox"
                window.x11.display = ":0"
                application.language = "en_US.UTF-8"
                application.process.machine_id = "4d068b573e7c7139c5af80a74972ce0a"
                application.process.session_id = "4d068b573e7c7139c5af80a74972ce0a-1295761937.227104-388589852"
    index: 11
        driver: <protocol-native.c>
        owner module: 7
        properties:
                application.name = "paplay"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "16"
                media.name = "/dev/urandom"
                application.process.id = "6499"
                application.process.user = "skutnar"
                application.process.host = "zeus"
                application.process.binary = "pacat"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "4d068b573e7c7139c5af80a74972ce0a"
                application.process.session_id = "4d068b573e7c7139c5af80a74972ce0a-1295761937.227104-388589852"
    index: 15
        driver: <cli.c>
        owner module: 21
        properties:
                application.name = "UNIX socket client"
1 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_05_07.0>
        driver: <module-alsa-card.c>
        owner module: 4
        properties:
                alsa.card = "0"
                alsa.card_name = "SB Audigy 1 [SB0090]"
                alsa.long_card_name = "SB Audigy 1 [SB0090] (rev.3, serial:0x511102) at 0xa000, irq 17"
                alsa.driver_name = "snd_emu10k1"
                device.bus_path = "pci-0000:05:07.0"
                sysfs.path = "/devices/pci0000:00/0000:00:09.0/0000:05:07.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "1102"
                device.product.id = "0004"
                device.string = "0"
                device.description = "SB Audigy 1 [SB0090]"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                output:analog-mono: Analog Mono Output (priority 100)
                output:analog-mono+input:analog-mono: Analog Mono Duplex (priority 101)
                output:analog-mono+input:analog-stereo: Analog Mono Output + Analog Stereo Input (priority 160)
                output:analog-mono+input:iec958-stereo: Analog Mono Output + Digital Stereo (IEC958) Input (priority 155)
                output:analog-stereo: Analog Stereo Output (priority 6000)
                output:analog-stereo+input:analog-mono: Analog Stereo Output + Analog Mono Input (priority 6001)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060)
                output:analog-surround-40: Analog Surround 4.0 Output (priority 700)
                output:analog-surround-40+input:analog-mono: Analog Surround 4.0 Output + Analog Mono Input (priority 701)
                output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760)
                output:analog-surround-41: Analog Surround 4.1 Output (priority 800)
                output:analog-surround-41+input:analog-mono: Analog Surround 4.1 Output + Analog Mono Input (priority 801)
                output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 860)
                output:analog-surround-50: Analog Surround 5.0 Output (priority 700)
                output:analog-surround-50+input:analog-mono: Analog Surround 5.0 Output + Analog Mono Input (priority 701)
                output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 760)
                output:analog-surround-51: Analog Surround 5.1 Output (priority 800)
                output:analog-surround-51+input:analog-mono: Analog Surround 5.1 Output + Analog Mono Input (priority 801)
                output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 860)
                output:iec958-stereo: Digital Stereo Duplex (IEC958) (priority 5500)
                output:iec958-stereo+input:analog-mono: Digital Stereo (IEC958) Output + Analog Mono Input (priority 5501)
                output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5560)
                input:analog-mono: Analog Mono Input (priority 1)
                input:analog-stereo: Analog Stereo Input (priority 60)
                input:iec958-stereo: Digital Stereo (IEC958) Input (priority 55)
                off: Off (priority 0)
        active profile: <output:analog-stereo+input:analog-stereo>
        sinks:
                alsa_output.pci-0000_05_07.0.analog-stereo/#0: SB Audigy 1 [SB0090] Analog Stereo
        sources:
                alsa_output.pci-0000_05_07.0.analog-stereo.monitor/#0: Monitor of SB Audigy 1 [SB0090] Analog Stereo
                alsa_input.pci-0000_05_07.0.analog-stereo/#1: SB Audigy 1 [SB0090] Analog Stereo
1 sink input(s) available.
    index: 1
        driver: <protocol-native.c>
        flags:
        state: DRAINED
        sink: 0 <alsa_output.pci-0000_05_07.0.analog-stereo>
        volume: 0:  74% 1:  74%
                0: -8.00 dB 1: -8.00 dB
                balance 0.00
        muted: no
        current latency: 0.00 ms
        requested latency: 371.52 ms
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        resample method: (null)
        module: 7
        client: 11 <paplay>
        properties:
                application.name = "paplay"
                media.name = "/dev/urandom"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "16"
                application.process.id = "6499"
                application.process.user = "skutnar"
                application.process.host = "zeus"
                application.process.binary = "pacat"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "4d068b573e7c7139c5af80a74972ce0a"
                application.process.session_id = "4d068b573e7c7139c5af80a74972ce0a-1295761937.227104-388589852"
                module-stream-restore.id = "sink-input-by-application-name:paplay"
0 source outputs(s) available.
0 cache entrie(s) available.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Sun Jan 23, 2011 5:01 pm    Post subject: Reply with quote

The result of paplay means that everything is actually working
- you just can't hear it :lol: .
Seriously though, check alsamixer both on default device and the actual card
- perhaps one of the elements is muted ?
Back to top
View user's profile Send private message
skutnar
n00b
n00b


Joined: 13 Jun 2006
Posts: 65

PostPosted: Sun Jan 23, 2011 7:59 pm    Post subject: Reply with quote

Hmm, apparently so. Some channels in alsamixer that I've never had to play with before appear to have affected the output for PulseAudio and a few other things.

So now, I can hear audio with:
- PulseAudio
- VLC with the default audio output
- FFMpeg's ffplay

However, I'm still unable to hear anything from KDE, regardless of what backend I'm using.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Sun Jan 23, 2011 8:12 pm    Post subject: Reply with quote

You should probably check your phonon settings/useflags.
Back to top
View user's profile Send private message
skutnar
n00b
n00b


Joined: 13 Jun 2006
Posts: 65

PostPosted: Mon Jan 24, 2011 2:02 am    Post subject: Reply with quote

There aren't many settings for phonon. I'm pretty sure it's just whatever the KDE System Settings applet makes available. So, those look fine.

USE flags related to phonon:
Code:

$ eix -I phonon
[I] kde-base/phonon-kde
     Available versions: 
        (4.4)   4.4.5
        (4.5)   (~)4.5.5
        {alsa aqua debug kdeenablefinal kdeprefix +xine}
     Installed versions:  4.5.5(4.5)(06:32:51 PM 01/20/2011)(alsa xine -aqua -debug -kdeenablefinal -kdeprefix)
     Homepage:            http://phonon.kde.org
     Description:         Phonon KDE Integration

[I] media-sound/phonon
     Available versions:  *4.3.50_pre20090520 4.3.80-r1 4.4.2 (~)4.4.3 {alsa aqua debug gstreamer pulseaudio +xcb +xine}
     Installed versions:  4.4.3(04:15:01 PM 01/21/2011)(alsa gstreamer pulseaudio xcb xine -aqua -debug)
     Homepage:            http://phonon.kde.org
     Description:         KDE multimedia API

[I] media-sound/phonon-vlc
     Available versions:  (~)0.2.0 (~)0.3.1
     Installed versions:  0.3.1(05:20:57 PM 01/21/2011)
     Homepage:            http://gitorious.org/phonon/phonon-vlc
     Description:         Phonon VLC backend

Found 3 matches.


Things with the phonon USE flag:

Code:

$ emerge -pv PyQt4 qt-qt3support

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-python/PyQt4-4.8.2  USE="X dbus kde multimedia opengl phonon sql svg webkit -assistant -debug -declarative -doc -examples -xmlpatterns" 0 kB                                                                                                         
[ebuild   R   ] x11-libs/qt-qt3support-4.7.1  USE="accessibility exceptions kde phonon (-aqua) -debug -pch" 0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB


It's just weird that it quit working all of a sudden after an emerge. It was probably when the latest KDE came out that dropped HAL completely.
Back to top
View user's profile Send private message
skutnar
n00b
n00b


Joined: 13 Jun 2006
Posts: 65

PostPosted: Tue Jan 25, 2011 3:32 am    Post subject: Reply with quote

Solved: the issue is HAL. I emerged HAL, added it to the default run level, rebooted, and voila... sound works. So, the dropped KDE dependencies on HAL are premature.

I've since removed PulseAudio since I didn't have it until the issue started. I don't want or need the extra layer.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum