Comments (9)
It's a WebKitGTK/Nvidia problem. See
- https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2498
- https://bugs.webkit.org/show_bug.cgi?id=259644
- https://bugs.webkit.org/show_bug.cgi?id=261874
from foliate.
Adding the kernel parameter nvidia_drm.modeset=1
fixed the problem for me.
from foliate.
Adding the kernel parameter
nvidia_drm.modeset=1
fixed the problem for me.
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:
main@resource:///com/github/johnfactotum/Foliate/js/main.js:478:24
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
@/usr/bin/foliate:9:17`
Is it still Nvidia's fault?
from foliate.
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.
I'm using foliate-git from AUR, maybe you can try that.
from foliate.
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.
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.
from foliate.
It's just blank. [...] Is it still Nvidia's fault?
It's probably a WebKitGTK bug on Nvidia.
I don't have Nvidia, and v2.6.4 works for me on Arch Linux.
I can't access any preferences, I can only switch from light to dark mode and that's it.
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.
ALso the gtk buttons look different
That's just GNOME's new Adwaita stylesheet for GTK 4, which looks different from the GTK 3 version.
from foliate.
Fair enough. Thanks.
from foliate.
Starting foliate with WEBKIT_DISABLE_COMPOSITING_MODE=1 fixed the problem for me.
Arch Linux 6.5.7-arch1-1
from foliate.
I ran into this issue trying use webkit2gtk on arch linux (with an nvidia card) and I was able to fix it without setting WEBKIT_DISABLE_DMABUF_RENDERER=1
.
Here is how I fixed it:
-
Check if you have modesetting enabled via
cat /sys/module/nvidia_drm/parameters/modeset
-
If you see printed
N
then you need to enable it withecho options nvidia_drm modeset=1 | sudo tee /etc/modprobe.d/nvidia_drm.conf
-
Restart your computer
from foliate.
Related Issues (20)
- Book titles and button icons don't render correctly when in grid view
- No keyboard shortcuts for searching through books library
- Keyboard shortcut for toggling / pinning sidebars does not work when sidebar is not focused/shown HOT 1
- Inside a book, `Ctrl+F` search keyboard shortcut does not work if the book pages are focused instead of the sidebar HOT 1
- Text is cutoff at bottom HOT 2
- font - smoothing HOT 1
- [Bug Report] Unable to open a pdf file
- Non-obvious way to bookmark a page. HOT 6
- "Trasnslate" popup does not close upon selecting any language HOT 1
- Using Festival TTS with v3.1.1 HOT 2
- Foliate hangs when loading file on Kubunti 24.04 HOT 1
- List keyboard shortcuts HOT 2
- Synchronize page turn with text-to-speech HOT 1
- cant open a any epub HOT 1
- syntax highlighting of code blocks only works for default theme HOT 6
- Offset value for pagination HOT 1
- Is it possible to remove the border? HOT 3
- Option to watch folders
- Possible to downgrade GTK dependency? HOT 2
- Improved search navigation suggestions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foliate.