LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-26-2020, 08:03 PM   #1
Arct1c_f0x
Member
 
Registered: Feb 2020
Posts: 123

Rep: Reputation: 24
GPU fans not spinning, and how to run GPU stress test


Nothing is wrong with my AMD Gigabyte GPU but I noticed that it's fans are not spinning (three fan GPU) although they do start spinning when I power on my tower. I pretty certain that this is because the GPU is in a special mode where the fans don't start spinning until the GPU reaches a certain temp.

Is there any way to make the fans run automatically when the desktop is on? Or would I not want to do that?



2nd question.
What's the best way in your opinion to run a diagnostic GPU stress test? I just want to know how for my own personal edification (There's nothing wrong with my brand new GPU)


Thanks in advance!
 
Old 07-26-2020, 08:26 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
It sounds like you’re saying the fans don’t spin when the power is off...???

I would expect the fans to only run when they’re needed.
Gotta say: “If it ain’t broke, don’t fix it.”
 
Old 07-26-2020, 08:56 PM   #3
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 998

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Since you have a new GPU, check the kernel messages to make sure that the kernel recognizes it and loads the firmware. Then, check Xorg.0.log to make sure that X recognizes the GPU and enables acceleration.

For a stress test, run multiple glblurs in parallel. Make the windows large.

Code:
for ((n=0; n<8; n++)); do /usr/libexec/xscreensaver/glblur -fps & done
Three glblurs can max out my six-year-old GPU at 4K.
Ed
 
1 members found this post helpful.
Old 07-27-2020, 06:32 AM   #4
Arct1c_f0x
Member
 
Registered: Feb 2020
Posts: 123

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by scasey View Post
It sounds like you’re saying the fans don’t spin when the power is off...???

I would expect the fans to only run when they’re needed.
Gotta say: “If it ain’t broke, don’t fix it.”
Sorry for the confusion. At first when I turn my tower on the fans power on, but then immediately after that anything I do and they don't spin.
 
Old 07-27-2020, 06:43 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Stress test the GPU - play some games?
IF they use the GPU at all. 'glxinfo' can tell you if that's possible.

Possibly also 'sensors'detect' and 'sensors'.
Read all these commands' man pages before asking about their usage.
 
Old 07-27-2020, 10:32 AM   #6
verndog
Member
 
Registered: Oct 2007
Posts: 278

Rep: Reputation: 67
There's a tool called 'stress'. From debian based, just
Code:
sudo apt install stress
. Then run something like this
Quote:
stress -c 1 -t 10
from command line.

Last edited by verndog; 07-27-2020 at 10:34 AM.
 
1 members found this post helpful.
Old 07-27-2020, 02:06 PM   #7
obobskivich
Member
 
Registered: Jun 2020
Posts: 596

Rep: Reputation: Disabled
Quote:
Originally Posted by Arct1c_f0x View Post
Sorry for the confusion. At first when I turn my tower on the fans power on, but then immediately after that anything I do and they don't spin.
This is normal/designed behavior on newer GPUs (going back at least a few years now - for example my GeForce 1080 does this, and is 2-3 years old, but my Radeon 290X does not, and is a year or two older than that) - you are exactly right, the fan is set to be 'off' unless the GPU hits a pre-defined temperature (usually 40-50* C). Nothing is wrong with operating this way, and this behavior is provided by the card's firmware. It is possible to override this either by A) connecting the fans directly to the computer's power supply (and they will just run all the time, at maximum speed) or B) software. On linux I'm not sure exactly what that software package is, but on Windows you would use something like Afterburner (which is based on Rivatuner) to set a manual fan-curve - this would only apply AFTER the system had booted up and the software was running (in other words, the software is over-riding the card's firmware behavior, not changing it). In general, I would just accept the default behavior, because it is set with sane values - the GPU is not in danger at lower temperatures, and the fans should be spinning up at higher temperatures (and with 3 separate fans, the odds that something is just 'blocking' the fan from spinning are low - if this was a single fan card I would tell you to check and make sure something isn't sticking the fan in place (e.g. like it sucked up a ziptie or something)).

A quick web search found this thread on another forum about 'Afterburner alternatives on linux' that you might find interesting/helpful: https://linustechtips.com/main/topic...tive-on-linux/

Finally, if you want to see the GPU's temperature and fan RPM, psensor (which is basically a nice GUI application to get the same info 'sensors' will provide, as ondoho suggests) should be able to do that for you. This way you can confirm the GPU is indeed under some temperature threshold (for example my newer GeForce card does this, and the fan stays off under 50* C, and only comes on to about 900 RPM under 60* C), and not actually overheating (on a modern GPU that would generally be >90* C).

For loading the GPU up, I agree with the other suggestions - run a 3D game or some other 3D application (like the screensaver suggestion from EdGr is a good one). A lot of 'GPU stress test' applications (like Furmark) are strongly counterindicated by nVidia/AMD as they can create a significant amount of heat for the GPU, which can lead to thermal stress on the board, and/or premature failure (not to mention how much power it wastes).
 
1 members found this post helpful.
Old 07-27-2020, 03:22 PM   #8
Arct1c_f0x
Member
 
Registered: Feb 2020
Posts: 123

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by EdGr View Post
Since you have a new GPU, check the kernel messages to make sure that the kernel recognizes it and loads the firmware. Then, check Xorg.0.log to make sure that X recognizes the GPU and enables acceleration.

For a stress test, run multiple glblurs in parallel. Make the windows large.

Code:
for ((n=0; n<8; n++)); do /usr/libexec/xscreensaver/glblur -fps & done
Three glblurs can max out my six-year-old GPU at 4K.
Ed
I'm still pretty new to this. Do you mean check the Kernel messages when the system first boots up? And what is the Xorg.0.log and how do I check it?


when I type the sensors command this is what shows up:

asus-isa-0000
Adapter: ISA adapter
cpu_fan: 0 RPM

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1: +28.0°C


On my other system when I type 'sensors' into a terminal is says amdgpu and then describes all this information about the GPU

Thanks Ed
 
Old 07-27-2020, 03:25 PM   #9
Arct1c_f0x
Member
 
Registered: Feb 2020
Posts: 123

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by obobskivich View Post
This is normal/designed behavior on newer GPUs (going back at least a few years now - for example my GeForce 1080 does this, and is 2-3 years old, but my Radeon 290X does not, and is a year or two older than that) - you are exactly right, the fan is set to be 'off' unless the GPU hits a pre-defined temperature (usually 40-50* C). Nothing is wrong with operating this way, and this behavior is provided by the card's firmware. It is possible to override this either by A) connecting the fans directly to the computer's power supply (and they will just run all the time, at maximum speed) or B) software. On linux I'm not sure exactly what that software package is, but on Windows you would use something like Afterburner (which is based on Rivatuner) to set a manual fan-curve - this would only apply AFTER the system had booted up and the software was running (in other words, the software is over-riding the card's firmware behavior, not changing it). In general, I would just accept the default behavior, because it is set with sane values - the GPU is not in danger at lower temperatures, and the fans should be spinning up at higher temperatures (and with 3 separate fans, the odds that something is just 'blocking' the fan from spinning are low - if this was a single fan card I would tell you to check and make sure something isn't sticking the fan in place (e.g. like it sucked up a ziptie or something)).

A quick web search found this thread on another forum about 'Afterburner alternatives on linux' that you might find interesting/helpful: https://linustechtips.com/main/topic...tive-on-linux/

Finally, if you want to see the GPU's temperature and fan RPM, psensor (which is basically a nice GUI application to get the same info 'sensors' will provide, as ondoho suggests) should be able to do that for you. This way you can confirm the GPU is indeed under some temperature threshold (for example my newer GeForce card does this, and the fan stays off under 50* C, and only comes on to about 900 RPM under 60* C), and not actually overheating (on a modern GPU that would generally be >90* C).

For loading the GPU up, I agree with the other suggestions - run a 3D game or some other 3D application (like the screensaver suggestion from EdGr is a good one). A lot of 'GPU stress test' applications (like Furmark) are strongly counterindicated by nVidia/AMD as they can create a significant amount of heat for the GPU, which can lead to thermal stress on the board, and/or premature failure (not to mention how much power it wastes).
Thanks a lot obobskivich! You made a lot of useful information plain and concise! I appreciate it and I gave you some rep
 
Old 07-27-2020, 04:25 PM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by verndog View Post
There's a tool called 'stress'. From debian based, just
Code:
sudo apt install stress
. Then run something like this from command line.
If OP's concern is really about the GPU and its fan only, then stressing the CPU is pointless.
Although it could indirectly help troubleshoot the issue.

Quote:
Originally Posted by EdGr View Post
For a stress test, run multiple glblurs in parallel. Make the windows large.

Code:
for ((n=0; n<8; n++)); do /usr/libexec/xscreensaver/glblur -fps & done
Nice idea, haven't noticed it before!
 
Old 07-27-2020, 06:09 PM   #11
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 998

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Quote:
Originally Posted by Arct1c_f0x View Post
I'm still pretty new to this. Do you mean check the Kernel messages when the system first boots up? And what is the Xorg.0.log and how do I check it?
As root, do:

Code:
dmesg | less
You should see lines like:

Code:
[   11.739473] [drm] radeon kernel modesetting enabled.
...
[   11.743892] [drm] radeon: 2048M of VRAM memory ready
[   11.743894] [drm] radeon: 2048M of GTT memory ready.
[   11.743902] [drm] Loading pitcairn Microcode
[   11.921961] [drm] Internal thermal controller with fan control
In /var/log/Xorg.0.log, you should see lines like:

Code:
[    51.092] (--) RADEON(0): Chipset: "PITCAIRN" (ChipID = 0x6819)
...
[    52.547] (II) RADEON(0): glamor X acceleration enabled on AMD PITCAIRN (DRM 2.50.0, 5.4.51, LLVM 10.0.0)
Quote:
Originally Posted by ondoho View Post
Nice idea, haven't noticed it before!
Thanks! I find that glblur is good for testing GPUs and inducing vertigo.
Ed
 
Old 07-27-2020, 06:32 PM   #12
Arct1c_f0x
Member
 
Registered: Feb 2020
Posts: 123

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by EdGr View Post
As root, do:

Code:
dmesg | less
You should see lines like:

Code:
[   11.739473] [drm] radeon kernel modesetting enabled.
...
[   11.743892] [drm] radeon: 2048M of VRAM memory ready
[   11.743894] [drm] radeon: 2048M of GTT memory ready.
[   11.743902] [drm] Loading pitcairn Microcode
[   11.921961] [drm] Internal thermal controller with fan control
In /var/log/Xorg.0.log, you should see lines like:

Code:
[    51.092] (--) RADEON(0): Chipset: "PITCAIRN" (ChipID = 0x6819)
...
[    52.547] (II) RADEON(0): glamor X acceleration enabled on AMD PITCAIRN (DRM 2.50.0, 5.4.51, LLVM 10.0.0)
Thanks! I find that glblur is good for testing GPUs and inducing vertigo.
Ed
Yeah I want to say that it's definitely not recognizing my GPU for what it is

When i do

Quote:
sudo dmesg | grep -i vga or I type dmesg | grep -i GPU or AMDGPU
Nothing shows up and i've gone through almost every line now and nothing seems to ackowledge my graphics card.

I started up a pc game 'Warband mount and Blade' on steam on this desktop and it ran really really poorly (and warband is not a super graphics intensive game.) I mean obviously my graphics card is working because I have my monitor plugged into it (display port at 1080p) but I think it's running at a stunted level of performance.

Further more when I type sensors in the terminal this is what I get
Quote:
asus-isa-0000
Adapter: ISA adapter
cpu_fan: 0 RPM

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1: +47.0°C
I'm downloading AOEII now on steam to try and play that so we'll see. Any deal what the problem is?
 
Old 07-27-2020, 06:53 PM   #13
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 998

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Quote:
Originally Posted by Arct1c_f0x View Post
Yeah I want to say that it's definitely not recognizing my GPU for what it is

When i do



Nothing shows up and i've gone through almost every line now and nothing seems to ackowledge my graphics card.

I started up a pc game 'Warband mount and Blade' on steam on this desktop and it ran really really poorly (and warband is not a super graphics intensive game.) I mean obviously my graphics card is working because I have my monitor plugged into it (display port at 1080p) but I think it's running at a stunted level of performance.
You are in for an OS upgrade. You want a very recent OS to support your GPU.

Alternatively, you can install AMD's proprietary driver as a stopgap measure until the open-source drivers have caught up.
Ed
 
Old 07-27-2020, 08:56 PM   #14
Arct1c_f0x
Member
 
Registered: Feb 2020
Posts: 123

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by EdGr View Post
You are in for an OS upgrade. You want a very recent OS to support your GPU.

Alternatively, you can install AMD's proprietary driver as a stopgap measure until the open-source drivers have caught up.
Ed
That's awesome thanks, Ed! I have pretty much the newest Debian buster version - Debian Buster AMD 64 10.4

This is my graphics card:
https://www.newegg.com/gigabyte-rade...82E16814932236


GIGABYTE Radeon RX 5500 XT DirectX 12 GV-R55XTGAMING OC-8GD 8GB 128-Bit GDDR6 PCI Express 4.0 x16 ATX Video Card

I just bought it, think it need proprietary drivers to function at its full potential?

It's this one the RX 5500 series
Quote:
AMD Radeon™ Product Family Compatibility

Radeon™ Software for Linux® is compatible with the following AMD products.
AMD Product Family Compatibility

AMD Radeon™ RX 5700/5600/5500 Series Graphics
Can't seem to find where the download for the proprietary drivers for my card are but I'll continue looking. Is it right in front of my face and I don't see it?

Thanks again, Ed. I think you're right that I need the proprietary drivers for it to function correctly.
 
Old 07-27-2020, 09:45 PM   #15
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 998

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Quote:
Originally Posted by Arct1c_f0x View Post
That's awesome thanks, Ed! I have pretty much the newest Debian buster version - Debian Buster AMD 64 10.4

...

Thanks again, Ed. I think you're right that I need the proprietary drivers for it to function correctly.
Yes, use the proprietary driver for now. Debian takes an especially long time to get new software into a release.
Ed
 
  


Reply

Tags
gpu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
write stress to file? run vmstat/iostat simultaneously with stress commands rmcateer Programming 5 02-27-2015 07:27 PM
Im am running a stress autocorrelation function,to calculate stress correlation funct lehloks Programming 4 07-08-2013 05:59 AM
Load test, boundary test & stress test for USB EHCI/xHCI driver rama_toshiba Linux - Kernel 5 02-29-2012 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration