Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stderr full of gobject warnings/errors #227

Closed
mikhailnov opened this issue Jun 4, 2018 · 11 comments
Closed

stderr full of gobject warnings/errors #227

mikhailnov opened this issue Jun 4, 2018 · 11 comments

Comments

@mikhailnov
Copy link
Contributor

(pulseeffects:24569): GLib-GObject-WARNING **: 16:38:01.012: g_object_get_is_valid_property: object class 'calf-sourceforge-net-plugins-Reverb' has no property named 'meter-inL'

(pulseeffects:24569): GLib-GObject-WARNING **: 16:38:01.022: g_object_get_is_valid_property: object class 'calf-sourceforge-net-plugins-Reverb' has no property named 'meter-inR'

(pulseeffects:24569): GLib-GObject-WARNING **: 16:38:01.022: g_object_get_is_valid_property: object class 'calf-sourceforge-net-plugins-Reverb' has no property named 'meter-outL'

(pulseeffects:24569): GLib-GObject-WARNING **: 16:38:01.022: g_object_get_is_valid_property: object class 'calf-sourceforge-net-plugins-Reverb' has no property named 'meter-outR'

Is repeated continuosly, making it impossible to read other console output

@mikhailnov mikhailnov changed the title stdout full of gobject warnings/errors stderrfull of gobject warnings/errors Jun 4, 2018
@mikhailnov mikhailnov changed the title stderrfull of gobject warnings/errors stderr full of gobject warnings/errors Jun 4, 2018
@wwmm
Copy link
Owner

wwmm commented Jun 4, 2018

Which Calf version do you have installed? Here in Arch Linux Calf 0.90.0 has these properties. What is the output of the command gst-inspect-1.0 calf-sourceforge-net-plugins-Reverb in your machine?

@mikhailnov
Copy link
Contributor Author

pay2:~$ dpkg -l | grep calf
ii  calf-plugins                                      0.0.60-5                                      amd64        Calf Studiogear - audio effects and sound generators
user@pay2:~$ gst-inspect-1.0 calf-sourceforge-net-plugins-Reverb
Factory Details:
  Rank                     none (0)
  Long-name                Calf Reverb
  Klass                    Filter/Effect/Audio/LV2/Reverb
  Description              Calf Reverb
  Author                   Calf Studio Gear

Plugin Details:
  Name                     lv2
  Description              All LV2 plugins
  Filename                 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlv2.so
  Version                  1.14.0
  License                  LGPL
  Source module            gst-plugins-bad
  Source release date      2018-03-19
  Binary package           GStreamer Bad Plugins (Ubuntu)
  Origin URL               https://launchpad.net/distros/ubuntu/+source/gst-plugins-bad1.0

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstBaseTransform
                         +----GstAudioFilter
                               +----calf-sourceforge-net-plugins-Reverb

Implemented Interfaces:
  GstPreset

Pad Templates:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      audio/x-raw
                 format: F32LE
               channels: 2
                   rate: [ 1, 2147483647 ]
                 layout: interleaved
  
  SRC template: 'src'
    Availability: Always
    Capabilities:
      audio/x-raw
                 format: F32LE
               channels: 2
                   rate: [ 1, 2147483647 ]
                 layout: interleaved

Element has no clocking capabilities.
Element has no URI handling capabilities.

Pads:
  SINK: 'sink'
    Pad Template: 'sink'
  SRC: 'src'
    Pad Template: 'src'

Element Properties:
  name                : The name of the object
                        flags: readable, writable
                        String. Default: "calf-sourceforge-net-plugins-reverb0"
  parent              : The parent of the object
                        flags: readable, writable
                        Object of type "GstObject"
  qos                 : Handle Quality-of-Service events
                        flags: readable, writable
                        Boolean. Default: false
  decay-time          : Decay time
                        flags: readable, writable, controllable
                        Float. Range:             0.4 -              15 Default:             1.5 
  hf-damp             : High Frq Damp
                        flags: readable, writable, controllable
                        Float. Range:            2000 -           20000 Default:            5000 
  room-size           : Room size
                        flags: readable, writable, controllable
                        Enum "calf-sourceforge-net-plugins-Reverbroom-size" Default: 2, "Large"
                           (0): Small            - Small
                           (1): Medium           - Medium
                           (2): Large            - Large
                           (3): Tunnel-like      - Tunnel-like
                           (4): Large/smooth     - Large/smooth
                           (5): Experimental     - Experimental
  diffusion           : Diffusion
                        flags: readable, writable, controllable
                        Float. Range:               0 -               1 Default:             0.5 
  amount              : Wet Amount
                        flags: readable, writable, controllable
                        Float. Range:               0 -               2 Default:            0.25 
  dry                 : Dry Amount
                        flags: readable, writable, controllable
                        Float. Range:               0 -               2 Default:               1 
  predelay            : Pre Delay
                        flags: readable, writable, controllable
                        Float. Range:               0 -             500 Default:               0 
  bass-cut            : Bass Cut
                        flags: readable, writable, controllable
                        Float. Range:              20 -           20000 Default:             300 
  treble-cut          : Treble Cut
                        flags: readable, writable, controllable
                        Float. Range:              20 -           20000 Default:            5000 
  clip                : 0dB
                        flags: readable, controllable
                        Float. Range:               0 -               1 Default:               0 
  meter-wet           : Wet amount
                        flags: readable, controllable
                        Float. Range:               0 -               1 Default:               0 
  meter-out           : Output
                        flags: readable, controllable
                        Float. Range:               0 -               1 Default:               0 

Presets:
  "Room"
  "Large Empty Hall"
  "Empty walls"
  "DiscoVerb"
  "Ambience"
  "Large Occupied Hall"
user@pay2:~$ 

@wwmm
Copy link
Owner

wwmm commented Jun 4, 2018

It seems that calf 0.60 does not have the level meter properties. Is it a problem to have the latest Calf in ubuntu? If so I can think about reading the level meters in a different way.

In PE 4 I am reading the level of a few Calf plugins in a different way because some of them have built-in meters. So it would be a waste of cpu resources to place standard GStreamer meters before and after them. But it is not the end of the world to do this if it is a pain for everybody outside of rolling release distributions to get calf 0.90

@wwmm
Copy link
Owner

wwmm commented Jun 18, 2018

Is this still a problem?

@wwmm wwmm closed this as completed Jun 19, 2018
@emielmolenaar
Copy link

emielmolenaar commented Jun 29, 2018

Same problem here. Ubuntu Budgie 18.04, kernel 4.17.1, pulseaudio 11.1, pulseeffects 4.1.0, calf-plugins 0.60.

Factory Details:
  Rank                     none (0)
  Long-name                Calf Reverb
  Klass                    Filter/Effect/Audio/LV2/Plugin
  Description              Calf Reverb
  Author                   Calf Studio Gear

Plugin Details:
  Name                     lv2
  Description              All LV2 plugins
  Filename                 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlv2.so
  Version                  1.14.1
  License                  LGPL
  Source module            gst-plugins-bad
  Source release date      2018-05-17
  Binary package           GStreamer Bad Plugins (Ubuntu)
  Origin URL               https://launchpad.net/distros/ubuntu/+source/gst-plugins-bad1.0

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstBaseTransform
                         +----GstAudioFilter
                               +----calf-sourceforge-net-plugins-Reverb

Implemented Interfaces:
  GstPreset

Pad Templates:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      audio/x-raw
                 format: F32LE
               channels: 2
                   rate: [ 1, 2147483647 ]
                 layout: interleaved
  
  SRC template: 'src'
    Availability: Always
    Capabilities:
      audio/x-raw
                 format: F32LE
               channels: 2
                   rate: [ 1, 2147483647 ]
                 layout: interleaved

Element has no clocking capabilities.
Element has no URI handling capabilities.

Pads:
  SINK: 'sink'
    Pad Template: 'sink'
  SRC: 'src'
    Pad Template: 'src'

Element Properties:
  name                : The name of the object
                        flags: readable, writable
                        String. Default: "calf-sourceforge-net-plugins-reverb0"
  parent              : The parent of the object
                        flags: readable, writable
                        Object of type "GstObject"
  qos                 : Handle Quality-of-Service events
                        flags: readable, writable
                        Boolean. Default: false
  decay-time          : Decay time
                        flags: readable, writable, controllable
                        Float. Range:             0,4 -              15 Default:             1,5 
  hf-damp             : High Frq Damp
                        flags: readable, writable, controllable
                        Float. Range:            2000 -           20000 Default:            5000 
  room-size           : Room size
                        flags: readable, writable, controllable
                        Enum "calf-sourceforge-net-plugins-Reverbroom-size" Default: 2, "Large"
                           (0): Small            - Small
                           (1): Medium           - Medium
                           (2): Large            - Large
                           (3): Tunnel-like      - Tunnel-like
                           (4): Large/smooth     - Large/smooth
                           (5): Experimental     - Experimental
  diffusion           : Diffusion
                        flags: readable, writable, controllable
                        Float. Range:               0 -               1 Default:             0,5 
  amount              : Wet Amount
                        flags: readable, writable, controllable
                        Float. Range:               0 -               2 Default:            0,25 
  dry                 : Dry Amount
                        flags: readable, writable, controllable
                        Float. Range:               0 -               2 Default:               1 
  predelay            : Pre Delay
                        flags: readable, writable, controllable
                        Float. Range:               0 -             500 Default:               0 
  bass-cut            : Bass Cut
                        flags: readable, writable, controllable
                        Float. Range:              20 -           20000 Default:             300 
  treble-cut          : Treble Cut
                        flags: readable, writable, controllable
                        Float. Range:              20 -           20000 Default:            5000 
  clip                : 0dB
                        flags: readable, controllable
                        Float. Range:               0 -               1 Default:               0 
  meter-wet           : Wet amount
                        flags: readable, controllable
                        Float. Range:               0 -               1 Default:               0 
  meter-out           : Output
                        flags: readable, controllable
                        Float. Range:               0 -               1 Default:               0 

Presets:
  "Room"
  "Ambience"
  "Empty walls"
  "Large Empty Hall"
  "DiscoVerb"
  "Large Occupied Hall"

None of the plugins are working for me, only volume adjustments work. I guess that is another issue. I am seeing this in my terminal:

(pulseeffects:3569): GLib-GObject-WARNING **: 10:06:05.467: g_object_get_is_valid_property: object class 'calf-sourceforge-net-plugins-Filter' has no property named 'meter-inL'

(pulseeffects:3569): GLib-GObject-WARNING **: 10:06:05.467: g_object_get_is_valid_property: object class 'calf-sourceforge-net-plugins-Filter' has no property named 'meter-inR'

(pulseeffects:3569): GLib-GObject-WARNING **: 10:06:05.467: g_object_get_is_valid_property: object class 'calf-sourceforge-net-plugins-Filter' has no property named 'meter-outL'

(pulseeffects:3569): GLib-GObject-WARNING **: 10:06:05.467: g_object_get_is_valid_property: object class 'calf-sourceforge-net-plugins-Filter' has no property named 'meter-outR'

(pulseeffects:3569): GLib-GObject-WARNING **: 10:06:05.467: g_object_get_is_valid_property: object class 'calf-sourceforge-net-plugins-Reverb' has no property named 'meter-inL'

(pulseeffects:3569): GLib-GObject-WARNING **: 10:06:05.467: g_object_get_is_valid_property: object class 'calf-sourceforge-net-plugins-Reverb' has no property named 'meter-inR'

(pulseeffects:3569): GLib-GObject-WARNING **: 10:06:05.467: g_object_get_is_valid_property: object class 'calf-sourceforge-net-plugins-Reverb' has no property named 'meter-outL'

(pulseeffects:3569): GLib-GObject-WARNING **: 10:06:05.467: g_object_get_is_valid_property: object class 'calf-sourceforge-net-plugins-Reverb' has no property named 'meter-outR'

(pulseeffects:3569): GLib-GIO-CRITICAL **: 10:06:05.679: g_settings_get_value: assertion 'G_IS_SETTINGS (settings)' failed

(pulseeffects:3569): GLib-CRITICAL **: 10:06:05.679: g_variant_get_type: assertion 'value != NULL' failed

(pulseeffects:3569): GLib-CRITICAL **: 10:06:05.679: g_variant_type_is_subtype_of: assertion 'g_variant_type_check (type)' failed

(pulseeffects:3569): GLib-CRITICAL **: 10:06:05.679: g_variant_get_boolean: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN)' failed

(pulseeffects:3569): GLib-CRITICAL **: 10:06:05.679: g_variant_unref: assertion 'value != NULL' failed

(pulseeffects:3569): GLib-GIO-CRITICAL **: 10:06:05.679: g_settings_get_value: assertion 'G_IS_SETTINGS (settings)' failed

(pulseeffects:3569): GLib-CRITICAL **: 10:06:05.679: g_variant_get_type: assertion 'value != NULL' failed

(pulseeffects:3569): GLib-CRITICAL **: 10:06:05.679: g_variant_type_is_subtype_of: assertion 'g_variant_type_check (type)' failed

(pulseeffects:3569): GLib-CRITICAL **: 10:06:05.679: g_variant_get_boolean: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN)' failed

(pulseeffects:3569): GLib-CRITICAL **: 10:06:05.679: g_variant_unref: assertion 'value != NULL' failed

@mikhailnov
Copy link
Contributor Author

mikhailnov commented Jun 29, 2018 via email

@mikhailnov
Copy link
Contributor Author

mikhailnov commented Jun 29, 2018

sudo add-apt-repository ppa:mikhailnov/pulseeffects
sudo apt dist-upgrade
  • If you want to try PulseAudio 12.0 instead of Ubuntu's 11.1 (Volume Control Behaviour #99 is fixed upstream in 12), use ppa:mikhailnov/desktop1-dev
sudo add-apt-repository ppa:mikhailnov/desktop1-dev
sudo apt dist-upgrade

In this testing PPA:

    • calf-plugins 0.90.0 is also built
    • PulseAudio is built with Ubuntu's patches for default configs, but patches for Apparmor and snappy were removed, so sound in snap applications may not work
    • PulseEffects is built with libpulse 12.0, not 11.1, and so is supposed to be used with PulseAudio 12
    • I may not continue maintaining ppa:mikhailnov/desktop1-dev, please use it carefully

mikhailnov added a commit to mikhailnov/pulseeffects that referenced this issue Jun 29, 2018
@mikhailnov
Copy link
Contributor Author

This error is fixed with these new packages

@emielmolenaar
Copy link

@mikhailnov Thank you very much! This solved the issue, and the effects are working now 👍 !

@mikhailnov
Copy link
Contributor Author

Maybe disable loading calf-plugins if they are < 0.90.0 ?

@wwmm
Copy link
Owner

wwmm commented Jul 16, 2018

It is not easy to do. As far as I know there is not a way to get calf version through GStreamer api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants