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

JPEG-XL not indexed into DB #1491

Open
2 of 3 tasks
scepterus opened this issue Nov 28, 2024 · 3 comments
Open
2 of 3 tasks

JPEG-XL not indexed into DB #1491

scepterus opened this issue Nov 28, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@scepterus
Copy link

πŸ› Bug Report

  • πŸ“ I've Included a ZIP file containing my librephotos log files
  • _backend_logs (2).zip
  • ❌ I have looked for similar issues (including closed ones)
  • 🎬 (If applicable) I've provided pictures or links to videos that clearly demonstrate the issue

πŸ“ Description of issue:

After DB corruption, I scanned the same folders, and only PNGs and Videos are added to library. During the scan, it says it sees 16K photos, but what ends up in the library is about 500.

πŸ” How can we reproduce it:

Clear the DB, have PNGs Videos and JPEG-XL in the folder that is scanned, and run a full scan.

Please provide additional information:

  • πŸ’» Operating system: TrueNAS Scale
  • βš™ Architecture (x86 or ARM): X86_64
  • πŸ”’ Librephotos version: Latest-Gpu
  • πŸ“Έ Librephotos installation method (Docker, Kubernetes, .deb, etc.): Docker
    • πŸ‹ If Docker or Kubernets, provide docker-compose image tag: Latest
  • πŸ“ How is you picture library mounted (Local file system (Type), NFS, SMB, etc.): ZFS
  • ☁ If you are virtualizing librephotos, Virtualization platform (Proxmox, Xen, HyperV, etc.):
@scepterus scepterus added the bug Something isn't working label Nov 28, 2024
@derneuere
Copy link
Member

The reason is, that libvips on ubuntu 22.04 does not yet have jpegxl, because that library too does not exist in that version of Ubuntu. I will have to compile this from scratch, but I think a better workaround for you would to just use the regular image in order to scan JPEG-XL.

@scepterus
Copy link
Author

I do not understand what you are suggesting I do exactly.

@derneuere
Copy link
Member

I suggest switching back to the CPU-based image instead of using the GPU-based image if you only use JPEG-XL. The issue with JPEG-XL support is already resolved in the CPU version. Unfortunately, the fix for the GPU image is not trivial. I spent over a month working on it, and straightforward solutionsβ€”like upgrading to a more recent Ubuntu versionβ€”don’t work due to compatibility issues with older CUDA versions and PyTorch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants