diff --git a/docs/bios/overclocking.md b/docs/bios/overclocking.md index d3bd628..5cf2098 100644 --- a/docs/bios/overclocking.md +++ b/docs/bios/overclocking.md @@ -267,17 +267,17 @@ Start at 2000 MHz @ 1000 mV and work up. Stability varies by board (silicon lott ```bash # View current frequency/voltage table -cat /sys/class/drm/card1/device/pp_od_clk_voltage +cat /sys/class/drm/card0/device/pp_od_clk_voltage # Set voltage and frequency # Format: vc -echo "vc 0 2100 1025" | sudo tee /sys/class/drm/card1/device/pp_od_clk_voltage +echo "vc 0 2100 1025" | sudo tee /sys/class/drm/card0/device/pp_od_clk_voltage # Commit changes -echo "c" | sudo tee /sys/class/drm/card1/device/pp_od_clk_voltage +echo "c" | sudo tee /sys/class/drm/card0/device/pp_od_clk_voltage # Verify -cat /sys/class/drm/card1/device/pp_od_clk_voltage +cat /sys/class/drm/card0/device/pp_od_clk_voltage ``` **Test with benchmark:** @@ -446,7 +446,7 @@ systemctl status cyan-skillfish-governor-smu sudo systemctl restart cyan-skillfish-governor-smu # Check applied settings -cat /sys/class/drm/card1/device/pp_od_clk_voltage +cat /sys/class/drm/card0/device/pp_od_clk_voltage ``` ## Advanced: Multiple Voltage Points @@ -458,13 +458,13 @@ For Cyan-Skillfish Governor or manual tuning: 1. Test each frequency point: ```bash # Test 1500 MHz -echo "vc 0 1500 875" | sudo tee /sys/class/drm/card1/device/pp_od_clk_voltage -echo "c" | sudo tee /sys/class/drm/card1/device/pp_od_clk_voltage +echo "vc 0 1500 875" | sudo tee /sys/class/drm/card0/device/pp_od_clk_voltage +echo "c" | sudo tee /sys/class/drm/card0/device/pp_od_clk_voltage # Run benchmark, find minimum stable voltage # Test 1750 MHz -echo "vc 0 1750 950" | sudo tee /sys/class/drm/card1/device/pp_od_clk_voltage -echo "c" | sudo tee /sys/class/drm/card1/device/pp_od_clk_voltage +echo "vc 0 1750 950" | sudo tee /sys/class/drm/card0/device/pp_od_clk_voltage +echo "c" | sudo tee /sys/class/drm/card0/device/pp_od_clk_voltage # Run benchmark, find minimum stable voltage # Repeat for 2000, 2100, 2175, 2230 MHz diff --git a/docs/bios/vram.md b/docs/bios/vram.md index cddc883..d3dae54 100644 --- a/docs/bios/vram.md +++ b/docs/bios/vram.md @@ -146,7 +146,7 @@ free -h # Should show ~10-15GB depending on allocation # Check VRAM -cat /sys/class/drm/card1/device/mem_info_vram_total +cat /sys/class/drm/card0/device/mem_info_vram_total # Shows GPU memory in bytes # Check both @@ -259,7 +259,7 @@ After changing allocation, verify it works: ```bash # 1. Check allocation took effect free -h -cat /sys/class/drm/card1/device/mem_info_vram_total +cat /sys/class/drm/card0/device/mem_info_vram_total # 2. Run stress test vkmark # Vulkan benchmark diff --git a/docs/drivers/radv.md b/docs/drivers/radv.md index fd78097..4f5ddeb 100644 --- a/docs/drivers/radv.md +++ b/docs/drivers/radv.md @@ -727,7 +727,7 @@ unset MESA_SHADER_CACHE_DISABLE **Quick Check:** ```bash # Check GPU frequency -cat /sys/class/drm/card1/device/pp_dpm_sclk +cat /sys/class/drm/card0/device/pp_dpm_sclk # Should show multiple frequency levels with * at current: # 0: 1000Mhz diff --git a/docs/getting-started/quick-start.md b/docs/getting-started/quick-start.md index e903699..02223a8 100644 --- a/docs/getting-started/quick-start.md +++ b/docs/getting-started/quick-start.md @@ -140,7 +140,7 @@ systemctl status cyan-skillfish-governor-smu # Should show: active (running) # Check GPU frequency -cat /sys/class/drm/card1/device/pp_dpm_sclk +cat /sys/class/drm/card0/device/pp_dpm_sclk # Should show multiple frequencies, one marked with * ``` @@ -189,7 +189,7 @@ This fixes graphical glitches in some games. **Solution:** 1. Check governor is running: `systemctl status cyan-skillfish-governor-smu` -2. Check GPU frequency: `cat /sys/class/drm/card1/device/pp_dpm_sclk` +2. Check GPU frequency: `cat /sys/class/drm/card0/device/pp_dpm_sclk` 3. Should NOT be stuck at 1500MHz ### High Temperatures diff --git a/docs/linux/arch.md b/docs/linux/arch.md index 6b9f89a..af85cbb 100644 --- a/docs/linux/arch.md +++ b/docs/linux/arch.md @@ -297,7 +297,7 @@ systemctl status oberon-governor # legacy (migrate to SMU) ### Check Frequency Scaling ```bash -cat /sys/class/drm/card1/device/pp_dpm_sclk +cat /sys/class/drm/card0/device/pp_dpm_sclk # Example output: # 0: 1000MHz @@ -470,7 +470,7 @@ fastfetch nvtop # Check GPU frequency -cat /sys/class/drm/card1/device/pp_dpm_sclk +cat /sys/class/drm/card0/device/pp_dpm_sclk # Check governor (use whichever you installed) systemctl status cyan-skillfish-governor-smu diff --git a/docs/linux/bazzite.md b/docs/linux/bazzite.md index cec360c..67e2566 100644 --- a/docs/linux/bazzite.md +++ b/docs/linux/bazzite.md @@ -359,7 +359,7 @@ sudo systemctl enable --now cyan-skillfish-governor-smu.service sudo systemctl restart cyan-skillfish-governor-smu # Verify frequency scaling -cat /sys/class/drm/card1/device/pp_dpm_sclk +cat /sys/class/drm/card0/device/pp_dpm_sclk ``` ### Boot Slow / Black Screen During Boot @@ -403,7 +403,7 @@ vulkaninfo | grep deviceName # Should show: AMD Radeon Graphics (RADV GFX1013) # Check GPU frequency -cat /sys/class/drm/card1/device/pp_dpm_sclk +cat /sys/class/drm/card0/device/pp_dpm_sclk # Check temperatures sensors @@ -423,7 +423,7 @@ vulkaninfo | grep deviceName nvtop # Check governor scaling -watch -n 1 cat /sys/class/drm/card1/device/pp_dpm_sclk +watch -n 1 cat /sys/class/drm/card0/device/pp_dpm_sclk ``` --- @@ -438,7 +438,7 @@ ujust update systemctl status cyan-skillfish-governor-smu # Check GPU frequency -cat /sys/class/drm/card1/device/pp_dpm_sclk +cat /sys/class/drm/card0/device/pp_dpm_sclk # Check temps sensors diff --git a/docs/linux/cachyos.md b/docs/linux/cachyos.md index c25936f..801ab1f 100644 --- a/docs/linux/cachyos.md +++ b/docs/linux/cachyos.md @@ -171,9 +171,9 @@ See [github.com/filippor/cyan-skillfish-governor](https://github.com/filippor/cy **Verify it's working:** ```bash -cat /sys/class/drm/card1/device/pp_dpm_sclk +cat /sys/class/drm/card0/device/pp_dpm_sclk # Should show multiple frequencies, * moves based on load -# Note: Your GPU may be card1 instead - check /sys/class/drm/ if card0 doesn't work +# Note: Verify with: ls /sys/class/drm/ (BC-250 is usually card0 unless an iGPU is enumerated first) ``` --- @@ -340,7 +340,7 @@ vulkaninfo | grep deviceName # Expected: AMD Radeon Graphics (RADV GFX1013) systemctl status cyan-skillfish-governor-smu # Expected: active (running) # 5. Check GPU frequency -cat /sys/class/drm/card1/device/pp_dpm_sclk # Expected: Multiple frequencies +cat /sys/class/drm/card0/device/pp_dpm_sclk # Expected: Multiple frequencies # 6. Check sensors sensors # Expected: nct6686-isa-0a20, GPU temp, fan speeds diff --git a/docs/linux/debian.md b/docs/linux/debian.md index 861d384..96ff56c 100644 --- a/docs/linux/debian.md +++ b/docs/linux/debian.md @@ -219,7 +219,7 @@ Verify: ```bash systemctl status cyan-skillfish-governor-smu -cat /sys/class/drm/card1/device/pp_dpm_sclk +cat /sys/class/drm/card0/device/pp_dpm_sclk ``` --- @@ -340,7 +340,7 @@ uname -r systemctl status cyan-skillfish-governor-smu # or cyan-skillfish-governor-tt # GPU frequency -cat /sys/class/drm/card1/device/pp_dpm_sclk +cat /sys/class/drm/card0/device/pp_dpm_sclk # Should show multiple frequencies with * moving ``` @@ -527,7 +527,7 @@ vulkaninfo | grep deviceName systemctl status cyan-skillfish-governor-smu # Check GPU frequency -cat /sys/class/drm/card1/device/pp_dpm_sclk +cat /sys/class/drm/card0/device/pp_dpm_sclk # Check temps sensors diff --git a/docs/linux/fedora.md b/docs/linux/fedora.md index bd9ccc5..c019943 100644 --- a/docs/linux/fedora.md +++ b/docs/linux/fedora.md @@ -285,7 +285,7 @@ sudo systemctl restart cyan-skillfish-governor-smu mangohud steam # Check GPU frequency scaling -cat /sys/class/drm/card1/device/pp_dpm_sclk +cat /sys/class/drm/card0/device/pp_dpm_sclk # Should show frequencies changing under load ``` diff --git a/docs/reference/quick-reference.md b/docs/reference/quick-reference.md index c48496a..4988059 100644 --- a/docs/reference/quick-reference.md +++ b/docs/reference/quick-reference.md @@ -206,10 +206,10 @@ sudo systemctl restart cyan-skillfish-governor-smu ### Check GPU Frequency !!!note "GPU Card Number" - The BC-250 GPU is typically `card1` (not `card0`). Verify with: `ls /sys/class/drm/ | grep "^card"`. All sysfs paths in this documentation use `card1`. + The BC-250 GPU is typically `card0`. On systems where another GPU (an iGPU) is also enumerated, it may be `card1`. Verify with: `ls /sys/class/drm/ | grep "^card"`. ```bash -cat /sys/class/drm/card1/device/pp_dpm_sclk +cat /sys/class/drm/card0/device/pp_dpm_sclk # Should show multiple frequencies, current one marked with * ``` @@ -233,7 +233,7 @@ vulkaninfo | grep deviceName # Check RAM/VRAM split free -h -cat /sys/class/drm/card1/device/mem_info_vram_total +cat /sys/class/drm/card0/device/mem_info_vram_total # Check temperatures sensors diff --git a/docs/system/governor.md b/docs/system/governor.md index 82ef490..236015c 100644 --- a/docs/system/governor.md +++ b/docs/system/governor.md @@ -352,7 +352,7 @@ systemctl status cyan-skillfish-governor-smu ```bash # View current GPU frequencies -cat /sys/class/drm/card1/device/pp_dpm_sclk +cat /sys/class/drm/card0/device/pp_dpm_sclk # Example output: # 0: 1000Mhz @@ -384,7 +384,7 @@ Shows real-time GPU frequency, voltage, and temperature. **Command Line:** ```bash # Watch frequency changes -watch -n 1 'cat /sys/class/drm/card1/device/pp_dpm_sclk' +watch -n 1 'cat /sys/class/drm/card0/device/pp_dpm_sclk' ``` **MangoHud (In-Game Overlay):** @@ -496,7 +496,7 @@ systemctl status cyan-skillfish-governor-smu **Verify fix:** ```bash # Should show 1000 MHz at idle (not stuck at 1500 MHz) -cat /sys/class/drm/card1/device/pp_dpm_sclk +cat /sys/class/drm/card0/device/pp_dpm_sclk ``` !!!note "GPU Card Number" diff --git a/docs/system/sensors.md b/docs/system/sensors.md index 9cc70b8..e8223da 100644 --- a/docs/system/sensors.md +++ b/docs/system/sensors.md @@ -253,7 +253,7 @@ This updates every second. Press `Ctrl+C` to exit. Read GPU temperature directly: ```bash -cat /sys/class/drm/card1/device/hwmon/hwmon*/temp1_input +cat /sys/class/drm/card0/device/hwmon/hwmon*/temp1_input ``` This returns temperature in millidegrees Celsius (e.g., `63000` = 63°C) @@ -261,7 +261,7 @@ This returns temperature in millidegrees Celsius (e.g., `63000` = 63°C) Convert to Celsius: ```bash -awk '{print $1/1000 "°C"}' /sys/class/drm/card1/device/hwmon/hwmon*/temp1_input +awk '{print $1/1000 "°C"}' /sys/class/drm/card0/device/hwmon/hwmon*/temp1_input ``` ### GPU Power Consumption @@ -269,13 +269,13 @@ awk '{print $1/1000 "°C"}' /sys/class/drm/card1/device/hwmon/hwmon*/temp1_input Read current GPU power draw: ```bash -cat /sys/class/drm/card1/device/hwmon/hwmon*/power1_average +cat /sys/class/drm/card0/device/hwmon/hwmon*/power1_average ``` Returns power in microwatts. Convert to watts: ```bash -awk '{print $1/1000000 "W"}' /sys/class/drm/card1/device/hwmon/hwmon*/power1_average +awk '{print $1/1000000 "W"}' /sys/class/drm/card0/device/hwmon/hwmon*/power1_average ``` ### GPU Clock Speeds @@ -283,7 +283,7 @@ awk '{print $1/1000000 "W"}' /sys/class/drm/card1/device/hwmon/hwmon*/power1_ave Check current GPU frequency: ```bash -cat /sys/class/drm/card1/device/pp_dpm_sclk +cat /sys/class/drm/card0/device/pp_dpm_sclk ``` Example output: @@ -683,7 +683,7 @@ From Discord testing: 3. Check amdgpu sysfs directly: ```bash - cat /sys/class/drm/card1/device/hwmon/hwmon*/temp1_input + cat /sys/class/drm/card0/device/hwmon/hwmon*/temp1_input ``` 4. Ensure Mesa 25.1+ is installed: @@ -741,9 +741,9 @@ echo "Timestamp,GPU_Temp,CPU_Temp,GPU_Power" > "$LOGFILE" while true; do TIMESTAMP=$(date +%s) - GPU_TEMP=$(cat /sys/class/drm/card1/device/hwmon/hwmon*/temp1_input 2>/dev/null | awk '{print $1/1000}') + GPU_TEMP=$(cat /sys/class/drm/card0/device/hwmon/hwmon*/temp1_input 2>/dev/null | awk '{print $1/1000}') CPU_TEMP=$(sensors k10temp-pci-00c3 -u 2>/dev/null | grep temp1_input | awk '{print $2}') - GPU_POWER=$(cat /sys/class/drm/card1/device/hwmon/hwmon*/power1_average 2>/dev/null | awk '{print $1/1000000}') + GPU_POWER=$(cat /sys/class/drm/card0/device/hwmon/hwmon*/power1_average 2>/dev/null | awk '{print $1/1000000}') echo "$TIMESTAMP,$GPU_TEMP,$CPU_TEMP,$GPU_POWER" >> "$LOGFILE" sleep 5 @@ -771,7 +771,7 @@ Save as `~/temp-alert.sh`: THRESHOLD=85 while true; do - GPU_TEMP=$(cat /sys/class/drm/card1/device/hwmon/hwmon*/temp1_input 2>/dev/null | awk '{print $1/1000}') + GPU_TEMP=$(cat /sys/class/drm/card0/device/hwmon/hwmon*/temp1_input 2>/dev/null | awk '{print $1/1000}') if (( $(echo "$GPU_TEMP > $THRESHOLD" | bc -l) )); then notify-send -u critical "BC-250 Temperature Alert" "GPU temp: ${GPU_TEMP}°C (threshold: ${THRESHOLD}°C)" @@ -795,13 +795,13 @@ sensors watch -n 1 sensors # GPU temperature only -cat /sys/class/drm/card1/device/hwmon/hwmon*/temp1_input | awk '{print $1/1000 "°C"}' +cat /sys/class/drm/card0/device/hwmon/hwmon*/temp1_input | awk '{print $1/1000 "°C"}' # GPU power consumption -cat /sys/class/drm/card1/device/hwmon/hwmon*/power1_average | awk '{print $1/1000000 "W"}' +cat /sys/class/drm/card0/device/hwmon/hwmon*/power1_average | awk '{print $1/1000000 "W"}' # GPU clock speed -cat /sys/class/drm/card1/device/pp_dpm_sclk +cat /sys/class/drm/card0/device/pp_dpm_sclk # Launch nvtop nvtop diff --git a/docs/troubleshooting/boot.md b/docs/troubleshooting/boot.md index d72b78e..cd3cec7 100644 --- a/docs/troubleshooting/boot.md +++ b/docs/troubleshooting/boot.md @@ -760,7 +760,7 @@ xrandr --listproviders # DRM devices ls -la /sys/class/drm/ -# Should show card1, card1-DP-1 +# Should show card0, card0-DP-1 # Current display mode xrandr diff --git a/docs/troubleshooting/display.md b/docs/troubleshooting/display.md index 1309869..e2067f2 100644 --- a/docs/troubleshooting/display.md +++ b/docs/troubleshooting/display.md @@ -505,7 +505,7 @@ xrandr # Check DRM ls /sys/class/drm/ -# Should show card1, card1-DP-1, etc. +# Should show card0, card0-DP-1, etc. ``` ### Check GPU Initialization diff --git a/docs/troubleshooting/performance.md b/docs/troubleshooting/performance.md index 537a7ff..bb4e959 100644 --- a/docs/troubleshooting/performance.md +++ b/docs/troubleshooting/performance.md @@ -150,7 +150,7 @@ Apply to kernel source and recompile, or use a tool like `dkms` or CachyOS kerne **Verification:** ```bash -cat /sys/class/drm/card1/device/pp_od_clk_voltage +cat /sys/class/drm/card0/device/pp_od_clk_voltage # Should show range up to 2300MHz or higher ``` diff --git a/docs/troubleshooting/stability.md b/docs/troubleshooting/stability.md index cd69bdc..449e3c8 100644 --- a/docs/troubleshooting/stability.md +++ b/docs/troubleshooting/stability.md @@ -648,7 +648,7 @@ watch -n 1 sensors **Terminal 2 - Frequencies and voltages**: ```bash -watch -n 1 'cat /sys/class/drm/card1/device/pp_od_clk_voltage' +watch -n 1 'cat /sys/class/drm/card0/device/pp_od_clk_voltage' ``` **Terminal 3 - Memory**: