Bug 422 - No sound in tvtime
Summary: No sound in tvtime
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Colin Guthrie
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-17 18:58 CET by Robert Courtright
Modified: 2011-03-26 00:17 CET (History)
2 users (show)

See Also:
Source RPM: tvtime-1.0.2-12.mga1.src.rpm
CVE:
Status comment:


Attachments
Output from pacmd list (20.70 KB, text/plain)
2011-03-19 23:00 CET, Robert Courtright
Details

Description Robert Courtright 2011-03-17 18:58:13 CET
Description of problem: 
Loaded Mageia Alpha 2, tvtime has no sound.


Version-Release number of selected component (if applicable):
1.0.2

How reproducible: 
Every time


Steps to Reproduce:
1.Load Mageia Alpha 2
2.load tvtime
3.login and run tvtime
   Adjusted all volume controls to max. Sound works with other programs.



Reproducible: 

Steps to Reproduce:
D Morgan 2011-03-17 21:16:28 CET

CC: (none) => dmorganec, mageia

Comment 1 Colin Guthrie 2011-03-18 00:30:55 CET
What kind of TV card do you have?

If it's one that provides an audio source to record from, does the audio source appear under pavucontrol -> Input Devices tab? (please attach "pacmd list" to this bug so I can double check this)

If this is the case (and I suspect it is) then you need to load a "Loopback" module into PulseAudio to enable this. This is quite a simple process but there is no GUI to control this.

Once you attach the pacmd list output I'll give you more exact instructions.

Status: NEW => ASSIGNED

Colin Guthrie 2011-03-18 00:31:21 CET

Assignee: bugsquad => mageia

Colin Guthrie 2011-03-18 00:31:44 CET

Summary: No sound => No sound in tvtime

Comment 2 Robert Courtright 2011-03-19 23:00:16 CET
Created attachment 153 [details]
Output from pacmd list
Comment 3 Robert Courtright 2011-03-19 23:04:30 CET
Ok it's not TVtime or the TV card they are working fine. (hooked up headphones to the TV card itself)

 It seams that I'm not recieveing ang signal on the line input.
 I've attached the pacmd list as requested.

 Should I open a different bug report for this problem?
Colin Guthrie 2011-03-20 13:14:37 CET

Attachment 153 mime type: application/octet-stream => text/plain

Comment 4 Colin Guthrie 2011-03-20 13:18:17 CET
We can just keep this bug open for now.

Do you use a loopback cable? i.e. plug in a cable between the output from the tv card and line in from the sound card?

If so, there are two choices:
 1. Enable h/w loopback on your card
 2. Use software loopback inside PA

If the former, there is not much in the way of nice UIs

To do the former you should run "alsamixer -c0" and select the appropriate options (I'm not sure off the top of my head what they actually are tho' - possibly unmuting "line in")

To do the latter you would run:

pactl load-module module-loopback source=alsa_input.pci-0000_04_07.1.analog-stereo sink=alsa_output.pci-0000_00_14.2.analog-surround-51
Comment 5 Robert Courtright 2011-03-20 19:41:15 CET
Yes it has the loop-back wire.

Ok I did the pactl load-module module-loopback
I get nothing but static now. 
I also tried the "alsamixer -c0" and adjusted everything to the max without success.

as for the source=alsa_input.pci-0000_04_07.1.analog-stereo &
sink=alsa_output.pci-0000_00_14.2.analog-surround-51
It didn't seam to have any effect.


If Iplug in my headphones into my tv card and I can here the sound with problem just not thru the line-in
Comment 6 Robert Courtright 2011-03-23 15:50:57 CET
Update:
  I installed The Alpha2 on a 2nd machine. It has sound with Tvtime

  Its a Dell Inspiron 530

  Audio Chipset: Realtek ALC888 (7.1 Channel audio)

  The one that doesn't work is a home built PC with an

  ASUS M4A77D AM3/AM2+/AM2 AMD 770 ATX AMD Motherboard
  Audio Chipset: VIA VT1818S  ( 8 Channel audio)
  South Bridge:  AMD SB710

  Could it be a driver problem with the on-board sound?
Comment 7 Colin Guthrie 2011-03-23 16:05:04 CET
As I mentioned before, it's very much dependant on h/w.

Some hard ware offers internal loopback, some does not. In PA we offer a software loopback system to allow things like this to work on such systems.

Obviously any system based on software will introduce some degree of latency to the loopback which you may notice as a/v sync issues.

If you know your system supports h/w loopback but it is not being heard, you will need to fiddle with alsamixer -c0 (where 0 is the card number of your primary sound card).

In there you will find the necessary option (it's likely under "Capture" tho', so press F4 to activate that). You will likely have to unmute the Line In channel or similar).

If the h/w does not support loopback you can use the software loopback as I described above.
Comment 8 Robert Courtright 2011-03-25 17:02:42 CET
Ok now I understand what your talking about, The real problem is that kmix only shows a single channel and I'm unable to add any others. Aumix at least show 4 channels just not the one in question.

Thank I'll close this bug report and thanks again.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 9 Ahmad Samir 2011-03-25 22:03:06 CET
(In reply to comment #8)
> Ok now I understand what your talking about, The real problem is that kmix only
> shows a single channel and I'm unable to add any others. Aumix at least show 4
> channels just not the one in question.
> 
> Thank I'll close this bug report and thanks again.

That's due to the pulseaudio+kmix integration, to see all the available channels, use:
alsamixer -c 0

like Colin said, or load kmix this way from terminal:
KMIX_PULSEAUDIO_DISABLE=1 kmix

if you want to make this the default behaviour for kmix, add this line to your ~/.bash_profile:
export KMIX_PULSEAUDIO_DISABLE=1
Comment 10 Ahmad Samir 2011-03-26 00:17:09 CET
FWIW qasmixer (an Qt4 frontend (and more) for alsamixer) will be available in the repos soon.

Note You need to log in before you can comment on or make changes to this bug.