jeertmans / manim-slides

Tool for live presentations using manim
https://manim-slides.eertmans.be
MIT License
419 stars 46 forks source link

[BUG] Full-screen not working on Wayland #386

Open semikernel opened 4 months ago

semikernel commented 4 months ago

Description

I note that there is a parameter to command line interface: --fullscreen After I input

manim-slides present --fullscreen Scene1

It's main window truely become full-screen but, it can't work at all. It just show a static frame no motion at all. The terminal has no feedback. Screenshot from 2024-03-08 14-49-41

As shown above, the monitor window works well but main window has noting happen.

Version

manim-slides, version 5.1.3

Platform

ubuntu 22.04

Screenshots

Screenshot from 2024-03-08 14-49-41

Additional information

No response

jeertmans commented 4 months ago

Hello! This might be a Wayland issue. Can you show the output of echo $XDG_SESSION_TYPE?

Your screenshot is a bit weird because it looks like it was taken in the Activities overview (Super key), is it on purpose?

semikernel commented 4 months ago

Hello! This might be a Wayland issue. Can you show the output of echo $XDG_SESSION_TYPE?

Your screenshot is a bit weird because it looks like it was taken in the Activities overview (Super key), is it on purpose?

After input

echo $XDG_SESSION_TYPE

it returns

wayland

I took screenshot in activaties overview on purpose to show 3 windows in a time.

By the way, what should I do to use fullscreen in wayland environment?

jeertmans commented 4 months ago

Can you try with x11 instead of Wayland? Here is a tutorial: https://helpdesk.psionline.com/hc/en-gb/articles/13470827149332-How-to-perform-the-switch-from-the-Wayland-display-server-to-Xorg-X11-on-Linux-Ubuntu-22-04-LTS.

Wayland is known to have some bugs with many programs, and the solution is often just to switch back to x11.

By the way, what should I do to use fullscreen in wayland environment? I don't know, but let's see first if the bug is caused by Wayland or something else :-)

semikernel commented 4 months ago

Can you try with x11 instead of Wayland? Here is a tutorial: https://helpdesk.psionline.com/hc/en-gb/articles/13470827149332-How-to-perform-the-switch-from-the-Wayland-display-server-to-Xorg-X11-on-Linux-Ubuntu-22-04-LTS.

Wayland is known to have some bugs with many programs, and the solution is often just to switch back to x11.

By the way, what should I do to use fullscreen in wayland environment? I don't know, but let's see first if the bug is caused by Wayland or something else :-)

Wow Amazing it worked! Than you Mr jeertmans!

jeertmans commented 4 months ago

You're welcome! But then I need to investigate if we can solve this on Wayland :'-)