Bug 1303340
Summary: | GCompris 15.x must be run as root for audio | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Brian Dudek <brian.dudek> | ||||
Component: | gcompris | Assignee: | Hans de Goede <hdegoede> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 23 | CC: | brian.dudek, gwync, hdegoede, lersek | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | gcompris-15.10-6.fc23 gcompris-15.10-6.fc22 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-04-20 19:21:48 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Brian Dudek
2016-01-31 04:48:19 UTC
Hi, This works fine for me, likely something outside of gcompris is broken on your system. Is pulseaudio running as the user you've logged in? How have you started the gnome session, just normally from gdm, or ... ? Regards, Hans Nothing is broken on either build I've done in the last two days. TuxPain has always had working audio. I've been able to eventually get audio in gcompris to work on both systems but not on a clean build. If I build out a clean Fedora 23 Workstation, then: # yum -y install gcompris* Audio will not work in gcompris, all other audio works on the system and in TuxPain # yum -y update Audio still does not work. Invoking gcompris from the command line with the -s option does not work to overcome the issue. On a clean build setting effects in the GUI will not stay enabled/checked once the app is closed. Looking at gcompris.conf fx is properly set as fx=1 so it should work. I have removed the /home/user/.config/gcompris directory between case scenarios with no luck. Removing the gcompris_sql db file, correctly setting up the gcompris.conf file with fx=1, open the GUI, effects is then unchecked. However, once audio starts to work after adding packages setting options in the GUI works as it should when opening and closing the GUI. Attached is the dnf.log file sense the box was new. Before the time 13:17 the audio was not working. I add any RPM I though could be related. I do not think the second set of packages fixed the issue because after audio started working I removed these packages and audio was still working. In all cases pulseaudio is correctly running as the GDM logged in user. I'm going to continue to work on this to identify the issue I'm having when building out a new system. Do you see anything in the rpm log file that stands out? Created attachment 1119929 [details]
dnf.log file
I think gcompris is using gstreamer for sound output, and the problem might be that gstreamer-plugins-base is missing (it gets added after 13:17 in the log). Ah yes, thanks. Without gstreamer-plugins-base the Effect configuration option will not stay clicked after the application closes. Should this package be a dependency when a language package is added (ie gcompris-sound-en) because without the plugins audio will not work. Thanks for testing, I've made gstreamer-plugins-base a dependency of gcompris, I've only done this for rawhide since most people will likely have gstreamer-plugins-base anyways and gcompris is quite large so I do not want to push an update when its not really necessary. Hi Hans, I've encountered the same problem today, on Fedora 22. Google led me to this BZ. Installing gstreamer-plugins-base manually worked for me as well, but I think it would be worthwhile to push an F22 update where gcompris depends on gstreamer-plugins-base explicitly. I had neither gcompris nor gstreamer-plugins-base installed, and the former didn't pull in the latter, confusing me. What do you think? Should I clone this BZ for F22? Thanks Laszlo Hi, (In reply to Laszlo Ersek from comment #7) > Hi Hans, > > I've encountered the same problem today, on Fedora 22. Google led me to this > BZ. > > Installing gstreamer-plugins-base manually worked for me as well, but I > think it would be worthwhile to push an F22 update where gcompris depends on > gstreamer-plugins-base explicitly. I had neither gcompris nor > gstreamer-plugins-base installed, and the former didn't pull in the latter, > confusing me. gcompris is quite big(ish), 180MB for just the base package without any of the language-sounds addon, and people doing a standard workstation / livecd install will already have gstreamer-plugins-base I believe, so I really think this only impacts a few people vs pushing a big update to quite a few people ... > What do you think? Should I clone this BZ for F22? No need to clone it, if after the above explanation you still believe that this should be fixed for F22+, just reopen this bug. Regards, Hans The F22 system in question doesn't come from a direct (ISO-based) installation; it comes from F21 + fedup. I think that shouldn't be a very rare setup either. Also, I think DRPM should be eliminate most of the payload? Given that only the spec file should change in this update. I think I'll reopen this one. Thanks. gcompris-15.10-5.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-55558da0f8 gcompris-15.10-5.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-855443a4b9 Thank you. How can I install the F22 packages with yum? (I'd like to see DeltaRPM in action specifically.) I tried # yum update --enablerepo=updates-testing gcompris gcompris-sound-hu but there appear to be no updates yet. Is the command incorrect, or should I just wait for a bit longer? You just need to wait a bit longer. Note I'm also looking into fixing: https://bugzilla.redhat.com/show_bug.cgi?id=1322031 Which I noticed only after creating the update so I'll likely do another update (obsoleting this one) soon. Okay, thanks. I'll subscribe to that bug too. gcompris-15.10-6.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-689871813e gcompris-15.10-6.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f00608f88a gcompris-15.10-6.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f00608f88a gcompris-15.10-6.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-689871813e I'm still not seeing anything beyond 15.10-2.fc22 in updates-testing :( Okay, I installed the update (gcompris-15.10-6.fc22). On my system the main package and the sound-hu subpackage are present. According to yum, DRPM turned the 138.8 MB download into an 1.1 MB download (saving 99.1%), when upgrading from 15.10-2.fc22. Also, audio works fine. I'll go provide some karma in Bodhi. Thanks, Hans! gcompris-15.10-6.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. gcompris-15.10-6.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |