LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-09-2020, 08:50 AM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Fan of the Videocard on full speed after waking from suspend to disk


Not sure whether this is the optimal forum, so mods feel free to move it .

Well, subject says it all. This is on openSUSE tumbleweed with the MSI-videocard. For the specs of my machine see my signature. Is there a command to (re)-load the radeon driver (if that is the culprit), or do I always have to reboot to finish the noise?
 
Old 09-09-2020, 10:34 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,148

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
When it's in the bad state, what is the output of:

Code:
grep "" /sys/class/drm/card*/device/power_*
 
Old 09-09-2020, 11:41 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Here it comes:

Code:
me@PC:~> grep "" /sys/class/drm/card*/device/power_*
/sys/class/drm/card0/device/power_dpm_force_performance_level:auto
/sys/class/drm/card0/device/power_dpm_state:balanced
/sys/class/drm/card0/device/power_method:dpm
/sys/class/drm/card0/device/power_profile:default
me@PC:~>
I'll reboot now and then add the "normal" values ... done:

Code:
me@PC:~> grep "" /sys/class/drm/card*/device/power_*
/sys/class/drm/card0/device/power_dpm_force_performance_level:auto
/sys/class/drm/card0/device/power_dpm_state:balanced
/sys/class/drm/card0/device/power_method:dpm
/sys/class/drm/card0/device/power_profile:default
me@PC:~>
Hmm. card0 it says. My system has an integrated graphic chip and an external card. Could it be we see the wrong chip?

Last edited by JZL240I-U; 09-09-2020 at 11:46 AM.
 
Old 09-10-2020, 09:20 AM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,148

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
The "card*" should have listed all cards that have drivers loaded.

According to https://www.x.org/wiki/RadeonFeature/ the interesting bit is "power_method:dpm" which it says must be selected at boot. Maybe its broken after suspend. Test by setting it to "profile", and set power_profile to "low". If that's it, you can set it to what you want with either a startup script or by setting the kernel command line options.
 
Old 09-13-2020, 01:30 PM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Sorry to answer late, I was gone for a while.

But currently I am stumped:

Code:
me@PC:~> sudo echo profile > /sys/class/drm/card0/device/power_method
bash: /sys/class/drm/card0/device/power_method: Permission denied
me@PC:~> ls -al /sys/class/drm/card0/device/power_method
-rw-r--r-- 1 root root 4096 13. Sep 20:20 /sys/class/drm/card0/device/power_method
me@PC:~> su
Passwort: 
PC:/home/me # echo profile > /sys/class/drm/card0/device/power_method
bash: echo: write error: Invalid argument.
PC:/home/me # echo "profile" > /sys/class/drm/card0/device/power_method
bash: echo: write error: Invalid argument.
PC:/home/me # echo profile
profile
I don't get it. Neither with sudo nor as root?!? Any ideas?

Btw. do I echo before or after suspending to disc?
 
  


Reply



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
ACPI or lm-sensors fan control on Sony Vaio (fan runs at full speed) roanm Linux - Hardware 7 11-14-2009 07:37 PM
Waking up after suspend shuts down pc dive Linux - Kernel 1 05-27-2008 07:33 PM
Anyone's ALSA soundware fail after waking from Suspend? lumix Linux - Software 3 06-04-2007 10:42 AM
No terminal access after waking from Suspend in FC5 saravkrish Fedora 0 02-25-2007 07:31 PM
howto: control CPU fan speed and Northbridge fan speed? hedpe Linux - Software 2 04-18-2005 02:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:06 AM.

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