Closed sorcererlc closed 3 months ago
Hi @sorcererlc, welcome back, I appreciate that you are using Luciferin on "other platforms".
I'll try to reproduce it and fix it when possible.
Can you try to run Luciferin as a root user to see if the situation improves please? Thanks
I tried running as root and I got no UI activity. It just crashed with this message:
[Instance #1] 12:44:23.756 [main] INFO org.dpsoftware.FireflyLuciferin - Starting default instance Jul 31, 2024 12:44:23 PM com.sun.javafx.application.PlatformImpl startup WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @309e345f' Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Exception in thread "main" java.lang.UnsupportedOperationException: Unable to open DISPLAY at com.sun.glass.ui.gtk.GtkApplication.lambda$new$5(GtkApplication.java:165) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at com.sun.glass.ui.gtk.GtkApplication.
(GtkApplication.java:163) at com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(GtkPlatformFactory.java:40) at com.sun.glass.ui.Application.run(Application.java:145) at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:290) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:292) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:162) at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:651) at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:671) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196) at java.base/java.lang.Thread.run(Unknown Source)
PS: I realize that my setup is sort of niche so I'm more than happy to run any tests you might need to identify the source of this issue :)
Running Hyprland inside a VM has nearly no sense for this purpose. Running it natively requires more time for me so I can't comment a lot on this at the moment.
Are you running one of the compiled binaries or did you compiled it by yourself?
PS: I realize that my setup is sort of niche
and this is why I like your issues, thanks for spending time testing Luciferin on that niche setups ;)
I am running compiled binaries. I installed the .rpm release from Github.
thanks for spending time testing Luciferin on that niche setups ;) My pleasure :)
I could run more tests with a modified binary that dumps more info to logs if you have time to set up something like that and if you think it would help.
it could help... log level can be set in the FireflyLucifrerin.yaml config file, you can find it in the ~Documents/FireflyLuciferin folder.
just set this:
extendedLog: "INFO"
to this:
extendedLog: "TRACE"
and restart the app.
are you using an Nvidia/AMD/Intel GPU? is the video drivers correctly installed?
Luciferin does not work well when GPU drivers "are uncertain".
I ran it with log level trace and attached the log file. I got the same error in the terminal but now I am seeing what seems to be communication between Luciferin and GlowWorm.
I also got a notification about a new version so something about the UI does work. I updated to 2.16.4 and it behaves the same as 2.15.4. I have attached the log generated after the update.
FireflyLuciferin_after_update.log
I am running an Nvidia 3080 GPU with the proprietary driver installed and Nouveau explicitly disabled.
I have an interesting update. I got the idea to try running Luciferin on a laptop running Arch and Hyprland and see what it does on that machine since it's almost the same setup I have on my Fedora machine but it's not a bloated mess yet :)
I unpacked the .rpm release and ran the binary. The first time I ran it, it rendered the main UI and I was able to set up the LEDs. I left everything else as default. On subsequent tries it didn't render the main UI anymore (same as #201 ) but it did display dialogs asking me to select the Pipewire source and to notify me of a Glow Worm update. I assume the main window is not displayed on purpose but since it doesn't create a tray icon (something I also noticed on Fedora/KDE) I can't open it again after the initial launch. However, screen capture over Pipewire worked as expected.
After that I came back to the Fedora machine, renamed the config directory, started Luciferin again and saw the same behavior from the Arch machine. I was able to configure the LEDs and everything else and after that it worked just fine. Very weird since the new config file it generated looks identical to the old one except for a few settings I had changed before like setting the frame rate to 90 and disabling power saving.
Hi @sorcererlc, thanks for sponsoring the project and for your continued help in testing Luciferin on exotic systems, I really appreciate it. :) very very weird, I still need to try to reproduce it... please share any other findings in the #201, if any...
I haven't understood one thing, did you seleted the screen you want to capture and then clicked the "share" button in the dialog that asks for it?
thanks!
thanks for the sponsoring the project and for your continued help in testing Luciferin on exotic systems
My pleasure. I've been using Luciferin for several years now and I really like it so I thought I would help a little in return :)
did you seleted the screen you want to capture and then clicked the "share" button in the dialog that asks for it?
No, I just selected the screen and checked "Allow restore token" or whatever it was called. I didn't see a "Share" button anyway.
This is what the screen selection dialog looks like for me:
there should be some problems in the Pipewire token creation once you allow the screen capture. I'll add some debug logs on that part to help discover the problem... thanks for the infos 👍
Firefly Luciferin version
2.15.4
Glow Worm Luciferin version
5.14.5
Firmware type
FULL
What is the stream method?
WiFi Stream
Fiefly Luciferin config file
Relevant log output
How to reproduce
First, it should be noted that I also have KDE on this machine, also running a Wayland session, and it starts and runs just fine.
Steps under Hyprland:
/opt/fireflyluciferin/bin/FireflyLuciferin
in a terminalThe executable outputs the following to the terminal
Then it repeats these two lines 105 times
And it ends with this