Closed blind-confused closed 6 months ago
Maybe a dumb question, but did you clone the repo and cd in fan-control?
Maybe a dumb question, but did you clone the repo and cd in fan-control?
well... no, I guess I didn't. I listed all the steps that I took here (at least the ones I could recall) tbh I'm still new to linux in general, and I don't really have experience of installing non-repo apps, so... I make very silly mistakes like this speaking of... would it be okay to ask you to write down the exact commands I need? :,) (I'm sorry)
No worries, we all been there. I updated the doc to make it even clear for beginners: https://github.com/wiiznokes/fan-control/blob/main/BUILD.md
Notice you will need to run in sudo to be able to modify the value of PWM sensor (fans).
So sudo ./target/release/fan-control
.
After building the app obviously (cargo run --release or cargo build --release)
thank you, I'll try it soon and probably close this issue meanwhile... do you have any advice in general, on how to be safe with controlling the fans? I use a laptop, and I was going to use this app primarily to either slow them down, put a limit to their speed, or silence them altogether, because sometimes I get tired of the fan sounds. but I also feel a bit concerned that I might lead my computer to overheating by doing this... the only thing I know is that anything above 70°C should be concerning. But I was wondering if there is any other advice I also wonder if there are separate temperatures for different sections of the laptop, or just one overall temperature that needs to be worried about
Well, they can be one item per sensor, so you can create different behavior based on a specific sensor(CPU for example). If you don't want to go above 70°C, you could use the target behavior. Or the linear. Personnaly, I'm only using this app to game and put all my fan at full speed
hmm... it just finished building, auto-launched and...
Finished release [optimized] target(s) in 24m 39s
Running `target/release/fan-control`
[WARN wgpu_hal::vulkan::instance] Unable to find extension: VK_KHR_surface
[WARN wgpu_hal::vulkan::instance] Unable to find extension: VK_KHR_xlib_surface
[WARN wgpu_hal::vulkan::instance] Unable to find extension: VK_KHR_xcb_surface
[WARN wgpu_hal::vulkan::instance] Unable to find extension: VK_KHR_wayland_surface
[WARN wgpu_hal::vulkan::instance] Unable to find extension: VK_EXT_swapchain_colorspace
[WARN wgpu_hal::vulkan::instance] Unable to find extension: VK_KHR_get_physical_device_properties2
[WARN wgpu_hal::gles::egl] Re-initializing Gles context due to Wayland window
... and after this, it keeps repeating [WARN ui] An update is already processing: skipping that one.
a lot of times
it also looks like this, for some reason.
Hum, from what I see you have no pwm sensor detected. The only solution is to run sensor-detect and answer yes every time, but i think you already did that so probably you're fan can't be controlled (it's frequent on laptop).
For the icons being black, maybe it's a bug with vulkan, you could try to set ICED_BACKEND=tiny-skia
before running.
As for the error message, this is weird, it should never happened on Linux. Maybe retry with sudo
run sensor-detect and answer yes every time, but i think you already did that
I did it a few days ago, and have shut down my laptop a lot of times since then, as well as reinstalled rust, just, make, clang, flex, bison. Does it need to be done again?
probably you're fan can't be controlled (it's frequent on laptop).
got it, I guess I will cry :,,
Maybe retry with sudo
well... sudo: ./target/release/fan-control: command not found
well... sudo: ./target/release/fan-control: command not found
You must be in the fan-control folder for this.
got it, I guess I will cry :,
Yeah this is sad, but maybe is could be improve, will see
You must be in the fan-control folder for this.
you mean cd fan-control
?
just tried that, it says error: XDG_RUNTIME_DIR is invalid or not set in the environment.
. It does launch the app though, with the same black squares. But without endlessly repeating errors in the terminal
Yeah this is sad, but maybe is could be improve, will see
well, even if not, I still appreciate your help
Closing because the icons now should work with flatpak
for some reason, it didn't work... I ran the following commands:
and saved the output, then installed rust using the official website instructions (which means using the following command):
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
then I ran:but when I ran
just libsensors
, it just saiderror: No justfile found
same thing happened after I tried uninstalling just and rust, and then reinstalling them, but from arch repositories. Honestly not sure what's wrong...