[soundnua]: new capplet does not expose all profiles (Emu 0404 USB)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-control-center (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
With Ubuntu < 12.04, the Sound menu allows to select various profiles for each sound cards via drop down list in the Hardware tab. I couldn't find this feature in the latest daily-live image of Ubuntu 12.04 (from April 1st).
I'd appreciate if someone would kindly point me where to change this ?
Thanks in advance
description: | updated |
Sebastien Bacher (seb128) wrote : | #1 |
Changed in gnome-control-center (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Incomplete |
Simon Déziel (sdeziel) wrote : | #2 |
Simon Déziel (sdeziel) wrote : | #3 |
Simon Déziel (sdeziel) wrote : | #4 |
So the issue is that Precise is missing an easy way to select a profile for a card (both input and output).
Sebastien Bacher (seb128) wrote : | #5 |
ok, when you wrote "menu" you didn't mean menus but panel,capplet,
Changed in gnome-control-center (Ubuntu): | |
assignee: | nobody → Conor Curran (cjcurran) |
status: | Incomplete → New |
tags: | added: sound-nua |
tags: |
added: soundnua removed: sound-nua |
summary: |
- Ubuntu 12.04: the Sound menu does not expose the sound card profile + [soundnua]: the Sound menu does not expose the sound card profile selection |
summary: |
- [soundnua]: the Sound menu does not expose the sound card profile - selection + [soundnua]: new capplet does not expose the sound card profile selection |
Simon Déziel (sdeziel) wrote : Re: [soundnua]: new capplet does not expose the sound card profile selection | #6 |
@Sebastien, thanks for the explanations and clarifications.
Conor Curran (cjcurran) wrote : | #7 |
Hi Simon,
The precise implementation attempts to remove the need for exposing profiles to the user if in fact there are no real legitimate choices for the user. Let me explain. Before all profiles on a given card were available to the user.
On a typical HDA intel device these would look like
output:
output:
output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority. 5400)
output:
output:
output:
output:
output:
output:
output:
output:
output:
output:
output:
input:analog-
off: Off (sinks: 0, sources: 0, priority. 0)
From the perspective of the output, there are only two real choices here - HDMI stereo or HDMI surround. Everything else is stereo output.
From the input perspective, there are none - everything is stereo input.
The new sound settings attempts to figure out if there is a choice for the user and if so only present those profiles in the combo for that device. The need to expose the card has been made redundant in favour of exposing the card ports. This means now the user can swap to the HDMI 'port' without having to change profile on the card tab like before. It will hopefully greatly simplify the usage of sound devices. Bluetooth devices can be seen to expose their relevant profiles, currently there is a bug with USB devices which will be fixed shortly (waiting on test device to arrive).
Did you find that the new design is hiding something that you previously could do ?
Changed in gnome-control-center (Ubuntu): | |
status: | New → In Progress |
Simon Déziel (sdeziel) wrote : | #8 |
Hi Conor,
Thanks for looking into this. Unfortunately, the new design is hiding something I used to rely on. The sound card in question, an E-MU 404 USB, also offers many profiles and one of them is "Digital Surround Output 4.0 + IEC958 (S/PDIF) Digital Audio Output " (I don't have the device at hand ATM but it's a similar name). This profile is not shown in the new design where the card only shows 2 other profiles that are not compatible with my setup since I need S/PDIF output.
Another problem with the new design is that I don't know how to define the "default" output. Less importantly, I also miss the "off" profile for a card (i.e: to turn off built-in sound card with horrible speakers).
Let me know if I can provide more informations.
Conor Curran (cjcurran) wrote : | #9 |
Simon,
could you provide the results of 'pactl list cards' from terminals ?
Thanks,
Conor
Simon Déziel (sdeziel) wrote : | #10 |
- Sound card listing Edit (17.0 KiB, text/plain)
I was only able to get the "pactl list cards" from Lucid as the laptop is not physically accessible ATM and I cannot easily reboot on Precise LiveCD. I hope that's good enough for now.
Here is the information pertaining to the card in question (also in the attached log) :
Card #2
Name: alsa_card.
Driver: module-alsa-card.c
Owner Module: 19
Properties:
alsa.card = "1"
alsa.card_name = "E-MU 0404 | USB"
alsa.
alsa.
device.bus_path = "pci-0000:
sysfs.path = "/devices/
udev.id = "usb-E-
device.bus = "usb"
device.
device.
device.
device.
device.serial = "E-MU_Systems_
device.string = "1"
device.
module-
device.
Profiles:
output:
output:
output:
output:
output:
output:
output:
output:
output:
output:
output:
output:
output:
output:
output:
Nelo (nelo) wrote : | #11 |
- pactl list cards Edit (2.8 KiB, text/plain)
Hello,
I can not select a different sound output.
How could get I it?
Nelo (nelo) wrote : | #12 |
Conor Curran (cjcurran) wrote : | #13 |
Hi Simon,
Did you manage to get a list of the profiles from your precise machine ? If so could you highlight exactly which profile is being omitted. I have looked at the list above and AFAICT this is the profile you are after
output:
I removed the inclusion of the OFF profile on purpose maybe I shouldn't have done this. When you select a device it will then become default. In the previous version did it remember for you that your EMU was to be the default device ?
Conor
Simon Déziel (sdeziel) wrote : Re: [Bug 972554] Re: [soundnua]: new capplet does not expose the sound card profile selection | #14 |
On 12-04-20 02:48 PM, Conor Curran wrote:
> Hi Simon,
Hi Conor,
> Did you manage to get a list of the profiles from your precise machine ?
No, unfortunately I still don't have access to the laptop in question. I
hoped the Lucid listing was enough ... I'll do my best to get you the
list from Precise but that won't happen this week.
> If so could you highlight exactly which profile is being omitted. I have
> looked at the list above and AFAICT this is the profile you are after
>
>
> output:
Indeed, this one looks like what I need : 4.0 output and IEC958.
> I removed the inclusion of the OFF profile on purpose maybe I shouldn't
> have done this.
IMO that was not cluttering the interface too much. I'll miss it but
that's not a big concern.
> When you select a device it will then become default.
IIUC, selecting (highlighting) a card and closing the GUI window makes
the selected card the default device ? If that's how it works ATM I
think that's not a very explicit way to assign a default card.
> In the previous version did it remember for you that your EMU was to be the
> default device ?
Yes it did.
I really appreciate the time you spend on this, thanks.
Simon
Conor Curran (cjcurran) wrote : Re: [soundnua]: new capplet does not expose the sound card profile selection | #15 |
- libsoundnua.so Edit (814.5 KiB, application/octet-stream)
Hi Simon,
Just so that I can get more of an idea of what is going on, could you copy the .so to /usr/lib/
just in case you are unfamiliar, go to the terminal, go the directory where you downloaded the .so and type
sudo cp libsoundnua.so /usr/lib/
Then run the control center from terminal and please paste the output on terminal to here.
Thanks,
Conor
Piotr Krzyzek (pistr) wrote : | #16 |
I don't have the same card as the others, though I have the same problem. I have a Creative CTXFI Titanium and with < 12.04 this all worked just fine (after a few tweaks). I can confirm that in 12.04 I cannot select the digital surround sound options simply because they do not exist ... though just "Digital Output (S/PDIF)" does exist.
Here is a link to the output:
> aplay -l
does list all the surround options (listed in this following pastbin):
Why it lists hundreds of subdevices I don't know, though the important thing is that digital surround sound is listed.
and the command "pacmd list-cards" does list all the correct profiles (see line 47), just none of them are selectable via the GUI:
Fauchelevent (fauchelevent) wrote : | #17 |
Same problem in Kubuntu 12.04.
Conor Curran (cjcurran) wrote : | #18 |
@pistr, could you follow instructions in comment 15 and paste the debug trace here.
Piotr Krzyzek (pistr) wrote : | #19 |
Hey Conor,
I did paste the output into the 1st pastebin, though as you requested here is the past directly into this box, fair warning it's 1045 lines long:
SET PROFILES Digital Output (S/PDIF)
Attempt to split profile, p->profile output:
Single profile, key output:
Attempt to split profile, p->profile output:
Found an output profile - storing key output:
Attempt to split profile, p->profile output:
Found an output profile - storing key output:
try to compare output:
device-
Profile population
FOR DEVICE Digital Output (S/PDIF)
key output:
profile output:
SET PROFILES Line In
Attempt to split profile, p->profile input:analog-mono on device Line In
Single profile, key input:analog-mono against value input:analog-mono for device Line In
Attempt to split profile, p->profile input:analog-stereo on device Line In
Single profile, key input:analog-stereo against value input:analog-stereo for device Line In
Attempt to split profile, p->profile output:
Found an input profile - storing key output:
Attempt to split profile, p->profile output:
Found an input profile - storing key output:
Attempt to split profile, p->profile output:
Found an input profile - storing key output:
Attempt to split profile, p->profile output:
Found an input profile - storing key output:
Attempt to split profile, p->profile output:
Found an input profile - storing key output:
Attempt to split profile, p->profile output:
Found an input profile - storing key output:
Attempt to split profile, p->profile output:
Found an input profile - storing key output:
Conor Curran (cjcurran) wrote : | #20 |
Hi Piotr,
Sorry about that, will investigate tomorrow.
Thanks for the feedback.
Conor
Maraschin (carlo-maraschin) wrote : | #21 |
Hi I've the same problem but with a bluetooth device that does not show up in the sound panel (input and output). I only have headphones and speakers there and I do not have as well the HDMI and all the other options...
Note that in the output bellow the card show with the "Active profile" OFF
BTW, I can control rhythmbox with the bluetooth device (SonyEricsson MW600), set to play, jump to the next and priory music but I can't select it in the sound control panel to receive or play music!
Here is my $ pactl list cards
Card #0
Name: alsa_card.
Driver: module-alsa-card.c
Owner Module: 4
Properties:
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:01:00.1"
sysfs.path = "/devices/
device.bus = "pci"
device.vendor.id = "1002"
device.
device.
device.string = "1"
device.
module-
device.icon_name = "audio-card-pci"
Profiles:
output:
off: Off (sinks: 0, sources: 0, priority. 0)
Active Profile: output:hdmi-stereo
Ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900)
Part of profile(s): output:hdmi-stereo
Card #1
Name: alsa_card.
Driver: module-alsa-card.c
Owner Module: 5
Properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/
device.bus = "pci"
device.vendor.id = "8086"
device.
device.
device.
device.string = "0"
device.
module-
device.icon_name = "audio-card-pci"
Profiles:
output:
output:
output:
output:
output:
output:
output:
output:
output:
Simon Déziel (sdeziel) wrote : | #22 |
- "pactl list cards" under Precise as asked in comment #13 Edit (5.8 KiB, text/plain)
Hi Connor,
I finally managed to get access to the affected sound card again. I have attached a few files as you asked previously. In comment #13 you asked me which profile I think I was missing but I don't really know since what's available in Precise does not work from the gnome-control-
Also, I can't have the default device to stay the "Digital Output (S/PDIF) EMu 0404". Every time I select this device and close the applet, it reverts to the old default device. The other devices are selectable as default though.
Simon Déziel (sdeziel) wrote : | #23 |
From the "pactl list cards" under Precise, I see that all the profiles with "iec958" are missing the "40" and are only "stereo" profiles. I think that's part of the problem since on Lucid I need to use the "output:
Simon Déziel (sdeziel) wrote : | #24 |
- aplay -l under Precise Edit (599 bytes, text/plain)
Also attaching "aplay -l" and gnome-control-
Simon Déziel (sdeziel) wrote : | #25 |
David Henningsson (diwic) wrote : | #26 |
- libsoundnua.so Edit (817.9 KiB, application/octet-stream)
Hi Simon!
I've been working on a fix for your problem, that we're considering releasing as an 12.04. Can you test it first to make sure it resolves your problem?
(It won't give you any "Off" profiles, but the rest of the profiles should be selectable)
I'm assuming you're running a 64 bit system. Please install the attached .so file the same way Conor suggested earlier:
sudo cp libsoundnua.so /usr/lib/
You might want to back the original up first so you can restore it in case something is not working as expected with the new .so.
Thanks in advance!
Simon Déziel (sdeziel) wrote : | #27 |
Hi David,
Yes I'm using a 64 bit system so there should be no problem there.
I don't have the USB sound card at hand right now (it belongs to my father that I converted to Ubuntu :) ) and probably won't for the next 2 weeks or so. If another affected user could run the test that might be faster for you to get the results. I will do the test myself as soon as possible anyway.
Many thanks for looking into this.
Simon Déziel (sdeziel) wrote : | #28 |
- pactl list with the libsoundnua.so from comment #26 Edit (27.7 KiB, text/plain)
Hi David,
Unfortunately, the new .so that you added in comment #26 does not work either. I have attached the "pactl list" just in case.
David Henningsson (diwic) wrote : | #29 |
Thanks for testing. Can you select the right profile with the pavucontrol application? If not, this is actually a pulseaudio problem rather than a problem with the sound settings UI.
Simon Déziel (sdeziel) wrote : Re: [Bug 972554] Re: [soundnua]: new capplet does not expose the sound card profile selection | #30 |
On 12-06-19 03:27 AM, David Henningsson wrote:
> Thanks for testing. Can you select the right profile with the
> pavucontrol application? If not, this is actually a pulseaudio problem
> rather than a problem with the sound settings UI.
I will test this as soon as I get back access to the hardware(might be
in about a month). Since I only have access to the hardware every so
often, a list of all the informations to collect could help me provide
you those in batch instead of waiting that long between the different
tests. Your help on this is very much appreciated, thanks.
Simon
Raymond (superquad-vortex2) wrote : Re: [soundnua]: new capplet does not expose the sound card profile selection | #31 |
The sound setting in gnome session in Precise 12.04 is similar to comment #2
and the sound setting in Unity session in Precise 12.04 is similar to comment #3
Are the sound setting in gnome and unity session different program ?
Since I can select Analog Mono Duplex in Gnome sesssion
in unity session , able to select Analog Mono Output + Analog Stereo Input in Mode of Output tab
but in input tab, the mode only show two choices and there is no Analog Mono Duplex
1)Analog Stereo Output + Analog Stereo Input
2)Analog Stereo Output + Analog Mono Output
Card #2
Name: alsa_card.
Driver: module-alsa-card.c
Owner Module: 6
Properties:
alsa.card = "0"
alsa.card_name = "Aureal Vortex au8830"
alsa.
alsa.driver_name = "snd_au8830"
device.bus_path = "pci-0000:04:02.0"
sysfs.path = "/devices/
device.bus = "pci"
device.vendor.id = "12eb"
device.
device.
device.string = "0"
device.
module-
device.icon_name = "audio-card-pci"
Profiles:
output:
output:
output:
output:
output:
output:
output:
output:
output:
output:
output:
output:
input:
input:
off: Off (sinks: 0, sources: 0, priority. 0)
Active Profile: output:
Ports:
analog-
Part of profile(s): output:analog-mono, output:
Simon Déziel (sdeziel) wrote : Re: [Bug 972554] Re: [soundnua]: new capplet does not expose the sound card profile selection | #32 |
- pavucontrol-pactl.list Edit (27.9 KiB, text/plain; charset=UTF-8; name="pavucontrol-pactl.list")
On 12-06-19 03:27 AM, David Henningsson wrote:
> Thanks for testing. Can you select the right profile with the
> pavucontrol application?
Actually, pavucontrol allows to set the profile to "Analog Surround 4.0"
and that works! Here is an overview of the situation:
On Lucid:
1) "Analog Surround 4.0": works
2) "Digital Surround (IEC958) 4.0": works
On Precise:
3) "Analog Surround 4.0": works after pavucontrol "exposed" this profile
4) "Digital Surround (IEC958) 4.0": not available even in pavucontrol
In all the tests, the wiring is the same: USB sound card with an optical
fiber connection to the sound system. Nothing is "analog" in this setup
so why are the "analog" profiles working ? It's maybe not relevant but
it's an oddity that I wanted to mention.
Since pavucontrol gives access to the "Analog Surround 4.0" profile
under Precise and that profile sticks throughout reboots, that is a
valid workaround. Many thanks for this suggestion.
> If not, this is actually a pulseaudio problem
> rather than a problem with the sound settings UI.
Since the "Analog Surround 4.0" profile works well, it would be nice if
the soundnua could make it visible/
Great thanks,
Simon
Takkat (takkat-nebuk) wrote : Re: [soundnua]: new capplet does not expose the sound card profile selection | #33 |
This confirms that in 12.04 we are able to set profiles with pavucontrol that are not accessible from gnome-control-
Simon Déziel (sdeziel) wrote : | #34 |
@Conor, I just wanted to let you know I'm still available (and much interested) in testing any test/debug build to assist you solving this issue. Thanks in advance.
David Henningsson (diwic) wrote : | #35 |
@Simon, unfortunately Conor has been assigned to other tasks. But I thought that the fix I did in comment #26 was released into Ubuntu 12.04, is this not the case?
Simon Déziel (sdeziel) wrote : | #36 |
@David, I'll check that this weekend. I wasn't aware of this because the bug is still marked as "in progress". Thanks for the follow-up, I'll keep you posted.
Simon Déziel (sdeziel) wrote : | #37 |
Hi David, I got access to the Emu-0404 card and confirmed that "pavucontrol" effectively gives access to all the profiles. As noted in comment #32, this work around is working but I still feel that masking all the profiles supported by a sound card is risky. I understand the initial intend of not cluttering the interface with too many choices but maybe having giving access to more profiles by right-clicking on the device would be good compromise?
David Henningsson (diwic) wrote : | #38 |
@Simon, everything but "Off" (in either direction) should be supported by gnome sound settings. Last UDS we decided that the Off profile should be supported too, but nobody has implemented it yet.
Is there a full duplex profile you still can't set with an 12.04 installation and all updates installed?
Simon Déziel (sdeziel) wrote : | #39 |
@David, not having the "Off" profile is not a problem, especially if you are saying that is temporary. The problem is I cannot select profiles with more than 2 channels yet I require "4.0" for my card to work properly on my setup.
Right now, on my fully up to date 12.04 setup, the Gnome applet is only showing me 2 output profiles, one digital stereo and one analog stereo but the cards has ~8 profiles accessible in "pavucontrol". My card may be a bit funky but it need an analog *or* digital 4.0 profile to output on the optical S/PDIF.
David Henningsson (diwic) wrote : | #40 |
@Simon, I have taken a deeper look at the pactl list you submitted in comment #28 and just realized the problem is more complex than expected.
I thought the problem was related to not being able to select the right combination of input and output, that the output was changed when you changed input and vice versa.
In your case, you don't have any output ports at all for the profile you want to select. Fixing that would require some more work, and I'll try to fix that if/when I get around to digging deep into that code again. So; I'm marking it as Triaged for now.
Changed in gnome-control-center (Ubuntu): | |
status: | In Progress → Triaged |
assignee: | Conor Curran (cjcurran) → nobody |
summary: |
- [soundnua]: new capplet does not expose the sound card profile selection + [soundnua]: new capplet does not expose all profiles (Emu 0404 USB) |
Simon Déziel (sdeziel) wrote : | #41 |
Sorry for not being very clear in the first place. So just to recap, all I'm after is selecting the right *output* profile which is a "4.0" one in my case. I'm only using the card to output sound so I haven't look at the "input" situation. Thanks for your help so far!
Matthias Niess (mniess) wrote : | #42 |
Hi. Calling in from 2013. This problem still exists in raring and saucy.
micwallace (micwallace) wrote : | #43 |
Calling from 2016, problem still exists in 16.04.
I'd be happy to fix it if you point me to the file.
Sebastien Bacher (seb128) wrote : | #44 |
The panel has been deprecated since, closing the bug
Changed in gnome-control-center (Ubuntu): | |
status: | Triaged → Invalid |
Thank you for your bug report, what do you call "sound menu"? could you take a screenshot of the issue?