Open ApacheCamel opened 7 months ago
Hello,
Yes, I dig a little there seems to be a link. Have you tried the recommendation of the issue you put? i.e. In proxmox, in the CPU settings for the VM, switch to "host" mode. But if your cpu is too old it may not solve the problem rn.
For Teemii, it's linked to the Sharp library that allows image manipulation (resizing, etc.).
The original issue is this one: https://github.com/lovell/sharp/issues/3894
Apparently one way around the problem is to disable SIMD instructions:
const simd = sharp.simd(false);
I'll implement this and condition it on the CPU type present; that should solve your problem. For reference can I ask you your CPU Specs?
32 x Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz (2 Sockets) is what I see in Proxmox. I hadn't tried setting my CPU to "host" mode yet since I noticed the issue while they were deploying the fix.
I just tried setting it to host and rebooting and it looks like it is still causing issues. :(
Okay, that confirms the problem. It doesn't change the fact that there seems to be a solution via what I said just above. I'll put the issue in the commit to let you know as soon as it's fixed.
I appreciate you and all the hard work you've put in! Thanks!
I have the same problem on a Debian VM on Proxmox. And moreover for me even the images in the collection are broken.
CPU: AMD FX8350
I've also run into the same issue. I see it mentioned that you can chang the CPU mode off teh VM in Proxmox to Host. Does anyone know how to do this?
EDIT: I got around the issue, by downloading the cover manually and giving it the same name as the existing one has in the Cover-folder.
Description
When viewing covers in my collection, they seem to be showing in black and white. The individual covers seem to be okay (tested one and it seemed to be fine). Recommendation covers also seem to be fine. It only seems to affect the top level ones.
As an aside, when attempting to search for new manga to add, the images pretty much never show up at all.
I believe this may be related to this: https://github.com/Kareadita/Kavita/issues/2591 but I haven't dug into your code to see if that is the case. The same issue DID happen to me with Kavita.
Version
Version 0.8.2
Steps to Reproduce
Add any manga to your collection.
Screenshots
Logs
Platform
desktop
Device
PC
Operating System
Windows 11
Browser
Firefox
Additional Context
This is running on an Ubuntu VM in Proxmox. I am viewing it from my Windows 11 PC.
Code of Conduct