Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
arts default can't be opened for playback Invalid argument
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
bpaddock
Apprentice
Apprentice


Joined: 04 Nov 2005
Posts: 195
Location: Franklin, PA

PostPosted: Wed May 21, 2008 11:18 pm    Post subject: arts default can't be opened for playback Invalid argument Reply with quote

I did a emerge -uDN world and now when KDE starts I get this:

Quote:

artsmessage
Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback (Invalid argument)
The sound server will continue, using the null output device.


Can you point me in a direction here?

What is getting the invalid argument (arts I assume?),
and what is the argument? Where is the argument coming from?
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Thu May 22, 2008 5:26 am    Post subject: Reply with quote

Hi,

did you try 'emerge --depclean && revdep-rebuild' after your emerge -uDN world?

Would you please post your 'emerge --info'?

It could be that the profile you use doesn't have the arts flag (the 2008/desktop doesn't)
You might need to enable the arts flag for kdelibs.

That's only what I can guess so far.

Thanks
_________________
Powered by Gentoo Linux since 2003
Back to top
View user's profile Send private message
bpaddock
Apprentice
Apprentice


Joined: 04 Nov 2005
Posts: 195
Location: Franklin, PA

PostPosted: Thu May 22, 2008 9:52 pm    Post subject: Reply with quote

mamac wrote:

did you try 'emerge --depclean && revdep-rebuild' after your emerge -uDN world?


Looks like these are the problem, what do I need to install to fix this?:
Checking dynamic linking consistency...
broken /usr/lib/libacl.la (requires /usr/lib64/libattr.la)
broken /usr/lib/libakode_alsa_sink.la (requires /usr/lib64/libakode.la)
broken /usr/lib/libakode_mpc_decoder.la (requires /usr/lib64/libakode.la)
broken /usr/lib/libakode_mpeg_decoder.la (requires /usr/lib64/libakode.la)
broken /usr/lib/libakode_src_resampler.la (requires /usr/lib64/libakode.la)
broken /usr/lib/libakode_xiph_decoder.la (requires /usr/lib64/libakode.la)
done.
(/root/.revdep-rebuild.3_rebuild)

Quote:

Would you please post your 'emerge --info'?


Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.18-028stab053 x86_64)
=================================================================
System uname: 2.6.18-028stab053 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Timestamp of tree: Thu, 22 May 2008 10:00:02 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python: 2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils: 2.18-r1
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=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://192.168.0.129:8080 http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/emacs /usr/portage/local/layman/science /usr/portage/local/layman/x11 /usr/portage/local/layman/plan9 /usr/portage/local/layman/devnull"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d acpi additions alsa amd64 apm arts aspell audacious avi berkdb bzip2 caps cli cracklib crypt cups curl cvs djvu doc dri emacs emoticon examples fbcon font-server gdbm gif gpm gs hal hddtemp iconv jpeg lame libwww lm_sensors midi mmx motif mp3 mpeg mudflap ncurses netpbm nls nptl nptlonly nsplugin nvidia opengl pam pcre perl pmu png pppd python qt3 quicktime readline reflection samba scanner screen sdk server session slang sound spell spl sse sse2 ssl svg svgz swat tcpd threads tiff truetype udev unicode usb utils vboxbfe vditool xcf xft xinetd xml xorg xosd xpm xterm xvmc zip 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" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Quote:

It could be that the profile you use doesn't have the arts flag (the 2008/desktop doesn't)


arts has been there all along on my system.
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Fri May 23, 2008 2:01 pm    Post subject: Reply with quote

'revdep-rebuild' should re-emerge all that's necessary.

Your profile is 'default-linux/amd64/2007.0'
You could try a newer profile like 'default/linux/amd64/2008.0' or even /desktop.

See Choosing the Right Profile in the handbook.

Then re-run 'emerge -uDNav world'

Then at list you'll have an updated system to start with.
_________________
Powered by Gentoo Linux since 2003
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5933

PostPosted: Fri May 23, 2008 2:10 pm    Post subject: Reply with quote

did you update alsa recently? i found dmix had issues with more recent versions of the alsa- stuff, i'd try downgrading alsa-lib, or restarting alsasound.

cheers
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
bpaddock
Apprentice
Apprentice


Joined: 04 Nov 2005
Posts: 195
Location: Franklin, PA

PostPosted: Fri May 23, 2008 3:35 pm    Post subject: Reply with quote

mamac wrote:
'revdep-rebuild' should re-emerge all that's necessary.

Your profile is 'default-linux/amd64/2007.0'
You could try a newer profile like 'default/linux/amd64/2008.0' or even /desktop.

See Choosing the Right Profile in the handbook.



I switched to amd64/2008.0 . Is there a more detailed reason to chose desktop over 2008.0?
Handbook doesn't really say what is different nor do the profiles themselves.

Quote:

Then re-run 'emerge -uDNav world'

Then at list you'll have an updated system to start with.


Running that now. Only thing it showed out of date was GCC, and it wanted to
remerge my nvidia-driver, which means I'll spend time getting the video to work again.
I've never seen such fragile drivers as NVidia.
Back to top
View user's profile Send private message
bpaddock
Apprentice
Apprentice


Joined: 04 Nov 2005
Posts: 195
Location: Franklin, PA

PostPosted: Fri May 23, 2008 3:36 pm    Post subject: Reply with quote

bunder wrote:
did you update alsa recently? i found dmix had issues with more recent versions of the alsa- stuff, i'd try downgrading alsa-lib, or restarting alsasound.

cheers


Yes, that was part of the -uDN world. I've rebooted several times, so I know that won't help. I've also remerged alsa-lib, didn't help,
so will look at downgrading. Thank you.
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Fri May 23, 2008 4:06 pm    Post subject: Reply with quote

bpaddock wrote:

I switched to amd64/2008.0 . Is there a more detailed reason to chose desktop over 2008.0?
Handbook doesn't really say what is different nor do the profiles themselves.

To be honest I didn't check the difference in the USE flags, I assume desktop is a bit more adapted for desktop usage...
_________________
Powered by Gentoo Linux since 2003
Back to top
View user's profile Send private message
bpaddock
Apprentice
Apprentice


Joined: 04 Nov 2005
Posts: 195
Location: Franklin, PA

PostPosted: Fri May 23, 2008 6:11 pm    Post subject: Reply with quote

mamac wrote:
'revdep-rebuild' should re-emerge all that's necessary.


Ran revdep-rebuild again, and still get:
broken /usr/lib/libacl.la (requires /usr/lib64/libattr.la)
broken /usr/lib/libakode_alsa_sink.la (requires /usr/lib64/libakode.la)
broken /usr/lib/libakode_mpc_decoder.la (requires /usr/lib64/libakode.la)
broken /usr/lib/libakode_mpeg_decoder.la (requires /usr/lib64/libakode.la)
broken /usr/lib/libakode_src_resampler.la (requires /usr/lib64/libakode.la)
broken /usr/lib/libakode_xiph_decoder.la (requires /usr/lib64/libakode.la)

Something is hosed about links on this sytem. Whats is the best way to
rebuild them short of emerge -e ?
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Sat May 24, 2008 1:08 am    Post subject: Reply with quote

try to 'rm /root/.revdep-rebuild*' and re-run revdep-rebuild...
_________________
Powered by Gentoo Linux since 2003
Back to top
View user's profile Send private message
bpaddock
Apprentice
Apprentice


Joined: 04 Nov 2005
Posts: 195
Location: Franklin, PA

PostPosted: Sun May 25, 2008 12:45 am    Post subject: Reply with quote

bunder wrote:
did you update alsa recently? i found dmix had issues with more recent versions of the alsa- stuff, i'd try downgrading alsa-lib, or restarting alsasound.

cheers


Putting

Code:

>=media-libs/alsa-lib-1.0.16


in /etc/portage/package.mask fixed the problem.

Thank you.
Back to top
View user's profile Send private message
bpaddock
Apprentice
Apprentice


Joined: 04 Nov 2005
Posts: 195
Location: Franklin, PA

PostPosted: Sun May 25, 2008 12:46 am    Post subject: Reply with quote

mamac wrote:
try to 'rm /root/.revdep-rebuild*' and re-run revdep-rebuild...


Same errors as above after doing that. Should I just create symlinks by hand?
Doesn't really feel like a good idea.
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Sun May 25, 2008 8:37 am    Post subject: Reply with quote

Nop, you should find the reason why it's broken...
_________________
Powered by Gentoo Linux since 2003
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