Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not seeing any gpu section or info #355

Open
Iss-in opened this issue Apr 22, 2023 · 1 comment
Open

not seeing any gpu section or info #355

Iss-in opened this issue Apr 22, 2023 · 1 comment

Comments

@Iss-in
Copy link

Iss-in commented Apr 22, 2023

As i see in discussion and commits, the support for gpu has been added, but ive not been seeing anything in the UI related to gpu
image

i can see gpu related info in logs as well, not sure what the problem is
https://gist.github.com/Iss-in/52184b5d8b1237f528770d0abe06d515

Gpu: 6700xt
Arch/sway
tried package from AUR and built from source as well, same behaviour

@stsdc stsdc added the bug label Apr 22, 2023
@stsdc
Copy link
Owner

stsdc commented Apr 22, 2023

So, Monitor gets GPU name from SessionManager:

public SessionManager? get_sessman () {
try {
SessionManager session_manager = Bus.get_proxy_sync (
BusType.SESSION,
"org.gnome.SessionManager",
"/org/gnome/SessionManager"
);
debug ("GPU: %s", session_manager.renderer);
return session_manager;
} catch (IOError e) {
warning (e.message);
return null;
}
}

And logs say that there is no Gnome Session, obviously, because Sway is used. I'm not familiar with Sway, also never used Wayland. I'm happy to add support, but I'm not sure how to approach this. Does Sway/i3 provide similar SessionManager ?

(com.github.stsdc.monitor:501126): Gtk-DEBUG: 11:01:42.355: Connecting to session manager
(com.github.stsdc.monitor:501126): Gtk-DEBUG: 11:01:42.356: Failed to get the GNOME session proxy: The name org.gnome.SessionManager is not owned
(com.github.stsdc.monitor:501126): Gtk-DEBUG: 11:01:42.356: Failed to get the Xfce session proxy: The name org.xfce.SessionManager is not owned
*

@stsdc stsdc removed the bug label Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants