sugarlabs / maze-activity

A simple maze game for the Sugar learning environment
GNU General Public License v3.0
1 stars 10 forks source link

No sound on Fedora 34 #34

Closed pauldoo closed 2 years ago

pauldoo commented 3 years ago

There is no sound when I use this flatpak on Fedora 34 (Silverblue). If I download the AppImage of Sugarizer from https://sugarizer.org/ then sound works fine for this activity.

I mention the distro incase this is a pipewire issue.

My 3yo is sad about the lack of sound when completing a maze.

chimosky commented 3 years ago

Hi @pauldoo thanks for reporting this, can you paste the log file at ~/.sugar/default/logs/vu.lux.olpc.Maze*.log?

pauldoo commented 3 years ago

The ~/.sugar directory does not exist.

Since this is a flatpak I assumed it's maybe part of an overlay. I took the process id of the application while it was running, and looked inside /proc/<pid>/root instead. The ~/.sugar directory exists under that root, but did not contain any log files:

> echo $HOME
/var/home/paul
> ls -la /proc/18496/root/var/home/paul/.sugar/default/logs/
total 0
drwxr-xr-x. 2 paul paul 40 Jul 27 20:41 .
drwxr-x---. 3 paul paul 60 Jul 27 20:41 ..
> find /proc/18496/root/ | grep -F 'vu.lux.olpc.Maze'
>
chimosky commented 3 years ago

@tchx84 can you take a look at this, I can't see any logs too.

tchx84 commented 3 years ago

hey !

One important thing to note is that the Maze app of Sugarizer (web) is not the same Maze app we have on Flatpak (native/gtk).

So, the question is, did the native/gtk app ever had sounds in the first place?

I can check later.

quozl commented 3 years ago

Maze GTK does not have sounds. At the time it was designed, teachers were concerned about distracting noise in classroom usage.

-- James Cameron https://quozl.linux.org.au/

chimosky commented 3 years ago

Maze GTK does not have sounds. At the time it was designed, teachers were concerned about distracting noise in classroom usage.

Confirmed, I'd thought sound was added when holes were added.

pauldoo commented 3 years ago

To confirm what I see:

The snap version does have sound. The AppImage version does have sound. The flathub version does not have sound.

I'm guessing then that the AppImage and Snap versions are bundled copies of the web version? Is that version available as FlatPak?

chimosky commented 3 years ago

I'm guessing then that the AppImage and Snap versions are bundled copies of the web version? Is that version available as FlatPak?

Yeah the AppImage and Snap versions are bundled copies of the web version and I don't think it's available as a Flatpak.

chimosky commented 2 years ago

Closing as this isn't really an issue with the activity.