Comments (7)
so I'm confused, you have 13 physical cards that are AMDs, but the system only has card0-9 showing up in the directory mentioned previously?
what are the cards that are not being detected? to me it sounds like they aren't compatible with the DRM structure that's being used in
/sys/class/drm/.
from amdgpu-pro-fans.
No guarantees that this will run, but perhaps try running this and posting the output. Just some "debug" information to show me how far the script is going. This may also be one of the big reasons the developer stopped supporting doing this all via a BASH script and instead opted to go the route of a low-level application.
Put this into a file, call it whatever, chmod +x on it, and then run it. As you can see in the code, it's just going to echo out the /sys/class/drm/card# and then echo out everytime it enters into a hardware monitor section of that card. If it fails to do either of these for that card, that tells me that that card is not supported by this for whatever reason.
#!/usr/bin/env bash
cardcount="0";
for CurrentCard in /sys/class/drm/card?/ ; do
echo "Found: $CurrentCard" # &>/dev/null
for CurrentMonitor in "$CurrentCard"device/hwmon/hwmon?/ ; do
cd $CurrentMonitor # &>/dev/null
echo "CD'd into $CurrentMonitor" # &>/dev/null
done
cardcount="$(($cardcount + 1))"
done
exit;
from amdgpu-pro-fans.
Interesting. Can you provide me with the output of the following command:
ls /sys/class/drm
P.S. I haven't been on here in a while, I stay pretty busy these days.
from amdgpu-pro-fans.
I found a way to get it to work for more than 10, if you change line 53 to the following:
for CurrentCard in /sys/class/drm/card?/ -o /sys/class/drm/card??/ ; do
That fixed the issue for me.
Hope it helps :)
from amdgpu-pro-fans.
@DominiLux if the card nunber is over 10
the path would be /sys/class/drm/card11/
which can't be catch by
/sys/class/drm/card?/
from amdgpu-pro-fans.
@exeex
I believe @jawkhan already answered this. The single wildcard "?" is looking for a single character, it's not looking for a two character value.
from amdgpu-pro-fans.
Just need replace hwmon? to hwmon* and work with 10+ card
from amdgpu-pro-fans.
Related Issues (13)
- Fan speed keeps changing HOT 2
- Fans doesen't spin HOT 3
- Cant restore automatic fan control HOT 2
- Error: Unable To Determine Maximum Fan Speed For Card0! HOT 3
- write error
- dont work
- Thanks
- invalid argument HOT 2
- Missing "-" in readme.md HOT 1
- Thanks! HOT 2
- Run multiple times? HOT 4
- Set fan speed per GPU HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amdgpu-pro-fans.