Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HP laptop with B&O Play - Sound is weak and thin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
DarkAudit
n00b
n00b


Joined: 27 Mar 2021
Posts: 27

PostPosted: Sun May 02, 2021 7:32 am    Post subject: HP laptop with B&O Play - Sound is weak and thin Reply with quote

Pavilion 15-ab121dx. Sound works, but compared to its days as a windows machine, the quality is absolutely pathetic. Weak, thin, no low end to speak of. Have I missed something in the configuration, or is it just something I'll have to get used to? Everything I've found so far suggests that getting B&O Play to work well with Linux is not an easy matter.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3339
Location: Rasi, Finland

PostPosted: Sun May 02, 2021 9:02 am    Post subject: Reply with quote

Hi.
Please post your
    Code:
    lspci -k

Also do you use pulseaudio/pipewire or pure alsa?
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Sun May 02, 2021 9:20 am    Post subject: Reply with quote

DarkAudit,

Does the sound play too fast/slow too?

If the source is 7:1 or any more than stereo, its easy to play the wrong channels into a stereo output.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.


Last edited by NeddySeagoon on Sun May 02, 2021 9:22 am; edited 1 time in total
Back to top
View user's profile Send private message
DarkAudit
n00b
n00b


Joined: 27 Mar 2021
Posts: 27

PostPosted: Sun May 02, 2021 9:22 am    Post subject: Reply with quote

Zucca wrote:
Hi.
Please post your
    Code:
    lspci -k


Code:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Complex
        Subsystem: Hewlett-Packard Company Family 15h (Models 60h-6fh) Processor Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) I/O Memory Management Unit
        Subsystem: Hewlett-Packard Company Family 15h (Models 60h-6fh) I/O Memory Management Unit
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] (rev c5)
        Subsystem: Hewlett-Packard Company Wani [Radeon R5/R6/R7 Graphics]
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
        Subsystem: Hewlett-Packard Company Kabini HDMI/DP Audio
        Kernel driver in use: snd_hda_intel
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge
        DeviceName:  Onboard IGD
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
        Kernel driver in use: pcieport
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
        Kernel driver in use: pcieport
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
        Kernel driver in use: pcieport
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
        Kernel driver in use: pcieport
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Carrizo Platform Security Processor
        Subsystem: Hewlett-Packard Company Carrizo Platform Security Processor
00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Carrizo Audio Dummy Host Bridge
00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Audio Controller
        Subsystem: Hewlett-Packard Company Family 15h (Models 60h-6fh) Audio Controller
        Kernel driver in use: snd_hda_intel
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 20)
        Subsystem: Hewlett-Packard Company FCH USB XHCI Controller
        Kernel driver in use: xhci_hcd
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 49)
        Subsystem: Hewlett-Packard Company FCH SATA Controller [AHCI mode]
        Kernel driver in use: ahci
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 49)
        Subsystem: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller
        Kernel driver in use: ehci-pci
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 4a)
        Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
        Subsystem: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 5
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
        DeviceName: Realtek PCIE CardReader
        Subsystem: Hewlett-Packard Company RTS5229 PCI Express Card Reader
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07)
        DeviceName: Realtek PCIe FE Family Controller
        Subsystem: Hewlett-Packard Company RTL810xE PCI Express Fast Ethernet controller
        Kernel driver in use: r8169
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter (rev 01)
        DeviceName: Realtek RTL8188EE 802.11b/g/n Wi-Fi Adapter
        Subsystem: Hewlett-Packard Company RTL8188EE Wireless Network Adapter
        Kernel driver in use: rtl8188ee


Zucca wrote:
Also do you use pulseaudio/pipewire or pure alsa?


I use pulseaudio.
Back to top
View user's profile Send private message
DarkAudit
n00b
n00b


Joined: 27 Mar 2021
Posts: 27

PostPosted: Sun May 02, 2021 9:25 am    Post subject: Reply with quote

NeddySeagoon wrote:
DarkAudit,

Does the sound play too fast/slow too?

If the source is 7:1 or any more than stereo, its easy to play the wrong channels into a stereo output.

No. It just sounds very thin. By comparison, playing the same YT video as a windows machine has a lot more oomph to it.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Sun May 02, 2021 9:26 am    Post subject: Reply with quote

DarkAudit,

Code:
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
        Subsystem: Hewlett-Packard Company Kabini HDMI/DP Audio
        Kernel driver in use: snd_hda_intel

00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Audio Controller
        Subsystem: Hewlett-Packard Company Family 15h (Models 60h-6fh) Audio Controller
        Kernel driver in use: snd_hda_intel


You have two sound cards. Pulseaudio is a wrapper around alsa.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DarkAudit
n00b
n00b


Joined: 27 Mar 2021
Posts: 27

PostPosted: Sun May 02, 2021 9:35 am    Post subject: Reply with quote

NeddySeagoon wrote:
DarkAudit,

Code:
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
        Subsystem: Hewlett-Packard Company Kabini HDMI/DP Audio
        Kernel driver in use: snd_hda_intel

00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Audio Controller
        Subsystem: Hewlett-Packard Company Family 15h (Models 60h-6fh) Audio Controller
        Kernel driver in use: snd_hda_intel


You have two sound cards. Pulseaudio is a wrapper around alsa.


That first one is for HDMI or DisplayPort output. I'm having issues with the quality of the onboard speakers.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Sun May 02, 2021 10:14 am    Post subject: Reply with quote

DarkAudit,

Not all digital audio is equal. CDs use a sampling rate of 44.1kHz and videos use 48kHz.
If you need to do sample rate conversion and don't, it sounds really horrible.

Can you test with sources that use both sample rates please?
A CD rip and DVD rip will do nicely.

Also post the content of /proc/asound/devices.
If you have a /etc/asound.conf file, post that too.

As pulse is a wrapper, it can't work until alsa does. My approach to this is to rip out pulseaudio, fix alsa, then if you want to, put back pulse.
Be aware that this will break things that must have pulse, like firefox-bin.

As I'm not a pulseaudio user, I have no idea how to address this any other way but I'm sure someone else will be along in a wee while.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DarkAudit
n00b
n00b


Joined: 27 Mar 2021
Posts: 27

PostPosted: Sun May 02, 2021 11:05 am    Post subject: Reply with quote

NeddySeagoon wrote:
DarkAudit,

Not all digital audio is equal. CDs use a sampling rate of 44.1kHz and videos use 48kHz.
If you need to do sample rate conversion and don't, it sounds really horrible.

Can you test with sources that use both sample rates please?
A CD rip and DVD rip will do nicely.


First I want to make sure we're on the same page with my issue.

Take your typical YouTube video. Yesterday's Lockpicking Lawyer post, for example. The sound works from both speakers, but there's just no real low end. Like a cheap transistor radio. It's not distorted or anything, just weak and lifeless.

I don't have any of my headphones or earbuds with me at present, but I have to head out anyway soon and can grab them to test that side of things.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Sun May 02, 2021 11:20 am    Post subject: Reply with quote

DarkAudit,

If headphones or earbuds fix it, there is something wrong with your speakers or the output amplifier in the laptop.
You can test that by booting into another operating system that provides sound output.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DarkAudit
n00b
n00b


Joined: 27 Mar 2021
Posts: 27

PostPosted: Sun May 02, 2021 12:12 pm    Post subject: Reply with quote

NeddySeagoon wrote:
DarkAudit,

If headphones or earbuds fix it, there is something wrong with your speakers or the output amplifier in the laptop.
You can test that by booting into another operating system that provides sound output.


Headphones sound great. Tested with Chase by Giorgio Moroder. 8)

I guess it's still an unresolved issue for the onboard B&O speakers.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Sun May 02, 2021 12:54 pm    Post subject: Reply with quote

DarkAudit,

There is a kernel bug and a fix.
I don't know if it got into the kernel.

Alsa is not very good at detecting CODEC wiring, so you may need to pass module parameters when snd-hda-intel loads.
There is a list at /usr/src/linux/Documentation/sound/hd-audio/models.rst.

Trialling module parameters is best done with the code built as a loadable module.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum