HemantKArya / BloomeeTunes

🌸Bloomee is a cross-platform music app designed to bring you ad-free tunes from various sources. 🌼🎵
GNU General Public License v2.0
445 stars 38 forks source link

Linux executable just pop a black screen #52

Open KGriss opened 1 month ago

KGriss commented 1 month ago

When I open the executable from the Linux archive, it only opens a black window. Nothing more. Tested with files from Github on different versions, including the latest one.

HemantKArya commented 1 month ago

Hi @KGriss thanx for submitting this issue I know it is late reply 🙂, But still...about your issue I don't know about linux archive one but here the latest version is working fine in XUbuntu OS. image

I guess it may be not working in some Linux system, can you clarify more and what Flavor you are using? So that I can debug this issue for that system.

KGriss commented 1 month ago

I am using Fedora Workstation 40 and Gnome 46 as a desktop environnement. Tested with the last version of Bloomee and I still just get a black screen.

HemantKArya commented 1 month ago

Okay then, In the meantime, if anyone has any insights on this issue or wishes to discuss related matters, please feel free to do so here.

decepticlown commented 1 week ago

Fedora uses wayland as default. @KGriss could you execute it from terminal and see what's printing and post it here?

KGriss commented 1 week ago

Just got this log using the latest version of Bloomee.

flutter: 
--------------------------------------------------------------------------------
media_kit: ERROR: MediaKit.ensureInitialized
This indicates that one or more required dependencies could not be located.

Refer to "Installation" section of the README for further details:
GitHub  : https://github.com/media-kit/media-kit#installation
pub.dev : https://pub.dev/packages/media_kit#installation

TIP: Copy-paste required packages from the above link to your pubspec.yaml.

If you recently added the packages, make sure to re-run the project ("hot-restart" & "hot-reload" is not sufficient for native plugins).
--------------------------------------------------------------------------------

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Exception: Cannot find libmpv at the usual places. Depending upon your distribution, you can install the libmpv package to make shared library available globally. On Debian or Ubuntu based systems, you can install it with: apt install libmpv-dev.
#0      NativeLibrary.ensureInitialized (package:media_kit/src/player/native/core/native_library.dart:78)
#1      nativeEnsureInitialized (package:media_kit/src/player/native/player/real.dart:47)
#2      MediaKit.ensureInitialized (package:media_kit/src/media_kit.dart:30)
#3      JustAudioMediaKit.ensureInitialized (package:just_audio_media_kit/just_audio_media_kit.dart:78)
#4      main (package:Bloomee/main.dart:109)
#5      _runMain.<anonymous closure> (dart:ui/hooks.dart:301)
#6      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297)
#7      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184)
KGriss commented 1 week ago

It seems that libmpv is missing, in addition to a flutter component media_kit ?

Also, I am still using Fedora 40 with Wayland as default and X11 supported, but the latest Fedora release, version 41, removed the X11 packages.