You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MangoHud/src/loaders
Tianhao Chai 29058a09bb nvctrl: call XDefaultScreen for screen id (#1152)
Calling nvctrl XNVCTRLIsNvScreen with X display ID used for screen id is
a programmer error. For most common use cases, Gnome on X11 may launch
user sessions on X display ":1" but still uses screen 0. Current code
will always fail to find a correct display in this case, as both
`IsNvScreen(":0", 0)` and `IsNvScreen(":1", 1)` returns false.

Call XDefaultScreen with `struct Display *` to obtain the correct screen
id, then use this id for `IsNvScreen()`.
8 months ago
..
loader_dbus.cpp Use spdlog macros so logging can be completely disabled during compile-time 3 years ago
loader_dbus.h Make DBus signal handling more event-based 4 years ago
loader_glx.cpp Use spdlog macros so logging can be completely disabled during compile-time 3 years ago
loader_glx.h [OpenGL] Just "refcount" by glXCreate/DestroyContext calls; recreate "lost" objects 4 years ago
loader_nvctrl.cpp Attempt to query number of coolers before fan_speed. Inspiration: https://github.com/NVIDIA/nvidia-settings/blob/main/samples/nv-control-targets.c 8 months ago
loader_nvctrl.h Attempt to query number of coolers before fan_speed. Inspiration: https://github.com/NVIDIA/nvidia-settings/blob/main/samples/nv-control-targets.c 8 months ago
loader_nvml.cpp Nvidia: nvml: fan speed in percent 8 months ago
loader_nvml.h Nvidia: nvml: fan speed in percent 8 months ago
loader_x11.cpp nvctrl: call XDefaultScreen for screen id (#1152) 8 months ago
loader_x11.h nvctrl: call XDefaultScreen for screen id (#1152) 8 months ago