Michael Sheldon's Stuff

Michael Sheldon (mike at mikeasoft dot com)

November 20, 2023

Pied Beta
Mike @ 9:11 pm

For the past couple of months I’ve been working on Pied, an application that makes it easy to use modern, natural sounding, text-to-speech voices on Linux. It does this by integrating the Piper neural text-to-speech engine with speech-dispatcher, so most existing software will work with it out of the box.

The first beta version is now available in the snap store:

Get it from the Snap Store

(Other package formats will follow)

I’d appreciate any feedback if you’re able to test it, thanks!


2 Comments »

  1. Hi, I cannot run this, using snap I get:

    Gtk-Message: 22:55:14.930: Not loading module “atk-bridge”: The functionality is provided by GTK natively. Please try to not load it.

    (pied:531422): Gtk-WARNING **: 22:55:14.990: GTK+ module /snap/pied/46/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
    GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
    Gtk-Message: 22:55:14.990: Failed to load module “canberra-gtk-module”

    (pied:531422): Gtk-WARNING **: 22:55:14.997: GTK+ module /snap/pied/46/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
    GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
    Gtk-Message: 22:55:14.997: Failed to load module “canberra-gtk-module”

    (pied:531422): Gdk-CRITICAL **: 22:55:15.071: gdk_window_get_state: assertion ‘GDK_IS_WINDOW (window)’ failed

    (pied:531422): Gdk-ERROR **: 22:55:15.379: The program ‘pied’ received an X Window System error.
    This probably reflects a bug in the program.
    The error was ‘BadValue’.
    (Details: serial 613 error_code 2 request_code 152 (GLX) minor_code 22)
    (Note to programmers: normally, X errors are reported asynchronously;
    that is, you will receive the error a while after causing it.
    To debug your program, run it with the GDK_SYNCHRONIZE environment
    variable to change this behavior. You can then get a meaningful
    backtrace from your debugger if you break on the gdk_x_error() function.)
    Trace/breakpoint trap (core dumped)
    reno@pop-os:~/pied$ echo $GTK_MODULES
    gail:atk-bridge
    reno@pop-os:~/pied$ pied
    Gtk-Message: 22:56:02.806: Not loading module “atk-bridge”: The functionality is provided by GTK natively. Please try to not load it.

    (pied:532672): Gtk-WARNING **: 22:56:02.866: GTK+ module /snap/pied/40/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
    GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
    Gtk-Message: 22:56:02.866: Failed to load module “canberra-gtk-module”

    (pied:532672): Gtk-WARNING **: 22:56:02.873: GTK+ module /snap/pied/40/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
    GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
    Gtk-Message: 22:56:02.873: Failed to load module “canberra-gtk-module”

    (pied:532672): Gdk-CRITICAL **: 22:56:02.932: gdk_window_get_state: assertion ‘GDK_IS_WINDOW (window)’ failed

    (pied:532672): Gdk-ERROR **: 22:56:03.231: The program ‘pied’ received an X Window System error.
    This probably reflects a bug in the program.
    The error was ‘BadValue’.
    (Details: serial 614 error_code 2 request_code 152 (GLX) minor_code 22)
    (Note to programmers: normally, X errors are reported asynchronously;
    that is, you will receive the error a while after causing it.
    To debug your program, run it with the GDK_SYNCHRONIZE environment
    variable to change this behavior. You can then get a meaningful
    backtrace from your debugger if you break on the gdk_x_error() function.)
    Trace/breakpoint trap (core dumped)

    Any idea?

    Comment by blackbeard — December 7, 2023 @ 10:59 pm

  2. Hi blackbeard,

    I suspect since it’s a GLX error that it may be a mismatch between your graphics card drivers and the snap environment. If you try running something GLX based like the supertuxkart snap, do you get a similar issue?

    There’s also a flatpak version available from the Pied website now, it might be worth giving that a try and see if that works any better for you?

    Cheers,
    Mike

    Comment by Mike — December 11, 2023 @ 8:50 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress