-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
Blank page when using Nvidia #1107
Comments
Nvidia? |
Yes, my GPU is an Nvidia card. |
|
@flandriai There's currently no "Use publisher font" option. Publisher fonts are always used, with no way to disable them (except for overriding them with userstyle). |
WEBKIT_DISABLE_DMABUF_RENDERER=1 foliate thanks |
Hi iandoug. I appreciate the assistance, but... what is that a picture of? I've just installed it via flatpak. This looks like a very handy menu, but I've never seen it before. Where is this found? |
That's part of KDE's MenuEdit. I don't know how to set environment variables in flatpack things ... I installed Foliate via my system package manager. Strictly speaking I don't know why it is necessary to set environment variables like this ... should the app not handle it? It used to work fine without it until recently. The original suggestion above was for use on the command line, like WEBKIT_DISABLE_DMABUF_RENDERER=1 foliate some-file-name.epub |
Flatseal is a convenient GTK app to add some environment variables into flatpack apps. This comment documents a walkthrough #1115 (comment) |
Arch Wiki: Window does not appear in Flatpak on Nvidia This is a known issue with Nvidia in Flatpak environments. The linked Arch Wiki page includes a band-aid fix which does solve the issue, although inconvenient and not really a long-term solution. This could be made easier with a script if it this isn't resolved any time soon and it becomes too much of a headache to have to update the variable at each driver update. The advantage over the other proposed "solution" of setting The environment variable to set for Nvidia driver version 545.29.06 would be: The driver version number would need to be updated to match the running Nvidia driver version. You could then set this with an override with |
I am not using flatpak, but standard Gentoo package install. It used to work fine in the past. I need to update my Nvidia driver but need to update kernel first, don't know if this is all related. |
It likely is unrelated. I just left this here in case someone running the Flatpak version comes across this thread to point them to what the actual issue is. It's related to the containerized environment that the Flatpak apps run in which don't play nicely with Nvidia drivers for certain applications at the moment. Normal unisolated binaries should work just fine as they don't have these limitations. Your issue likely lies elsewhere. Best of luck 🫡 |
Same issue. I am not using neither snap nor flatpak, I use version 3.1.0 from arch repos:
I have |
@johnfactotum I can add a script that will set the env variable when using with Nvidia. Do you want that? |
No, I think it'd be better to follow the upstream. |
Just a quick note in case somebody on Arch runs into this: I have OLD FIX
I can't set However, I've installed flatpak version and it just worked. No performance problems. UPD August 2024Something changed, and it stopped working. I'm on hyprland 0.42.0. But I can get it to work in cage, but, funnily enough not under xwayland. It has problems of not passing my keyboard layout to the search bar, though. And copy doesn't translate to the host clipboard. UPDFigured it out. It's scale! It doesn't like monitor scales above 1 on hyprland, both on wlroots and aquamarine versions. Setting scale to BTW, I get the same error in epiphany (webkitgtk-6 too) on higher scales, but the web pages still render. |
Describe the bug
After upgrading Foliate on Linux Mint 21.2 via the update manager (which successfully installed the latest version from the Flatpak repository) one is unable to read ebooks anymore. The software seemingly works fine, however after trying to open a file, you can see the spinning circle for a long time (indicating that Foliate is loading the book) and after it disappears one can only see a completely "white box" where normally the contents of the book should be. On the top of the window you can read the book's title, the navigation panel is there too on the side (with the table of contents), but you cannot read the book. It does not help changing the theme from light to dark (or vice versa). When selecting dark mode everything changes according to the theme but the book cannot be seen. Activating developer tools does not help to find out what causes the problem, because you cannot see that either.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect (after a short loading period) to see and be able to read the book.
Version:
Additional context
I also tried to completely delete and reinstall the software without any success.
The text was updated successfully, but these errors were encountered: