Bug 362476 - No device listed in KCM Phonon, when Pulseaudio is disabled
Summary: No device listed in KCM Phonon, when Pulseaudio is disabled
Status: RESOLVED WORKSFORME
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.8.3
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 4.8
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-29 16:25 UTC by mathojojo
Modified: 2022-11-25 05:22 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
works just fine (224.26 KB, image/png)
2016-06-10 10:37 UTC, Harald Sitter
Details
Not working (75.90 KB, image/png)
2016-06-10 21:31 UTC, mathojojo
Details
Amarok under Opensuse Leap 42.1 displays all available Alsa devices (214.96 KB, image/png)
2016-10-19 09:59 UTC, Ralph Moenchmeyer
Details
KDE's systemsettings/multimedia shows only one device (86.99 KB, image/png)
2016-10-19 10:01 UTC, Ralph Moenchmeyer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mathojojo 2016-04-29 16:25:00 UTC
With Pulseaudio enabled, my audio devices are well listed in KCM Phonon.

But as soon as I disable it, no device appear in KCM. So I can't select a device for my sound, and as a result, I do not have sound anymore.

Reproducible: Always

Steps to Reproduce:
1. Disabling Pulseaudio (autospawn=off) or uninstall it
2. Restarting the computer
3. Opening KCM / Multimedia... -> No alsa device is listed

Actual Results:  
When I disable Pulseaudio, my audio devices does not appear in KCM, I can't have sound working!

Expected Results:  
When I disable Pulseaudio, KCM should list alsa devices, I should be able to select one, and my apps should be able to play sound !

I'm using the gstreamer engine, gstreamer-alsa package is installed.

It has never work since Kubuntu 15.10 and 16.04 (now). I'm not sure for 15.04, but I'm absolutely sure it has worked in the past. The Multimedia KCM was able to list devices with or without Pulseaudio !

This bug now begins to have a long life... it should be stopped, as I'm using my computer for HIFI purpose (Pulseaudio is incompatible with HIFI), so I need to use my devices directly with ALSA.
Comment 1 mathojojo 2016-04-29 16:51:32 UTC
I tried with VLC-Backend : it's not better !
Comment 2 Harald Sitter 2016-06-10 10:37:06 UTC
Created attachment 99438 [details]
works just fine

you might want to make sure you are using phonon 4.9. I am reasonably certain the relevant code hasn't changed in years though.
Comment 3 mathojojo 2016-06-10 21:31:17 UTC
Created attachment 99447 [details]
Not working
Comment 4 mathojojo 2016-06-10 21:35:45 UTC
Comment on attachment 99447 [details]
Not working

AS you can see, I can add the same screeshot.... Yes we have a device listed : Default . But it's not really a device ! When selected, I still have no sound.

And even if I had sound, the list is not correct as I have 2 soundcards. And one of them has a lot of inputs and outputs. In the past, when pulseaudio was disabled, phonon  listed a big list of devices... and not just this default device which is nothing interesting and usable.

I'm using the ubuntu repository version of phonon : 4.8.3

No, it's not working fine, and the bug is still active !
Comment 5 Ralph Moenchmeyer 2016-10-19 09:57:31 UTC
I do have exactly the same problem and confirm the basic findings of mathojojo. 

I am using Opensuse Leap 42.1 - fully updated. I have deactivated Pulseaudio (because it still is a mess for many multichannel cards). 

I use various .asoundrc-files for different purposes - they contain definitions of virtual PCM devices - which by the "hint"-directive should be displayed aside the hardware devices in KDE's  phonon overview/setup dialog:  

Using KDE's "systemsettings -> multimedia" you should get a full overview over all available sound devices - which in my case are quite many. But I just get one lonely entry: "Default" (with a small icon indicating an Alsa device). 

Actually, with KDE 4 all my devices were/are fully displayed. The most confusing thing is: 

Both the present VLC and Amarok versions under Opensuse Leap do deliver a complete list of all available Alsa sound devices (real and virtual)! See the attachment for Amarok. There is a ALSA  device ALSADEF listed which was defined as a plug-device in the .asoundrc.  

However, KDE's systemsettings leads to the almost empty list => So KDE 5 (at least in Opensuse Leap) in fact obstructs the opportunity for the user to select and test both defined HW sound devices and virtual Alsa PCM plug devices. Just, as mathojojo has described it ... 

In may opinion this is a major bug - KDE's Phonon GUI interface should support and display all Alsa devices. With Pulseaudio (PA) active or not ! 
With Pulseaudio (PA) activated  I - in complete agreement with mathojojo  - at least see most of the HW devices - but not with PA deactivated. 

So, there is something wrong - and our findings somehow indicate that the present KDE/systemsettings/Phonon GUI-interface relies on some parts of PA being active.

As I find the bug for a different distribution than  mathojojo I think that this bug is distribution independent. 

And it leads to a major problem for users which want to work with pure Alsa. 
       
Dear KDE developers: Please be aware of the fact that there are still users which for good reasons do not use Pulseaudio. 

I want to kindly ask you to investigate this problem a bit deeper. Believe me : This bug has been around for almost a year now. From my side I shall deliver all data required to find the origin of this strange behavior of KDE's  user interface to Phonon - when PA is deactivated. 

Please tell us, what information you need.
Comment 6 Ralph Moenchmeyer 2016-10-19 09:59:48 UTC
Created attachment 101642 [details]
Amarok under Opensuse Leap 42.1 displays all available Alsa devices

See the list of all available HW sound devices and one defined virtual Alsa PCM device of type "plug" defined in the .asoundrc.
Comment 7 Ralph Moenchmeyer 2016-10-19 10:01:50 UTC
Created attachment 101643 [details]
KDE's systemsettings/multimedia shows only one device

KDE's systemsettings (KCM) interface for Phonon displays just one device under KDE 5.
Comment 8 Ralph Moenchmeyer 2016-10-19 10:06:07 UTC
(In reply to Harald Sitter from comment #2)
> Created attachment 99438 [details]
> works just fine
> 
> you might want to make sure you are using phonon 4.9. I am reasonably
> certain the relevant code hasn't changed in years though.

I had a look at this attachment. In my opinion the hampered and reduced list there just proves what mathojojo and I claim - the phonon GUI works wrongly.
Comment 9 Justin Zobel 2022-10-26 03:07:10 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 10 Bug Janitor Service 2022-11-10 05:12:02 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2022-11-25 05:22:18 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!