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

Cinny only shows blank window #329

Open
dermalikmann opened this issue Aug 5, 2024 · 7 comments
Open

Cinny only shows blank window #329

dermalikmann opened this issue Aug 5, 2024 · 7 comments

Comments

@dermalikmann
Copy link

Describe the bug

Heya!
Recently found this client through the weekly matrix blog post.

When trying to open Cinny, I only get a blank window sadly. It looks like this
Following the output produced by running it via terminal:

> cinny

** (cinny:25118): WARNING **: 17:08:33.140: webkit_settings_set_enable_offline_web_application_cache is deprecated and does nothing.
src/nv_gbm.c:300: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)

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 1024x724: Permission denied

Reproduction

No response

Expected behavior

No response

Platform and versions

Archlinux (updated on 2024-08-04 18:00)
Cinny 4.1.0 (latest AUR)

Additional context

The AUR package extracts the .deb file

Related to the KMS error message I found following issue: elementary/browser#104
One Response mentioned setting WEBKIT_DISABLE_DMABUF_RENDERER=1, which infact helped and showed me the login screen.
This is viable as a workaround but its not really a fix.

Another Comment mentioned changing some kernel module params, which got rid of the KMS issue, but the GBM buffer issue still persists, and I still get a blank window.

@rtxdr
Copy link

rtxdr commented Sep 17, 2024

try running cinny like this in the terminal:
WEBKIT_DISABLE_DMABUF_RENDERER=1 cinny

@artpelling
Copy link

try running cinny like this in the terminal: WEBKIT_DISABLE_DMABUF_RENDERER=1 cinny

this worked for me, thanks. Any way to make that permanent?

@artpelling
Copy link

I just modified /var/lib/flatpak/exports/share/applications/in.cinny.Cinny.desktop file

[Desktop Entry]
Version=1.0
Type=Application
Name=Cinny
Comment=Yet another matrix client with simple, elegant and secure interface.
Icon=in.cinny.Cinny
Exec=env WEBKIT_DISABLE_DMABUF_RENDERER=1 /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=cinny in.cinny.Cinny
Terminal=false
Categories=Network;InstantMessaging;
Keywords=Matrix;matrix.org;chat;irc;communications;talk;riot;element;fractal;voip;
X-Purism-FormFactor=Workstation;Mobile;
X-Flatpak=in.cinny.Cinny

which works perfectly for me.

@lili36
Copy link

lili36 commented Oct 19, 2024

Hello ! I have the same issue with .deb on Linux Mint.
I read on some issue it should be fixed at some point ? Because this workaround may create issues, doesn't it ?

Also, this workaround doesn't work for me (I tried in terminal and in cinny.desktop file, of course if it doesn't work in terminal it doesn't work in file either).
Any idea ?
I have the same issue with AppImage version.
Didn't try with flatpak yet.

@lili36
Copy link

lili36 commented Oct 19, 2024

I also tested elementary/browser#104 (comment) kernel setting.
None of this works for me, whatever format I use, still black window.
I am on Linux Mint 20.2 Uma with NVIDIA GF119 [GeForce GT 610]

@wanderingmagus
Copy link

I have the same problem with blank/black screen in Cinny on the flatpak version. I'm using Linux Mint 22 x86_64 with Kernel: 6.8.0-47-generic and Cinnamon 6.2.9, NVIDIA GeForce RTX 2070 SUPER M and Intel i9-10980HK (16) @ 5.300GH. I've tried the file edit and the terminal workaround, no dice.

@CryptArchy
Copy link

Ran into the same issue. @artpelling 's workaround fixed it for me. System specs:

System:
Kernel: 6.8.0-48-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0 clocksource: tsc
Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.2.0 vt: 7 dm: LightDM v: 1.30.0
Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble
Machine:
CPU:
Info: 8-core model: AMD Ryzen 7 3800X
Graphics:
Device-1: NVIDIA GA106 [GeForce RTX 3060] vendor: Gigabyte driver: nvidia v: 550.120
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: nvidia
unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
Screen-1: 0 s-res: 3440x1440 s-dpi: 109 s-size: 802x342mm (31.57x13.46") s-diag: 872mm (34.33")
Monitor-1: HDMI-0 res: 3440x1440 hz: 60 dpi: 109 size: 800x335mm (31.5x13.19")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants