Blender 3.4


O Blender 3.4 está recebendo suporte ao servidor gráfico Wayland, confira.

Blender 3.4

Blender, também conhecido como blender3d, é um programa de computador de código aberto, desenvolvido pela Blender Foundation, para modelagem, animação, texturização, composição, renderização, e edição de vídeo. Está disponível sob a GNU GPL, versão 2 ou posterior. Fonte
 
 
O Anúncio foi feito em 11 de Outubro de 2022
 
"Recentemente, temos trabalhado no suporte nativo do Wayland no Linux.

Wayland agora está habilitado para compilações diárias e, se tudo correr bem, também será habilitado para a versão 3.4 do Blender."


Se você é um usuário do Wayland, tente uma compilação recente.

 

Detalhes técnicos


Wayland has some intentional constraints that impact Blender, for example: Setting the cursor position directly isn’t supported. To support cursor warping the cursor is locked in-place, then a virtual cursor is drawn in software for e.g. Positioning windows on a particular monitor or relative to other windows isn’t supported. This means dragging content (color, icons in the outliner … etc) isn’t supported between windows. We have to use system-level drag events (the same kinds of drag & drop support used by file browsers) – something Blender should be doing anyway. Gnome-shell has decided not to support server side decorations, meaning it’s up to each application to define it’s own window frame (title bar & window borders). For developers of tool-kits such as GTK/QT, this makes some sense as they can build window drawing into their toolkit. For a cross-platform applications like as Blender it isn’t so convenient, although longer term we might look into client-side decorations. For now we’re using libdecor and we’ll see how it evolves. Initially Wayland was difficult to troubleshoot, when something went wrong often the window would just close without a crash or warning that pointed to the problem. Eventually I found wl_log_set_handler_client could be set (which now prints a stack-trace to help track down issues). So the situation isn’t as bad, although there are still a closing window issue that need investigation. While X11 carries many of it’s own quirks & historic baggage in practice we only needed to support a single implementation (Xorg). As Wayland has multiple compositors, each of these can behave differently calling event handlers in a different order or omitting some arguments. Although there are 3 main compositors: (gnome-shell, KDE & Sway (with various compositors based on Sway’s wlroots library). Hopefully these differences will be ironed out over time, for now we have to keep some workarounds for composites that misbehave (reporting bugs up-stream). Support for dynamically linking libwayland (and related Wayland libraries), proved to be much more of an ordeal than I’d expected (due to the API’s use of varargs), making it impractical to forward arguments without compiler specific workarounds. This was solved by replacing function calls in auto-generated headers, while not ideal it’s functional. Wayland development unexpectedly lead to fixing an 8 year old bug on MS-Windows. Supporting modifier key detection on Wayland involved changes to modifier handling on all platforms. I stumbled on error prone logic that caused issues with modifier key detection (commits 1, 2).

Fonte

Instalação

Você não precisa instalar, basta fazer o download e executar, mas precisa instalar a dependência para ser usado no Wayland.

Para Arch Linux e derivados
sudo pacman -S libdecor
Para Debian e derivados
sudo apt install libdecor-0-0
Para Fedora e derivados
sudo dnf install libdecor
Para openSUSE
sudo zypper install libdecor

Faça o download do Blender 3.4 Alpha com o comando.
wget https://builder.blender.org/download/daily/blender-3.4.0-alpha+master.f0e1089a33f4-linux.x86_64-release.tar.xz
Descompacte o arquivo
 tar -xvf blender-3.4.0-alpha+master.f0e1089a33f4-linux.x86_64-release.tar.xz

 Entre no diretório de extração.

cd blender-3.4.0-alpha+master.f0e1089a33f4-linux.x86_64-release

Execute o Blender

./blender

Para verificar se ele está de fato rodando no Wayland e vá em ícone Blender > About Blender.

“Windowing Environment: WAYLAND”
 


Comentários

Você precisa ver isso

Todos os arquivos do blog

Mostrar mais