You are not logged in.

#1 2023-08-19 00:03:40

alwaysthesun
Member
Registered: 2022-12-18
Posts: 13

Discussion - Firefox audio playback

PC suspends in energy saving mode while playing audio in Firefox

This is a general problem on all Linux Distributions

Has somebody a workaround

Offline

#2 2023-08-19 13:44:26

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,207

Re: Discussion - Firefox audio playback

Is powersaving for audio disabled or enabled on you system ? , see https://wiki.archlinux.org/title/Power_management#Audio

What tool are you using to manage power usage ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2023-08-20 03:17:15

alwaysthesun
Member
Registered: 2022-12-18
Posts: 13

Re: Discussion - Firefox audio playback

Powersaving for audio is disabled

I think systemd manages my energy savings

I have cinnamon desktop installed

Last edited by alwaysthesun (2023-08-20 03:17:42)

Offline

#4 2023-08-20 10:36:28

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,207

Re: Discussion - Firefox audio playback

Post the contents of /etc/systemd/logind.conf and the output of ls -l /etc/systemd/logind.conf.d/

Also check Cinnamon-settings  > Power Management  to see if something stands out to you.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2023-08-20 23:44:17

alwaysthesun
Member
Registered: 2022-12-18
Posts: 13

Re: Discussion - Firefox audio playback

/etc/systemd/logind.conf

#  terms of the GNU Lesser General Public License as published by the Free
#  Software Foundation; either version 2.1 of the License, or (at your option)
#  any later version.
#
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in
# the logind.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins.
#
# Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config.
#
# See logind.conf(5) for details.

[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#UserStopDelaySec=10
#HandlePowerKey=poweroff
#HandlePowerKeyLongPress=ignore
#HandleRebootKey=reboot
#HandleRebootKeyLongPress=poweroff
#HandleSuspendKey=suspend
#HandleSuspendKeyLongPress=hibernate
#HandleHibernateKey=hibernate
#HandleHibernateKeyLongPress=ignore
#HandleLidSwitch=suspend
#HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#RebootKeyIgnoreInhibited=no
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RuntimeDirectoryInodesMax=
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
#StopIdleSessionSec=infinity

Entering this command i get an error that this file or directory doesn't exist: ls -l /etc/systemd/logind.conf.d/

Last edited by alwaysthesun (2023-08-24 09:39:02)

Offline

#6 2023-08-21 09:08:24

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,207

Re: Discussion - Firefox audio playback

Please use [ code ] [ /code ] tags for porgram output , see https://bbs.archlinux.org/help.php#bbcode .

alwaysthesun wrote:

Entering this command i get an error that this file or directory doesn't exist: ls -l /etc/systemd/logind.conf.d/

That means you haven't made changes that required creating that folder.

#IdleAction=ignore
#IdleActionSec=30min

These are important, it means that systemd will do nothing when the system is idle. Whatever causes the suspend must be triggered by userspace tools .

The cinnamon power management  is the first place to look at.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB