LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-24-2022, 08:17 AM   #1
jkcray
Member
 
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65

Rep: Reputation: Disabled
No audio/sound after update to Ubuntu 22.04.1 LTS


Hello.
I'm running Ubuntu 22.04.1 LTS on


Code:
uname -a
Linux kinsella-OptiPlex-5060 5.15.0-48-generic #54-Ubuntu SMP Fri Aug 26 13:26:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
I haven't used the PC during the Summer as I use it exclusively for gaming via Steam.

I upgraded it to Ubuntu 22.04.1 LTS from on Oct 13 in anticipation of spending more time indoors & gaming.

Unfortunately I now have no sound despite having made no changes to the hardware.

Specifically, when I access the Sound tab on Setup I get the first screenshotted image below.

When I choose the SoundBlaster Audigy card (the one that I have used for the last year or two) I get a dummy display with no Left/Right/Centre etc to click on. (See second screenshot below.)


Some (?) diagnostics:

Code:
aplay -l
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 12: HDMI 6 [HDMI 6]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Creative [HDA Creative], device 0: ALC898 Analog [ALC898 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

As usual I'd be very grateful for any advice because "Winter is Comimg" (TM).
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2022-10-24 14-04-12.jpg
Views:	87
Size:	69.0 KB
ID:	39764   Click image for larger version

Name:	Screenshot from 2022-10-24 14-11-51.png
Views:	82
Size:	179.0 KB
ID:	39765  
 
Old 10-28-2022, 08:25 PM   #2
dave67
Member
 
Registered: Apr 2007
Posts: 421

Rep: Reputation: 68
Hi

Did you search apply updates after the installation? If that not does help I would like to see the output of this command

Code:
systemctl --user status pipewire pipewire-session-manager
 
Old 10-29-2022, 02:52 PM   #3
jkcray
Member
 
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dave67 View Post
Hi

Did you search apply updates after the installation? If that not does help I would like to see the output of this command

Code:
systemctl --user status pipewire pipewire-session-manager
Thanks.

System fully updated.

I have resorted to
Code:
mv ~/.config/pulse ~/.config/old_pulse
followed by a restart which forces pulse to reset.

I now have sound with just left & right speakers active - see thumbnail below.

All speakers seem to be driven so I'm content but I'd like to be able to configure the speaker config.

The output from

Code:
systemctl --user status pipewire pipewire-session-manager
is
Code:
~$ systemctl --user status pipewire pipewire-session-manager
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2022-10-29 20:37:51 IST; 8min ago
TriggeredBy: ● pipewire.socket
   Main PID: 1828 (pipewire)
      Tasks: 2 (limit: 19075)
     Memory: 4.0M
        CPU: 47ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1828 /usr/bin/pipewire

Oct 29 20:37:51 MyHostName systemd[1821]: Started PipeWire Multimedia Service.
Oct 29 20:37:53 MyHostName pipewire[1828]: spa.alsa: 'front:2': playback open failed: Device or resource busy
Oct 29 20:37:53 MyHostName pipewire[1828]: mod.adapter: 0x555e50748e30: can't get format: Device or resource busy

● pipewire-media-session.service - PipeWire Media Session Manager
     Loaded: loaded (/usr/lib/systemd/user/pipewire-media-session.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2022-10-29 20:37:51 IST; 8min ago
   Main PID: 1829 (pipewire-media-)
      Tasks: 2 (limit: 19075)
     Memory: 4.5M
        CPU: 355ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-media-session.service
             └─1829 /usr/bin/pipewire-media-session

Oct 29 20:37:51 MyHostName systemd[1821]: Started PipeWire Media Session Manager.
Oct 29 20:37:53 MyHostName pipewire-media-session[1829]: ms.core: error id:32 seq:291 res:-16 (Device or resource busy): can't create node: Device or resource busy

Are the pipewire errors informative?

Many thanks.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2022-10-29 20-43-55.png
Views:	34
Size:	13.9 KB
ID:	39785  
 
Old 10-31-2022, 08:02 PM   #4
dave67
Member
 
Registered: Apr 2007
Posts: 421

Rep: Reputation: 68
Pipewire is to "replace" pulseaudio that is the idea. There are still a few bugs with earphone jack and bluetooth plus other issues. I am wondering if you should remove pipewire.


What does
Code:
aplay -l
state after you used

Code:
mv ~/.config/pulse ~/.config/old_pulse
 
Old 11-01-2022, 04:36 AM   #5
jkcray
Member
 
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dave67 View Post
Pipewire is to "replace" pulseaudio that is the idea. There are still a few bugs with earphone jack and bluetooth plus other issues. I am wondering if you should remove pipewire.


What does
Code:
aplay -l
state after you used

Code:
mv ~/.config/pulse ~/.config/old_pulse
Hi.

Code:
~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 12: HDMI 6 [HDMI 6]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Creative [HDA Creative], device 0: ALC898 Analog [ALC898 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
Thanks.
 
Old 11-02-2022, 11:46 AM   #6
dave67
Member
 
Registered: Apr 2007
Posts: 421

Rep: Reputation: 68
There are a few issues on the output of the command

Code:
systemctl --user status pipewire pipewire-session-manager

Which are

Code:
Oct 29 20:37:51 MyHostName systemd[1821]: Started PipeWire Multimedia Service.
Oct 29 20:37:53 MyHostName pipewire[1828]: spa.alsa: 'front:2': playback open failed: Device or resource busy
Oct 29 20:37:53 MyHostName pipewire[1828]: mod.adapter: 0x555e50748e30: can't get format: Device or resource busy

Oct 29 20:37:51 MyHostName systemd[1821]: Started PipeWire Media Session Manager.
Oct 29 20:37:53 MyHostName pipewire-media-session[1829]: ms.core: error id:32 seq:291 res:-16 (Device or resource busy): can't create node: Device or resource busy

This link below shows you how to setup pipewire and disable pulseaudio. Or re-enable pulseaudio in case of a issue with pipewire. I suggest picking one. I much rather disable than remove Ubuntu does not like that.

Code:
https://linuxconfig.org/how-to-install-pipewire-on-ubuntu-linux
 
Old 11-02-2022, 11:47 AM   #7
jkcray
Member
 
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dave67 View Post
There are a few issues on the output of the command

Code:
systemctl --user status pipewire pipewire-session-manager

Which are

Code:
Oct 29 20:37:51 MyHostName systemd[1821]: Started PipeWire Multimedia Service.
Oct 29 20:37:53 MyHostName pipewire[1828]: spa.alsa: 'front:2': playback open failed: Device or resource busy
Oct 29 20:37:53 MyHostName pipewire[1828]: mod.adapter: 0x555e50748e30: can't get format: Device or resource busy

Oct 29 20:37:51 MyHostName systemd[1821]: Started PipeWire Media Session Manager.
Oct 29 20:37:53 MyHostName pipewire-media-session[1829]: ms.core: error id:32 seq:291 res:-16 (Device or resource busy): can't create node: Device or resource busy

This link below shows you how to setup pipewire and disable pulseaudio. Or re-enable pulseaudio in case of a issue with pipewire. I suggest picking one. I much rather disable than remove Ubuntu does not like that.

Code:
https://linuxconfig.org/how-to-install-pipewire-on-ubuntu-linux


Thanks very much.

I'll try your suggestions.
 
Old 11-11-2022, 12:03 PM   #8
jkcray
Member
 
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65

Original Poster
Rep: Reputation: Disabled
Hi. I reinstalled pipewire and no great change.

I just have Left and Right channels but all the speakers are driven so that's ok.

I've pasted the systemctl output below.



Code:
~$ systemctl --user status pipewire pipewire-session-manager
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2022-11-10 15:24:09 GMT; 1 day 1h ago
TriggeredBy: ● pipewire.socket
   Main PID: 14325 (pipewire)
      Tasks: 2 (limit: 19075)
     Memory: 13.7M
        CPU: 17.769s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─14325 /usr/bin/pipewire

Nov 10 15:24:09 john-Newest systemd[1643]: Started PipeWire Multimedia Service.
Nov 10 15:24:19 john-Newest pipewire[14325]: mod.rt: RTKit error: org.freedesktop.DBus.Error.InvalidArgs
Nov 10 15:24:19 john-Newest pipewire[14325]: mod.rt: could not set nice-level to -11: Input/output error

○ pipewire-media-session.service
     Loaded: masked (Reason: Unit pipewire-media-session.service is masked.)
     Active: inactive (dead)
The output from pactl info confirms that pipewire is installed?

Code:
$ pactl info

Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 382
Tile Size: 65472
User Name: john
Host Name: john-Newest
Server Name: PulseAudio (on PipeWire 0.3.59)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_03_00.0.analog-stereo
Default Source: alsa_output.pci-0000_03_00.0.analog-stereo.monitor
Cookie: fb37:e3d2
Is the

RTKit error: org.freedesktop.DBus.Error.InvalidArgs

output from systemctl informative?

Many thanks.

Last edited by jkcray; 11-11-2022 at 12:16 PM.
 
Old 11-12-2022, 12:11 AM   #9
dave67
Member
 
Registered: Apr 2007
Posts: 421

Rep: Reputation: 68
I am studying the output in detail. Pipewire is active from the output. The speakers are functioning correctly?
 
Old 11-12-2022, 03:19 AM   #10
jkcray
Member
 
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dave67 View Post
I am studying the output in detail. Pipewire is active from the output. The speakers are functioning correctly?
Thanks.

Yes speakers are working fine.

I successfully ran Fallout 4 and Skyrim under Steam/Proton with working sound.

For further info:

Code:
$ inxi -A
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio driver: snd_hda_intel
  Device-2: NVIDIA GP106 High Definition Audio driver: snd_hda_intel
  Device-3: Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series] driver: snd_hda_intel
  Sound Server-1: ALSA v: k5.15.0-52-generic running: yes
  Sound Server-2: PipeWire v: 0.3.59 running: yes

Last edited by jkcray; 11-12-2022 at 03:30 AM.
 
Old 11-12-2022, 10:16 PM   #11
dave67
Member
 
Registered: Apr 2007
Posts: 421

Rep: Reputation: 68
I am glad all worked out. Do not forget mark the post solved.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ubuntu 20.04.5 LTS Released with Linux Kernel 5.15 LTS from Ubuntu 22.04 LTS LXer Syndicated Linux News 0 09-02-2022 12:51 AM
LXer: Ubuntu 20.04 LTS Is Now Powered by Linux Kernel 5.15 LTS from Ubuntu 22.04 LTS LXer Syndicated Linux News 0 08-03-2022 04:24 PM
LXer: Ubuntu 18.04.5 LTS Released with Linux Kernel 5.4 LTS from Ubuntu 20.04 LTS LXer Syndicated Linux News 0 08-14-2020 08:28 AM
LXer: Canonical Patches OpenSSL Regression in Ubuntu 16.04 LTS, 14.04 LTS and 12.04 LTS LXer Syndicated Linux News 0 09-27-2016 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration