Blender’s viewport under Wayland is transparent. However if you open it in terminal instead of .desktop file it is ok.
Does anyone else have such issue?
Blender’s viewport under Wayland is transparent. However if you open it in terminal instead of .desktop file it is ok.
Does anyone else have such issue?
Please provide the contents of the .desktop
file, as well as any output when you execute it from terminal.
Also the output of:
pamac search libdecor
Regarding Blender on Wayland, it seems to be under development still, so that might play a role:
I’ve cut down translations because there were too much of them.
[Desktop Entry]
Name=Blender
GenericName=3D modeler
Keywords=3d;cg;modeling;animation;painting;sculpting;texturing;video editing;video tracking;rendering;render engine;cycles;game engine;python;
Exec=blender %f
Icon=blender
Terminal=false
Type=Application
PrefersNonDefaultGPU=true
X-KDE-RunOnDiscreteGpu=true
Categories=Graphics;3DGraphics;
MimeType=application/x-blender;
I’m not sure why do you need an output from terminal, it’s not transparent there but ok:
LC_ALL=C blender ✔ 12s
Read prefs: "/home/user/.config/blender/4.0/config/userpref.blend"
Exception in module register(): /usr/share/blender/4.0/scripts/addons/io_scene_gltf2/__init__.py
Traceback (most recent call last):
File "/usr/share/blender/4.0/scripts/modules/addon_utils.py", line 401, in enable
mod.register()
File "/usr/share/blender/4.0/scripts/addons/io_scene_gltf2/__init__.py", line 1661, in register
blender_ui.register()
File "/usr/share/blender/4.0/scripts/addons/io_scene_gltf2/blender/com/gltf2_blender_ui.py", line 521, in register
bpy.types.NODE_MT_category_SH_NEW_OUTPUT.append(add_gltf_settings_to_menu)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'module' object has no attribute 'NODE_MT_category_SH_NEW_OUTPUT'
Exception in module register(): /usr/share/blender/4.0/scripts/addons/pose_library/__init__.py
Traceback (most recent call last):
File "/usr/share/blender/4.0/scripts/modules/addon_utils.py", line 401, in enable
mod.register()
File "/usr/share/blender/4.0/scripts/addons/pose_library/__init__.py", line 42, in register
gui.register()
File "/usr/share/blender/4.0/scripts/addons/pose_library/gui.py", line 217, in register
register_message_bus()
File "/usr/share/blender/4.0/scripts/addons/pose_library/gui.py", line 167, in register_message_bus
bpy.msgbus.subscribe_rna(
TypeError: subscribe_rna: struct FileAssetSelectParams does not contain property asset_library_ref
Traceback (most recent call last):
File "/usr/share/blender/4.0/scripts/modules/addon_utils.py", line 364, in enable
mod = importlib.import_module(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/share/blender/4.0/scripts/addons/archimesh/__init__.py", line 52, in <module>
from . import achm_main_panel
File "/usr/share/blender/4.0/scripts/addons/archimesh/achm_main_panel.py", line 14, in <module>
from .achm_gltools import *
File "/usr/share/blender/4.0/scripts/addons/archimesh/achm_gltools.py", line 22, in <module>
shader = gpu.shader.from_builtin('2D_UNIFORM_COLOR') if not bpy.app.background else None
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: expected a string in ('FLAT_COLOR', 'IMAGE', 'IMAGE_COLOR', 'SMOOTH_COLOR', 'UNIFORM_COLOR', 'POLYLINE_FLAT_COLOR', 'POLYLINE_SMOOTH_COLOR', 'POLYLINE_UNIFORM_COLOR'), got '2D_UNIFORM_COLOR'
Traceback (most recent call last):
File "/usr/share/blender/4.0/scripts/modules/addon_utils.py", line 364, in enable
mod = importlib.import_module(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/share/blender/4.0/scripts/addons/archimesh/__init__.py", line 52, in <module>
from . import achm_main_panel
File "/usr/share/blender/4.0/scripts/addons/archimesh/achm_main_panel.py", line 14, in <module>
from .achm_gltools import *
File "/usr/share/blender/4.0/scripts/addons/archimesh/achm_gltools.py", line 22, in <module>
shader = gpu.shader.from_builtin('2D_UNIFORM_COLOR') if not bpy.app.background else None
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: expected a string in ('FLAT_COLOR', 'IMAGE', 'IMAGE_COLOR', 'SMOOTH_COLOR', 'UNIFORM_COLOR', 'POLYLINE_FLAT_COLOR', 'POLYLINE_SMOOTH_COLOR', 'POLYLINE_UNIFORM_COLOR'), got '2D_UNIFORM_COLOR'
Exception in module register(): /usr/share/blender/4.0/scripts/addons/io_scene_gltf2/__init__.py
Traceback (most recent call last):
File "/usr/share/blender/4.0/scripts/modules/addon_utils.py", line 401, in enable
mod.register()
File "/usr/share/blender/4.0/scripts/addons/io_scene_gltf2/__init__.py", line 1661, in register
blender_ui.register()
File "/usr/share/blender/4.0/scripts/addons/io_scene_gltf2/blender/com/gltf2_blender_ui.py", line 520, in register
bpy.utils.register_class(NODE_OT_GLTF_SETTINGS)
ValueError: register_class(...): already registered as a subclass 'NODE_OT_GLTF_SETTINGS'
Exception in module register(): /usr/share/blender/4.0/scripts/addons/pose_library/__init__.py
Traceback (most recent call last):
File "/usr/share/blender/4.0/scripts/modules/addon_utils.py", line 401, in enable
mod.register()
File "/usr/share/blender/4.0/scripts/addons/pose_library/__init__.py", line 40, in register
operators.register()
File "/usr/share/blender/4.0/scripts/modules/bpy/utils/__init__.py", line 776, in register
register_class(cls)
ValueError: register_class(...): already registered as a subclass 'ASSET_OT_assign_action'
LC_ALL=C pacman -Ss libdecor ✔ 46s
extra/libdecor 0.2.0-1 [installed]
Client-side decorations library for Wayland clients
multilib/lib32-libdecor 0.2.0-1 [installed]
Client-side decorations library for Wayland clients
To see if there is anything obvious that’s not in the .desktop
files. But I can’t see anything, but I’m far from an expert, though. Perhaps someone else can see something.
When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:
```
pasted text
```
Or three (3) tilde signs, like this:
~~~
pasted text
~~~
This will just cause it to be rendered like this:
Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.
Instead of like this:
Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.
Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.
Thereby increasing legibility thus making it easier for those trying to provide assistance.
For more information, please see:
Additionally
If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C
. For example:
LC_ALL=C bluetoothctl
This will just cause the terminal output to be in English, making it easier to understand and debug.
Fixed my messages.
Also made a bug report as i’ve found out that some Fedora users are also facing the same issue.
I think that’s the best, if not the only thing to do…