Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xine+alsa not working on amaroK
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
numeritos
Apprentice
Apprentice


Joined: 24 Nov 2006
Posts: 154

PostPosted: Wed Mar 28, 2007 11:12 pm    Post subject: Xine+alsa not working on amaroK Reply with quote

I've got alsa installed but when I choose it as output for xine it says that it wasn't able to initialize any audio drivers! I don't know what to do... This is my .asoundrc file:
Code:
pcm.via82xx {
   type hw
   card 0
}

ctl.via82xx {
   type hw
   card 0
}

pcm.dsp0 {
    type plug
    slave.pcm "dmix"
}
# or:
#  pcm.dsp0 pcm.default
# if "default" hasn't been redefined

#ctl.mixer0 {
#    type hw
#    card 0
#}

pcm.!dmix {
   type dmix
   ipc_key 1024
   slave {
       pcm "hw:0,0"
       channels 6
       period_size 512
       buffer_size 1024
   }
}

pcm.!default {
   type plug
   slave.pcm "dmix"
   slave.channels 6
   route_policy duplicate
}

#pcm.jackplug {
#    type plug
#    slave { pcm "jack" }
#}

#pcm.jack {
#    type jack
#    playback_ports {
#        0 alsa_pcm:playback_1
#        1 alsa_pcm:playback_2
#    }
#    capture_ports {
#        0 alsa_pcm:capture_1
#        1 alsa_pcm:capture_2
#    }
#}
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Wed Mar 28, 2007 11:47 pm    Post subject: Reply with quote

I doubt the asoundrc has anything to do with it. If you restart the alsasound service, what happens?

Oh, BTW, with the latest alsa, you don't need the asoundrc at all for dmix.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
numeritos
Apprentice
Apprentice


Joined: 24 Nov 2006
Posts: 154

PostPosted: Thu Mar 29, 2007 1:20 am    Post subject: Reply with quote

didymos wrote:
I doubt the asoundrc has anything to do with it. If you restart the alsasound service, what happens?

Oh, BTW, with the latest alsa, you don't need the asoundrc at all for dmix.

Well... Some problems were fixed restarting alsasound because it installed my soundcard device (I had it installed but I moved my gentoo to another HD and it seems that was broken). Without the .asoundrc it makes a weird noise every 15 seconds more or less. With it, it doesn't make that sound but once again xine is unable to initialize sound drivers :(
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Thu Mar 29, 2007 1:38 am    Post subject: Reply with quote

Maybe there are module parameters for that card which can handle the buzzing issue. Here's the alsa page for that card:

http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=VIA&card=VIA+southbridge+AC97+audio.&chip=VIA82C686%2C+VIA8233%2C+VIA8233A%2C+VIA8235%2C+VIA8237&module=via82xx

These pages aren't necessarily up to date, though. Check the kernel docs too. Sometimes they have stuff that hasn't appeared elsewhere.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
numeritos
Apprentice
Apprentice


Joined: 24 Nov 2006
Posts: 154

PostPosted: Thu Mar 29, 2007 2:16 am    Post subject: Reply with quote

I read it and followed instructions. It just doesn't work. Now at least I'm able to use OSS without the slight noise I was having before when reproducing music.
Back to top
View user's profile Send private message
numeritos
Apprentice
Apprentice


Joined: 24 Nov 2006
Posts: 154

PostPosted: Thu Mar 29, 2007 10:22 am    Post subject: Reply with quote

Still got the problem after all... With OSS when I reproduce songs with high tones (like power metal) it makes that weird noise
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Thu Mar 29, 2007 12:47 pm    Post subject: Reply with quote

I don't know. Maybe that's just a screwy driver. If this is a dual boot system with Windows, have you had any issues with sound under that OS?
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
numeritos
Apprentice
Apprentice


Joined: 24 Nov 2006
Posts: 154

PostPosted: Thu Mar 29, 2007 6:53 pm    Post subject: Reply with quote

didymos wrote:
I don't know. Maybe that's just a screwy driver. If this is a dual boot system with Windows, have you had any issues with sound under that OS?

Well, I haven't got it installed it right now but will have to because of University (that sucks, but I have no choice). That's what I was thinking of anyway: trying that same song under Windows. The weird thing is that before I moved Gentoo to the bigger HD, the sound was working just fine. It started working with that little noise after I moved it.
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