![]() Registered Member ![]()
|
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.
|
![]() ![]()
|
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. |
![]() Registered Member ![]()
|
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...
|
![]() Registered Member ![]()
|
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? |
![]() ![]()
|
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.
|
![]() ![]()
|
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 <==!!! |
![]() ![]()
|
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? |
![]() ![]()
|
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 |
![]() ![]()
|
Where or what is Your 'Spotify'-app?
|
![]() ![]()
|
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 |
![]() ![]()
|
# 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 |
![]() ![]()
|
Check if
phonon-backend-gstreamer and phonon-backend-vlc are both installed. |
![]() ![]()
|
|
![]() Registered Member ![]()
|
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.
|
![]() Registered Member ![]()
|
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. |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]