FanControl.Releases icon indicating copy to clipboard operation
FanControl.Releases copied to clipboard

Linux Version? :pray:

Open vexersa opened this issue 2 years ago • 52 comments

I would love to know if there are any plans to make a Linux compatible version of FanControl?

vexersa avatar Mar 15 '22 05:03 vexersa

Nop, it's an old shcool .NET 4.7 app.

Rem0o avatar Mar 15 '22 14:03 Rem0o

Arg but it's so good.

On Tue, 15 Mar 2022 at 16:21, Rem0o @.***> wrote:

Nop, it's an old shcool .NET 4.7 app.

— Reply to this email directly, view it on GitHub https://github.com/Rem0o/FanControl.Releases/issues/535#issuecomment-1068044485, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB47W45L3ICB3CF6AUT6RLLVACMGBANCNFSM5QXR67KQ . You are receiving this because you authored the thread.Message ID: @.***>

vexersa avatar Mar 15 '22 15:03 vexersa

Sorry. If I ever modernize its stack there would be a possibility for Linux, but that would be a huge task still.

Rem0o avatar Mar 16 '22 12:03 Rem0o

Just throwing it out there that I +1 a Linux version.

MostHated avatar Apr 23 '22 01:04 MostHated

would love to see a linux version, too. it would be really awesome this project to become the platform-independent "OpenRGB" for just for fans.

zeus86 avatar Apr 23 '22 01:04 zeus86

+1 for Linux please.

8836290 avatar Apr 23 '22 07:04 8836290

+1 for Linux !!

DradeAW avatar Apr 23 '22 08:04 DradeAW

+1 for Linux

ghost avatar Apr 23 '22 09:04 ghost

I would pay $ for you to get a linux version if that would help... maybe other linux folks would also? Being a programmer myself, I could help with the UI ... not familiar with the hardware stuff at all though

dongryphon avatar Apr 23 '22 17:04 dongryphon

I would also be willing to contribute financially to this app if it would help create a potential Linux version

vhouriet avatar Apr 23 '22 18:04 vhouriet

+1 for Linux

Ryder17z avatar Apr 24 '22 12:04 Ryder17z

What backend could be used on Linux?

Does https://github.com/LibreHardwareMonitor/LibreHardwareMonitor picks up fan controls ?

Rem0o avatar Apr 24 '22 15:04 Rem0o

What backend could be used on Linux?

pretty sure best bet would be lm-sensors, which already does most of the heavy lifting...

zeus86 avatar Apr 24 '22 16:04 zeus86

One thing that bothers me is .NET 6. I like 4.7/4.8 apps because that framework is built-in into windows and people don't have to download it and install it. Whereas .NET Core++ apps either you bundle the whole damn framework with your app, for a whopping 100+ mb app, or you require the user to download the framework. Both options are awful imo.

Rem0o avatar Apr 24 '22 18:04 Rem0o

One thing that bothers me is .NET 6. I like 4.7/4.8 apps because that framework is built-in into windows and people don't have to download it and install it. Whereas .NET Core++ apps either you bundle the whole damn framework with your app, for a whopping 100+ mb app, or you require the user to download the framework. Both options are awful imo.

Maybe it's just me, but I would gladly accept a 100mb app size if it meant I finally got a much-needed and sought-after tool. I would also venture a guess that many folks who are using Linux and want/need a tool like this would have absolutely no issue installing .Net in order to have it, or already have it installed.

MostHated avatar Apr 24 '22 19:04 MostHated

A Linux version, please!

mtabbakh avatar Apr 24 '22 20:04 mtabbakh

I would definitely be keen to financially contribute to a project like this if a linux version was created!

nick987 avatar Apr 25 '22 02:04 nick987

A Linux GUI version built on top of lm-sensors would be awesome

mail2onur avatar Apr 25 '22 06:04 mail2onur

there is a fancontrol package for accessing the fans but I have not had tons of success configuring it ... hence my interest :) I would imagine one could make a daemon process that the GUI talks to so the policies it defines could be enforced w/o the (large) GUI running. Not sure if you are thinking to port the .NET app or move it to a new stack so just throwing ideas out there

dongryphon avatar Apr 25 '22 13:04 dongryphon

+1 would definitely be willing to contribute code /test to help work towards a Linux version. Current solutions available on Linux are so much more limited and clunky compared to what you have here.

scchow avatar Apr 26 '22 05:04 scchow

Since I guess lm-sensors is a process, how would it look if we query it for let say 30 sensors every second? Will each call spawn a new process?

Rem0o avatar Apr 26 '22 12:04 Rem0o

The README for lm-sensors https://github.com/lm-sensors/lm-sensors mentions the libsensors library for writing more intricate programs

dongryphon avatar Apr 26 '22 12:04 dongryphon

Donated for potential linux support. Hope that helps!

Inshal240 avatar Apr 26 '22 22:04 Inshal240

@Rem0o Hey! Wanna work together trying to see if it works with Mono framework on linux? I guess that by the recent exposure from Jayz you might get a considerable amount of requests, and I'm sure a lot of us can help :)

foursixnine avatar Apr 27 '22 10:04 foursixnine

I came here from JayZ only to find out it doesn't support linux... I really hope there will be a linux version in the future

Dark3clipse avatar May 10 '22 21:05 Dark3clipse

@SophiaHadash It would be basically a completely different software. Software that plays with hardware like that is really OS specific. I ain't a linux user myself, so not much incentive to work on such a new project.

Rem0o avatar May 10 '22 21:05 Rem0o

Hey @Rem0o See my comment above, perhaps there's something that can be done? (Specially that LibreHardwareMonitor seems to work on Linux with mono too... but I'm not sure how your software works in windows :)

cc @scherenhaenden

foursixnine avatar May 10 '22 21:05 foursixnine

Did some preliminary testing for fun:

  1. LHM does have a basic lm-sensors readout, but no fan control. However, with a bit of code, managed to get manual fan control for all detected PWM in ubuntu. Surprisingly easy to do so. Must be root user though.
  2. FanControl is a WPF app, and WPF works in dotnet 6, but on windows only. Which means, would have to create a whole new UI project with an other UI tech stack. That's a whole new project by itself. Also, AFAIK, there is no mature dotnet GUI framework on Linux right now worth investing time in.

TLDR: FanControl isn't directly portable to Linux. Most of the logic could, but the app structure, UI and everything else would need to be started over from scratch.

Rem0o avatar Jun 01 '22 20:06 Rem0o

TLDR: FanControl isn't directly portable to Linux. Most of the logic could, but the app structure, UI and everything else would need to be started over from scratch.

Yes. I wished that you would have created Fancontrol on a cross platform toolkit when i first saw the application. That was the first thing came to my mind when i saw how greatly useful the application

mail2onur avatar Jun 02 '22 06:06 mail2onur

  1. LHM does have a basic lm-sensors readout, but no fan control. However, with a bit of code, managed to get manual fan control for all detected PWM in ubuntu. Surprisingly easy to do so. Must be root user though.
  2. FanControl is a WPF app, and WPF works in dotnet 6, but on windows only. Which means, would have to create a whole new UI project with an other UI tech stack. That's a whole new project by itself. Also, AFAIK, there is no mature dotnet GUI framework on Linux right now worth investing time in.

TLDR: FanControl isn't directly portable to Linux. Most of the logic could, but the app structure, UI and everything else would need to be started over from scratch.

I have to admit, I would quite like to see a version of this that runs as a service in the background on windows and linux, with a config/monitor UI separate. The UI could either be WPF on windows, or perhaps rewritten as blazor so it could be web or app based. I think that would make this already excellent tool just that little bit better. It would also make it (more) suitable for headless devices, servers and such too, which would also be great!

CZEMacLeod avatar Jun 29 '22 10:06 CZEMacLeod