Bug 1837342 - Ardour does not start [NEEDINFO]
Summary: Ardour does not start
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ardour8
Version: 40
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-19 10:15 UTC by Ryan
Modified: 2024-03-23 00:29 UTC (History)
4 users (show)

Fixed In Version: ardour8-8.4.0-3.fc41 ardour8-8.4.0-3.fc39 ardour8-8.4.0-3.fc38 ardour8-8.4.0-3.fc40
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-03-15 01:05:39 UTC
Type: Bug
Embargoed:
nphilipp: needinfo? (coffeecoder1)


Attachments (Terms of Use)
Offending ~/.gtkrc-2.0-kde4 (76 bytes, text/plain)
2022-11-07 13:30 UTC, Iñaki Ucar
no flags Details

Description Ryan 2020-05-19 10:15:08 UTC
Description of problem:
ardour5 does not start in KDE as it cannot locate the gtk2 theme

Version-Release number of selected component (if applicable):
5.12.0

How reproducible:
every time you start the application

Steps to Reproduce:
1. open application
2. note it doesn't start
3. try in terminal, note it still doesn't start

Actual results:
Ardour5 does not start

Expected results:
application starts

Additional info:
Cannot load ArdourMono TrueType font.
bind txt domain [gtk2_ardour5] to /usr/share/ardour5/locale
Ardour5.12.0 (built using 5.12 and GCC version 10.0.1 20200126 (Red Hat 10.0.1-0.6))
ardour: [INFO]: Your system is configured to limit Ardour to only 524288 open files
ardour: [INFO]: Loading system configuration file /etc/ardour5/system_config
ardour: [INFO]: Loading user configuration file /home/stealthcipher/.config/ardour5/config
ardour: [INFO]: CPU vendor: GenuineIntel
ardour: [INFO]: AVX-capable processor
ardour: [INFO]: CPU brand:         Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
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/stealthcipher/.config/ardour5/ui_config
Color shuttle bg not found
ardour: [INFO]: Loading color file /usr/share/ardour5/themes/dark-ardour.colors

after configuring the following environment variable, it works:

export GTK2_RC_FILES='/usr/share/themes/Adwaita/gtk-2.0/gtkrc'

Comment 1 Ryan 2020-11-04 08:36:00 UTC
This is still happening in ardour-6.3.0-1.fc33.x86_64

Comment 2 Iñaki Ucar 2021-10-31 20:11:31 UTC
Same issue. I'm running Plasma 5.22. This is what I get:

$ ardour6
Ardour6.9.0 (built using 6.9 and GCC version 11.2.1 20210728 (Red Hat 11.2.1-1))
Ardour: [INFO]: Your system is configured to limit Ardour to 1048576 open files
Ardour: [INFO]: Loading system configuration file /etc/ardour6/system_config
Ardour: [INFO]: CPU vendor: GenuineIntel
Ardour: [INFO]: AVX-capable processor
Ardour: [INFO]: AVX with FMA capable processor
Ardour: [INFO]: CPU brand: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
Ardour: [INFO]: Using AVX and FMA optimized routines
Ardour: [INFO]: Loading plugin meta data file /usr/share/ardour6/plugin_metadata/plugin_tags
Ardour: [INFO]: Loading default ui configuration file /etc/ardour6/default_ui_config
Ardour: [INFO]: Loading 452 MIDI patches from /usr/share/ardour6/patchfiles
Ardour: [INFO]: Loading colour file /usr/share/ardour6/themes/dark-ardour.colors

and stays there. The process keeps spinning at 100% CPU, but the GUI won't open.

Comment 3 Iñaki Ucar 2021-10-31 20:26:55 UTC
Apparently, the file ~/.gtkrc-2.0-kde4 created a strange loop. Removing it solved the issue for me.

Comment 4 Ben Cotton 2022-05-12 16:19:52 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 5 Iñaki Ucar 2022-05-13 12:29:12 UTC
This issue is still present. The workaround above applies, but still, that file is created by KDE and reappears, so I believe that this is a bug in how Ardour parses and/or uses the configuration files.

Comment 6 Ben Cotton 2022-08-09 13:10:57 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.

Comment 7 Nils Philippsen 2022-11-07 10:49:30 UTC
Sorry for not spotting this earlier. Can anybody attach the offending "~/.gtkrc-2.0-kde4" file to this bug please?

Comment 8 Iñaki Ucar 2022-11-07 13:30:09 UTC
Created attachment 1922729 [details]
Offending ~/.gtkrc-2.0-kde4

With this file present, ardour doesn't start.

Comment 9 Nils Philippsen 2023-08-30 17:03:34 UTC
Ugh, dropped it again. I can now reproduce this, but only under KDE Plasma (which will create the file) – even if the file is present, I have no issue starting this in GNOME.

Comment 10 Nils Philippsen 2023-11-10 16:58:21 UTC
OK, I haven’t made any progress in finding out why this happens. However, in the meantime Ardour version 8 came out which is available as the ardour8 package in Fedora (as well as the intermediate ardour7). Can you please check if you have the same issue with it? Thanks!

Comment 11 Iñaki Ucar 2023-11-14 11:02:46 UTC
Same issue with ardour8 when ~/.gtkrc-2.0-kde4 is present.

Comment 12 Aoife Moloney 2023-11-23 00:03:16 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 13 Ryan 2023-11-23 02:24:48 UTC
yes, I can confirm this still happens in Ardour8 on Fedora39

Comment 14 Aoife Moloney 2023-12-05 20:59:25 UTC
Fedora Linux 37 entered end-of-life (EOL) status on None.

Fedora Linux 37 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 15 Iñaki Ucar 2023-12-06 12:55:42 UTC
Reopening and assigning it to rawhide and the latest version of ardour.

Comment 16 Max Nargang 2023-12-09 02:55:19 UTC
I think that this issue may be the same one that [this user](https://discourse.ardour.org/t/ardour-7-gui-does-not-show-up-with-kde-plasma-breeze-theme/108025) experienced. It may be possible to fix this by building Ardour such that it ignores system GTK settings, similarly to how the Ardour team builds the official binaries.

Comment 17 Aoife Moloney 2024-02-15 22:53:31 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Comment 18 Nils Philippsen 2024-03-04 17:53:27 UTC
I think, as a workaround, the start script could unset GTK2_RC_FILES to ensure the “offending” gtk theme isn’t pulled for Ardour. Before I push it as an update, I would like to find out if it makes Ardour start for you. Would you please try this …:

GTK2_RC_FILES= ardour8

… and report if it works then? Thanks!

Comment 19 Iñaki Ucar 2024-03-06 09:50:17 UTC
I cannot tell because with the current version I cannot reproduce the issue anymore. So maybe they solved it upstream?

Comment 20 Nils Philippsen 2024-03-06 11:49:27 UTC
(In reply to Iñaki Ucar from comment #19)
> I cannot tell because with the current version I cannot reproduce the issue
> anymore. So maybe they solved it upstream?

I don’t think so – I can reproduce it in a Rawhide VM with the current version 8.4.0.

Comment 21 Fedora Update System 2024-03-06 13:01:33 UTC
FEDORA-2024-c9490c254c (ardour8-8.4.0-3.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-c9490c254c

Comment 22 Fedora Update System 2024-03-06 13:05:18 UTC
FEDORA-2024-c9490c254c (ardour8-8.4.0-3.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 23 Fedora Update System 2024-03-06 21:44:26 UTC
FEDORA-2024-da5e06e0f7 (ardour8-8.4.0-3.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-da5e06e0f7

Comment 24 Fedora Update System 2024-03-06 21:44:27 UTC
FEDORA-2024-0e0986a72b (ardour8-8.4.0-3.fc38) has been submitted as an update to Fedora 38.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-0e0986a72b

Comment 25 Fedora Update System 2024-03-07 01:47:14 UTC
FEDORA-2024-da5e06e0f7 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-da5e06e0f7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-da5e06e0f7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 26 Fedora Update System 2024-03-07 02:27:57 UTC
FEDORA-2024-2cd08277f3 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-2cd08277f3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-2cd08277f3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 27 Fedora Update System 2024-03-07 02:40:51 UTC
FEDORA-2024-0e0986a72b has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-0e0986a72b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-0e0986a72b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 28 Fedora Update System 2024-03-15 01:05:39 UTC
FEDORA-2024-2cd08277f3 (ardour8-8.4.0-3.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 29 Fedora Update System 2024-03-15 01:50:07 UTC
FEDORA-2024-0e0986a72b (ardour8-8.4.0-3.fc38) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 30 Ryan 2024-03-20 20:45:18 UTC
seems to be working for me, i tested the environment var set to ardour8 and it launched fine, i noted prior to this with the updated version that it was set to /home/<username>/.gtkrc-2.0-kde4 and I was able to launch the application like that as well

Comment 31 Fedora Update System 2024-03-23 00:29:57 UTC
FEDORA-2024-da5e06e0f7 (ardour8-8.4.0-3.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.