-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why isn't there any linux release #19
Comments
In theory, it should be compatible with Linux, but I encountered an issue. I've checked and it seems to be related to 'quick_js' and 'media_kit', but I haven't been able to resolve it. |
What was issue, can you post log, I may able to help with it |
It doesn't produce any logs; it crashes during the extension loading process. When I remove the 'media_kit_libs_linux' dependency, it runs normally, but that disables video playback. This might be caused by a memory conflict. |
all deps were installed? |
Yes, all dependencies are installed. Regarding the QuickJS, you need to move the '/build/linux/x64/debug/plugins/flutter_js/libflutter_js_plugin.so' file to the software's '/lib' folder to start it correctly. |
is this fix that crash you mentioned in which you had to remove media_kit_libs_linux or is his to start Miru after removing media_kit_libs_linux or to handle plugin part? |
Exactly, when both 'media_kit_libs_linux' and 'quickjs' are present and the extension is loaded, it crashes. |
Getting error while building
|
You should install https://pub.dev/packages/desktop_webview_window#linux-requirement |
@MiaoMint Getting same error |
|
|
Same building error on CI https://github.com/shashankx86/miru-app/actions/runs/5935831034 |
This is my output
|
It seems that webkit2gtk-4.1 should still be missing |
@MiaoMint
Using Debian GNU/Linux 12 (bookworm) x86_64 |
@shashankx86 You might also need to install... sudo apt install libmpv-dev mpv https://pub.dev/packages/media_kit#gnulinux sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev https://docs.flutter.dev/get-started/install/linux#linux-setup |
Still getting same error can you show me what version of GLIBCXX you have strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX |
@MiaoMint try using this https://pub.dev/packages/better_player |
But this only supports Android and iOS. |
Still getting same error can you show me what version of GLIBCXX you have strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX |
my output
|
Linux miao-linux 6.4.10-arch1-1 SMP PREEMPT_DYNAMIC Fri, 11 Aug 2023 11:03:36 +0000 x86_64 GNU/Linux |
how hell its running, the error clearly says it requires GLIBCXX_3.4.32 |
@MiaoMint do you see any ouput in terminal when running miru |
|
|
Successfully built binary
Running with libquickjs_c_bridge_plugin.so
Running without libquickjs_c_bridge_plugin.so
last time you said 'when both 'media_kit_libs_linux' and 'quickjs' are present and the extension is loaded, it crashes.' but in my build removing 'media_kit_libs_linux' causes miru unable to start and when 'libquickjs_c_bridge_plugin.so' is removed it starts but loses extension installing feature (extension pages opens when pressed on install it then shows uninstall but when going to search tab it shows nothing, going back to extension tab it again show install) OS: Debain 12.1 |
@shashankx86 You can find the error button in the upper-right corner of the extension tab. |
FYI: I'm one of the engineers working on package:media_kit. I randomly spotted this issue & I believe this is due to locale mismatch. Likely an update will be needed within package:flutter_qjs, because we render video frame every second multiple times & consume an API which requires LC_NUMERIC as C. |
will try |
@MiaoMint I successfully build and run tag 1.7. The video player works with the aniwatch source, but crashes using the enime source. I don't know if it's related to the locale or plugin. |
cached_network_image I test can run normally enime seems to have a problem with the extension Can you explain in detail what is done so that it can run normally? |
I've been running it from a terminal. Yes, it throws exceptions but most of them are not critical for working (you can also skip them in VSCode using the continue button). My build steps:
My testing steps:
|
@Nidrop I tested it on my computer and it still doesn't work. |
@MiaoMint My host is Void linux where it works. Via distrobox I tried to build and run on Ubuntu 22.04. |
@MiaoMint try building snap, it may work in that |
Got a PKGBUILD for arch working, check #134 |
its running without any issue???? |
Sorry, bad phrasing. |
build works in all distro |
Rather meant the PKGBUILD itself, imma check in later to see if I can do something to get it running Edit: Seems to be a harder nut to crack, will hop into the debugger in the next couple of days to check it out... Edit 2: Didn't really have much time but yeah no luck there. I'm not that experienced with flutter yet so that's probably why I have no clue what's going on here. |
There’s a new linux dev branch which has lost lots of features and contained lots of bug . You can only install one extension at the same time and every function that depend on webview will not work. |
I checked your CI there is part to build for linux, why did you commented it
The text was updated successfully, but these errors were encountered: