Steam for Linux

Steam for Linux

Xaks32 15 Thg03, 2015 @ 11:26am
GPU Fan control - FIXED/SOLVED
How to control GPU Fan in Linux, i used to have MSI Afterburner on Windows to be able to control my Nvidia GPU Fan because of overheating in gaming.

I've been lurking for a while on the internet, and didn't got much help. Does anyone knows a application on linux for this?

------------------------------------------------------
EDIT: The problem happens because there are only Open-Source Drivers for Nvidia GPUs under systems like Unbuntu, so the solution was to move to Arch-Linux and use the available proprietary drivers.

You could install proprietary drivers on Unbuntu, but it requires updating the System to use an actual Nvidia Kernel, which in turn doesn't support all GPUs available, +Plus you need to manually compile the Kernel, yadda yadda... too complex just move to archlinux.

I'm not sure if they made any of this easier on unbuntu system, some linux OSes don't support proprietary drivers and there's the issue. These systems are not Nvidia/Intel Friendly. Either just move away from those type of OSes OR start using AMD GPUs & CPUs if you're really that obsessed with free open-source software.

-----------------------------
The Solution:
Moving to archlinux, the solution was simple as adding this to the /X11/etc/conf.xorg file:

Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GTS 450 EVGA" Option "NoLogo" "True" Option "Coolbits" "4" EndSection

If you need overclock/downclock settings just set Coolbits to 28.
Source.: https://wiki.archlinux.org/index.php/NVIDIA/Tips_and_tricks#Coolbits

After that, you might want to create an auto-script that will boot with your Desktop Environment of choice to turn up the fan to 100%. I'm not really going step-by-step on this because each DE has it's own boot/startup settings and each of them are different, but calling nvidia-settings from the terminal and setting it manually should suffice.

If summoning nvidia-settings from the terminal doesn't work, go back and read everything again until it works.
Lần sửa cuối bởi Xaks32; 6 Thg08, 2020 @ 1:35am
< >
Đang hiển thị 16-30 trong 68 bình luận
You can manually control fan speed with nvidia 337 or newer drivers, I found that when I web searched "linux nvidia overclock". The xorg-edgers ppa has nvidia-340 or nvidia-346 packages. Purging existing drivers (assuming you used Ubuntu packages and not a script from nvidia.com) is most easily done by doing a recovery boot from grub, enabling networking, and going to root console (if you do not know how to properly stop/start X). Normally you would use "sudo " prefix for these commands, but not needed in root console:

apt-get purge nvidia*
add-apt-repository ppa:xorg-edgers/ppa
apt-get update
apt-get install nvidia-346
nvidia-xconfig --cool-bits=12

Then you will have manual fan control option (and gpu & mem speed offsets) in NVIDIA X Server Settings. But if you "Enable GPU Fan Settings" with the checkbox it is manual only for whatever speed you set and will not automatically speed up.

I used that to play around with overclocking my GTX 750 Ti, but the new Maxwell chip is so efficient that max temp doing graphic benchmarks with max overclock is only about 53-54 C with twin fans automatically only speeding up a few percent from their 32% base speed.

I just use nvidia-331-updates from normal repos for my MSI laptop with GTX 765m because I would not overclock that if I could and it has a turbo mode button if I want to run its fans full speed.
Toquita 16 Thg03, 2015 @ 3:21pm 
Open your "/etc/X11/xorg.conf.d/20-nvidia-something" and paste the following, on the DEVICE section:

Option "Coolbits" "4"

This enables manual configuration of GPU fan speed on the Thermal Monitor page in nvidia-settings.

Then restart your X, or the OS itself.

https://wiki.archlinux.org/index.php/NVIDIA

If you want to set the fan speed at login: https://wiki.archlinux.org/index.php/NVIDIA#Set_fan_speed_at_login
Lần sửa cuối bởi Toquita; 16 Thg03, 2015 @ 3:22pm
Xaks32 18 Thg03, 2015 @ 9:54am 
Nguyên văn bởi Letalis Sonus:
Nguyên văn bởi Xakurinha:
and /etc/X11/xorg.conf isn't there in ubuntu 14.04
You could just, y'know, create it... it's not like this file is optional or something.

but xorg file i's not located in /etc/X11/ directory as stated by you, rather than that it's located on /usr/bin/X11

Nguyên văn bởi MTSnacks:
Nguyên văn bởi Xakurinha:


Like I had previously stated, you clearly know nothing you're talking about.


Yet you came to us for technical support. Your idiocy and abrasive nature has gotten you flamed and you entirely deserve it. Do the people of the Steam for Linux forums a favor and stop posting.

Yes, this post clearly asks for techinical support. If you have none to offer, then 'shoo' go away bird. You don't have any right or power to tell people what to do here when this topic was actually created by me. If you don't have any help to offer, and is willing to continue with this ♥♥♥♥♥♥♥♥, then I might just report you. But I won't actually do that, ya' know why? because Im probably going to have much more fun reading all your idiocy, than I could actually enjoy watch you getting banned from the foruns.

Have a nice day! And thanks for no help. :)
Zyro 18 Thg03, 2015 @ 10:04am 
Nguyên văn bởi Xakurinha:
but xorg file i's not located in /etc/X11/ directory as stated by you, rather than that it's located on /usr/bin/X11

man xorg.conf

http://manpages.ubuntu.com/manpages/saucy/man5/xorg.conf.5.html
Lần sửa cuối bởi Zyro; 18 Thg03, 2015 @ 10:04am
Xaks32 18 Thg03, 2015 @ 10:53am 
Thanks
Sakata 21 Thg06, 2015 @ 6:04pm 
Apparently many of you know ♥♥♥♥ about how hardware works. The VGA Bios, while it will set the fans to start with, generally have poor default configurations or set fan speeds low, even with some of the best cards out there. Manufacturers don't want your hardware lasting forever anyways. Next up is that they tend to save some cash by not including a lot of programming space (and therefore programming in the space), and rely on the drivers to do a lot of things -- one of them being fan speed adjustments. This is why there have been several drivers that have been pushed to fix fan issues where the driver sets the fans too low, or never/inadequately ramps up the fan speeds in response to temperature.

What the person was asking is a valid question, and should have been answered without the asshattery that is being exhibited by several of you.

While this isn't yet working for me in linux, you have a few options if the linux driver supports your card properly (which is a long shot -- I have 5 graphics cards of various chipset/manufacturer and the only one that works is the crappiest one on both counts).

I'd recommend using something like this (assuming debian based distro)
make a script that launches the game or app you want to use, and add the commands below to the script to ramp speeds up before launching and then set to reasonable non-case=VTOL settings after the program/game exits.

There is a way to do it from nvidia-settings if you have the proprietary drivers installed:
nvidia-settings -a [fan:0]/GPUCurrentFanSpeed=XX where XX=speed

if that doesn't work could try:
apt-get install nvclock
nvclock -f -F XX where XX is the desired fan speed.

Unfortunately for me, the linux drivers aren't built correctly to detect that my GPU fan speeds are controllable and disallows setting the speeds. With windows it works, but my games in windows run like ass compared to linux oddly enough :D
Lần sửa cuối bởi Sakata; 21 Thg06, 2015 @ 6:11pm
Sakata 21 Thg06, 2015 @ 6:13pm 
BTW, if anyone figures out how to FORCE the fan speed setting despite driver limitations, I'm all ears. Have a few games that I have to run in windows due to the fan not getting pushed up even 1% despite the GPU temp being well over 50C
It depends what card you have, what it considers a safe temperature, and quality of the mfr of the card. I used to see people on the Ubuntu forum all concerned because their card was going over 50C. But the fan in my EVGA GTX 550 Ti with 3 year warranty and never any problems did not even begin to speed up its fan until it got up to about 63C which was the boarderline between the green zone and yellow zone and I don't think I ever saw it go over about 64-65C.

I now have an MSI Twin Frozr Gaming GTX 750 TI OC that uses half the power (60w vs. 116w) and if I bump the factory OC up another +220 MHz it peaks at 60C at 25C room temperature, so it is impossible to overheat that.

Of course if you case has insufficient cooling or a gpu fan fails...
Lần sửa cuối bởi Long Ago [Linux]; 21 Thg06, 2015 @ 9:00pm
R3450N 22 Thg06, 2015 @ 2:59pm 
I don't think you should try to manually control the fan in order to gain an optimal experience with it. You should consider reevaluating the environment you're in while gaming so you know what's best suited. Alternatively, using a compressed air can to clean your fan is a much quicker alternative than having to code something/use software for the same experience. Be a pragmatic!
SlimJongUn 22 Thg06, 2015 @ 4:36pm 
Im sam
Xaks32 22 Thg06, 2015 @ 8:38pm 
Nguyên văn bởi R3450N:
I don't think you should try to manually control the fan in order to gain an optimal experience with it. You should consider reevaluating the environment you're in while gaming so you know what's best suited. Alternatively, using a compressed air can to clean your fan is a much quicker alternative than having to code something/use software for the same experience. Be a pragmatic!

What are you yabbling about? In my case, the gpu's fans don't work in automatic mode, i HAVE to turn them on manually or else it will overheat and crash with all games.

Nguyên văn bởi Sakata:
Apparently many of you know ♥♥♥♥ about how hardware works. The VGA Bios, while it will set the fans to start with, generally have poor default configurations or set fan speeds low...

Im not sure how much you know about hardware and software, but there is no such option in the CMOS here for GPU Fan Speed Configuration; the linux commands for the nvidia drivers didn't work for me neither, it says i don't have authorization to change fan speed, even though im logged in as root administrator at both the system and the terminal.

It's a shame that there is not a single piece of software that actually allows users to do that in linux. But then again I tried that solution when I had Ubuntu 12.04, gotta try it again in Unbuntu 14.0 LTS
Zyro 22 Thg06, 2015 @ 10:10pm 
Nguyên văn bởi Xakurinha:
Nguyên văn bởi R3450N:
I don't think you should try to manually control the fan in order to gain an optimal experience with it. You should consider reevaluating the environment you're in while gaming so you know what's best suited. Alternatively, using a compressed air can to clean your fan is a much quicker alternative than having to code something/use software for the same experience. Be a pragmatic!

What are you yabbling about? In my case, the gpu's fans don't work in automatic mode, i HAVE to turn them on manually or else it will overheat and crash with all games.

What do you mean by "not work"?
They do not turn at all or GPU overheats anyway?
Xaks32 22 Thg06, 2015 @ 11:38pm 
Nguyên văn bởi Zyro:
Nguyên văn bởi Xakurinha:

What are you yabbling about? In my case, the gpu's fans don't work in automatic mode, i HAVE to turn them on manually or else it will overheat and crash with all games.

What do you mean by "not work"?
They do not turn at all or GPU overheats anyway?

Here:
https://forums.geforce.com/default/topic/416192/geforce-drivers/automatic-fan-speed/

And Here:
https://devtalk.nvidia.com/default/topic/407256/cuda-programming-and-performance/temperature-and-fan-control-/

This is a very common issue. You just probably never had it, and so were unaware of it, until now that is :) I can easily fix this on windows, since there are lots of software for controlling GPU's Fan manually. But I didn't had the same luck in linux. But then again, that was Unbuntu 12.0, now I have Unbuntu 14.0, so things might be a bit different now.
Lần sửa cuối bởi Xaks32; 22 Thg06, 2015 @ 11:44pm
Xaks32 22 Thg06, 2015 @ 11:47pm 
Nguyên văn bởi Sakata:
BTW, if anyone figures out how to FORCE the fan speed setting despite driver limitations, I'm all ears. Have a few games that I have to run in windows due to the fan not getting pushed up even 1% despite the GPU temp being well over 50C

Me too. GPU's Fan Auto Control simply doesn't work for me, neither on windows nor linux. Though I was able to fix it on windows, like I said before... but I wasn't able to fix it on any linux I know of, and I wasn't able to find a proper solution neither.
Lần sửa cuối bởi Xaks32; 22 Thg06, 2015 @ 11:50pm
Zyro 22 Thg06, 2015 @ 11:53pm 
Nguyên văn bởi Xakurinha:
This is a very common issue. You just probably never had it, and so were unaware of it, until now that is :)

That's true. I suspected your fan isn't able to cool down the GPU altough it is turning to the max.
I don't have the problem.
In fact, in JULIA-Among the Stars, I got the opposite. Frame rate is not llimited, so I get 4000 fps and a fully (and loudly) turning GPU fan.
< >
Đang hiển thị 16-30 trong 68 bình luận
Mỗi trang: 1530 50

Ngày đăng: 15 Thg03, 2015 @ 11:26am
Bài viết: 68