kowalskee
(Oscar Benedetti)
February 3, 2022, 4:22pm
1
Good evening,
I recently installed fedora spin i3wm on a Macbook pro 2017.
Everything seems to work well except for audio, camera and keyboard backlights.
Not a huge problem for these last two things, but the audio is quite necessary for me .
I’ve tried many things and none of them worked. To be honest I am not such a server audio expert so I don’t actually know what I’ve tried.
This is the result of my inxi -SA:
Audio:
Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel
Device-2: Broadcom 720p FaceTime HD Camera driver: N/A
Sound Server-1: ALSA v: k5.15.14-200.fc35.x86_64 running: yes
Sound Server-2: PipeWire v: 0.3.43 running: yes
1 Like
ilikelinux
(Ilikelinux (l.s.))
February 3, 2022, 7:02pm
2
Welcome to ask. edora @kowalskee
Could you please give us more info’s as :
inxi -Fzx
in terminal and post the output as </> Preformatted text here.
inxi-Fzx
gives more info’s, so we do not have to ask for everything.
Please check also if wireplumber is running.
systemctl --user status wireplumber
if it is not active try:
systemctl --user start wireplumber
1 Like
kowalskee
(Oscar Benedetti)
February 3, 2022, 9:34pm
3
Sure!
Thank you very much for your support.
Here’s the inxi -Fzx output.
System:
Kernel: 5.15.14-200.fc35.x86_64 x86_64 bits: 64 compiler: gcc
v: 2.37-10.fc35 Desktop: i3 4.20.1 Distro: Fedora release 35 (Thirty Five)
Machine:
Type: Laptop System: Apple product: MacBookPro14,1 v: 1.0
serial: <superuser required>
Mobo: Apple model: Mac-B4831CEBD52A0C4C v: MacBookPro14,1
serial: <superuser required> UEFI: Apple v: 447.40.12.0.0 date: 09/25/2021
Battery:
ID-1: BAT0 charge: 49.0 Wh (100.0%) condition: 49.0/54.6 Wh (89.6%)
volts: 12.9 min: 11.4 model: SMP bq20z451 status: Full
CPU:
Info: dual core model: Intel Core i7-7660U bits: 64 type: MT MCP
arch: Amber/Kaby Lake note: check rev: 9 cache: L1: 128 KiB L2: 512 KiB
L3: 4 MiB
Speed (MHz): avg: 700 min/max: 400/4000 cores: 1: 700 2: 700 3: 700
4: 700 bogomips: 19999
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel Iris Plus Graphics 640 vendor: Apple driver: i915 v: kernel
bus-ID: 00:02.0
Display: x11 server: X.Org 1.20.14 driver: loaded: modesetting
unloaded: fbdev,vesa resolution: 2560x1600~60Hz
OpenGL:
renderer: Mesa Intel Iris Plus Graphics 640 (Kaby Lake GT3e) (KBL GT3)
v: 4.6 Mesa 21.3.4 direct render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel v: kernel
bus-ID: 00:1f.3
Device-2: Broadcom 720p FaceTime HD Camera driver: N/A bus-ID: 03:00.0
Sound Server-1: ALSA v: k5.15.14-200.fc35.x86_64 running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.43 running: yes
Network:
Device-1: Broadcom BCM4350 802.11ac Wireless Network Adapter vendor: Apple
driver: brcmfmac v: kernel bus-ID: 02:00.0
IF: wlp2s0 state: up mac: <filter>
Drives:
Local Storage: total: 233.76 GiB used: 57.76 GiB (24.7%)
ID-1: /dev/nvme0n1 vendor: Apple model: SSD AP0256J size: 233.76 GiB
temp: 46.9 C
ID-2: /dev/nvme0n2 vendor: Apple model: SSD AP0256J size: 8 KiB
temp: 46.9 C
Partition:
ID-1: / size: 115.08 GiB used: 28.77 GiB (25.0%) fs: btrfs
dev: /dev/nvme0n1p5
ID-2: /boot size: 973.4 MiB used: 200.3 MiB (20.6%) fs: ext4
dev: /dev/nvme0n1p4
ID-3: /boot/efi size: 600 MiB used: 31.5 MiB (5.2%) fs: hfsplus
dev: /dev/nvme0n1p3
ID-4: /home size: 115.08 GiB used: 28.77 GiB (25.0%) fs: btrfs
dev: /dev/nvme0n1p5
Swap:
ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
System Temperatures: cpu: 63.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 238 Uptime: 1h 27m Memory: 15.49 GiB used: 3.32 GiB (21.5%)
Init: systemd runlevel: 5 Compilers: gcc: 11.2.1 Packages: N/A
note: see --pkg Shell: Bash v: 5.1.8 inxi: 3.3.11
Unluckily no wireplumber.service was found…
I think some installation of pipewire-media-session had removed wireplumber.
I installed it again, but still no luck with the service
1 Like
ilikelinux
(Ilikelinux (l.s.))
February 3, 2022, 11:32pm
4
Do you see an error when checking ?
systemctl --user status "pipewire.*"
1 Like
oprizal
(Syaifur Rizal)
February 4, 2022, 9:25am
5
Hi, I just found this doc . If you search ont that page with intel-mac
or macbook
you’ll get some model available.
You can try by creating modprobe with:
# Create file `mac-sound.conf`
sudo touch /etc/modprobe.d/mac-sound.conf
# Adding configuration
sudo nano /etc/modprobe.d/mac-sound.conf
# Add following line, change <model> with some model available from doc.
options snd_hda_intel model=<model>
# Save with `ctrl + x` then reboot to see if it working or not. If not, you can try with different model.
Some reported by just using options snd_hda_intel model=intel-mac-auto
it will select automatically the model for mac audio.
kowalskee
(Oscar Benedetti)
February 4, 2022, 10:16am
6
Hi,
No, non luck with that either. Any ideas why?
kowalskee
(Oscar Benedetti)
February 4, 2022, 10:16am
7
Hi,
Thank you very much for sharing.
I will give it a try and let you know.
Thanks in advance
kowalskee
(Oscar Benedetti)
February 4, 2022, 1:55pm
8
Ok I got wireplumber finally working.
Here’s the result from:
systemctl --user status *pipewire*
● pipewire-pulse.socket - PipeWire PulseAudio
Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.socket; enabled; vendor preset: enabled)
Active: active (running) since Fri 2022-02-04 14:27:11 CET; 24min ago
Triggers: ● pipewire-pulse.service
Listen: /run/user/1000/pulse/native (Stream)
CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire-pulse.socket
Feb 04 14:27:11 mbp systemd[1069]: Listening on PipeWire PulseAudio.
● pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2022-02-04 14:27:11 CET; 24min ago
TriggeredBy: ● pipewire.socket
Main PID: 1079 (pipewire)
Tasks: 2 (limit: 18979)
Memory: 8.8M
CPU: 1.100s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
└─1079 /usr/bin/pipewire
Feb 04 14:27:11 mbp systemd[1069]: Started PipeWire Multimedia Service.
● pipewire-pulse.service - PipeWire PulseAudio
Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2022-02-04 14:27:11 CET; 24min ago
TriggeredBy: ● pipewire-pulse.socket
Main PID: 1081 (pipewire-pulse)
Tasks: 2 (limit: 18979)
Memory: 18.0M
CPU: 1.667s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
└─1081 /usr/bin/pipewire-pulse
Feb 04 14:27:11 mbp systemd[1069]: Started PipeWire PulseAudio.
● pipewire.socket - PipeWire Multimedia System Socket
Loaded: loaded (/usr/lib/systemd/user/pipewire.socket; enabled; vendor preset: enabled)
Active: active (running) since Fri 2022-02-04 14:27:11 CET; 24min ago
Triggers: ● pipewire.service
Listen: /run/user/1000/pipewire-0 (Stream)
CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire.socket
Feb 04 14:27:11 mbp systemd[1069]: Listening on PipeWire Multimedia System Socket.
I’ve also tried different codecs from the doc linked but no luck with sound yet
does it have an audio Jack you coudl try your line out port
1 Like
oprizal
(Syaifur Rizal)
February 24, 2022, 8:38am
10
Hi, would you like also to try to install pavucontrol
. When we open pavucontrol
GUI, on the far right tab there a Configuration tab (please maximize the window) then on part Built-in Audio if there presented with some list of profile, please try to select “Analog Stereo Duplex”.
Also please post the result of aplay -lL
(lower case L and upper case L).
1 Like