Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#10356 - [pulseaudio 0.9.10-1] volume levels not restored after a reboot

Attached to Project: Community Packages
Opened by txfx (txfx) - Sunday, 04 May 2008, 15:13 GMT
Last edited by Corrado Primier (bardo) - Monday, 01 December 2008, 11:16 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Corrado Primier (bardo)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
If pulseaudio is running system-wide, the volume levels of all applications will not be restored (they will be at 100%) when you reboot your machine.

Steps to reproduce:
1) start pulseaudio with the init script
/etc/rc.d/pulseaudio start
2) launch an application using pulseaudio
3) change the volume level to a specific value (can be checked by pavucontrol)
4) stop the application
5) restart pulseaudio
/et/rc.d/pulseaudio restart
6) relaunch your application using pulseaudio (the volume level is correct)
7) reboot the machine
8) start pulseaudio with the init script
/etc/rc.d/pulseaudio start
9) relaunch your application using pulseaudio
the volume is incorrect !

The volume table file needed to restore the volume levels is stored in /var/run/pulse/volume-restore.table but the initscript rc.sysinit removes leftover files from /var/run at startup
/etc/rc.sysinit:359
(cd /var/run && /usr/bin/find . ! -type d -exec /bin/rm -f -- {} \; )

Additional info:
* package version(s)
- pulseaudio 0.9.10-1
- initscripts 2008.03-4

Fix:
In the file /etc/pulse/default.pa you can specify where to save the table to restore volume level:

load-module module-volume-restore table="/var/lib/pulse/volume-restore.table"
This task depends upon

Closed by  Corrado Primier (bardo)
Monday, 01 December 2008, 11:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 0.9.10-2, just uploaded. The file is now put in /var/pulse: it's not nice, but /var/lib/pulse is surely the wrong place.

Loading...