Byzantium backports unofficial

Gnome-clocks 47 is already available!
It is patched to use waked to resume the phone from suspend. libgtk-4 4.16.5 patched to avoid clock hangs when an alarm is triggered is also included.

The one thing that I can not change - the default alarm sound. No one advice works for me, even direct replace of the /usr/share/sounds/freedesktop/stereo/alarm-clock-elapsed.ogg

2 Likes

Have you had any luck resolving this issue yet?

2 Likes

Manual installation of systemd-resolved package should resolve the network issue :). But it is better to wait some independent confirmation :wink:

2 Likes

This did solve that issue for me.
However, I still am not able to upgrade phosh yet, (I probably just need to keep installing packages until it finally works)

1 Like

It you have a problem during apt dist-upgrade please send me the log in PM.

upd: I’ve lost one package, right now everything must be Ok!

p.s. be careful when upgrading! Make backups and/or second sd-card bootable os for inspection.

2 Likes

You could use this branch to make it use feedbackd which then allows theme configuration and also to use haptic.

2 Likes

So can you confirm that alarm works now on Purism when phone is on suspend ?

1 Like

Yes, it works!
I will try @guido.gunther 's branch soon to change the alarm sound :slight_smile:

p.s. be careful if decided to apply my backports. It works for me, but @ASwyD2 has a problem with boot after upgrading. Looks like it is better to use apt install ./*.deb' rather than apt dist-upgrade` and remember that you should NOT be asked to remove some critical packages.

4 Likes

Mesa 24.2.4 - Epiphany works much better with some websites. I’m able to take a taxi and look to online maps from my librem5 for the first time ever!

2 Likes

Amazing!
I’ve just apply three latest commits from the branch to gnome-clocks 47 and voila - custom sound and haptic works! Just copy your sound as ~/.local/share/sounds/__custom/alarm-clock-elapsed.oga

There is the minor issue - I can not change the sound profile for the clocks, only global profile does matter (silent, vibro, full). It will be also very nice to keep a sound only (without haptic).

p.s. repo is already updated!

3 Likes

I just updated and…

The good:
Holy crap it’s WAAAY snappier, and it fixed some of the window sizing issues I had before (ex the Timer screen in Clocks was always too wide).
Pages that took 20-30 seconds or more to properly load in FF now load instantly. What the hell happened here :smiley: ???

The bad:
- I have no sound, and I cannot playback audio or video. I tried Lollypop, Freetube, and videos in Firefox. No media will play, and I don’t get any sounds from the system. Even testing speakers in the GNOME Settings will not work, the buttons are disabled.
- Phone calls connect, but I cannot hear the other end and they could not hear me.

I just hope to be able to resolve whatever I have missing. Please if you have suggestions :slight_smile:

Relevant log statements:
> Nov 22 22:36:31 voyager pulseaudio[1479]: Failed to create sink input: sink is suspended.
Nov 22 22:36:31 voyager gnome-control-c[2338]: Failed to play sound: Invalid state

After renaming ~/.config/pulse…
> Nov 22 22:49:29 voyager pulseaudio[1467]: ALSA woke us up to write new data to the device, but there was actually nothing to write.
Nov 22 22:49:29 voyager pulseaudio[1467]: Most likely this is a bug in the ALSA driver ‘snd_soc_simple_card’. Please report this issue to the ALSA developers.
Nov 22 22:49:29 voyager pulseaudio[1467]: We were woken up with POLLOUT set – however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Nov 22 22:49:29 voyager pulseaudio[1467]: ALSA woke us up to read new data from the device, but there was actually nothing to read.
Nov 22 22:49:29 voyager pulseaudio[1467]: Most likely this is a bug in the ALSA driver ‘snd_soc_simple_card’. Please report this issue to the ALSA developers.
Nov 22 22:49:29 voyager pulseaudio[1467]: We were woken up with POLLIN set – however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Nov 22 22:49:30 voyager pipewire[1465]: spa.alsa: ‘hw:1,0’: capture open failed: Device or resource busy
Nov 22 22:44:47 voyager wireplumber[1472]: spa.alsa: Error opening hctl device: No such device
Nov 22 22:49:32 voyager pipewire[1465]: spa.alsa: ‘hw:L5’: capture open failed: Device or resource busy

Final edit:
@galilley ignore me… and THANK YOU!!!
I am exhausted from a long week and I don’t know what the hell I did to fix it. Maybe renaming ~/.config/pulse did it, maybe something else. But I now can play back video and get audio too.

Final final edit:
Hmm… no. Audio didn’t work with my BT headphones, and after a restart, I am back to the same state above where I crossed everything off. Either way I’m done for the night.

4 Likes

Just to confirm your issue with the sound :).

It may be related to pipewire, that should be configured for video-only streams. I believe it must be configured automatically in case you you do not install pipewire-pulse (not included into the repo), but something went wrong (as usual :innocent:).

So, try to reconfigure it by yourself (link):

systemctl --user disable wireplumber.service
systemctl --user enable wireplumber@video-only.service
systemctl --user status wireplumber@video-only.service
1 Like

Seems to have made no difference.
I don’t see pipewire-pulse in the repos to install. Related packages that I do have installed are:

gstreamer1.0-pipewire/now 1.2.5-1~bpo12+1 arm64 [installed,local]
libpipewire-0.3-0/now 1.2.5-1~bpo12+1 arm64 [installed,local]
libpipewire-0.3-common/now 1.2.5-1~bpo12+1 all [installed,local]
libpipewire-0.3-modules/now 1.2.5-1~bpo12+1 arm64 [installed,local]
libspa-0.2-bluetooth/now 1.2.5-1~bpo12+1 arm64 [installed,local]
libspa-0.2-libcamera/now 1.2.5-1~bpo12+1 arm64 [installed,local]
libspa-0.2-modules/now 1.2.5-1~bpo12+1 arm64 [installed,local]
libwireplumber-0.5-0/now 0.5.6-1~bpo12+1 arm64 [installed,local]
pipewire/now 1.2.5-1~bpo12+1 arm64 [installed,local]
pipewire-bin/now 1.2.5-1~bpo12+1 arm64 [installed,local]
pipewire-libcamera/now 1.2.5-1~bpo12+1 all [installed,local]
pipewire-v4l2/now 1.2.5-1~bpo12+1 arm64 [installed,local]
wireplumber/now 0.5.6-1~bpo12+1 arm64 [installed,local]

I started seeing Failed to create sink input: sink is suspended. so I deleted ~/.config/pulse again… We will see.


Edit:
Before going to sleep I rebooted once more and… sounds works. Video playback works. I just tried my BT headphones again and they work!

Only one issue remains that I’ve noticed now:
When the phone goers to suspend, instead of the screen blanking, it drops to TTY and the screen stays on. I can share the message I see later.
I was still able to unlock by pressing the power button, then unlocking my disk, then going to the Lock Screen and unlocking from there.

2 Likes

There is the minor issue - I can not change the sound profile for the clocks, only global profile does matter (silent, vibro, full). It will be also very nice to keep a sound only (without haptic).

Maybe there’s something off in your stack? gnome-clocks is flagged as important so it is explicitly allowed to override the global feedback level (otherwise I’d miss my wakeup alarms when the phone is set to silent mode). This is used by clocks for alarms.

The user can drop gnome-clocks from the list of apps that are allowed to do that to get “normal” behavior (no alarms when phone is set to silent).

These patches are also part of the phosh nightly builds btw; Phosh Nightly Package Builds · Phosh

May be some problem with cryptosetup-suspend (link) or old libraries like libphosh or mutter that may have remained in the system?..

This exactly I observed right now - no sound when in the silent mode… My stack is follow:

libphosh-0.43-0/unknown,now 0.43.0-1 arm64 [installed]
phosh-antispam/unknown,now 3.5-1 arm64 [installed]
phosh-core/byzantium,now 5 arm64 [installed]
phosh-games/byzantium,now 5 all [installed,automatic]
phosh-mobile-settings/unknown,now 0.43.0-1 arm64 [installed]
phosh-mobile-tweaks/unknown,now 0.43.0-1 all [installed,automatic]
phosh-osk-stub-doc/unknown,now 0.41.1-1 all [installed]
phosh-osk-stub/unknown,now 0.43.0-1 arm64 [installed]
phosh-plugins/unknown,now 0.43.0-1 arm64 [installed,automatic]
phosh-tour/unknown,now 0.43.0-1 arm64 [installed,automatic]
phosh/unknown,now 0.43.0-1 arm64 [installed]
phoc/unknown,now 0.43.0-1 arm64 [installed,automatic]
feedbackd-common/unknown,now 0.5.0-1 all [installed,automatic]
feedbackd/unknown,now 0.5.0-1 arm64 [installed,automatic]
libfeedback-0.0-0/now 0.5.0-1 arm64 [installed,local]
gnome-clocks/unknown,now 47.0-2 arm64 [installed,automatic]

What else I could check to fix the issue? Where I could check that the important flag is really setted for the clocks?..
Thanks a lot!

Looks like the list of special apps that can override a global profile is fixed for me…

I have libphosh 0.43-0 and mutter 47.0-3 installed.
Are you suggesting to remove them?

I should probably add, I installed your .debs by apt install ./*.deb.
Doing this added in the full GNOME desktop, which I now have an option (not tested yet) to log in from greetd, which is also new. I am guessing that GNOME is why I have mutter installed.

Your libphosh and mutter are Ok!
greetd is installed in my case just because it was mentioned as a related component, but I do not remember where…

p.s. when I told about old packages, I meant the versions older than the installed phosh version (0.43 for today).