Skip to content
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

[Bug]: Can't install v2.18.9 #253

Closed
Yury-MonZon opened this issue Dec 19, 2024 · 8 comments · Fixed by #255 or sblantipodi/glow_worm_luciferin#72
Closed

[Bug]: Can't install v2.18.9 #253

Yury-MonZon opened this issue Dec 19, 2024 · 8 comments · Fixed by #255 or sblantipodi/glow_worm_luciferin#72
Assignees
Labels
awaiting-response bug Something isn't working

Comments

@Yury-MonZon
Copy link

Yury-MonZon commented Dec 19, 2024

Firefly Luciferin version

2.18.9

Glow Worm Luciferin version

2.17.6

Firmware type

FULL

What is the stream method?

WiFi Stream

Fiefly Luciferin config file

---
mqttStream: true
wifiEnable: true
mqttEnable: false
serialPort: "GLOW_WORM_ESP32_83070"
staticGlowWormIp: "-"
baudRate: "115200"
extendedLog: "INFO"
audioChannels: "2 channels"
audioDevice: "Default audio output (Native)"
audioLoopbackGain: 0.0
autoDetectBlackBars: true
bottomLeftLed: 2
bottomRightLed: 2
bottomRowLed: 4
brightness: 255
brightnessLimiter: 1.0
captureMethod: "PIPEWIREXDG"
checkForUpdates: true
colorChooser: "83,170,255,255"
colorMode: 3
configVersion: "2.17.6"
defaultLedMatrix: "FullScreen"
desiredFramerate: "30"
effect: "Solid"
enableLDR: false
eyeCare: true
frameInsertion: "No smoothing"
gamma: 2.2
gapTypeSide: "0%"
gapTypeTopBottom: "15%"
grabberAreaTopBottom: "30%"
grabberSide: "1%"
groupBy: 1
language: "English"
ldrInterval: 0
ldrMin: 0
ldrTurnOff: false
ledStartOffset: 2
leftLed: 0
monitorNumber: 0
mqttDiscoveryTopic: "homeassistant"
mqttPwd: ""
mqttServer: "tcp://192.168.1.3:1883"
mqttTopic: "glowwormluciferin"
mqttUsername: ""
multiMonitor: 1
multiScreenSingleDevice: false
nightModeBrightness: "40%"
nightModeFrom: "22:00"
nightModeTo: "08:00"
numberOfCPUThreads: 1
orientation: "Clockwise"
osScaling: 100
powerSaving: "15 minutes"
rightLed: 0
sampleRate: 0
screenResX: 5120
screenResY: 2880
splitBottomMargin: "0%"
splitBottomRow: true
startWithSystem: true
streamType: "UDP stream"
syncCheck: true
theme: "Light gray theme"
threadPriority: "HIGH"
timeout: 5
toggleLed: true
topLed: 0
whiteTemperature: 35
satellites: {}
algo: "Average color"
hueMap:
  GREY:
    hue: 0.0
    saturation: 0.0
    lightness: 0.0
  BLUE:
    hue: 0.0
    saturation: 0.0
    lightness: 0.0
  MASTER:
    hue: 0.0
    saturation: 0.0
    lightness: 0.0
  MAGENTA:
    hue: 0.0
    saturation: 0.0
    lightness: 0.0
  GREEN:
    hue: 0.0
    saturation: 0.0
    lightness: 0.0
  CYAN:
    hue: 0.0
    saturation: 0.0
    lightness: 0.0
  RED:
    hue: 0.0
    saturation: 0.0
    lightness: 0.0
  YELLOW:
    hue: 0.0
    saturation: 0.0
    lightness: 0.0
screenCastRestoreToken: "f95b59b3-0ab4-433d-97df-a6da009d656d"
simdAvx: 0
ledMatrix:
  FullScreen:
    1:
      x: 0
      "y": 2016
      width: 1280
      height: 864
      groupedLed: false
      zone: "Bottom"
    2:
      x: 1280
      "y": 2016
      width: 1280
      height: 864
      groupedLed: false
      zone: "Bottom"
    3:
      x: 2560
      "y": 2016
      width: 1280
      height: 864
      groupedLed: false
      zone: "Bottom"
    4:
      x: 3840
      "y": 2016
      width: 1280
      height: 864
      groupedLed: false
      zone: "Bottom"
  Letterbox:
    1:
      x: 0
      "y": 1852
      width: 1280
      height: 617
      groupedLed: false
      zone: "Bottom"
    2:
      x: 1280
      "y": 1852
      width: 1280
      height: 617
      groupedLed: false
      zone: "Bottom"
    3:
      x: 2560
      "y": 1852
      width: 1280
      height: 617
      groupedLed: false
      zone: "Bottom"
    4:
      x: 3840
      "y": 1852
      width: 1280
      height: 617
      groupedLed: false
      zone: "Bottom"
  Pillarbox:
    1:
      x: 740
      "y": 2016
      width: 910
      height: 864
      groupedLed: false
      zone: "Bottom"
    2:
      x: 1650
      "y": 2016
      width: 910
      height: 864
      groupedLed: false
      zone: "Bottom"
    3:
      x: 2560
      "y": 2016
      width: 910
      height: 864
      groupedLed: false
      zone: "Bottom"
    4:
      x: 3470
      "y": 2016
      width: 910
      height: 864
      groupedLed: false
      zone: "Bottom"

Relevant log output

sudo dpkg -i FireflyLuciferinLinux.deb 
.....
dpkg: dependency problems prevent configuration of fireflyluciferin:
 fireflyluciferin depends on libasound2t64; however:
  Package libasound2t64 is not installed.

But I have those libraries installed
libasound2 is already the newest version (1.2.8-1pop1~1669155503~22.04~a04c9a1).
libasound2-dev is already the newest version (1.2.8-1pop1~1669155503~22.04~a04c9a1).

sudo apt install  libasound2t64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libasound2t64

Linux 6.9.3-76060903-generic #202405300957~1732141768~22.04~f2697e1 SMP PREEMPT_DYNAMIC Wed N x86_64 x86_64 x86_64 GNU/Linux

Description:	Pop!_OS 22.04 LTS
Release:	22.04
Codename:	jammy

How to reproduce

Just ordinary install via Eddy or dpkg will fail.

@Yury-MonZon Yury-MonZon added the bug Something isn't working label Dec 19, 2024
@sblantipodi
Copy link
Owner

sblantipodi commented Dec 19, 2024

@Yury-MonZon thanks for reporting this problem.
it seems that popos does not have libasound2t64 in its official repo, you should install it separately.

From now on, Luciferin will also be released on Snap Store and Flathub,
I think that those methods will be the best way to install Luciferin from now on.

You can try it here:
https://snapcraft.io/install/fireflyluciferin/pop
https://flathub.org/apps/org.dpsoftware.FireflyLuciferin

please let me know if this solves your problem.

@Yury-MonZon
Copy link
Author

Thank you for a quick reply.

The libasound2t64 is intended to be used with Ubuntu 24. Sadly the latest Pop OS is still based on Ubuntu 22. So I can't have this library.

I don't like using snap etc, but if it's the only solution - I'll have to.

As far as I understand the only major difference between libasound2 and libasound2t64 is the Y2038 fixes. Do we really need them right now? Can firefly be built with libasound2 instead?

@sblantipodi
Copy link
Owner

Thank you for a quick reply.

The libasound2t64 is intended to be used with Ubuntu 24. Sadly the latest Pop OS is still based on Ubuntu 22. So I can't have this library.

I don't like using snap etc, but if it's the only solution - I'll have to.

As far as I understand the only major difference between libasound2 and libasound2t64 is the Y2038 fixes. Do we really need them right now? Can firefly be built with libasound2 instead?

That lib is not mandatory if not for the audio effects.

You can try to install Luciferin with the --ignore-deps option...
Please let me know if this works for you.

@Yury-MonZon
Copy link
Author

It didn't work so I opted out with flatpack option. It is very slow on restart (after applying the settings) and I have problems with scaling - I'll report it in corresponding issue.

@sblantipodi
Copy link
Owner

sblantipodi commented Dec 22, 2024

@Yury-MonZon can you tell me what "it didn't work" mean?
did you had some errors during the installation of the deb file?

@sblantipodi
Copy link
Owner

sblantipodi commented Dec 22, 2024

@Yury-MonZon
please uninstall previous debs/flatpak

can you please install this version and try if it fixed the deps problem for you?
https://github.com/sblantipodi/firefly_luciferin/actions/runs/12455195048

does XIMAGESRC works well with this?
you don't need to delete your configuration for this...

@Yury-MonZon
Copy link
Author

I meant to say that the installation with --ignore-deps didn't finish(multiple broken deps etc), I had to fix my apt after that.

can you please install this version and try if it fixed the deps problem for you?
Yay, install process is okay:

Preparing to unpack FireflyLuciferinLinux.deb ...
Unpacking fireflyluciferin (2.18.9) ...
Setting up fireflyluciferin (2.18.9) ...

No deps problems here, thanks a lot!

does XIMAGESRC works well with this?
It does work, but it is not grabbing the whole screen. Same problem as in #129
Width: 2560.0 Height: 1440.0 Scaling: 2.0 MinX: 0.0 MinY: 0.0

@sblantipodi
Copy link
Owner

I reopen the issue because it isn't released yet :)
I'll close it with the official release.

Thanks for reporting and for testing it :)

@sblantipodi sblantipodi reopened this Dec 22, 2024
sblantipodi added a commit that referenced this issue Dec 23, 2024
@sblantipodi sblantipodi linked a pull request Dec 26, 2024 that will close this issue
sblantipodi added a commit to sblantipodi/glow_worm_luciferin that referenced this issue Jan 4, 2025
- ***Breaking changes***: requires `Firefly Luciferin` firmware (v2.19.3).   
- The priority of UDP packets in wireless mode has been increased to signal to the router that Luciferin traffic requires lower latency than standard packets.
- If the microcontroller is temporarily disconnected from the WiFi network, Firefly Luciferin is now able to reconnect much faster without restarting the screen capture.
- Added a 'bottom' capture option for [satellites](https://github.com/sblantipodi/firefly_luciferin/wiki/Surround-lighting-with-satellites) when the LEDs are configured to use a bottom gap.
- The [save state](https://github.com/sblantipodi/firefly_luciferin/wiki/Remote-Access#luciferin-web-interface) has been restructured. Auto-save has been disabled to prevent wear on the microcontroller's memory. Closes [#249](sblantipodi/firefly_luciferin#249).
- Arch Linux package. Note: AUR package is built from the official sources but it's currently maintained by @Ape. Closes [#246](sblantipodi/firefly_luciferin#246). Thanks @Ape for this.
- Libasound2t64 dependency prevents correct installation on some Linux distros. Closes [#253](sblantipodi/firefly_luciferin#253).
- Properly handle expired restore token on Wayland. Closes [#259](sblantipodi/firefly_luciferin#259). Thanks @Ape for the PR.
- Logging improvements. Closes [#260](sblantipodi/firefly_luciferin#260). Thanks @Ape for the PR.
- Proper config path on Linux. Config file and logs has been moved in XDG_CONFIG_HOME (~/.config/FireflyLuciferin). Old config files will be automatically moved to the new path. Closes [#261](sblantipodi/firefly_luciferin#261). 
- The snap version was crashing at startup when there were temporary files created by other instances of Firefly Luciferin on the system. Fixed.
sblantipodi added a commit that referenced this issue Jan 4, 2025
- ***Breaking changes***: requires `Glow Worm Luciferin` firmware (v5.18.2).   
- The priority of UDP packets in wireless mode has been increased to signal to the router that Luciferin traffic requires lower latency than standard packets.
- If the microcontroller is temporarily disconnected from the WiFi network, Firefly Luciferin is now able to reconnect much faster without restarting the screen capture.
- Added a 'bottom' capture option for [satellites](https://github.com/sblantipodi/firefly_luciferin/wiki/Surround-lighting-with-satellites) when the LEDs are configured to use a bottom gap.
- The [save state](https://github.com/sblantipodi/firefly_luciferin/wiki/Remote-Access#luciferin-web-interface) has been restructured. Auto-save has been disabled to prevent wear on the microcontroller's memory. Closes [#249](#249).
- Arch Linux package. Note: AUR package is built from the official sources but it's currently maintained by @Ape. Closes [#246](#246). Thanks @Ape for this.
- Libasound2t64 dependency prevents correct installation on some Linux distros. Closes [#253](#253).
- Properly handle expired restore token on Wayland. Closes [#259](#259). Thanks @Ape for the PR.
- Logging improvements. Closes [#260](#260). Thanks @Ape for the PR.
- Proper config path on Linux. Config file and logs has been moved in XDG_CONFIG_HOME (~/.config/FireflyLuciferin). Old config files will be automatically moved to the new path. Closes [#261](#261). 
- The snap version was crashing at startup when there were temporary files created by other instances of Firefly Luciferin on the system. Fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-response bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants