This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Audio issues KDE Neon 5.9 / iMac 27" 5k late 2014

Tags: None
(comma "," separated)
matthewguidry
Registered Member
Posts
11
Karma
0
I recently installed KDE Neon User on my iMac 27" 5k and am thoroughly impressed with the OS and Plasma. I am already considering making Neon my day to day.

One really annoying issue though is the sound setup. Over the past week I have installed Neon a few times (trial and error for different reasons), each time the same issue presents itself concerning audio playback. Sometimes it works, sometimes it doesn't. I've gone into the Multimedia section of system settings and have tried so many different combinations of settings yet have not found any sort of trend. Here's what I have:

Built-In Audio
/Cape Verde/Pitcairn HDMI Audio Radeon HD Series Digital Stereo

I have tried going into Alsamixer to confirm nothing on mute. I have tried also editing /etc/modprobe.d/alsa-base.conf with the line options snd-hda-intel model=imac27. I have tried switching the Build in Audio Profile in the Phonon Audio and Video Hardware Setup tab with limited success. Frankly, I'm able to get the sound to work sometimes by randomly switching settings. I have yet to find the rhyme or reason behind it working. Attempting to TEST the sound in the Multimedia settings works, then immediately doesn't without any change of settings. Oftentimes when I attempt to test I get the error Failed to set the selected audio output device.

Any help is greatly appreciated. This so far is the one big hurdle for switching over to KDE Neon for daily use.

**Not sure if this helps, but more info the better, right?

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CS4206 Analog [CS4206 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: CS4206 Digital [CS4206 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0

Last edited by matthewguidry on Tue Apr 04, 2017 6:32 pm, edited 1 time in total.
NoNameNoBlame
Karma
0
Try this, if You haven't already:
("list"/"devices" first, "autoinstall" afterwards)
(If it doesn't work: "debug")

$ ubuntu-drivers --help
usage: ubuntu-drivers [-h] [--package-list PATH] <command>

List/install driver packages for Ubuntu.

positional arguments:
<command> See below

optional arguments:
-h, --help show this help message and exit
--package-list PATH Create file with list of installed packages (in
autoinstall mode)

Available commands:
list: Show all driver packages which apply to the current system.
debug: Print all available information and debug data about drivers.
devices: Show all devices which need drivers, and which packages apply to them.
autoinstall: Install drivers that are appropriate for automatic installation.
matthewguidry
Registered Member
Posts
11
Karma
0
Gave your suggestion a go and some drivers installed during the ubuntu autoinstall, yet, problem still persists. Even after a reboot.

Not sure what to make of this...

Code: Select all
=== log messages from detection ===
DEBUG:root:_get_db_name: output
ID_PCI_CLASS_FROM_DATABASE=Network controller
ID_PCI_SUBCLASS_FROM_DATABASE=Network controller
ID_VENDOR_FROM_DATABASE=Broadcom Corporation
ID_MODEL_FROM_DATABASE=BCM4360 802.11ac Wireless Network Adapter


DEBUG:root:_get_db_name(/sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0, pci:v000014E4d000043A0sv0000106Bsd00000142bc02sc80i00): vendor "Broadcom Corporation", model "BCM4360 802.11ac Wireless Network Adapter"
DEBUG:root:Loading custom detection plugin /usr/share/ubuntu-drivers-common/detect/cpu-microcode.py
DEBUG:root:plugin /usr/share/ubuntu-drivers-common/detect/cpu-microcode.py return value: ['intel-microcode']
DEBUG:root:Loading custom detection plugin /usr/share/ubuntu-drivers-common/detect/arm-gles.py
DEBUG:root:plugin /usr/share/ubuntu-drivers-common/detect/arm-gles.py return value: None
DEBUG:root:Loading custom detection plugin /usr/share/ubuntu-drivers-common/detect/sl-modem.py
DEBUG:root:plugin /usr/share/ubuntu-drivers-common/detect/sl-modem.py return value: None
DEBUG:root:Loading custom detection plugin /usr/share/ubuntu-drivers-common/detect/open-vm-dkms.py
DEBUG:root:plugin /usr/share/ubuntu-drivers-common/detect/open-vm-dkms.py return value: None
=== modaliases in the system ===
pci:v00008086d00008C3Asv00008086sd00007270bc07sc80i00
input:b0000v0000p0000e0000-e0,5,kramlsfw2,
acpi:INT0800:
acpi:PNP0100:
hdaudio:v1002AA01r00100300a01
acpi:PNP0C0F:
pci:v00008086d00008C20sv00008086sd00007270bc04sc03i00
input:b0019v0000p0006e0000-e0,1,kE0,E1,E3,F1,F2,F3,F4,F5,ramlsfw
mei::f908627d-13bf-4a04-b91f-a64e9245323d:
mei::3c4852d6-d47b-4f46-b05e-b5edc1aa440e:
usb:v0A5Cp4500d0100dc09dsc00dp00ic09isc00ip00in00
usb:v05ACp0201d0101dc00dsc00dp00ic03isc01ip01in00
usb:v046DpC077d7200dc00dsc00dp00ic03isc01ip02in00
acpi:PNP0C02:
platform:iTCO_wdt
acpi:APP000C:SMC-DPPT:
acpi:PNP0C0C:
platform:coretemp
pci:v000014E4d000043A0sv0000106Bsd00000142bc02sc80i00
input:b0019v0000p0003e0000-e0,1,k8E,ramlsfw
input:b0003v05ACp0201e0100-e0,1,4,11,14,k71,72,73,74,75,77,79,7A,7B,7C,7D,7E,7F,80,81,82,83,84,85,86,87,88,89,8A,8C,8E,96,98,9E,9F,A1,A3,A4,A5,A6,AD,B0,B1,B2,B3,B4,B7,B8,B9,BA,BB,BC,BD,BE,BF,C0,C1,C2,F0,ram4,l0,1,2,3,4,sfw
acpi:PNP0000:
cpu:type:x86,ven0000fam0006mod003C:feature:,0000,0001,0002,0003,0004,0005,0006,0007,0008,0009,000B,000C,000D,000E,000F,0010,0011,0013,0015,0016,0017,0018,0019,001A,001B,001C,001D,001F,002B,0034,003A,003B,003D,0068,006B,006C,006D,006F,0070,0072,0074,0075,0076,0078,007C,007D,0080,0081,0082,0083,0084,0085,0086,0087,0088,0089,008B,008C,008D,008E,008F,0091,0093,0094,0095,0096,0097,0098,0099,009A,009B,009C,009D,009E,00C0,00C5,00E3,0100,0101,0102,0103,0104,0120,0121,0123,0125,0127,0128,0129,012A,012D,0140,01C0,01C1,01C2,01C4,01C5,01C6
usb:v05ACp828Dd0131dcFFdsc01dp01icFFiscFFipFFin02
acpi:SMBUS:
usb:v0409p55ABd0100dc09dsc00dp00ic09isc00ip00in00
acpi:PNP0C09:
acpi:LNXVIDEO:
usb:v05ACp828Dd0131dcFFdsc01dp01icE0isc01ip01in01
acpi:APP0002:BACKLIGHT:
platform:pcspkr
pci:v00008086d00008C02sv00008086sd00007270bc01sc06i01
acpi:ACPI0008:SMC-ALS:
pci:v00008086d00008C22sv00008086sd00007270bc0Csc05i00
pci:v00008086d0000156Csv00000000sd00000000bc08sc80i00
acpi:PNP0B00:
usb:v05ACp8511d7230dcEFdsc02dp01icFFisc00ip00in02
acpi:SMBUS-BLC:
hid:b0003g0001v0000046Dp0000C077
pci:v00001002d00006810sv0000106Bsd00000138bc03sc00i00
platform:microcode
acpi:LNXSYBUS:
usb:v05ACp828Dd0131dcFFdsc01dp01icFFisc01ip01in00
input:b0003v05ACp8511e7230-e0,1,kD4,ramlsfw
dmi:bvnAppleInc.:bvrIM151.88Z.0207.B11.1612222107:bd12/22/2016:svnAppleInc.:pniMac15,1:pvr1.0:rvnAppleInc.:rnMac-42FD25EABCABB274:rvriMac15,1:cvnAppleInc.:ct13:cvrMac-42FD25EABCABB274:
acpi:PNP0200:
hid:b0003g0001v000005ACp00000201
pci:v000014E4d000016BCsv000014E4sd00000000bc08sc05i01
acpi:HDD-POWER-OFF:
input:b0019v0000p0001e0000-e0,1,k74,ramlsfw
pci:v00008086d00008C44sv00008086sd00007270bc06sc01i00
platform:applesmc
mei::309dcde8-ccb1-4062-8f78-600115a34327:
mei::b638ab7e-94e2-4ea2-a552-d1c54b627f04:
acpi:PNP0C04:
platform:regulatory
acpi:PNP0C0E:
usb:v05ACp8511d7230dcEFdsc02dp01ic0Eisc01ip00in00
acpi:APP0001:SMC-HURONRIVER:
mei::8c2f4425-77d6-4755-aca3-891fdbc66a58:
platform:Fixed MDIO bus
usb:v05ACp828Dd0131dcFFdsc01dp01icFEisc01ip01in03
input:b0003v046DpC077e0111-e0,1,2,4,k110,111,112,113,114,115,116,117,r0,1,8,am4,lsfw
acpi:PNP0A08:PNP0A03:
acpi:PNP0C01:
usb:v05ACp8511d7230dcEFdsc02dp01ic0Eisc02ip00in01
input:b0000v0000p0000e0000-e0,5,kramlsfw6,8,
pci:v000014E4d00001686sv000014E4sd00001686bc02sc00i00
acpi:PNP0103:PNP0C01:
mei::55213584-9a29-4916-badf-0fb7ed682aeb:
acpi:LNXCPU:
acpi:LNXSYSTM:
acpi:MIKEY:
pci:v00001B4Bd00009183sv00001B4Bsd00009183bc01sc06i01
usb:v1D6Bp0003d0408dc09dsc00dp03ic09isc00ip00in00
pci:v00001002d0000AAB0sv00000000sd0000AAB0bc04sc03i00
input:b0000v0000p0000e0000-e0,5,kramlsfwD,
hdaudio:v10134206r00100302a01
usb:v1D6Bp0002d0408dc09dsc00dp01ic09isc00ip00in00
=== matching driver packages ===
bcmwl-kernel-source: installed: 6.30.223.271+bdcom-0ubuntu1~1.1   available: 6.30.223.271+bdcom-0ubuntu1~1.1 (auto-install)  [distro]  non-free  modalias: pci:v000014E4d000043A0sv0000106Bsd00000142bc02sc80i00  path: /sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0  vendor: Broadcom Corporation  model: BCM4360 802.11ac Wireless Network Adapter
intel-microcode: installed: 3.20151106.1   available: 3.20151106.1 (auto-install)  [distro]  non-free
matthewguidry
Registered Member
Posts
11
Karma
0
Curious, after a bit more of frustrating troubleshooting, audio fairly consistently plays from Youtube viewed on Firefox. When I go to the settings and try TEST, or, switch to Spotify app, the audio output plays less than 30% of the time.

Am I missing something completely obvious?
NoNameNoBlame
Karma
0
Under SystemSettings-Hardware-Multimedia: OutputDevices

Did You choose 'builtin' always? do it.
Choose analog, not digital.

You have an 'iMac15,1'. On an 'iMac9,1' , sound works flawlessly.

Do You use an additional, external USB-sound_device?
Remove it.

External Speakers?
Remove them.

Last edited by NoNameNoBlame on Wed Apr 05, 2017 6:53 am, edited 2 times in total.
NoNameNoBlame
Karma
0
What drivers are in use?

Example: iMac9,1

$ lspci -s '00:08.0'
00:08.0 Audio device: NVIDIA Corporation MCP79 High Definition Audio (rev b1)

$ sudo lspci -vvv -s '00:08.0'
[sudo] password for ***:
00:08.0 Audio device: NVIDIA Corporation MCP79 High Definition Audio (rev b1)
Subsystem: NVIDIA Corporation Apple iMac 9,1
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0 (500ns min, 1250ns max)
Interrupt: pin A routed to IRQ 20
Region 0: Memory at d3480000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: snd_hda_intel <==!!!
Kernel modules: snd_hda_intel <==!!!
NoNameNoBlame
Karma
0
On the speaker icon in SystemTray:

If You position the mouse on top of it
and scroll Your mouse wheel up and down:

Does graphical overlay appear on middle of desktop?
Do You hear popping sounds if increasing Your volume this way?
NoNameNoBlame
Karma
0
If I do:

$ ubuntu-drivers debug | grep audio
hdaudio:v10EC0885r00100103a01

I get only one single result.

You got 2 of them:

$ echo -e "hdaudio:v1002AA01r00100300a01\nhdaudio:v10134206r00100302a01"
hdaudio:v1002AA01r00100300a01
hdaudio:v10134206r00100302a01

For my hardware, this is irrelevant, because:

$ ubuntu-drivers debug | grep audio
hdaudio:v10EC0885r00100103a01

that is: (10EC:0885)

does not concern my hardware, which is something else:

$ lspci -vvv -n -s '00:08.0'
00:08.0 0403: 10de:0ac0 (rev b1)
Subsystem: 10de:cb79

But You have to check for Yourself.

By the way, it's rather interesting. I never had a sound problem with linux
since 1993, as far as I can remember. That is: with kernel drivers.

But what I once had was a conflict between 2 desktop sound servers running at the same time.
KDE's sound system is phonon. It has to run alone. Normally, it should run this way
out of the box.

If You have another additional desktop environment installed (e.g. GNOME), then maybe
its sound server is running, too, and interfering. Shouldn't, but who knows?

To come to an end:
I suppose, You're running the most up-to-date software?
SoftwareSettings-Settings-More-CheckForUpdates

Or:
apt update
apt upgrade
NoNameNoBlame
Karma
0
Where or what is Your 'Spotify'-app?
NoNameNoBlame
Karma
0
In my logfiles (# journalctl -b), I have this:

Apr 04 16:01:38 neon pulseaudio[1192]: [autospawn] core-util.c: Home directory not accessible: Permission denied
Apr 04 16:01:38 neon pulseaudio[1192]: [autospawn] lock-autospawn.c: Cannot access autospawn lock.
Apr 04 16:01:38 neon pulseaudio[1192]: [pulseaudio] main.c: Failed to acquire autospawn lock


Maybe, You have several pulseaudio instances running simultaneously?


I haven't:

$ ps -Ae | grep pulseaudio
26615 ? 00:00:00 pulseaudio
NoNameNoBlame
Karma
0
# lsmod | egrep 'snd|sound'
snd_hrtimer 16384 1
snd_hda_codec_realtek 86016 1
snd_hda_codec_generic 73728 1 snd_hda_codec_realtek
snd_hda_intel 36864 3
snd_hda_codec 135168 3 snd_hda_intel,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core 86016 4 snd_hda_intel,snd_hda_codec,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 110592 3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 32768 1 snd_seq_midi
snd_seq 69632 3 snd_seq_midi_event,snd_seq_midi
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 32768 3 snd_seq,snd_hrtimer,snd_pcm
snd 86016 17 snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_generic,snd_seq_device,snd_hda_codec_realtek,snd_pcm
soundcore 16384 1 snd

Compare with Your putput.

Sorted version:

# lsmod | egrep 'snd|sound' | sort | cut -d ' ' -f 1
snd
snd_hda_codec
snd_hda_codec_generic
snd_hda_codec_realtek
snd_hda_core
snd_hda_intel
snd_hrtimer
snd_hwdep
snd_pcm
snd_rawmidi
snd_seq
snd_seq_device
snd_seq_midi
snd_seq_midi_event
snd_timer
soundcore
NoNameNoBlame
Karma
0
Check if

phonon-backend-gstreamer

and

phonon-backend-vlc

are both installed.
NoNameNoBlame
Karma
0
matthewguidry
Registered Member
Posts
11
Karma
0
NoNameNoBlame thanks for the suggestions. I will investigate further this weekend. My audio has been fairly consistent with the occasional issue of no sound that is usually resolved by randomly flipping the Audio Profile for Built In Sound Card in the Multimedia section of System Preferences. Analog Duplex and Analog Surround Sound 4.0 seems to be the profiles that the iMac likes.
matthewguidry
Registered Member
Posts
11
Karma
0
After a few weeks of trial and error with a bit of troubleshooting I have finally gotten the audio on my iMac to work somewhat consistently. For listening with the Built-In speakers, setting the Profile to Analog Surround 4.0 works across all applications. For headphones, I have to switch to Profile Analog Stereo Duplex as Analog Surround 4.0 does not work for headphones and Analog Stereo Duplex does not work for my speakers.

I have ensured in Alsamixer that nothing is muted. This works, although I would like it to just work with one profile without the need to switch as I go headphones a few times a day.

The next troubleshooting step is to get my internal mic to work. So far I have been unable to voice record as no sound is detected. I haven't spent all too much time yet on this issue.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]