You are not logged in.

#1 2022-11-10 12:59:22

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,129
Website

No audio when laptop is moved

When my ThinkPad X1 carbon plays back a Netflix movie in Firefox over the internal speakers, if I move it quickly, the sound goes mute.
It is then impossible to unmute it via the hotkeys, the Gnome volume bar or Netflix' video player, since all show that the sound is not muted.
The issue does not occur if I move the laptop very slowly and carefully, so I suspect there is something going on regarding the internal accelerometer.
The issue also does not occur when I use my Bluetooth headphones.
This is also why I just found out about this issue, since my headphones needed recharging and I switched to the internal speakers.
I use Pipewire as an audio server and Gnome as DE.
lspci:

00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers [8086:1904] (rev 08)
	Subsystem: Lenovo Device [17aa:2238]
	Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller [0300]: Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07)
	Subsystem: Lenovo Device [17aa:2238]
	Kernel driver in use: i915
	Kernel modules: i915
00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911]
	Subsystem: Lenovo Device [17aa:2238]
00:13.0 Non-VGA unclassified device [0000]: Intel Corporation Sunrise Point-LP Integrated Sensor Hub [8086:9d35] (rev 21)
	Subsystem: Lenovo Device [17aa:2238]
	Kernel driver in use: intel_ish_ipc
	Kernel modules: intel_ish_ipc
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
	Subsystem: Lenovo Device [17aa:2238]
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21)
	Subsystem: Lenovo Device [17aa:2238]
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a] (rev 21)
	Subsystem: Lenovo Device [17aa:2238]
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21)
	Subsystem: Lenovo Device [17aa:2238]
	Kernel driver in use: ahci
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 [8086:9d10] (rev f1)
	Subsystem: Lenovo Device [17aa:2238]
	Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #3 [8086:9d12] (rev f1)
	Subsystem: Lenovo Device [17aa:2238]
	Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-LP LPC Controller [8086:9d48] (rev 21)
	Subsystem: Lenovo Device [17aa:2238]
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21)
	Subsystem: Lenovo Device [17aa:2238]
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d70] (rev 21)
	Subsystem: Lenovo Device [17aa:2238]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_skl, snd_soc_avs
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)
	Subsystem: Lenovo Device [17aa:2238]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection I219-V [8086:1570] (rev 21)
	Subsystem: Lenovo Device [17aa:2233]
	Kernel driver in use: e1000e
	Kernel modules: e1000e
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a] (rev 01)
	Subsystem: Lenovo Device [17aa:2238]
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci
04:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
	Subsystem: Intel Corporation Device [8086:1130]
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

If you need any info, please let me know. I'm not too knowledgable on sound stuff on Linux.

Last edited by schard (2022-11-10 12:59:59)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#2 2023-01-31 15:47:14

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,129
Website

Re: No audio when laptop is moved

I just encountered this issue again, since my headphones need charging.
It happened while watching a YouTube video.
The issue also occurs with other applications.
I played an audio file with VLC.
When I accelerate the laptop mildly, the sound gets muted.
Only a restart of the respective application gets the sound resumed.

I ran dmesg and monitor-sensor while shaking the laptop while playing a song, but no interesting output occured

[ 3309.961819] audit: type=1334 audit(1675179543.392:284): prog-id=62 op=LOAD
[ 3309.961825] audit: type=1334 audit(1675179543.392:285): prog-id=61 op=UNLOAD
[ 3309.964924] audit: type=1334 audit(1675179543.395:286): prog-id=63 op=LOAD
[ 3309.964929] audit: type=1334 audit(1675179543.395:287): prog-id=58 op=UNLOAD
[ 3309.965111] audit: type=1334 audit(1675179543.395:288): prog-id=64 op=LOAD
[ 3309.965184] audit: type=1334 audit(1675179543.395:289): prog-id=65 op=LOAD
[ 3309.965201] audit: type=1334 audit(1675179543.395:290): prog-id=59 op=UNLOAD
[ 3377.641424] kauditd_printk_skb: 21 callbacks suppressed
[ 3377.641427] audit: type=1334 audit(1675179611.072:312): prog-id=74 op=LOAD
[ 3377.644519] audit: type=1334 audit(1675179611.075:313): prog-id=75 op=LOAD
[ 3377.644583] audit: type=1334 audit(1675179611.075:314): prog-id=76 op=LOAD
[ 3377.763447] audit: type=1130 audit(1675179611.192:315): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 3385.728253] audit: type=1334 audit(1675179619.159:316): prog-id=77 op=LOAD
[ 3385.731264] audit: type=1334 audit(1675179619.162:317): prog-id=78 op=LOAD
[ 3385.731513] audit: type=1334 audit(1675179619.162:318): prog-id=79 op=LOAD
[ 3385.842458] audit: type=1130 audit(1675179619.272:319): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 3407.830385] audit: type=1131 audit(1675179641.262:320): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 3407.853522] audit: type=1334 audit(1675179641.285:321): prog-id=76 op=UNLOAD
[ 3407.853541] audit: type=1334 audit(1675179641.285:322): prog-id=75 op=UNLOAD
[ 3407.853544] audit: type=1334 audit(1675179641.285:323): prog-id=74 op=UNLOAD
[ 3415.917903] audit: type=1131 audit(1675179649.349:324): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 3415.986603] audit: type=1334 audit(1675179649.419:325): prog-id=79 op=UNLOAD
[ 3415.986610] audit: type=1334 audit(1675179649.419:326): prog-id=78 op=UNLOAD
[ 3415.986613] audit: type=1334 audit(1675179649.419:327): prog-id=77 op=UNLOAD
0 ✓ rne@thinkpad ~ $ monitor-sensor 
    Waiting for iio-sensor-proxy to appear

The journal says:

130 ✗ rne@thinkpad ~ $ journalctl --follow --since=now
Jan 31 16:45:46 thinkpad dbus-daemon[1059]: [session uid=1000 pid=1059] Activating service name='org.gnome.Nautilus' requested by ':1.8' (uid=1000 pid=1135 comm="/usr/bin/gnome-shell")
Jan 31 16:45:46 thinkpad nautilus[6784]: Connecting to org.freedesktop.Tracker3.Miner.Files
Jan 31 16:45:46 thinkpad dbus-daemon[1059]: [session uid=1000 pid=1059] Successfully activated service 'org.gnome.Nautilus'
Jan 31 16:45:46 thinkpad dbus-daemon[1059]: [session uid=1000 pid=1059] Activating service name='org.gnome.DiskUtility' requested by ':1.162' (uid=1000 pid=6784 comm="/usr/bin/nautilus --gapplication-service")
Jan 31 16:45:46 thinkpad dbus-daemon[478]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.260' (uid=1000 pid=6784 comm="/usr/bin/nautilus --gapplication-service")
Jan 31 16:45:46 thinkpad kernel: audit: type=1334 audit(1675179946.683:328): prog-id=80 op=LOAD
Jan 31 16:45:46 thinkpad kernel: audit: type=1334 audit(1675179946.683:329): prog-id=81 op=LOAD
Jan 31 16:45:46 thinkpad kernel: audit: type=1334 audit(1675179946.683:330): prog-id=82 op=LOAD
Jan 31 16:45:46 thinkpad audit: BPF prog-id=80 op=LOAD
Jan 31 16:45:46 thinkpad audit: BPF prog-id=81 op=LOAD
Jan 31 16:45:46 thinkpad audit: BPF prog-id=82 op=LOAD
Jan 31 16:45:46 thinkpad gnome-shell[1135]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Jan 31 16:45:46 thinkpad systemd[1]: Starting Hostname Service...
Jan 31 16:45:46 thinkpad dbus-daemon[1059]: [session uid=1000 pid=1059] Successfully activated service 'org.gnome.DiskUtility'
Jan 31 16:45:46 thinkpad dbus-daemon[478]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jan 31 16:45:46 thinkpad systemd[1]: Started Hostname Service.
Jan 31 16:45:46 thinkpad audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 31 16:45:46 thinkpad kernel: audit: type=1130 audit(1675179946.800:331): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 31 16:45:49 thinkpad nautilus[6784]: Failed to set text '/home/rne/Musik/Coheed & Cambria' from markup due to error parsing markup: Fehler in Zeile 1: Entität endete nicht mit einem Semikolon; wahrscheinlich haben Sie ein &-Zeichen benutzt, ohne eine Entität beginnen zu wollen – umschreiben Sie das »&« als &
Jan 31 16:45:50 thinkpad nautilus[6784]: Failed to set text '/home/rne/Musik/Coheed & Cambria' from markup due to error parsing markup: Fehler in Zeile 1: Entität endete nicht mit einem Semikolon; wahrscheinlich haben Sie ein &-Zeichen benutzt, ohne eine Entität beginnen zu wollen – umschreiben Sie das »&« als &
Jan 31 16:45:50 thinkpad nautilus[6784]: Failed to set text '/home/rne/Musik/Coheed & Cambria/In Keeping Secrets of Silent Earth_ 3 Di' from markup due to error parsing markup: Fehler in Zeile 1: Entität endete nicht mit einem Semikolon; wahrscheinlich haben Sie ein &-Zeichen benutzt, ohne eine Entität beginnen zu wollen – umschreiben Sie das »&« als &
Jan 31 16:45:51 thinkpad vlc.desktop[6925]: [000055c8729e2550] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
Jan 31 16:45:51 thinkpad vlc[6925]: Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Jan 31 16:46:16 thinkpad systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Jan 31 16:46:16 thinkpad audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 31 16:46:16 thinkpad kernel: audit: type=1131 audit(1675179976.884:332): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 31 16:46:16 thinkpad audit: BPF prog-id=82 op=UNLOAD
Jan 31 16:46:16 thinkpad audit: BPF prog-id=81 op=UNLOAD
Jan 31 16:46:16 thinkpad audit: BPF prog-id=80 op=UNLOAD
Jan 31 16:46:16 thinkpad kernel: audit: type=1334 audit(1675179976.977:333): prog-id=82 op=UNLOAD
Jan 31 16:46:16 thinkpad kernel: audit: type=1334 audit(1675179976.977:334): prog-id=81 op=UNLOAD
Jan 31 16:46:16 thinkpad kernel: audit: type=1334 audit(1675179976.977:335): prog-id=80 op=UNLOAD

I cannot see anything accelerometer-related.

I also monitored all devices listed by evtest and shook the laptop. None produced any output

No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:    Lid Switch
/dev/input/event1:    Sleep Button
/dev/input/event10:    HDA Intel PCH Headphone
/dev/input/event11:    HDA Intel PCH HDMI/DP,pcm=3
/dev/input/event12:    HDA Intel PCH HDMI/DP,pcm=7
/dev/input/event13:    HDA Intel PCH HDMI/DP,pcm=8
/dev/input/event14:    TPPS/2 IBM TrackPoint
/dev/input/event2:    Power Button
/dev/input/event3:    AT Translated Set 2 keyboard
/dev/input/event4:    Video Bus
/dev/input/event5:    PC Speaker
/dev/input/event6:    ThinkPad Extra Buttons
/dev/input/event7:    Integrated Camera: Integrated C
/dev/input/event8:    SynPS/2 Synaptics TouchPad
/dev/input/event9:    HDA Intel PCH Mic
Select the device event number [0-14]: 

Last edited by schard (2023-01-31 15:54:24)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

Board footer

Powered by FluxBB