No volume control with fresh intall of Leap 15

Hi all,

I’ve just finished a clean install of Leap 15 and although there is volume, there is no option to control the volume level. The little sound icon on the desktop panel has a red line next to it and when I click on it, instead of a sliding bar to control the sound, it says: “no output or input devices found”.

The first thing I did was to make sure my Intel sound card was configured in Yast. It wasn’t at first, but configuring it didn’t fix anything.

Then I installed Pavucontrol and restarted. No luck.

I’ve also installed the multimedia codecs from this link: http://opensuse-guide.org/codecs.php , I can play videos and audio, but no luck with volume control.

Any ideas?

Roger

PS - Here are a list of the repos:

Repository priorities are without effect. All enabled repositories share the same priority.

#  | Alias                            | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                    | Service
---+----------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------------------------+--------
 1 | http-opensuse-guide.org-06408e5f | libdvdcss repository                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_15.0/                                     |        
 2 | http-packman.inode.at-06c5859b   | Packman Repository                      | No      | ----      | ----    |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.0/                                       |        
 3 | openSUSE-Leap-15.0-1             | openSUSE-Leap-15.0-1                    | No      | ----      | ----    |   99     | rpm-md | hd:///?device=/dev/disk/by-id/usb-_USB_Flash_Memory_CC52AF4C827ACDA14B5E69AC-0:0-part1 |        
 4 | repo-debug                       | openSUSE-Leap-15.0-Debug                | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.0/repo/oss/                    |        
 5 | repo-debug-non-oss               | openSUSE-Leap-15.0-Debug-Non-Oss        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.0/repo/non-oss/                |        
 6 | repo-debug-update                | openSUSE-Leap-15.0-Update-Debug         | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.0/oss/                               |        
 7 | repo-debug-update-non-oss        | openSUSE-Leap-15.0-Update-Debug-Non-Oss | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.0/non-oss/                           |        
 8 | repo-non-oss                     | openSUSE-Leap-15.0-Non-Oss              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/non-oss/                      |        
 9 | repo-oss                         | openSUSE-Leap-15.0-Oss                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/oss/                          |        
10 | repo-source                      | openSUSE-Leap-15.0-Source               | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.0/repo/oss/                   |        
11 | repo-source-non-oss              | openSUSE-Leap-15.0-Source-Non-Oss       | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.0/repo/non-oss/               |        
12 | repo-update                      | openSUSE-Leap-15.0-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.0/oss/                                     |        
13 | repo-update-non-oss              | openSUSE-Leap-15.0-Update-Non-Oss       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.0/non-oss/       

Let’s check your audio hardware and configuration first.

https://en.opensuse.org/SDB:Audio_troubleshooting

In particular, run the also-info.sh diagnostic script and have it upload the results to an online server. Post the link that it provides here

sudo alsa-info.sh

From that information we may be then able to advise further.

I ran the diagnostic script. Uploaded it to dropbox. You can view the results here:

http://https://www.dropbox.com/s/uoszgg5fvo9oanp/alsa-info.txt.7T3Z9r9Ojv?dl=0

I also went through that troubleshooting guide. I installed alsa-firmware as it recommended. No luck.

I did the sound test through the konsole and Yast, they all successfully play the audio, but I still cannot adjust the volume.

Roger

No…I can’t access that, and it’s not as I requested in any case. Run the diagnostic script again, and let it upload to the online server. Post the link that it provided here.

While you at it, please report back with the following…

pacmd list sources

Ok. Here you go:

http://www.alsa-project.org/db/?f=c110109a51c6eb86f1772d85b40a0e81653e733f

I uploaded to the server last time, but didn’t realize I needed it click “exit” to get the link. So then did the dropbox thing as a plan B. Anyways, now I got it figured out. :slight_smile:

Okay, the first thing I noticed is that pulseaudio is reported as not running…

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - No

Which desktop are you using?

KDE plasma Version: 5.12.6

Ok, ordinarily pulseaudio should be started by KDE as soon as it is required (notifications etc). Any errors if you start pulseaudio manually from a terminal (as user)?

pulseaudio &

Maybe that is the problem. I installed without user. When I run the code as root, I can see the error message says it is not intended to be run as root:

W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
W: [pulseaudio] sink.c: Default and alternate sample rates are the same.
W: [pulseaudio] source.c: Default and alternate sample rates are the same.
W: [pulseaudio] authkey.c: Failed to open cookie file '/root/.config/pulse/cookie': No such file or directory
W: [pulseaudio] authkey.c: Failed to load authentication key '/root/.config/pulse/cookie': No such file or directory
W: [pulseaudio] authkey.c: Failed to open cookie file '/root/.pulse-cookie': No such file or directory
W: [pulseaudio] authkey.c: Failed to load authentication key '/root/.pulse-cookie': No such file or directory
E: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files


I am aware that using the OS as root is not advised. It is an intentional and personal choice. Is this a compromise I need to accept?

Good news! After running that last code, the volume control works! I’m back in business. Thanks so much.

Yes, but running it manually is only good for that session. You’ll need to add it to a startup file if you want to have it do this upon login. To have it run as a daemon, use the -D option…

pulseaudio -D

(I’m not going to say anything about you running as root user. I’m sure you’re already aware of the risks entailed.)

Ok. I understand.

Thanks for getting me this far.

Best wishes

To get it running at login check out…
System Settings > Startup and Shutdown > Autostart
*You can then add a simple script to get it running at login.

I’m not qualified to write simple script. One of the principles I live by is to stay within my limits. By using the OS as root user, I’m forced to recognize this as one of my limits. So I"m letting this go. Thanks again.

Actually, it should be as simple as choosing ‘Add Program’ and then in the dialogue box, type ‘pulseaudio -D’, then ‘OK’. This will create a .dekstop file that is enabled to run on startup (of the KDE desktop). See how that goes.

That I’m qualified to do, lol.

I just followed those exact instructions and it works. Thanks. Makes life a little easier.

Best wishes

Glad to have been of assistance.