this post was submitted on 07 Aug 2023
11 points (100.0% liked)

Linux Gaming

15842 readers
15 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

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)


top 2 comments
sorted by: hot top controversial new old
[–] anon5621@lemmy.ml 1 points 1 year ago (1 children)

Did u try to switch to x11 instead of wayland for running native version of game and check if input lag still persist?

[–] lckdscl@whiskers.bim.boats 1 points 1 year ago

Hollow Knight on native on X still has very bad input delay (like nearly a whole second) in very specific areas of the map. I think it's a game-specific issue. Switched to proton and it went away.