Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Glitches and Black Screen with Nvidia Drivers #8

Open
Cybercountry opened this issue Jan 18, 2024 · 7 comments
Open

Glitches and Black Screen with Nvidia Drivers #8

Cybercountry opened this issue Jan 18, 2024 · 7 comments
Labels
bug Something isn't working not-as-easy-as-it-looks Not as easy as it looks.

Comments

@Cybercountry
Copy link

Description:
I am reporting this problem because someone else might encounter the same issue and not know the solution. While I'm not certain about the exact nature of the problem, it seems to affect Nvidia users on Linux, particularly with driver versions ^525 - 545. The issue appears to be related to 'Webkit'. This problem is also observed in other applications like Wike and NewsFlash.

Environment Details:

  • Operating System: EndeavourOS
    
  • Skiff Version: 0.1.7
    
  • Nvidia Driver: 545.29.06
    

Video Demonstration:
Skiff_Issue.webm

Additional Details:
The way to solve this problem is by declaring the variable WEBKIT_DISABLE_DMABUF_RENDERER=1 using the Flatseal application.

Steps to resolve:

  1.   Install the Flatseal app.
    
  2.   Add the environment variable 'WEBKIT DISABLE_DM ABUF_RENDERER=1' to Skiff.
    

Closing Note:
I hope this information proves helpful. Have a great day, and I appreciate the ongoing development of the Flatpak version of Skiff.

@lleyton
Copy link
Contributor

lleyton commented Jan 18, 2024

Thanks for the report! If possible, could you run the flatpak from the command line and share the logs outputted?

@Cybercountry
Copy link
Author

Cybercountry commented Jan 18, 2024

Thanks for the report! If possible, could you run the flatpak from the command line and share the logs outputted?

For sure! I removed the previously added variable and ran the application with the command flatpak run com.fyralabs.SkiffDesktop, the glitches occurred again and the only logs were:

(com.fyralabs.SkiffDesktop:2): Gtk-CRITICAL **: 20:31:45.687: gtk_widget_get_first_child: assertion 'GTK_IS_WIDGET (widget)' failed

(com.fyralabs.SkiffDesktop:2): Gtk-CRITICAL **: 20:31:45.687: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed

The same log appears if I run the application with the variable defined.
If you refer to another way to run the application, please let me know.

EDIT: I will be attaching a screen recording.
Skiff_Issue2.webm

@lleyton
Copy link
Contributor

lleyton commented Jan 19, 2024

thanks! I don't personally have an NVIDIA GPU, but I know that some of our team does, so we'll try to look into it

most likely an upstream issue with WebKit and NVIDIA

@lleyton
Copy link
Contributor

lleyton commented Jan 19, 2024

Actually, if you know how to, could you try compiling the application from source and running it on your host (not inside of the Flatpak sandbox)

if you need help with that, join our Discord and I'd be happy to guide you

Edit: it looks like you're on an arch based system, someone recently posted a pkgbuild which might help: #1 (comment)

@Cybercountry
Copy link
Author

Using the variable mentioned above solves the problem and the application works perfectly.
I just wanted to report this problem so if anyone else has the same problem, they know how to solve it.

But I could be trying to compile from source code to see if the same error happens.

@lleyton
Copy link
Contributor

lleyton commented Jan 19, 2024

Thanks. The reason why I'm asking is because I'm wondering if this is a general WebKit issue or rather just when within the Flatpak sandbox.

@Cybercountry
Copy link
Author

Thanks. The reason why I'm asking is because I'm wondering if this is a general WebKit issue or rather just when within the Flatpak sandbox.

Hi,

I compiled the package using PKGBUILD and the application worked perfectly, without glitches or black screens.

@lleyton lleyton added bug Something isn't working not-as-easy-as-it-looks Not as easy as it looks. labels Jan 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working not-as-easy-as-it-looks Not as easy as it looks.
Projects
None yet
Development

No branches or pull requests

2 participants