flathub / org.blender.Blender

https://flathub.org/apps/details/org.blender.Blender
18 stars 26 forks source link

Broken Interface in Wayland Ubuntu / Pop!_OS #98

Open pi43r opened 2 years ago

pi43r commented 2 years ago

image

When I enable the GPU for Blender I get this broken screen. Not sure what is happening and if it is a problem with Blender or my setup. I use the Hybrid environment variables shown here: https://support.system76.com/articles/graphics-switch-pop/

Pop!_OS 21.10 nvidia 510.54

kevinsmia1939 commented 2 years ago

Try installing Flatseal, flatpak install com.github.tchx84.Flatseal Then select Blender and enable Wayland. See if it worked. Afaik, Blender does not support Wayland yet, so we did not enable them by default.

pi43r commented 2 years ago

It actually works fine in Wayland. Only when the nvidia gpu is used I get the broken interface (and no shaders?) ... Might be a problem with the newest driver, I didn't test older versions.

Flatseal was installed and X11 and Wayland are enabled.

kevinsmia1939 commented 2 years ago

What version of nvidia driver you install with flatpak? Try installing the same version as your system.

pi43r commented 2 years ago

Bot flatpak list and nvidia-smi report the same version 510.54

lumingzh commented 2 years ago

Fedora silverblue has the same problem. However according my test only blender has this problem, the difference is blender writing its UI in OpenGL directly and other apps using GUI toolkit like GTK or qt.

About nvidia driver, old version driver doesn't has this problem indeed. But has other problem as well, blender can't display its menu selection indicate and sub-menu correctly, so it's almost impossible to select the right menu. And the UI will flicker all the time when you browser menus like steam.

Michael0x18 commented 2 years ago

From what I can tell, the best way to still use the dedicated GPU for rendering while not having a broken interface is to launch blender with integrated graphics (non nvidia) and switch the render engine to cycles with GPU compute.