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

Windows seems to be empty, but data isn't shown #172

Open
aDresl opened this issue Dec 15, 2023 · 10 comments
Open

Windows seems to be empty, but data isn't shown #172

aDresl opened this issue Dec 15, 2023 · 10 comments
Labels
help wanted Extra attention is needed

Comments

@aDresl
Copy link

aDresl commented Dec 15, 2023

Bildschirmfoto_wike

Like here: https://github.com/hugolabe/Wike/issues/136 the windows is empty. I followed all the steps there, but without success. Maybe the problem is different and needs to be solved separately.

As you see above, there is some data, but it's invisible. You can mark it blindly an drag it around, but if you unleash the mouse button, it disappears. How can I solve this?

When run from command line, I get this:

flatpak run com.github.hugolabe.Wike
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Keine Berechtigung
Failed to create GBM buffer of size 1185x944: Keine Berechtigung
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Keine Berechtigung
Failed to create GBM buffer of size 1185x944: Keine Berechtigung
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Keine Berechtigung
Failed to create GBM buffer of size 1185x944: Keine Berechtigung
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1

"Keine Berechtigung" is: no permission

some additional informations:

inxi -S
Host: *****PC Kernel: 5.15.0-91-generic x86_64 bits: 64
Desktop: Cinnamon 5.6.8 Distro: Linux Mint 21.1 Vera

flatpak --version
Flatpak 1.12.7

dpkg -s libglib2.0-bin | grep '^Version:'
Version: 2.72.4-0ubuntu2.2

flatpak run --command=ls com.github.hugolabe.Wike -la /app/share/runtime/locale
insgesamt 16
drwxr-xr-x 4 nfsnobody nfsnobody 4096 15. Dez 08:51 .
drwxr-xr-x 3 nfsnobody nfsnobody 4096 1. Jan 1970 ..
drwxr-xr-x 3 nfsnobody nfsnobody 4096 1. Jan 1970 de
drwxr-xr-x 3 nfsnobody nfsnobody 4096 1. Jan 1970 fr
-rw-r--r-- 1 nfsnobody nfsnobody 0 15. Dez 08:51 .ref

@hugolabe
Copy link
Owner

From what I've seen from a quick search, these error messages seem to be related to Webkit, but frankly I have no idea what can be done in this specific case.

Let's see if someone with more knowledge about these topics can provide some ideas.

@hugolabe hugolabe added the help wanted Extra attention is needed label Dec 26, 2023
@camelCaseNick
Copy link
Contributor

Does this also happen with GNOME Web, NewsFlash, Apostrophe or Geary or another GNOME app using WebKit for you? If you have any, and do/don't experience this issue there, how did you install them? Do you by any chance have an Nvidia graphics card? If so, which drivers do you have, and how did you install them?

You could try running it with a newer WebKit2GTK version. Currently, Wike still ships with GNOME 44, but you can find (nearly) Wike 2.1.0 with the GNOME 45 runtime at https://github.com/hugolabe/Wike/actions/runs/7105263343.

If that still has the issue, on GNOME 45 and later, you can try WEBKIT_DISABLE_DMABUF_RENDERER=1.

@aDresl
Copy link
Author

aDresl commented Jan 10, 2024

I do not have any of these apps, but a nvidia card, driven by nvidia-driver-535. Installed by driver manager in Linux Mint.

I have wike 2.10 and Gnome 45 and also tried your command. But sadly nothing helped...

@AuRobinson
Copy link

AuRobinson commented Jun 18, 2024

Forgive me, I'm rather new at this. But from what I was experiencing with Wike and NewsFlash was that the app would run, but there wouldn't be any text rendered from an article.

Long story short, I had to turn off hardware acceleration, using Flatseal, to have the article text render correctly.

Edit:
Found this after posting, https://gitlab.gnome.org/World/gfeeds/-/issues/163#note_1853086

@TobberH
Copy link

TobberH commented Aug 3, 2024

I have just installed Wike and had the exact same issue. The article window just renders blank even though the data seems to be there. I could fix the issue by:

  1. Install Flatseal.
  2. Open Flatseal and select the Wike app.
  3. Scroll to Environment and add WEBKIT_DISABLE_DMABUF_RENDERER=1 as suggested by @camelCaseNick

And for reference here are my system details:

  • OS: Manjaro Linux x86_64
  • Kernel: Linux 6.10.0-3-MANJARO
  • DE: GNOME 46.3.1
  • WM: Mutter (X11)
  • CPU: AMD Ryzen 7 5800X (16) @ 3,80 GHz
  • GPU: NVIDIA GeForce RTX 3070

@camelCaseNick
Copy link
Contributor

@TobberH Does this also happen with other apps that use web views, like Apostrophe, NewsFlash, or Web? And do you get the same messages when you run flatpak run com.github.hugolabe.Wike (without WEBKIT_DISABLE_DMABUF_RENDERER=1 set) as the original report?

Wike most likely cannot do anything here, so it would be best reported to WebKitGTK: https://bugs.webkit.org/.

@TobberH
Copy link

TobberH commented Aug 5, 2024

@camelCaseNick yeah, it does seem to be a bug with WebKitGTK. I haven't tried the other apps yet, but I can give it a go and see if they have same problem.

@TobberH
Copy link

TobberH commented Aug 5, 2024

@camelCaseNick I get these error messages when running without WEBKIT_DISABLE_DMABUF_RENDERER=1

Failed to create /home/REDACTED/.var/app/com.github.hugolabe.Wike/cache for shader cache (No such file or directory)---disabling.
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 1669x1042: Permission denied

Strange with the cache folder error message though, because that directory exists and has what looks like cache files and folder in it.

@TobberH
Copy link

TobberH commented Aug 5, 2024

Oh and also relevant: I get this error message both with AND without WEBKIT_DISABLE_DMABUF_RENDERER=1

src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)

@TobberH
Copy link

TobberH commented Aug 5, 2024

@camelCaseNick tried the NewsFlash app and it has same problem and give exactly the same error messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants