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

Blank screen #227

Closed
azakharchenko-msol opened this issue May 7, 2024 · 8 comments
Closed

Blank screen #227

azakharchenko-msol opened this issue May 7, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@azakharchenko-msol
Copy link

Describe the bug
Opening kreya results blank screen
To Reproduce
Steps to reproduce the behavior:
run snap install kreya by default installs from latest/stable channel, the same issue seems on latest/edge

Expected behavior
Kreya is up and running
Screenshots
image

Environment (if possible, copy the information from the error dialog or the About menu):

  • OS: Ubuntu 22.04
  • Kreya Version 1.14.0

Additional context
logs

Gtk-Message: 10:07:06.664: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

(kreya:1857781): Gtk-WARNING **: 10:07:06.716: GTK+ module /snap/kreya/215/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 10:07:06.716: Failed to load module "canberra-gtk-module"

(kreya:1857781): Gtk-WARNING **: 10:07:06.717: GTK+ module /snap/kreya/215/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 10:07:06.717: Failed to load module "canberra-gtk-module"

** (kreya:1857781): WARNING **: 10:07:08.023: Could not open /sys/class/dmi/id/chassis_type: Failed to open file “/sys/class/dmi/id/chassis_type”: Permission denied

** (kreya:1857781): WARNING **: 10:07:08.023: Could not open /sys/firmware/acpi/pm_profile: Failed to open file “/sys/firmware/acpi/pm_profile”: Permission denied
Gtk-Message: 10:07:08.084: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

(WebKitWebProcess:1857893): Gtk-WARNING **: 10:07:08.176: GTK+ module /snap/kreya/215/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 10:07:08.176: Failed to load module "canberra-gtk-module"

(WebKitWebProcess:1857893): Gtk-WARNING **: 10:07:08.177: GTK+ module /snap/kreya/215/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 10:07:08.177: Failed to load module "canberra-gtk-module"
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 600x672: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 600x672: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 600x672: Permission denied
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1

** (WebKitWebProcess:1857893): WARNING **: 10:07:08.357: Could not open /sys/class/dmi/id/chassis_type: Failed to open file “/sys/class/dmi/id/chassis_type”: Permission denied

** (WebKitWebProcess:1857893): WARNING **: 10:07:08.357: Could not open /sys/firmware/acpi/pm_profile: Failed to open file “/sys/firmware/acpi/pm_profile”: Permission denied

** (WebKitWebProcess:1857893): WARNING **: 10:07:08.358: Failed to get atspi registered event listeners: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.452" (uid=1000 pid=1857893 comm="/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWeb" label="snap.kreya.kreya (enforce)") interface="org.a11y.atspi.Registry" member="GetRegisteredEvents" error name="(unset)" requested_reply="0" destination=":1.2" (uid=1000 pid=4183 comm="/usr/libexec/at-spi2-registryd --use-gnome-session" label="unconfined")
@azakharchenko-msol azakharchenko-msol added the bug Something isn't working label May 7, 2024
@CommonGuy
Copy link
Contributor

Very strange, I just tried this on Ubuntu 22.04 and it works for me.

Do you have any special configuration on your system?

@CommonGuy CommonGuy added the status:needs-info To investigate this, more information is needed label May 7, 2024
@azakharchenko-msol
Copy link
Author

azakharchenko-msol commented May 7, 2024

@CommonGuy Thanks for checking, good to know that it is my local issue! My configuration is rather not special: stock ubuntu 22.04 with gnome 42.9
tried:

  1. delete ~/snap/kreya and reinstall snap
  2. run as other user
  3. use different version (latest/edge) on my case
    Please let me know if I can try something else or collect additional logs

Will try to check fresh installation and see if i can add reproduce steps

@jmlara
Copy link

jmlara commented May 11, 2024

I'm getting a similar error running on Kubuntu 20.04.6 LTS .

(kreya:162753): Gtk-WARNING **: 15:18:01.633: Theme parsing error: gtk.css:1:21: Failed to import: Error opening file /home/jlara/snap/kreya/215/.config/gtk-3.0/colors.css: No such file or directory

** (kreya:162753): WARNING **: 15:18:01.746: Could not open /sys/class/dmi/id/chassis_type: Failed to open file “/sys/class/dmi/id/chassis_type”: Permission denied

** (kreya:162753): WARNING **: 15:18:01.746: Could not open /sys/firmware/acpi/pm_profile: Failed to open file “/sys/firmware/acpi/pm_profile”: Permission denied

(WebKitWebProcess:162949): Gtk-WARNING **: 15:18:01.956: Theme parsing error: gtk.css:1:21: Failed to import: Error opening file /home/jlara/snap/kreya/215/.config/gtk-3.0/colors.css: No such file or directory
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 600x667: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 600x667: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 600x667: Permission denied
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1

** (WebKitWebProcess:162949): WARNING **: 15:18:02.092: Could not open /sys/class/dmi/id/chassis_type: Failed to open file “/sys/class/dmi/id/chassis_type”: Permission denied

** (WebKitWebProcess:162949): WARNING **: 15:18:02.092: Could not open /sys/firmware/acpi/pm_profile: Failed to open file “/sys/firmware/acpi/pm_profile”: Permission denied

** (WebKitWebProcess:162949): WARNING **: 15:18:02.092: Failed to get atspi registered event listeners: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.44" (uid=1000 pid=162949 comm="/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWeb" label="snap.kreya.kreya (enforce)") interface="org.a11y.atspi.Registry" member="GetRegisteredEvents" error name="(unset)" requested_reply="0" destination=":1.3" (uid=1000 pid=9654 comm="/usr/libexec/at-spi2-registryd --use-gnome-session" label="unconfined")

(WebKitWebProcess:162949): GStreamer-WARNING **: 15:21:16.346: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.

Is the latest/edge available via snap?

@CommonGuy
Copy link
Contributor

Do you have a Nvidia GPU? Do any of the workarounds in wailsapp/wails#2977 help?

@azakharchenko-msol
Copy link
Author

azakharchenko-msol commented May 17, 2024

The workaround helps! Thanks @CommonGuy
running it as WEBKIT_DISABLE_DMABUF_RENDERER=1 kreya makes the trick and make it usable again 👍
btw, have nvidia card and and cat /sys/module/nvidia_drm/parameters/modeset returns Y

@jmlara
Copy link

jmlara commented May 18, 2024

I have a NVIDIA card. The workaround works in Kubuntu 20.04.6 LTS as well. Updated to WEBKIT_DISABLE_DMABUF_RENDERER=1 in /etc/environment file.

@CommonGuy
Copy link
Contributor

Thanks for your feedback! I'll see whether we can solve this on our side in the future

@CommonGuy CommonGuy added status:planned We plan to work on this and removed status:needs-info To investigate this, more information is needed labels May 22, 2024
@CommonGuy
Copy link
Contributor

Thanks for your feedback. I added this information to our (newly created) FAQ: https://kreya.app/docs/faq/

@CommonGuy CommonGuy removed the status:planned We plan to work on this label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants