GithubHelp home page GithubHelp logo

Comments (9)

umlaeute avatar umlaeute commented on August 18, 2024

i've also removed the ~/.local/share/jacktrip/ and ~/.config/jacktrip/ folders, but to not avail.

from jacktrip.

umlaeute avatar umlaeute commented on August 18, 2024

in the end i've tried building the Jacktrip-2.0.2 Debian packages without Virtual Studio support (-Dnovs=yes), and lo and behold! the GUI is back.

i've then rebuild the Jacktrip-2.0.1 Debian packages without Virtual Studio support, and the GUI is back as well.

So it appears that the Virtual Studio mode is to blame.

btw, I also get the following on the stderr:

$ jacktrip
Listening for deep link requests
qrc:/vs/vs.qml:2:1: module "QtQuick.Controls" plugin "qtquickcontrols2plugin" not found 
     import QtQuick.Controls 
     ^
SSL Library:  "OpenSSL 3.0.10 1 Aug 2023"
Log file location: "/home/zmoelnig/.local/share/jacktrip/JackTrip/log.txt"

i don't get this when running the novs versions (that work):

$ jacktrip
RTAudio: scanning devices...
[Jack - 0]: "Tiger Lake-LP Smart Sound Technology Audio Controller Digital Microphone" (2 ins, 0 outs)
[Jack - 1]: "Tiger Lake-LP Smart Sound Technology Audio Controller Headphones Stereo Microphone" (2 ins, 0 outs)
[Jack - 2]: "speech-dispatcher-dummy" (2 ins, 0 outs)

RtApiJack::getDeviceInfo: error determining Jack input/output channels!

[Jack - 4]: "Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 1 Output" (2 ins, 2 outs)
[Jack - 5]: "Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 2 Output" (2 ins, 2 outs)
[Jack - 6]: "Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 3 Output" (2 ins, 2 outs)
[Pulse - 0]: "Tiger Lake-LP Smart Sound Technology Audio Controller" (2 ins, 2 outs)
[ALSA - 0]: "default" (64 ins, 64 outs)
[ALSA - 1]: "hw:sof-hda-dsp,0" (2 ins, 2 outs)
[ALSA - 2]: "hw:sof-hda-dsp,3" (0 ins, 2 outs)
[ALSA - 3]: "hw:sof-hda-dsp,4" (0 ins, 2 outs)
[ALSA - 4]: "hw:sof-hda-dsp,5" (0 ins, 2 outs)
[ALSA - 5]: "hw:sof-hda-dsp,6" (2 ins, 0 outs)
[ALSA - 6]: "hw:sof-hda-dsp,7" (2 ins, 0 outs)
[ALSA - 7]: "hw:sof-hda-dsp,31" (0 ins, 2 outs)
RTAudio: scanning devices...
[Jack - 0]: "Tiger Lake-LP Smart Sound Technology Audio Controller Digital Microphone" (2 ins, 0 outs)
[Jack - 1]: "Tiger Lake-LP Smart Sound Technology Audio Controller Headphones Stereo Microphone" (2 ins, 0 outs)
[Jack - 2]: "speech-dispatcher-dummy" (2 ins, 0 outs)

RtApiJack::getDeviceInfo: error determining Jack input/output channels!

[Jack - 4]: "Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 1 Output" (2 ins, 2 outs)
[Jack - 5]: "Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 2 Output" (2 ins, 2 outs)
[Jack - 6]: "Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 3 Output" (2 ins, 2 outs)
[Pulse - 0]: "Tiger Lake-LP Smart Sound Technology Audio Controller" (2 ins, 2 outs)
[ALSA - 0]: "default" (64 ins, 64 outs)
[ALSA - 1]: "hw:sof-hda-dsp,0" (2 ins, 2 outs)
[ALSA - 2]: "hw:sof-hda-dsp,3" (0 ins, 2 outs)
[ALSA - 3]: "hw:sof-hda-dsp,4" (0 ins, 2 outs)
[ALSA - 4]: "hw:sof-hda-dsp,5" (0 ins, 2 outs)
[ALSA - 5]: "hw:sof-hda-dsp,6" (2 ins, 0 outs)
[ALSA - 6]: "hw:sof-hda-dsp,7" (2 ins, 0 outs)
[ALSA - 7]: "hw:sof-hda-dsp,31" (0 ins, 2 outs)

from jacktrip.

mikedickey avatar mikedickey commented on August 18, 2024

Hi @umlaeute, I believe that is due to missing package requirements. Please see README.md.

Here is the line I think you need for Debian dependencies:

apt install -y libqt6core6 libqt6gui6 libqt6network6 libqt6widgets6 libqt6qml6 libqt6qmlcore6 libqt6quick6 libqt6quickcontrols2-6 libqt6svg6  libqt6webchannel6 libqt6webengine6-data libqt6webenginecore6 libqt6webenginecore6-bin libqt6webenginequick6 libqt6websockets6 qt6-qpa-plugins qml6-module-qtquick-controls qml6-module-qtqml-workerscript qml6-module-qtquick-templates qml6-module-qtquick-layouts qml6-module-qt5compat-graphicaleffects qml6-module-qtwebchannel qml6-module-qtwebengine

from jacktrip.

umlaeute avatar umlaeute commented on August 18, 2024

So are you trying to say, that the official jacktrip binaries (as downloaded from the release page here on GitHub) are lacking these dependencies as well?

There probably needs to be a runtime check...

from jacktrip.

mikedickey avatar mikedickey commented on August 18, 2024

Yes, the "official binaries" rely upon Qt6, and these are all the packages that provide Qt6 on Debian. All software has external dependencies, and these are not always included by default on Linux since it lets you pick and choose which packages you want at installation time.

from jacktrip.

umlaeute avatar umlaeute commented on August 18, 2024

I'm currently afk, so I can only answer without actually trying out anything...

Typically Debian does a very good job at finding out runtime dependencies when creating binary packages (this obviously does not apply to the "official releases" as this information is embedded in the .deb file, but it should kick in for my Debian packages.) Any idea why it does not?

In any case I think that there ought to be some runtime guards in place if the screen cannot be rendered.
It's really breaking jacktrip forever on the user's machine if they accidentally hit a button once and then get a blank screen afterwards (even after wiping all the preferences and rebooting and whatnot).

It would also be nice to be able to select the mode of operation ("normal" vs " virtual studio") via cmdline flags

from jacktrip.

umlaeute avatar umlaeute commented on August 18, 2024

back at the keyboard, i've installed all dependencies as you suggested with

apt install libqt6core6 libqt6gui6 libqt6network6 libqt6widgets6 libqt6qml6 libqt6qmlcore6 libqt6quick6 libqt6quickcontrols2-6 libqt6svg6  libqt6webchannel6 libqt6webengine6-data libqt6webenginecore6 libqt6webenginecore6-bin libqt6webenginequick6 libqt6websockets6 qt6-qpa-plugins qml6-module-qtquick-controls qml6-module-qtqml-workerscript qml6-module-qtquick-templates qml6-module-qtquick-layouts qml6-module-qt5compat-graphicaleffects qml6-module-qtwebchannel qml6-module-qtwebengin

then downloaded the Linux/x86_64 official release binary.

Starting the application i was greeted with this empty jacktrip window

On the console, the following was printed:

Listening for deep link requests
qrc:/vs/vs.qml:179:5: Type Setup unavailable 
         Setup { 
         ^
qrc:/vs/Setup.qml:65:9: Type AudioSettings unavailable 
             AudioSettings { 
             ^
qrc:/vs/AudioSettings.qml:118:13: Type InfoTooltip unavailable 
                 InfoTooltip { 
                 ^
qrc:/vs/InfoTooltip.qml:55:31: Type Glow unavailable 
                     layer.effect: Glow { 
                                   ^
qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/Glow.qml:35:5: Type DropShadowBase unavailable 
         DropShadowBase { 
         ^
qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/private/DropShadowBase.qml:21:5: Type GaussianBlur unavailable 
         GaussianBlur { 
         ^
qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/GaussianBlur.qml:6:1: module "QtQuick.Window" is not installed 
     import QtQuick.Window 
     ^
SSL Library:  "OpenSSL 3.0.11 19 Sep 2023"
Log file location: "/home/zmoelnig/.local/share/jacktrip/JackTrip/log.txt"

the file /home/zmoelnig/.local/share/jacktrip/JackTrip/log.txt is empty.

So the dependencies as listed in the README, are not the solution to my problem.

from jacktrip.

umlaeute avatar umlaeute commented on August 18, 2024

it turns out that the missing dependency was qml6-module-qtquick-window.

probably this is a missing dependency of the qml6-module-qt5compat-graphicaleffects package, see https://bugs.debian.org/1052612

you might want to i think you should do all of the following:

  • update your README
  • check if it is possible to do a runtime detection of missing QMLs
  • provide a cmdline flag to start jacktrip in "Classic" mode

from jacktrip.

mikedickey avatar mikedickey commented on August 18, 2024

All good suggestions, @umlaeute. Turned out to be a bit more work than I thought, but this should cover everything #1211

from jacktrip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.