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

Wayland DisplayServer does not properly support opengl3_es rendering driver #91371

Closed
Tracked by #88346
akien-mga opened this issue Apr 30, 2024 · 1 comment · Fixed by #91466
Closed
Tracked by #88346

Wayland DisplayServer does not properly support opengl3_es rendering driver #91371

akien-mga opened this issue Apr 30, 2024 · 1 comment · Fixed by #91466

Comments

@akien-mga
Copy link
Member

Tested versions

  • Reproducible in 4.3-dev6

System information

Fedora Linux 40 (KDE Plasma) - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 7600M XT (RADV NAVI33) () - AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (16 Threads)

Issue description

The --help output shows opengl3_es as an option for X11 on desktop Linux, but not for Wayland:

$ godot-git --help | grep opengl3
  --display-driver <driver>         R  Display driver (and rendering driver) ["x11" ("vulkan", "opengl3", "opengl3_es"), "wayland" ("vulkan", "opengl3"), "headless" ("dummy")].

Trying to run it anyway results in a crash:

#0  0x0000000000000000 in ?? ()
#1  0x0000000009afe4bb in RendererCompositor::create () at ./servers/rendering/renderer_compositor.cpp:42
#2  0x0000000009b7bf67 in RenderingServerDefault::RenderingServerDefault (this=0xb93a0b0, p_create_thread=false) at ./servers/rendering/rendering_server_default.cpp:404
#3  0x0000000005b2cec5 in Main::setup2 () at main/main.cpp:2775
#4  0x0000000005b2b159 in Main::setup (execpath=0x7fffffffdb8f "/home/akien/.local/bin/godot-git", argc=4, argv=0x7fffffffd700, p_second_phase=true) at main/main.cpp:2428
#5  0x0000000005a78065 in main (argc=5, argv=0x7fffffffd6f8) at platform/linuxbsd/godot_linuxbsd.cpp:74

Steps to reproduce

  • On Linux Wayland: godot --display-driver wayland --rendering-driver opengl3_es

Minimal reproduction project (MRP)

n/a

@Riteo
Copy link
Contributor

Riteo commented May 2, 2024

There, I've made PR #91466, which should fix the problem :D

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

Successfully merging a pull request may close this issue.

2 participants