I was unable to find equivalent of nvidia-smi for nouveau. So, that inspired me to make this.
This is a simple script written in Go that relies on the following commands to gather GPU information:
- `glxinfo`
- `lspci -k -d ::03xx`
- `watch sensors`
It was developed to fulfill my own requirements, and I used ChatGPT for assistance since I don't have extensive coding knowledge. As a result, there might be better ways to gather this information, and I'm open to suggestions for improvement. I'm sharing this to help others using the Nouveau driver and to invite contributions to enhance the script.
### Caution:
This script works on my system, but it may not work with other GPUs or configurations. It has been optimized for the GT 710.
You can control your GPU's fan speed using the following commands:
- `sudo nouveau -f 40` (sets fan speed to 40%)
- `sudo nouveau -auto` (enables automatic fan speed control)
Currently, I was unable to replicate the process table functionality found in `nvidia-smi`. Additionally, I couldn’t determine a direct equivalent for the NVIDIA driver version in Nouveau. While the "Nouveau Interface Version" from Xorg logs could serve as an alternative, I chose not to include it due to uncertainty.
I avoided relying on package manager commands (like `pacman`) to gather the nouveau driver version to ensure the script remains compatible across different Linux distributions.
[link] [comments]
SOCIAL SHARE CARD GENERATOR