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

White screen on Linux Fedora x11 #85

Closed
airtonix opened this issue Oct 29, 2023 · 3 comments
Closed

White screen on Linux Fedora x11 #85

airtonix opened this issue Oct 29, 2023 · 3 comments

Comments

@airtonix
Copy link

Describe your Environment

Paisa self build from commit a419492

System:
  Host: brass Kernel: 6.4.4-200.fc38.x86_64 arch: x86_64 bits: 64
    Desktop: GNOME v: 44.3 Distro: Fedora release 38 (Thirty Eight)
Graphics:
  Device-1: NVIDIA GA102 [GeForce RTX 3090 Ti] driver: nvidia v: 535.54.03
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.9 driver: X:
    loaded: modesetting,nouveau,nvidia unloaded: fbdev,vesa
    gpu: nvidia,nvidia-nvswitch resolution: 1: 3440x1440~60Hz
    2: 3440x1440~60Hz 3: N/A
  API: OpenGL v: 4.6.0 NVIDIA 535.54.03 renderer: NVIDIA GeForce RTX 3090
    Ti/PCIe/SSE2

Describe the bug

making a build of the desktop app results in it launching with a white screen, however if you move your mouse around it's clearly reacting to clickables in the UI.

This is a bug I've experienced with Wails before, easily fixed with this option:

			WebviewGpuPolicy:    linux.WebviewGpuPolicyNever,

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Builds created for linux x11 should render the UI

Screenshots
If applicable, add screenshots to help explain your problem.

Journal
If applicable, provide a minimal journal to help explain your problem.

@ananthakumaran
Copy link
Owner

ananthakumaran commented Oct 29, 2023

@airtonix This seems like a webkit issue wailsapp/wails#2977. Could you try export WEBKIT_DISABLE_DMABUF_RENDERER=1.

@airtonix
Copy link
Author

airtonix commented Nov 8, 2023

@ananthakumaran looks like this PR has been merged: wailsapp/wails#3027

and you just need to update to the latest version of wails.

@nobane
Copy link

nobane commented Mar 2, 2024

I ran into this issue trying use webkit2gtk on arch linux (with an nvidia card) and I was able to fix it without setting WEBKIT_DISABLE_DMABUF_RENDERER=1.

Here is how I fixed it:

  1. Check if you have modesetting enabled via

     cat /sys/module/nvidia_drm/parameters/modeset
    
  2. If you see printed N then you need to enable it with

     echo options nvidia_drm modeset=1 | sudo tee /etc/modprobe.d/nvidia_drm.conf
    
  3. Restart your computer

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

Successfully merging a pull request may close this issue.

3 participants