Ubuntu 23.04 Abend

MartinBrieger

New Member
info: [Downstream Keyer] loaded version 0.2.5
Widget: Must construct a QApplication before a QWidget
Aborted (core dumped)

Not sure what is going on. Clean update, OBS reinstall. Nothing fancy running otherwise.
Just BANG.
 
Last edited:

MartinBrieger

New Member
info: [Downstream Keyer] loaded version 0.2.5
Widget: Must construct a QApplication before a QWidget
Aborted (core dumped)

Not sure what is going on. Clean update, OBS reinstall. Nothing fancy running otherwise.
Just BANG.
Removed some Plugins but don't get past this:
QApplication::installTranslator: Please instantiate the QApplication object first
QWidget: Must construct a QApplication before a QWidget
Aborted (core dumped)
 

MartinBrieger

New Member
I am trying to compile from source and get stuck on this

The following packages have unmet dependencies:
libqt6svg6-dev : Depends: libqt6svg6 (= 6.2.4-1ubuntu1) but 6.4.2-1ubuntu1 is to be installed
Depends: libqt6svgwidgets6 (= 6.2.4-1ubuntu1) but 6.4.2-1ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
+ ERROR during build step: install_qt6-deps

Any ideas where I get the proper libqt6svg6-dev or what else works?
 

AaronD

Active Member
The support is truly disappointing
Possibly because no one else knows what you're talking about (good descriptions are important, with sufficient context), or how to fix it. We're not omniscient.

I am trying to compile from source and get stuck on this

The following packages have unmet dependencies:
libqt6svg6-dev : Depends: libqt6svg6 (= 6.2.4-1ubuntu1) but 6.4.2-1ubuntu1 is to be installed
Depends: libqt6svgwidgets6 (= 6.2.4-1ubuntu1) but 6.4.2-1ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
+ ERROR during build step: install_qt6-deps

Any ideas where I get the proper libqt6svg6-dev or what else works?
Have you done some manual maintenance before, which caused the wrong package to be held? It can be hard to notice if you did, especially if you've copied commands for something else without understanding them or noticing their output.

At any rate, you might try on Ask Ubuntu or another general support site, focusing specifically on that error. They won't know much about OBS, just like we don't know much about building apps from source.
 

MartinBrieger

New Member
Nope and the issue is that there is no libqt6svg6-dev for 6.4.2. So the question is if the dependency checker is not up to date or why the version is not available. Also keep the initial error in mind that happens right after the upgrade of UBUNTU.
 

Tuna

Member
Ubuntu 23.04 is not released. In fact it will release on April 20th.

If it is a bug in Ubuntu that OBS is crashing, it should be reported to Ubuntu.
If libqt6svg6-dev is missing in Ubuntu but should be there, it should be reported to Ubuntu.

Check if qt6-svg-dev fixes the missing package. But check with Ubuntu why the original package is missing.

Again, once Ubuntu 23.04 gets released, wait a bit until an official PPA version is released. That is supported byt OBS team. The Ubuntu package is maintained by Ubuntu.
 

MartinBrieger

New Member
Well,

the problem is caused by a good number of Plugins. Figured that out by eliminating them. The OBS build works fine once the dependency check is removed from 01_install_dependencies.sh.

I had to remove these Plugins:

downstream-keyer
scene-collection-manager
soure-copy
source-dock
StreamFx
transition-table

Now I have to admit that I haven't updated them to the latest version. I first wanted OBS to work again.
However, if they haven't been updated, they will fail in 23.04 since that isn't an OBS or UBUNTU issue.

If this is left open for a few days, I update the Plugins and report how that has been going.
 

Tuna

Member
When plugins use Qt you will need build of those plugins with the same Qt version. Probably Qt5/Qt6 is difference you have to take care of first.
 

MartinBrieger

New Member
That might be true, but as it is, that would be a going forward problem and effecting a bunch of people. An Update feature would be nice to have. Maybe there is and I am unaware. Kind of unfair to assume that every user is happy to update manually or to go through the compile process with downloading any number of other things. Then face the happy clean-up.
 

AaronD

Active Member
Kind of unfair to assume that every user is happy to update manually or to go through the compile process with downloading any number of other things.
I've built several OBS rigs, and the only place I've compiled it is on a Raspberry Pi, and that turned out to not be useful. (the Pi can decode video, but it can't encode)

And it's kind of a big deal anyway, to change a production rig that works. So I think a "smooth and seamless update" is an oxymoron in this field. Use what works as-is, and build a new rig to replace it. When the new one passes all the tests, find or make some downtime, and swap them out.
If you do it that way, there's never an update. Always a fresh install.
 

MartinBrieger

New Member
Well, I am a Systems and Application Software Developer and I would be concerned with my Application, if my Users have to go through that Process because I simply forgot to provide a (however) comprehensive update solution. Now I agree, it can be a bit on the back burner, but it seems to be needed. I mean if the community goal is User friendliness then here is a place to put a focus on.
 

AaronD

Active Member
...if the community goal is User friendliness then here is a place to put a focus on.
At the risk of going completely off-topic, I think the far greater need is an audio overhaul. What it is now, looks and feels to me like someone's basement project plus a bunch of incremental band-aids without much forethought. It works...once you come to understand it, but it's not at all intuitive. (yes, I'm an audio guy, and there's a reason those consoles are laid out the way they are)

And I'm sure someone else thinks the biggest problem is something else, and THAT'S what needs all the devs' attention. Such is the nature of a popular open-source project. :-)

There are also some threads here about creating a Plugin Manager, that knows about and can install and remove everything that is included on this site. Always a favorable response, but it hasn't happened yet either.
 

Tuna

Member
Well, I am a Systems and Application Software Developer and I would be concerned with my Application, if my Users have to go through that Process because I simply forgot to provide a (however) comprehensive update solution. Now I agree, it can be a bit on the back burner, but it seems to be needed. I mean if the community goal is User friendliness then here is a place to put a focus on.
Ok. The issue is, if a 3rd party plugin developer decides to use Qt and rely on the OBS runtime to provide these functions instead of linking to their own copy of Qt (which may actually be not that easy) they get a hard dependency on the Qt version OBS is build to.

Due to the nature of the Linux ecosystem, there can be an indefinite amount of OBS builds out there. Theoretically a 3rd plugin developer has to build its plugin to all these different versions and a user needs to pick the exact version to make it work. That is also why you usually want to build plugins on your target system yourself.

So OBS could "fix" it by disallowing plugins altogether, or try to detect plugins that use Qt and disallow these..

Flatpak tries to address this (Linux) issue, but comes with it's own issues and limitations.
 

LukeSaward

New Member
info: [Downstream Keyer] loaded version 0.2.5
Widget: Must construct a QApplication before a QWidget
Aborted (core dumped)

Not sure what is going on. Clean update, OBS reinstall. Nothing fancy running otherwise.
Just BANG.
Ubuntu 23.04 hasn't even been released.
Do not expect something to be working when it hasn't even released.
 
Top