No way to set the sound playback from HDMI on Panda ubuntu image.

Bug #1003968 reported by Botao
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Ubuntu
Fix Released
High
Fathi Boudra

Bug Description

On hardware pack:

http://snapshots.linaro.org/precise/hwpacks/lt-panda-x11-base/69/hwpack_linaro-lt-panda-x11-base_20120523-69_armhf_supported.tar.gz

with ubuntu image:

http://snapshots.linaro.org/precise/images/ubuntu-desktop/175/linaro-precise-ubuntu-desktop-20120523-175.tar.gz

When run this test:

https://wiki.linaro.org/Platform/QA/TestCases/Ubuntu#Audio_over_HDMI

The step 2 can't be done since there is no any setting item related to HDMI, the "Play sound through" list is empty. Refer to attachment to get the screen snapshot.

Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Tom, can someone from the MMWG verify this bug?

Revision history for this message
Tom Gall (tom-gall) wrote : Re: [Bug 1003968] Re: No way to set the sound playback from HDMI on Panda ubuntu image.

Yup!

Regards,
Tom

On May 24, 2012, at 5:32 PM, Ricardo Salveti <email address hidden> wrote:

> Tom, can someone from the MMWG verify this bug?
>
> ** Also affects: linaro-multimedia-ucm
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of Linaro
> Developer Platform, which is subscribed to Linaro-Ubuntu.
> https://bugs.launchpad.net/bugs/1003968
>
> Title:
> No way to set the sound playback from HDMI on Panda ubuntu image.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/linaro-multimedia-ucm/+bug/1003968/+subscriptions

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

I can confirm the issue when running with Panda 4460. I also don't get any sound from the device.

Changed in linaro-ubuntu:
status: New → Confirmed
Revision history for this message
Tom Gall (tom-gall) wrote :

On my 4460 Panda ES, going into settings I see HDMI for audio output but I see no way to change over to the audio jack. This is a regression.

Changed in linaro-multimedia-ucm:
assignee: nobody → Feng Wei (b34248)
importance: Undecided → High
Revision history for this message
Tom Gall (tom-gall) wrote :

Please note, I'm using the linaro-lt-panda_20120524 hwpack not the -x11 varient, that hwpack from 523 I was unable to successfully boot my panda es board.

Revision history for this message
Feng Wei (b34248) wrote :

I used to test pulseaudio by speaker-test. But for GUI interface, I think there's libpulse0 version mismatching in those programs. All those programs need repackaged with libpulse2.0, including gstreamer0.10-pulseaudio and certain GUI programs.

Revision history for this message
Fathi Boudra (fboudra) wrote :

On 25 May 2012 09:22, Feng Wei wrote:
> I used to test pulseaudio by speaker-test. But for GUI interface, I
> think there's libpulse0 version mismatching in those programs. All those
> programs need repackaged with libpulse2.0, including
> gstreamer0.10-pulseaudio and certain GUI programs.

indicator-sound and gstreamer0.10-pulseaudio packages are now rebuilt
against PA2.

Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Feng Wei (b34248) wrote :

@Botao
I had same results and after debugging, I found an issue of sound-nua section of gnome-control-center, that it handles pulseaudio port as single direction. But in fact I created bi-direction port from ucm configs in pulseaudio. So I will consult some upstream audio specialist and give the final fix.

Revision history for this message
Feng Wei (b34248) wrote :
Fathi Boudra (fboudra)
Changed in linaro-ubuntu:
assignee: nobody → Fathi Boudra (fboudra)
milestone: none → 12.06
importance: Undecided → High
Fathi Boudra (fboudra)
Changed in linaro-ubuntu:
status: Confirmed → In Progress
Revision history for this message
Fathi Boudra (fboudra) wrote :

pulseaudio (1:2.0-0ubuntu1~linaro2) precise; urgency=low

 * Add patches:
   - pa-2.0_04ecd911f97173086bb36d7c993e620756d87aa0.patch
   - linaro_0005_UCM_make_jack_and_port_single_direction.patch (LP:# 1003968)
   - linaro_0006_fix_coding_style_issues.patch
   - linaro_0007_fix_bug_in_merge_roles.patch
   - linaro_0008_remove_duplicated_type_definition.patch
   - linaro_0009_optimize_array_with_pa_idxset.patch
   - linaro_0010_optimize_pa_ucm_set_port_and_fix_a_bug_from_single_port_direction.patch
   - linaro_0011_change_ucm_functions_from_pa_ucm_to_pa_alsa_ucm.patch

@Botao, it needs QA verification.

Changed in linaro-ubuntu:
status: In Progress → Fix Committed
Revision history for this message
Paul Larson (pwlars) wrote :

Seems to be fixed in the 12.06 RC:
http://snapshots.linaro.org/precise/hwpacks/lt-panda-x11-base/139/hwpack_linaro-lt-panda-x11-base_20120626-139_armhf_supported.tar.gz
http://snapshots.linaro.org/precise/images/ubuntu-desktop/247/linaro-precise-ubuntu-desktop-20120626-247.tar.gz
except - the default seems to be jack, not hdmi, even if nothing is plugged into the jack. I can switch it now by going to the audio settings though.

Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Fathi Boudra (fboudra) wrote :

I get the same results as Paul:
- default is jack
- I have OMAPHDMI and can switch to it

Revision history for this message
Botao (botao-sun) wrote :

This is weird because you can see the desktop screen snapshot on comment #14. Perhaps something wrong in my Panda hardware?

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Botao, are you using the DVI or HDMI output during your test? The HDMI one is the output closest to the USB hub.

Otherwise please post your full dmesg so we can investigate the issue.

Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :

Same behavior on Panda 4460 board.

Revision history for this message
Paul Larson (pwlars) wrote :

I have a different experience...
For Panda 4430 board, observed on hardware pack:

http://snapshots.linaro.org/precise/hwpacks/lt-panda-x11-base/197/hwpack_linaro-lt-panda-x11-base_20120723-197_armhf_supported.tar.gz

with ubuntu rootfs image:

http://snapshots.linaro.org/precise/images/ubuntu-desktop/305/linaro-precise-ubuntu-desktop-20120723-305.tar.gz

On my system, it works fine.
In sound settings, I see:
PandaBoard 3.5mm Headset playback and capture
and
Analog Output/OMAPHDMI

They don't auto select based on plugging in the headphone, but when I manually select them, I can get audio over hdmi for the hdmi one, and over headphones for the 3.5mm one.

Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :

On Panda 4430 board, audio over HDMI option can be shown in "Output" section of Sound Settings, but no sound heard after click "Test Sound" botton, neither left nor right.

Observed on hardware pack:

http://snapshots.linaro.org/precise/hwpacks/lt-panda-x11-base/201/hwpack_linaro-lt-panda-x11-base_20120725-201_armhf_supported.tar.gz

with ubuntu rootfs image:

http://snapshots.linaro.org/precise/images/ubuntu-desktop/313/linaro-precise-ubuntu-desktop-20120725-313.tar.gz

This feature works well on Panda 4460 board with same hardware pack & ubuntu rootfs image.

Revision history for this message
Botao (botao-sun) wrote :

For Panda 4430 board, observed same behaviour as comment #27 on Linaro ubuntu pre-built image:

http://snapshots.linaro.org/precise/pre-built/lt-panda-x11-base/219/lt-panda-x11-base-precise_ubuntu-desktop_20120803-219.img.gz

Because my Panda 4430 board seems has some hardware issue, at least the 3.5mm audio jack is broken, and this feature works well on my Panda 4460 board, therefore, this may be caused by my hardware, not defect in image.

Also, according to the comment #24, this feature works well on Paul's Panda 4430 board.

Fathi Boudra (fboudra)
Changed in linaro-ubuntu:
status: Fix Committed → Fix Released
no longer affects: linaro-multimedia-ucm
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.