View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 29 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon May 12, 2014 12:49 pm 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
I know I have this issue way back when I set up my R7.1 computer. Of course, I didn't print out any steps and I am not seeing anything in these forums about this. I have my R8.1 setup mostly working, but ran into one issue yesterday. I went to watch a video from the CBS site (for a show that didn't record while I was fixing my setup). The video played fine in the installed Chrome browser, but there was no audio. Then I remembered that I had to do something special to get the audio from flash to go out over my SPDIF connection on my Chaintech AV710 soundcard. Does anyone here know what that something special is?

_________________
Tim

LinHES 8.4
HDHR3
BioStar A770, AMD X2 4050e, 2GB RAM
GigaByte GeForce 8400, Chaintech AV710
USB-UIRT


Top
 Profile  
 
PostPosted: Mon May 12, 2014 1:28 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
You need to create a /etc/asound.conf (or ~/.asoundrc) to set SPDIF as default. If you have a backup from your R7.x install the same settings you used there should work in R8.x.

BTW, in testing (which will become R8.2) the asound.conf will be created when setting the default audio device in LinHES Settings --> Audio Settings. See http://linhes.org/issues/960


Top
 Profile  
 
PostPosted: Mon May 12, 2014 5:59 pm 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
Thanks, as soon as I read it, it all came rushing back. I had my asound.conf in my backup, once I placed the file and rebooted, sound was once again working in flash.

_________________
Tim

LinHES 8.4
HDHR3
BioStar A770, AMD X2 4050e, 2GB RAM
GigaByte GeForce 8400, Chaintech AV710
USB-UIRT


Top
 Profile  
 
PostPosted: Mon May 12, 2014 10:22 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
opel70 wrote:
sound was once again working in flash.


Pun intended?

_________________
My System


Top
 Profile  
 
PostPosted: Sat May 24, 2014 11:15 pm 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
As my problem is exactly this I thought I would continue on in this thread instead of starting a new one with virtually the same title.

When I first install v8 sound in Chromium and Apple Trailers worked and then over time something happened and then suddenly they didn't. I went through the update from v8 to v8.1 and I still have the problem. No sound on apple trailers and no sound in Google Chrome. Yes I do get sound in normal operation of MythTV.

I have created a /etc/asound.conf
Code:
pcm.!default {
    type plug
    slave.pcm {
        type hw
        card 0
        device 7
    }
}


MythTV audio setting for output device is
Code:
ALSA:hdmi:CARD=NVidia,DEV=1


aplay -L
Code:
null
    Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    HDMI Audio Output


aplay -l
Code:
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Yet I can't get it to work.

I just put the aforementioned /etc/asound.conf on my frontend computer and it works a treat. So can anyone offer up some wisdom as to what is going on so that I can get sound on my main FE for Apple Trailers and Google Chrome, as this is really affecting my WAF.

Thanks

_________________
Girkers


Top
 Profile  
 
PostPosted: Sun May 25, 2014 7:23 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
Try this in your /etc/asound.conf:
Code:
pcm.!default "plughw:0,7"
Also make sure you don't have a ~/.asoundrc as I think that would take precedence over /etc/asound.conf.


Top
 Profile  
 
PostPosted: Mon Jun 02, 2014 2:45 am 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
From memory I had tried that but for giggles (and other things) I tried it again, but no change.

Any other suggestions?

_________________
Girkers


Top
 Profile  
 
PostPosted: Mon Jun 02, 2014 6:55 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
Did you try device 3 or 9? All my current nVidia cards are device 7 but I use to have one that I could only get sound on device 3.


Top
 Profile  
 
PostPosted: Mon Jun 02, 2014 2:51 pm 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
Okay this is my bad, Flash audio is working. Using chrome I was able to watch and hear a youtube clip.

It is Apple trailers that are not playing sound, my bad for not defining the problem correctly. I will start a new thread for this problem.

_________________
Girkers


Top
 Profile  
 
PostPosted: Mon Nov 24, 2014 9:15 pm 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
Ok, all of the sudden I am back to having this issue. Everything had been working without issues, and then one day we stopped having audio in Flash again. The only thing that happened is the power went out, so my frontend PC just was powered off. I don't know if this issue started right after that, but it is the only thing that has happened. I just upgraded to 8.2, to see if that would resolve the issue since it should write the asound.conf file properly. But still nothing.

The asound.conf that always used to work is:
Code:
pcm.spdifdmix {
        type dmix
        ipc_key 1337
        slave {
                pcm "hw:0,1"
      format S32_LE
      period_time 0
      period_size 1024
      buffer_size 8096
      rate 44100
        }
}

pcm.!default {
        type plug
        slave {
      pcm spdifdmix
        }
}

Any other ideas?

_________________
Tim

LinHES 8.4
HDHR3
BioStar A770, AMD X2 4050e, 2GB RAM
GigaByte GeForce 8400, Chaintech AV710
USB-UIRT


Top
 Profile  
 
PostPosted: Mon Nov 24, 2014 9:29 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
I had problems with cards taking priority differently if they the system was powered off or just rebooted (it was weird). Have you tried rebooting the system?

_________________
My System


Top
 Profile  
 
PostPosted: Mon Nov 24, 2014 9:31 pm 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
I've rebooted. Though now I just deleted the asound.conf again and gone through the LinHES Settings / Audio and had it recreate the file (one more time) and it is working again.

Too strange.

_________________
Tim

LinHES 8.4
HDHR3
BioStar A770, AMD X2 4050e, 2GB RAM
GigaByte GeForce 8400, Chaintech AV710
USB-UIRT


Top
 Profile  
 
PostPosted: Tue Nov 25, 2014 4:08 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
yay!! MythTv settings can be correct and work even if LinHES settings are wrong.

_________________
My System


Top
 Profile  
 
PostPosted: Mon Dec 08, 2014 10:22 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
So here is a weird thing. My audio settings in LinHES have been set correctly since the upgrade. I had an AVI file that the internal player didn't like so I tried playing it with Mplayer. There was no audio. Because of this post I went into LinHES settings and found that the settings had been changed from Digital and HDMI 1,9 to Analog and Analog device (number whatever). The weird thing is that Chrome and YouTube were working fine. It's weird that we had the same problem.

_________________
My System


Top
 Profile  
 
PostPosted: Tue Jan 06, 2015 9:56 pm 
Offline
Joined: Mon Aug 14, 2006 8:24 pm
Posts: 320
Location: Melbourne, Australia
My system has also developed a problem playing digital audio from the browser and I have not been able to solve it. Everything else is working fine. I originally had neither a ~/.asoundrc nor a /etc/asound.conf. I also checked me 7.4 setup which is still sitting on a partition and it also had neither.

I went through the LinHES Settings-->Audio Settings again including loading ALSA drivers but no files were generated. I tried creating a ~/.asoundrc as follows
Code:
$ cat .asoundrc
pcm.!default {
        type hw
        card 0
        device 1
}
based on a output from aplay -l of
Code:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
and still no joy.

I've tried to read the ALSA web page about asoundrc but cannot see anything particularly relevant. Does anyone have any ideas? When I first started investigating, analogue sound was still available through the headphone jack but now even that has gone.

_________________
Intel DG965WH, Dvico DVB-T Lite x2, HDHR, Gigabyte GT220, KingstonSSD, WD20EARS version=latest


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 29 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