Author Topic: ardour does not start...  (Read 1581 times)

Offline rhinomick

  • Full Member
  • ****
  • Posts: 114
  • PCLinuxOS rocks!
ardour does not start...
« on: March 06, 2019, 05:27:16 PM »
Ardour doesnt start...trying  it from the terminal  gives a repeating message for Gtk error...
Logged
linphone   sip:chrissos_k@sip.linphone.org

Offline Texstar

  • Administrator
  • Super Villain
  • **********
  • Posts: 27629
  • Spring, Texas
    • PCLinuxOS
Re: ardour does not start...
« Reply #1 on: March 06, 2019, 06:43:34 PM »
It was working before you tried it and now it is broke! J/K

Logged

Offline Texstar

  • Administrator
  • Super Villain
  • **********
  • Posts: 27629
  • Spring, Texas
    • PCLinuxOS
Re: ardour does not start...
« Reply #2 on: March 07, 2019, 01:04:50 AM »
ardour seems to work just fine in KDE Plasma but does not start in MATE 1.22.0. I have not tested other window managers.

Logged

Offline monbureaulinux

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1196
  • PCLinuxOS MATE rocks!
    • My Youtube Channel
Re: ardour does not start...
« Reply #3 on: March 07, 2019, 06:31:58 AM »
Hi

Mate 1.22.0

just installed, works fine here





terminal :

Quote
$ ardour5
WARNING: Your system has a limit for maximum amount of locked memory!
         This might cause Ardour to run out of memory before your system runs
         out of memory. You can view the memory limit with 'ulimit -l', and it
         is normally controlled by /etc/security/limits.conf

bind txt domain [gtk2_ardour5] to /usr/share/ardour5/locale
Ardour5.12.0 (construit avec 5.12 et GCC version 7.2.1 20170831)
ardour: [INFO]: Votre configuration-système limite Ardour à 4096 fichiers ouverts
ardour: [INFO]: Chargement du fichier de configuration-système /etc/ardour5/system_config
ardour: [INFO]: Chargement du fichier de configuration-utilisateur /home/monbureaulinux/.config/ardour5/config
ardour: [INFO]: CPU vendor: GenuineIntel
ardour: [INFO]: AVX-capable processor
ardour: [INFO]: CPU brand: Intel(R) Core(TM) i7-4900MQ CPU @ 2.80GHz
ardour: [INFO]: Using SSE optimized routines
ardour: [INFO]: Chargement du fichier de style par défaut (/etc/ardour5/default_ui_config) pour l'interface graphique
ardour: [INFO]: Chargement du fichier utilisateur de la configuration de l'interface graphique /home/monbureaulinux/.config/ardour5/ui_config
Gtk-Message: 10:41:18.593: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:41:18.597: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-primary-button-warps-slider' of type `gboolean' from rc file value "((GString*) 0x28f5a80)" of type `gboolean'
Couleur shuttle bg introuvable
ardour: [INFO]: Chargement du fichier de couleur /usr/share/ardour5/themes/dark-ardour.colors
Gtk-Message: 10:41:18.611: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-primary-button-warps-slider' of type `gboolean' from rc file value "((GString*) 0x28f5a80)" of type `gboolean'
ardour: [INFO]: Loading ui configuration file /etc/ardour5/clearlooks.rc
ardour: [INFO]: Loading ui configuration file /etc/ardour5/clearlooks.rc
Found nothing along /home/monbureaulinux/.config/ardour5/templates:/usr/share/ardour5/templates
run dialog

Logged
Laptop : Lenovo Legion 5, AMD Ryzen 5 5600H, Nvidia RTX 3060 (6Go), latest kernel, MATE
Laptop : HP Zbook 15, CPU Intel i7-4900MQ, Nvidia Quadro K2100M (2Go), latest kernel, 16 Go Ram. MATE
Desktop : Lenovo Thinkcentre M700 Tiny, CPU i5-6600T, Intel HD Graphics 530, latest kernel, 8 Go Ram. MATE

Offline rhinomick

  • Full Member
  • ****
  • Posts: 114
  • PCLinuxOS rocks!
Re: ardour does not start...
« Reply #4 on: March 07, 2019, 09:51:02 AM »
Well it use to work on LXDE ... upgrading to mate 1.22.0 didnt do the trick for me... :o
maybe something is missing from my system...
Logged
linphone   sip:chrissos_k@sip.linphone.org

Offline horusfalcon - KG5WLH

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4485
  • Wayfarer of The Western Wastes
Re: ardour does not start...
« Reply #5 on: March 08, 2019, 12:09:15 AM »
Well it use to work on LXDE ... upgrading to mate 1.22.0 didnt do the trick for me... :o
maybe something is missing from my system...

LXDE and MATE both utilize GTK+.  Are you still seeing your GTK related errors when starting from a terminal session?  If so, please try to copy and post the error messages you are getting.

I'm not at home, so can't check, but are ardour and ardour2 still both available from the repositories?  Which of these did you install?  (Shoot, I don't even recall which of these I'm currently using under XFCE...)
Logged
Refuse to Co-Exist!  Demand Better... PCLinuxOS!

A+ Certified since 2003.

Dell Mobile Precision 7520, Xeon E3-1545M, 32GB RAM, dual Intel/Nvidia Audio & Video.

PCLinuxOS 2024.04 w/ KDE, XFCE, updated weekly or whenever I think it needs it.

Offline rhinomick

  • Full Member
  • ****
  • Posts: 114
  • PCLinuxOS rocks!
Re: ardour does not start...
« Reply #6 on: March 08, 2019, 12:24:11 PM »




could not copy it so...
Logged
linphone   sip:chrissos_k@sip.linphone.org

Offline horusfalcon - KG5WLH

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4485
  • Wayfarer of The Western Wastes
Re: ardour does not start...
« Reply #7 on: March 09, 2019, 06:13:11 PM »
Hmm... gtk-primary-button-warps-slider seems to be missing from an rc file somewhere.  That makes me wonder if Ardour has an rc file that defines the resources it uses.

The GTK2 reference manual gives some info about this property, which, as the feedback indicates, is of the type gboolean.  gboolean types are true/false, but there are other strictures associated with their use.  That's probably at a deeper level than we need right now, though.

For now, the definition of gtk-primary-button-warps-slider  should help understand it some:

The “gtk-primary-button-warps-slider” property

“gtk-primary-button-warps-slider” gboolean

Whether a click in a GtkRange trough should scroll to the click position or scroll by a single page in the respective direction.

Flags: Read / Write

Default value: FALSE

Since: 2.24

Let me do my weekly update first, because, since I installed my new drive I haven't reinstalled Ardour yet.  I should probably do that to follow along here, and because, sooner or later, I'll need to use it again.

It's a family day, so I'll have to post again later after I get home.

Annnd, we're back.

My new installation of ardour starts fine, but I haven't really tried to record with it yet.
I see a /home/{my user name}/.config/ardour5/ folder in which resides several files:

config          (an XML file)
instant.XML  (an XML file)
recent          (a plain-text file)
sfdb             (another plain-text file)
ui_config      (another XML file)

That last file, ui_config, makes reference rather early on to an option:

<Option name="ur-rc-file" value="clearlooks.rc"/>

This, in turn, refers me to /etc/ardour5/clearlooks.rc

Looking in /etc/ardour5/ we find:

ardour.keys
ardour.menus
clearlooks.rc
default_ui_config
system_config
trx.menus

Looking in clearlooks.rc there are references to a slider, but not to gtk-primary-button-warps-slider.

clearlooks.rc, by the way, is a KXMLGUI UI file.

There is no other .rc file that might make even incidental reference to any gtk objects or settings.

We (you and I) are using the same version of ardour and of GCC.

See if you have a file .gtkrc-2.0.mine in your home folder.  I don't have such a file, and my startup in terminal yields (note that user replaces my actual user name here):

Code: [Select]
[user@localhost ~]$ ardour5
WARNING: Your system has a limit for maximum amount of locked memory!
         This might cause Ardour to run out of memory before your system runs
         out of memory. You can view the memory limit with 'ulimit -l', and it
         is normally controlled by /etc/security/limits.conf

bind txt domain [gtk2_ardour5] to /usr/share/ardour5/locale
Ardour5.12.0 (built using 5.12 and GCC version 7.2.1 20170831)
ardour: [INFO]: Your system is configured to limit Ardour to only 4096 open files
ardour: [INFO]: Loading system configuration file /etc/ardour5/system_config
ardour: [INFO]: Loading user configuration file /home/user/.config/ardour5/config
ardour: [INFO]: CPU vendor: GenuineIntel
ardour: [INFO]: AVX-capable processor
ardour: [INFO]: CPU brand:        Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
ardour: [INFO]: Using SSE optimized routines
ardour: [INFO]: Loading default ui configuration file /etc/ardour5/default_ui_config
ardour: [INFO]: Loading user ui configuration file /home/user/.config/ardour5/ui_config
/home/user/.gtkrc-2.0.mine:3: Unable to locate image file in pixmap_path: "foo.bar"
/home/user/.gtkrc-2.0.mine:4: Unable to locate image file in pixmap_path: "foo.bar"
/home/user/.gtkrc-2.0.mine:5: Unable to locate image file in pixmap_path: "foo.bar"
/home/user/.gtkrc-2.0.mine:6: Unable to locate image file in pixmap_path: "foo.bar"
/home/user/.gtkrc-2.0.mine:7: Unable to locate image file in pixmap_path: "foo.bar"
Color shuttle bg not found
ardour: [INFO]: Loading color file /usr/share/ardour5/themes/dark-ardour.colors
/home/user/.gtkrc-2.0.mine:3: Unable to locate image file in pixmap_path: "foo.bar"
/home/user/.gtkrc-2.0.mine:4: Unable to locate image file in pixmap_path: "foo.bar"
/home/user/.gtkrc-2.0.mine:5: Unable to locate image file in pixmap_path: "foo.bar"
/home/user/.gtkrc-2.0.mine:6: Unable to locate image file in pixmap_path: "foo.bar"
/home/user/.gtkrc-2.0.mine:7: Unable to locate image file in pixmap_path: "foo.bar"
ardour: [INFO]: Loading ui configuration file /etc/ardour5/clearlooks.rc
ardour: [INFO]: Loading ui configuration file /etc/ardour5/clearlooks.rc
Found nothing along /home/user/.config/ardour5/templates:/usr/share/ardour5/templates
run dialog









Logged
Refuse to Co-Exist!  Demand Better... PCLinuxOS!

A+ Certified since 2003.

Dell Mobile Precision 7520, Xeon E3-1545M, 32GB RAM, dual Intel/Nvidia Audio & Video.

PCLinuxOS 2024.04 w/ KDE, XFCE, updated weekly or whenever I think it needs it.

Offline rhinomick

  • Full Member
  • ****
  • Posts: 114
  • PCLinuxOS rocks!
Re: ardour does not start...
« Reply #8 on: March 10, 2019, 06:32:24 AM »
Hi!I see some diferences on my system!On /home/(user)/.config/ardour5 i see only a file called sfdb wich is empty!
On etc/ardour5 i see exactly the same files with you. On clearlooks.rc i dont see  gtk-primary-button-warps-slider also.I have a .gtkrc-2.0 on my home directory that contains the following...
Code: [Select]
# File created by KDE Gtk Config
# Configs for GTK2 programs

include "/usr/share/themes/Breeze/gtk-2.0/gtkrc"
style "user-font"
{
font_name="Ubuntu Regular"
}
widget_class "*" style "user-font"
gtk-font-name="Ubuntu Regular 11"
gtk-theme-name="Breeze"
gtk-icon-theme-name="breeze"
gtk-fallback-icon-theme="breeze"
gtk-cursor-theme-name="Breeze_Snow"
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-menu-images=1
gtk-button-images=1
gtk-primary-button-warps-slider=false
Logged
linphone   sip:chrissos_k@sip.linphone.org

Offline rhinomick

  • Full Member
  • ****
  • Posts: 114
  • PCLinuxOS rocks!
Re: ardour does not start...
« Reply #9 on: March 10, 2019, 07:39:27 AM »
Tried to solve it by copying the missing files in .config/ardour5 from an MX linux installation i have on another laptop but didnt work...
Logged
linphone   sip:chrissos_k@sip.linphone.org

Offline horusfalcon - KG5WLH

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4485
  • Wayfarer of The Western Wastes
Re: ardour does not start...
« Reply #10 on: March 12, 2019, 12:13:03 PM »
Just on the off chance there's something odd about your configuration, try creating a new "test" user and running ardour from that user's desktop.
Logged
Refuse to Co-Exist!  Demand Better... PCLinuxOS!

A+ Certified since 2003.

Dell Mobile Precision 7520, Xeon E3-1545M, 32GB RAM, dual Intel/Nvidia Audio & Video.

PCLinuxOS 2024.04 w/ KDE, XFCE, updated weekly or whenever I think it needs it.

Offline rhinomick

  • Full Member
  • ****
  • Posts: 114
  • PCLinuxOS rocks!
Re: ardour does not start...
« Reply #11 on: March 12, 2019, 01:40:46 PM »
I have added a second user but still no joy...
But then i installed LXQT ,by installing task-lxqt from synaptic and ardour works perfectly!!!
So this is a ''solution'' but the problem with ardour on mate isnt solved...
Logged
linphone   sip:chrissos_k@sip.linphone.org

Offline horusfalcon - KG5WLH

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4485
  • Wayfarer of The Western Wastes
Re: ardour does not start...
« Reply #12 on: March 12, 2019, 07:31:51 PM »
Ah... MATE.  My least favorite desktop environment.  Yeah, I'm running mostly XFCE when I'm not doing LXDE, LXQt or KDE.  MATE doesn't seem to play nice with these others; it keeps making assumptions about what applications need to open what files for the entire system (regardless of what other desktop environments you might want to run) that I find distasteful and difficult to undo.

Your mileage, of course, may vary, but I've not been impressed with it.

Hmm... you installed LXQT after MATE, right?  See if Caja is still the default file manager, please.  (This might prove interesting.)
Logged
Refuse to Co-Exist!  Demand Better... PCLinuxOS!

A+ Certified since 2003.

Dell Mobile Precision 7520, Xeon E3-1545M, 32GB RAM, dual Intel/Nvidia Audio & Video.

PCLinuxOS 2024.04 w/ KDE, XFCE, updated weekly or whenever I think it needs it.

Offline rhinomick

  • Full Member
  • ****
  • Posts: 114
  • PCLinuxOS rocks!
Re: ardour does not start...
« Reply #13 on: March 13, 2019, 06:52:03 AM »
No pcmanfm turn out to be the default file manager ,because i had it installed before installing lxqt...you see caja couldnt run as root...i ve changed it to caja anyway...
Logged
linphone   sip:chrissos_k@sip.linphone.org

Offline Ratt Salad

  • Hero Member
  • ********
  • Posts: 575
  • (Not His Real Name)
Re: ardour does not start...
« Reply #14 on: March 16, 2019, 10:00:10 AM »
gtk-primary-button-warps-slider is a configuration setting that controls how the scrollbars work, it will not stop an application from starting.
Logged
Baptized By Fire