[oi-dev] pulseaudio issues

Gary Mills gary_mills at fastmail.fm
Wed Apr 17 23:32:20 UTC 2019


On Sun, Apr 07, 2019 at 08:47:17PM -0500, Gary Mills wrote:
> 
> Then I tried changing some settings in that GUI application.  When I
> changed Sound theme to `Default', it changed back to `No sounds'.  I
> also tried increasing the output volume.  This display was curious
> because the 100% mark was about 2/3 of the way along the slider.  I
> was able to set it above 100%.  When I checked, the audio had
> disappeared.  Something happened, but I don't know what.  Even when I
> logged out, killed the pulseaudio daemon, and logged in again, I still
> didn't have audio.  So far, I haven't been able to get it back.

I discovered part of the problem.  The commands
usr/lib/pulse/gsettings-helper and its 64-bit equivalent were not
executable.  This omission caused the fork() to succeed but the exec()
to fail in pa_start_child_for_read().  Because there was no logging of
that failure, I was unaware of the problem for some time.  Those
commands read the MATE configuration, in particular the settings in
the Sound Preferences GUI, and pass them on to pulseaudio.  For
example, they are how pulseaudio discovers your volume changes.

I added some code to modules/gsettings/module-gsettings.c that
verifies that the helper command is present and is executable.  This
code solves the visibility problem.  For a temporary fix, I changed
permission on the installed files.  A permanent fix requires appending
`mode=0555' to the two lines of the manifest.

If this bug hasn't already been reported, I'll be happy to file a bug
report and include my patches.


-- 
-Gary Mills-		-refurb-		-Winnipeg, Manitoba, Canada-




More information about the oi-dev mailing list