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

With GL renderer and wayland, switching to full screen with crtl-f results in nothing (nvidia) or not much (amd) being rendered #3129

Open
belegdol opened this issue Jul 10, 2023 · 2 comments

Comments

@belegdol
Copy link
Contributor

Describe the bug
Following the recent commits switching from GLX to EGL, examples finally run on wayland when started with --gl parameter (see issue #2416 for details). It unfortunately appears that there is something wrong with switching to fullscreen: upon the switch, nothing is rendered.

To Reproduce
Steps to reproduce the behavior:

  1. clone the repository
  2. edit makefile line 116 adding --with-sdl --with-wayland
  3. make -j12 linux-debug64
  4. cd examples/runtime
  5. SDL_VIDEODRIVER=wayland ../../.build/linux64_gcc/bin/examplesDebug --gl
  6. Hit Ctrl-F

Expected behavior
Example is rendered as it is in the windowed mode

Screenshots
Window
Full screen

Additional context
I tested with 535.54.03 nvidia driver on an up-to-date Fedora 38 installation.

@belegdol
Copy link
Contributor Author

With open amd driver the situation is only slightly better:
AMD Full screen

@belegdol belegdol changed the title With GL renderer and wayland, switching to full screen with crtl-f results in nothing being rendered With GL renderer and wayland, switching to full screen with crtl-f results in nothing (nvidia) or not much (amd) being rendered Jul 10, 2023
@belegdol
Copy link
Contributor Author

With code from #3143 and vulkan the issue is not present, indicating OpenGL is the culprit.

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

1 participant