Hi there,
Making a post to see if anyone has any ideas about the problems i'm currently having. I have installed Arch via EndeavourOS
as a secondary OS on my work laptop (other OS is Win 11).
The laptop in question is a thinkpad p15 v3, which has an i7 12700H, and the integrated Intel Alder Lake-P gpu. I'm using Gnome on wayland as my DE at the moment.
The only game I have been playing so far is Hollow Knight through proton (the native version had very bad input lag), and I have a couple of issues with it:
- Performance, on battery power, is pretty bad, around 30-40 fps with low settings. When on AC, the laptop starts to get really hot (70 C) and the exhaust feels like a hair dryer, but performance increases only by 10 fps or so. I'm pretty sure I installed necessary drivers following the arch wiki page.
- Audio, this is the major problem. Endeavour came with pulseaudio installed, which I removed and replaced with pipewire, pipewire-pulse, and wireplumber. When playing Hollow Knight the sound will often turn into crunchy 8-bit sounding stuff, which I thought was a buffer underrun, and I followed the fixes listed on arch wiki, but to no avail.
Now the audio has seemingly completely stopped working, in pavucontrol I have 5 output devices, but switching through all of them whilst playing audio from my browser still results in no sound through headphones. In the configuration, there is "Alder Lake-PCH-P High definition audio controller" and it remains "Off". When I switch it to "On", it switches back immediately. The pipewire services are running however.
If anyone has any tips that would be greatly appreciated
Some logs and configs:
pipewire.service status
Aug 07 15:50:24 hostname pipewire[1245]: spa.audioadapter: 0x56247cee8138: scheduling stopped node
Aug 07 15:50:24 hostname pipewire[1245]: spa.alsa: hw:0,6: Channels doesn't match (requested 64, got 2)
Aug 07 15:50:24 hostname pipewire[1245]: spa.alsa: hw:0,7: Channels doesn't match (requested 64, got 2)
Aug 07 15:50:24 hostname pipewire[1245]: spa.alsa: hw:0,31: Channels doesn't match (requested 64, got 2)
wireplumber.service status
Aug 07 14:24:25 hostname systemd[1073]: Started Multimedia Service Session Manager.
Aug 07 14:24:25 hostname wireplumber[1247]: [0:00:15.896869323] [1247] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Aug 07 14:24:25 hostname wireplumber[1247]: [0:00:15.897124066] [1247] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Aug 07 14:24:25 hostname wireplumber[1247]: [0:00:15.897162649] [1247] INFO Camera camera_manager.cpp:284 libcamera v0.1.0
Aug 07 14:24:25 hostname wireplumber[1247]: Object activation aborted: proxy destroyed
Aug 07 14:24:25 hostname wireplumber[1247]: failed to activate item: Object activation aborted: proxy destroyed
Aug 07 14:24:25 hostname wireplumber[1247]: Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files
Aug 07 14:24:25 hostname wireplumber[1247]: Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files
Aug 07 14:24:25 hostname wireplumber[1247]: Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files
Aug 07 14:24:25 hostname wireplumber[1247]: Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files
TLP config
TLP 1.5.0 --------------------------------------------
+++ Configured Settings:
defaults.conf L0004: TLP_ENABLE="1"
defaults.conf L0005: TLP_WARN_LEVEL="3"
defaults.conf L0006: TLP_PERSISTENT_DEFAULT="0"
defaults.conf L0007: DISK_IDLE_SECS_ON_AC="0"
defaults.conf L0008: DISK_IDLE_SECS_ON_BAT="2"
defaults.conf L0009: MAX_LOST_WORK_SECS_ON_AC="15"
defaults.conf L0010: MAX_LOST_WORK_SECS_ON_BAT="60"
/etc/tlp.conf L0116: CPU_ENERGY_PERF_POLICY_ON_AC="power"
/etc/tlp.conf L0117: CPU_ENERGY_PERF_POLICY_ON_BAT="power"
/etc/tlp.conf L0152: SCHED_POWERSAVE_ON_AC="1"
defaults.conf L0014: SCHED_POWERSAVE_ON_BAT="1"
defaults.conf L0015: NMI_WATCHDOG="0"
defaults.conf L0016: DISK_DEVICES="nvme0n1 sda"
defaults.conf L0017: DISK_APM_LEVEL_ON_AC="254 254"
defaults.conf L0018: DISK_APM_LEVEL_ON_BAT="128 128"
defaults.conf L0019: DISK_APM_CLASS_DENYLIST="usb ieee1394"
defaults.conf L0020: DISK_IOSCHED="keep keep"
defaults.conf L0021: SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
defaults.conf L0022: SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
defaults.conf L0023: AHCI_RUNTIME_PM_ON_AC="on"
defaults.conf L0024: AHCI_RUNTIME_PM_ON_BAT="auto"
defaults.conf L0025: AHCI_RUNTIME_PM_TIMEOUT="15"
defaults.conf L0026: PCIE_ASPM_ON_AC="default"
defaults.conf L0027: PCIE_ASPM_ON_BAT="default"
defaults.conf L0028: RADEON_DPM_PERF_LEVEL_ON_AC="auto"
defaults.conf L0029: RADEON_DPM_PERF_LEVEL_ON_BAT="auto"
/etc/tlp.conf L0309: RADEON_POWER_PROFILE_ON_AC="low"
/etc/tlp.conf L0310: RADEON_POWER_PROFILE_ON_BAT="low"
defaults.conf L0032: WIFI_PWR_ON_AC="off"
defaults.conf L0033: WIFI_PWR_ON_BAT="on"
defaults.conf L0034: WOL_DISABLE="Y"
/etc/tlp.conf L0329: SOUND_POWER_SAVE_ON_AC="0"
/etc/tlp.conf L0330: SOUND_POWER_SAVE_ON_BAT="0"
/etc/tlp.conf L0336: SOUND_POWER_SAVE_CONTROLLER="N"
defaults.conf L0038: BAY_POWEROFF_ON_AC="0"
defaults.conf L0039: BAY_POWEROFF_ON_BAT="0"
defaults.conf L0040: BAY_DEVICE="sr0"
defaults.conf L0041: RUNTIME_PM_ON_AC="on"
defaults.conf L0042: RUNTIME_PM_ON_BAT="auto"
defaults.conf L0043: RUNTIME_PM_DRIVER_DENYLIST="mei_me nouveau radeon"
defaults.conf L0044: USB_AUTOSUSPEND="1"
defaults.conf L0045: USB_EXCLUDE_AUDIO="1"
defaults.conf L0046: USB_EXCLUDE_BTUSB="0"
defaults.conf L0047: USB_EXCLUDE_PHONE="0"
defaults.conf L0048: USB_EXCLUDE_PRINTER="1"
defaults.conf L0049: USB_EXCLUDE_WWAN="0"
defaults.conf L0050: USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN="0"
defaults.conf L0051: RESTORE_DEVICE_STATE_ON_STARTUP="0"
/etc/tlp.conf L0514: RESTORE_THRESHOLDS_ON_BAT="1"
defaults.conf L0053: NATACPI_ENABLE="1"
defaults.conf L0054: TPACPI_ENABLE="1"
defaults.conf L0055: TPSMAPI_ENABLE="1"
/etc/tlp.conf L0087: CPU_SCALING_GOVERNOR_ON_AC="powersave"
/etc/tlp.conf L0088: CPU_SCALING_GOVERNOR_ON_BAT="powersave"
/etc/tlp.conf L0126: CPU_MIN_PERF_ON_AC="0"
/etc/tlp.conf L0127: CPU_MAX_PERF_ON_AC="100"
/etc/tlp.conf L0128: CPU_MIN_PERF_ON_BAT="0"
/etc/tlp.conf L0129: CPU_MAX_PERF_ON_BAT="30"
/etc/tlp.conf L0136: CPU_BOOST_ON_AC="0"
/etc/tlp.conf L0137: CPU_BOOST_ON_BAT="0"
/etc/tlp.conf L0145: CPU_HWP_DYN_BOOST_ON_AC="1"
/etc/tlp.conf L0169: PLATFORM_PROFILE_ON_AC="low-power"
/etc/tlp.conf L0170: PLATFORM_PROFILE_ON_BAT="low-power"
/etc/tlp.conf L0501: START_CHARGE_THRESH_BAT0="75"
/etc/tlp.conf L0502: STOP_CHARGE_THRESH_BAT0="81"
+++ System Info
System = LENOVO ThinkPad P15v Gen 3 21D8CTO1WW
BIOS = N3EET29W (1.15 )
OS Release = EndeavourOS
Kernel = 6.4.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 27 Jul 2023 22:02:18 +0000 x86_64
/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=25840707-8177-4c5e-8065-d79d4939cb10 rw nowatchdog nvme_load=YES loglevel=3
Init system = systemd
Boot mode = UEFI
+++ TLP Status
State = enabled
RDW state = not installed
Last run = 15:09:37, 2835 sec(s) ago
Mode = battery
Power source = battery
+++ Temperatures
/proc/acpi/ibm/thermal = 46 -128 39 0 37 34 30 -128 [°C]
/proc/acpi/ibm/fan = 2177 [/min]
+++ Wireless
bluetooth = on
nfc = none (no device)
wifi = on
wwan = none (no device)
hci0(btusb) : bluetooth, not connected
wlan0(iwlwifi) : wifi, connected, power management = on
+++ USB
Autosuspend = enabled
Device allowlist = (not configured)
Device denylist = (not configured)
Exclude audio = enabled
Exclude bluetooth = disabled
Exclude phones = disabled
Exclude printers = enabled
Exclude WWAN = disabled
Bus 004 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub)
Bus 003 Device 003 ID 04f2:b6be control = auto, autosuspend_delay_ms = 2000 -- Chicony Electronics Co., Ltd Integrated Camera (uvcvideo)
Bus 003 Device 002 ID 06cb:00bd control = auto, autosuspend_delay_ms = 2000 -- Synaptics, Inc. Prometheus MIS Touch Fingerprint Reader (no driver)
Bus 003 Device 005 ID 8087:0033 control = auto, autosuspend_delay_ms = 2000 -- Intel Corp. (btusb)
Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
Possible alternative for Whatsapp is to run matrix and a WhatsApp bridge, then all of your messages will be stored in the WhatsApp bridge, and you can access them via a matrix client. Pretty long winded though. As for Android auto, I can't afford a fancy new car with a screen in it so I just mount my phone on the dashboard and use it like that with no Android auto.
Strikes me that there should be some kind of provisioning tool similar to Ansible for Android devices, what does industry do when they need to automate provisioning of thousands of devices for POS, retail, barcode scanning, delivery drivers, etc.