You are not logged in.
I think I am going down a bit of a rabbit hole on this one. Understand from Arch wiki that Sway does not support Nvidia drivers [only nouveau] which for me is not a problem as I have an AMD Graphics card.
Been reading and trying stuff online to see if I can get my GPu to render under Sway, but so far I am unclear as if Sway is using card or not.
Have tried Weston, glxinfo etc.. have added a few export lines to .bashrc [as below]
# For GPU stuff
export WLR_RENDERER=vulkan
export LIBGL_ALWAYS_SOFTWARE=0
Am assuming Sway is using wlroots..
My question is can Sway use Gpu or am I wasting my time trying to get it too work?
Mr Green
Offline
Have tried [...] glxinfo
What did that say? How about `eglinfo` or `vulkaninfo`? Those commands will show if your card is being used.
EDIT: don't use ~/.bashrc to export variables, they will only be applied to the shell; use /etc/environment instead.
Last edited by Head_on_a_Stick (2024-12-07 11:44:56)
Para todos todo, para nosotros nada
Offline
Ok will move exports... And I will wade through vulkaninfo output...
Thanks
Mr Green
Offline
No need to wade through anything, just run the command and if it exits with a zero status (ie, without an error message) then sway is using your card for Vulkan applications. The eglinfo command will show if OpenGL is working under Wayland in the same way.
Para todos todo, para nosotros nada
Offline