Device initalization failed according to the Xorg logs;
- Dump your firmware version
- Dump your kernel version
- Dump your kernel logs (
dmesg
orjournalctl -k
)
Device initalization failed according to the Xorg logs;
dmesg
or journalctl -k
)Running:
swaymsg for_window "[app_id=mpv] opacity 0.5"
Works as expected on my end, are you missing just executing for_window
?
Note, you can also add multiple rules in the same execution, e.g.
for_window {
[app_id=mpv] opacity 0.85
[app_id=LibreWolf] opacity 0.85
}
Also, note that app_id
of LibreWolf is capitalized in that manner.
You can get that information [app_id, shell etc] by running swaymsg -t get_tree
Nice, then you should be able to run vkcube
to verify whether your GPU is activated properly.
You can do several “iterations” here as well.
mangohud vkcube-wayland
- Does it use your Nvidia GPU?mangohud vkcube
- Does it use your Nvidia GPU?If Step 2 nor 3 shows your Nvidia GPU you can try and force it with:
mangohud vkcube-wayland --gpu_number 0
Start with the basics, do you see your Nvidia GPU pop up when using vulkaninfo --summary
?
If it doesn’t pop up, verify that you have the correct vulkan ICD files in:
ls /usr/share/vulkan/icd.d/
There you should have nvidia_icd.json, nvidia_layers.json
.
If that’s missing, you’re missing the nvidia-utils part of the driver.
If they are there, but it still don’t show in your vulkaninfo sumary, you could try to load the nvidia driver manually; modprobe nvidia
, also check the kernel logs journalctl -k
or dmesg
and search for nvidia
to see whether the driver got loaded correctly?
Additionally you can try and force use
amdgpu
rather than radeon, by setting the kernel flags:radeon.cik_support=0 radeon.si_support=0 amdgpu.cik_support=1 amdgpu.si_support=1 amdgpu.dc=1
Source