Gentoo Forums
Gentoo Forums
Quick Search: in
No audio capabilities in Totem [SOLVED]
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
HotBBQ
Apprentice
Apprentice


Joined: 03 Mar 2004
Posts: 275
Location: West Melbourne, FL

PostPosted: Thu Jul 31, 2008 7:30 pm    Post subject: No audio capabilities in Totem [SOLVED] Reply with quote

I am unable to play audio files (MP3, WMA) in Totem. I get the following message when I try to open a file, "An error occurred. Could not get/set settings from/on resource." I opened Totem from a command line and this the output

Code:
bowerad1@hpwx070212 ~/Desktop $ totem factotum.mp3
** Message: Error: Could not get/set settings from/on resource.
gstalsasink.c(528): set_hwparams (): /play/visbin/abin/audiosinkbin/audio-sink/bin6/alsasink1:
Unable to set hw params for playback: Invalid argument


I gave Audacious a shot and it seemed to be able to play MP3 files just fine, but not WMA files. For mpeg2 video files I can see the video but still no sound. System sounds work fine. I haven't tried an audio CD yet. ALSA is compiled into the kernel and I have set all gstreamer options to use ALSA.

Code:
bowerad1@hpwx070212 ~/Desktop $ emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo x86_64)
=================================================================
System uname: 2.6.26-gentoo x86_64 Intel(R) Xeon(R) CPU X5460 @ 3.16GHz
Timestamp of tree: Wed, 30 Jul 2008 01:45:03 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://lug.mtu.edu/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://132.228.91.84/gentoo-portage"
USE="X a52 aac acl acpi adns alsa amd64 apm avahi bash-completion berkdb branding bzip2 cairo caps cddb cdr cli cracklib crypt cups curl dbus dga dvd dvdr eds encode esd exif fam ffmpeg flac gdbm gif gnome gnome-keyring gnutls gpm gstreamer gtk hal iconv isdnlog java jpeg lcms libedit libnotify lzo mad midi mmx mng mono mp3 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl png ppds pppd python readline reflection samba session slang spell spl sse sse2 ssl startup-notification svg symlink sysfs syslog tcpd theora threads tiff truetype unicode vorbis wmf xattr xml xorg xulrunner xv zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Solved
I had to disable PC-Speaker support in the kernel. It was preventing my sound card driver from being loaded first.
_________________
"If tyranny and oppression come to this land, it will be in the guise of fighting a foreign enemy." -- James Madison


Last edited by HotBBQ on Sun Aug 03, 2008 7:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
arnvidr
Guru
Guru


Joined: 19 Aug 2004
Posts: 435
Location: Oslo, Norway

PostPosted: Sun Aug 03, 2008 12:05 pm    Post subject: Reply with quote

Glad you solved it, but for some reason this gave me lulz :lol:

Damn pc-speakers :P
_________________
Noone wrote:
anything
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