dsnote icon indicating copy to clipboard operation
dsnote copied to clipboard

Crashing when reading text using kokoro Heart en 82M When Engine speed control is unchecked and speed is at x2

Open DevenBL opened this issue 1 month ago • 3 comments

The gui was crashing a few moments into reading the block of text so i ran it from the commandline and got this output:

flatpak run net.mkiol.SpeechNote 
QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.qgnomeplatform: Could not find color scheme  ""
WARNING: Defaulting repo_id to hexgrad/Kokoro-82M. Pass repo_id='hexgrad/Kokoro-82M' to suppress this warning.
/app/extensions/nvidia/lib/python3.12/site-packages/torch/nn/modules/rnn.py:123: UserWarning: dropout option adds dropout after all but last recurrent layer, so non-zero dropout expects num_layers greater than 1, but got dropout=0.2 and num_layers=1
  warnings.warn(
/app/extensions/nvidia/lib/python3.12/site-packages/torch/nn/utils/weight_norm.py:143: FutureWarning: `torch.nn.utils.weight_norm` is deprecated in favor of `torch.nn.utils.parametrizations.weight_norm`.
  WeightNorm.apply(module, name, dim)
WARNING: Defaulting repo_id to hexgrad/Kokoro-82M. Pass repo_id='hexgrad/Kokoro-82M' to suppress this warning.
[E] 23:52:00.883441860.883 0x150a5f40f680 init_av_in_format:599 - avformat_open_input error: End of file
terminate called after throwing an instance of 'std::runtime_error'
  what():  avformat_open_input error

DevenBL avatar Nov 17 '25 23:11 DevenBL

Crashes still occur with fresh install and Gpu acceleration uninstalled. (flatpak install net.mkiol.SpeechNote.Addon.nvidia)

DevenBL avatar Nov 18 '25 00:11 DevenBL

QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.qgnomeplatform: Could not find color scheme  ""
WARNING: Defaulting repo_id to hexgrad/Kokoro-82M. Pass repo_id='hexgrad/Kokoro-82M' to suppress this warning.
/app/extensions/cpu/lib/python3.12/site-packages/torch/nn/modules/rnn.py:123: UserWarning: dropout option adds dropout after all but last recurrent layer, so non-zero dropout expects num_layers greater than 1, but got dropout=0.2 and num_layers=1
  warnings.warn(
/app/extensions/cpu/lib/python3.12/site-packages/torch/nn/utils/weight_norm.py:143: FutureWarning: `torch.nn.utils.weight_norm` is deprecated in favor of `torch.nn.utils.parametrizations.weight_norm`.
  WeightNorm.apply(module, name, dim)
WARNING: Defaulting repo_id to hexgrad/Kokoro-82M. Pass repo_id='hexgrad/Kokoro-82M' to suppress this warning.
[E] 00:53:11.757828471.757 0x147e757dd680 init_av_in_format:599 - avformat_open_input error: End of file
terminate called after throwing an instance of 'std::runtime_error'
  what():  avformat_open_input error

Informed guessing leads me to believe.

Image Engine speed control might be related. I checked the box and it stopped crashing. However it renders speech incomprehensible at 2x speed.

DevenBL avatar Nov 18 '25 00:11 DevenBL

Output after the change (non crashing):

flatpak run net.mkiol.SpeechNote 
QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.qgnomeplatform: Could not find color scheme  ""
WARNING: Defaulting repo_id to hexgrad/Kokoro-82M. Pass repo_id='hexgrad/Kokoro-82M' to suppress this warning.
/app/extensions/cpu/lib/python3.12/site-packages/torch/nn/modules/rnn.py:123: UserWarning: dropout option adds dropout after all but last recurrent layer, so non-zero dropout expects num_layers greater than 1, but got dropout=0.2 and num_layers=1
  warnings.warn(
/app/extensions/cpu/lib/python3.12/site-packages/torch/nn/utils/weight_norm.py:143: FutureWarning: `torch.nn.utils.weight_norm` is deprecated in favor of `torch.nn.utils.parametrizations.weight_norm`.
  WeightNorm.apply(module, name, dim)
WARNING: Defaulting repo_id to hexgrad/Kokoro-82M. Pass repo_id='hexgrad/Kokoro-82M' to suppress this warning.
[E] 00:55:06.486788008.486 0x1498915fe680 init_av_in_format:599 - avformat_open_input error: End of file
[E] 00:55:06.486824637.486 0x1498915fe680 duration_and_rate:1304 - can't get duration and rate: avformat_open_input error
[E] 00:56:19.112225681.112 0x1498915fe680 init_av_in_format:599 - avformat_open_input error: End of file
[E] 00:56:19.112253443.112 0x1498915fe680 duration_and_rate:1304 - can't get duration and rate: avformat_open_input error
[E] 00:56:40.756724338.756 0x1498915fe680 init_av_in_format:599 - avformat_open_input error: End of file
[E] 00:56:40.756768431.756 0x1498915fe680 duration_and_rate:1304 - can't get duration and rate: avformat_open_input error
[E] 00:56:57.201208369.201 0x1498915fe680 init_av_in_format:599 - avformat_open_input error: End of file
[E] 00:56:57.201283180.201 0x1498915fe680 duration_and_rate:1304 - can't get duration and rate: avformat_open_input error
[E] 00:57:59.467943662.467 0x1498915fe680 init_av_in_format:599 - avformat_open_input error: End of file
[E] 00:57:59.467991543.467 0x1498915fe680 duration_and_rate:1304 - can't get duration and rate: avformat_open_input error
[E] 00:58:05.034310002.34 0x1498915fe680 init_av_in_format:599 - avformat_open_input error: End of file
[E] 00:58:05.034354877.34 0x1498915fe680 duration_and_rate:1304 - can't get duration and rate: avformat_open_input error
[E] 00:58:40.697740355.697 0x1498915fe680 init_av_in_format:599 - avformat_open_input error: End of file
[E] 00:58:40.697778938.697 0x1498915fe680 duration_and_rate:1304 - can't get duration and rate: avformat_open_input error
[E] 00:59:06.055394437.55 0x1498915fe680 init_av_in_format:599 - avformat_open_input error: End of file
[E] 00:59:06.055440314.55 0x1498915fe680 duration_and_rate:1304 - can't get duration and rate: avformat_open_input error

DevenBL avatar Nov 18 '25 01:11 DevenBL