-
-
Notifications
You must be signed in to change notification settings - Fork 255
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
The application can't open epub files anymore - Arch Linux #1085
Comments
Adding the kernel parameter |
I've tried adding that parameter and I get a different error now, and a different Foliate behaviour. It still doesn't show the eBook, though, but it doesn't hang. It's just blank. `❯ foliate (com.github.johnfactotum.Foliate:5349): Gjs-WARNING **: 12:21:11.202: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise: Is it still Nvidia's fault? |
I'm using foliate-git from AUR, maybe you can try that. |
Thanks, using foliate-git works. Albeit in a weird way, as in I can't access any preferences, I can only switch from light to dark mode and that's it. ALso the gtk buttons look different (which I don't care but still). At least the books are readable. I'm not sure this is an Nvidia bug at this point. If it is, it only manifests itself with Foliate. I will have to look for an alternative. |
It's probably a WebKitGTK bug on Nvidia. I don't have Nvidia, and v2.6.4 works for me on Arch Linux.
If you're talking about the "Preferences" item in the main menu of the library view, that indeed doesn't work, as it's not implemented yet (among other things that are still missing from the GTK 4 rewrite). There are some preferences, though, that you can change in "Font & Layout Settings" in the view menu.
That's just GNOME's new Adwaita stylesheet for GTK 4, which looks different from the GTK 3 version. |
Fair enough. Thanks. |
Starting foliate with WEBKIT_DISABLE_COMPOSITING_MODE=1 fixed the problem for me. |
I ran into this issue trying use webkit2gtk on arch linux (with an nvidia card) and I was able to fix it without setting Here is how I fixed it:
|
Describe the bug
Foliate can't open .epub files anymore, when trying to open them it hangs until I close it.
To Reproduce
Open an .epub file with Foliate.
Expected behavior
The ebook file would open.
Version:
Additional context
It used to work perfectly until a few weeks ago. The rest of my system and applications work fine.
Output from the terminal:
`❯ foliate
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)
Failed to create GBM buffer of size 1420x735: Invalid argument
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)
Failed to create GBM buffer of size 1420x735: Invalid argument
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)
Failed to create GBM buffer of size 1420x735: Invalid argument
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1`
The text was updated successfully, but these errors were encountered: