View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Mar 17, 2006 7:10 am 
Offline
Joined: Wed Oct 26, 2005 9:53 am
Posts: 53
Location: Allentown, PA US
Good Morning All,

I have been playing with this issue for a couple of days now with little success. I recently performed a fresh install of KM R5A26. Everything seemed to setup correctly with little post configuration.

Post Install Tasks include:
Upgrade NVIDIA Drivers
Configure LIRC for ATI Remote Wonder
Other minor "tweaks"

My problems arose when I tried to play a dvd or recorded video. I fixed mplayer by creating adding entries to .mplayer/config. All sound and video worked fine after that.

Xine, on the other hand, will not play any sound. I am not sure if this is an issue with Xine or ALSA. I have a .asoundrc that I found (I will post when I get home) for my Chaintech AV710. I have found that I can only get audio to my receiver using the mixed-digital device; analog, mixed-analog and digital devices do not work, either do iec958 or spdif default devices. When I try to setup Xine to use Alsa, audio driver set to auto or alsa, I get an application exception when Xine starts indicating that the audio device is in use by another application, but I can not locate any processes that would be using the audio device.

Here is a little information about my setup. I tried to be a Dragon-like as possible, but it is not exact.
MB: MSI K8N Neo4 Platinum, on-board audio disabled in bios
Processor: AMD64 3200
RAM: 1 GB
Audio: Chaintech AV710
Video: Asus Geforce 6200t, pci-e
1394: Belkin 1394/usb2 pci, for connecting to motorola dct-6200
Keyboard: Lite-on wireless keyboard & mouse
HD: Seagate 250GB

I have looked over the site for this issue but nothing I have read seems to relate to my issue. If anyone could provide me with some other places where I can look. Nothing stands out in dmseg. aplay -l & -L each read the hardware and devices. cat /proc/asound/pcm also displays the appropriate hardware. I can play a .au file with aplay -D mixed-digital, but no other device.

I have updated Xine via apt, but that did not solve the issue. I also used the Dragon xine config file, but the same result. Also, I have installed this version in the past with no issues like this.

I would appreciate any help anyone could offer.

Thanks,
Dan


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 17, 2006 12:38 pm 
Offline
Joined: Wed Oct 26, 2005 9:53 am
Posts: 53
Location: Allentown, PA US
Here is the .asoundrc file I mentioned in my last post.

Code:
# Override the default output used by ALSA.
# If you do not override the default, your default
# device is identical to the (unmixed) analog device
# shown below.  If you prefer mixed and/or digital
# output, uncomment the appropriate four lines below
# (only one slave.pcm line).
#pcm.!default {
#  type plug
## Uncomment the following to use mixed analog by default
#  slave.pcm "dmix-analog"
## Uncomment the following to use unmixed digital by default
#  slave.pcm "digital-hw"
## Uncomment the following to use mixed digital by default
#  slave.pcm "dmix-digital"
#}

# Alias for analog output on the Chaintech AV-710 (hw:0,0)
# - This is identical to the device named "default"--which
# always exists and refers to hw:0,0 (unless overridden)
# - Therefore, we can specify "hw:0,0", "default", or "analog"
# to access analog output on the Chaintech AV-710
pcm.analog {
 type plug
 slave.pcm "analog-hw"
}

# Control device (mixer, etc.) for the Chaintech AV-710 card
ctl.analog {
 type hw
 card 0
}

# Alias for (rate-converted) mixed analog output on the
# Chaintech AV-710 (hw:0,0)
#  - This will accept audio input--regardless of rate--and
# convert to the rate required for the dmix plugin
# (in this case 48000Hz)
pcm.mixed-analog {
 type plug
 slave.pcm "dmix-analog"
}

# Control device (mixer, etc.) for the Chaintech AV-710 card
ctl.mixed-analog {
 type hw
 card 0
}


# Alias for (rate-converted) digital (S/PDIF) output on the
# Chaintech AV-710 (hw:0,1)
#  - This will accept audio input--regardless of rate--and
# convert to the rate required for the S/PDIF hardware
# (in this case 48000Hz)
pcm.digital {
 type plug
 slave.pcm "digital-hw"
}

# Control device (mixer, etc.) for the Chaintech AV-710 card
ctl.digital {
 type hw
 card 0
}

# Alias for mixed (rate-converted) digital (S/PDIF) output on the
# Chaintech AV-710 (hw:0,1)
#  - This will accept audio input--regardless of rate--and
# convert to the rate required for the S/PDIF hardware
# (in this case 48000Hz)
pcm.mixed-digital {
 type plug
 slave.pcm "dmix-digital"
}

# Control device (mixer, etc.) for the Chaintech AV-710 card
ctl.mixed-digital {
 type hw
 card 0
}

# The following devices are not useful by themselves.  They
# require specific rates, channels, and formats.  Therefore,
# you probably do not want to use them directly.  Instead use
# of of the devices defined above.

# Alias for analog output on the Chaintech AV-710 (hw:0,0)
# Do not use this directly--it requires specific rate,
# channels, and format
pcm.analog-hw {
 type hw
 card 0
 device 0
 # The default value for device is 0, so no need to specify
}

# Control device (mixer, etc.) for the Chaintech AV-710 card
ctl.analog-hw {
 type hw
 card 0
}

# Alias for digital (S/PDIF) output on the Chaintech AV-710 (hw:0,1)
# Do not use this directly--it requires specific rate,
# channels, and format
pcm.digital-hw {
 type hw
 card 0
 device 1
}

# Control device (mixer, etc.) for the Chaintech AV-710 card
ctl.digital-hw {
 type hw
 card 0
}

# Direct software mixing plugin for analog output on
# the Chaintech AV-710 (hw:0,0)
# Do not use this directly--it requires specific rate,
# channels, and format
pcm.dmix-analog {
 type dmix
 ipc_key 1234
 slave {
   pcm "analog-hw"
   period_time 0
   period_size 1024
   buffer_size 4096
   rate 48000
 }
}

# Control device (mixer, etc.) for the Chaintech AV-710 card
ctl.dmix-analog {
 type hw
 card 0
}

# Direct software mixing plugin for digital (S/PDIF) output
# on the Chaintech AV-710 (hw:0,1)
# Do not use this directly--it requires specific rate,
# channels, and format
pcm.dmix-digital {
 type dmix
 ipc_key 1235
 slave {
   pcm "digital-hw"
   period_time 0
   period_size 1024
   buffer_size 4096
   rate 48000
 }
}

# Control device (mixer, etc.) for the Chaintech AV-710 card
ctl.dmix-digital {
 type hw
 card 0
}


Thanks again for any help anyone can offer.

Dan


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 17, 2006 3:13 pm 
Offline
Joined: Fri Nov 18, 2005 9:22 am
Posts: 777
Location: spencerport, ny (USA)
Same card here, similar (but non-platinum) MoBo, also with the onboard audio disabled. I'm using the Dragon file:

/usr/lib/krp/Dragon/Dragon_asoundrc

That's in my /etc/asound.conf

Works mostly, but I do have it "stumble" in Xine when playing anything with surround sound. It'll give the nag about the device being busy (mixer problem?) but if I clear it, and press RETURN, it plays fine.

MythTV plays fine, with 5.1 audio, music plays fine. Mame games sound a little distorted/choppy though, and I don't get any sound out of Tux Racer or other Linux games! Weird. I'll continue troubleshooting after .19


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 17, 2006 3:51 pm 
Offline
Joined: Wed Oct 26, 2005 9:53 am
Posts: 53
Location: Allentown, PA US
Are you using the Dragon config as well? Do you get output on all your devices listed in the asound.conf file?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 12:50 pm 
Offline
Joined: Wed Oct 26, 2005 9:53 am
Posts: 53
Location: Allentown, PA US
Ok. Last night I did a fresh install of R5B7. I still have the same problem. Instead of using the .asoundrc file I posted earlier, I used the Dragon one. I also copied the Dragon xine config file to the .xine directory under /home/mythtv. I get audio from the envy_spdif device listed in the .asoundrc when I issue aplay -D envy_spdif <filename> on the command line.

Am I just not setting something up in Xine correctly? The speaker arrangement is set to Pass Through. Other than that, I am not sure what I am missing.

Any ideas would be greatly appreciated.

Dan


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 10:53 pm 
Offline
Joined: Wed Oct 26, 2005 9:53 am
Posts: 53
Location: Allentown, PA US
Ok, I resolved this issue. My .xine/config needed the driver changed to alsa from oss. This is what I attempted in R5A26 and it failed for me. In R5B7, however, this worked fine. Also, I had an issue with mplayer not playing sound as well...Same thing. ao=alsa was needed in my .mplayer/config file.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 02, 2007 8:00 am 
Offline
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
Thanks for this post.

I'm on R5E50 now and the driver is set to oss.

My changes to alsa settings were not even being looked at since xine was using oss
/etc/asound.conf

But for others out there:

the changes won’t stick as root, you need to do this as user mythtv

Code:
su mythtv
nano /home/mythtv/.xine/config


change driver from oss to alsa
Code:
# audio driver to use
# { auto  null  alsa  oss  arts  esd  none  file }, default: 0
audio.driver:alsa


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 7 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu