Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NVML not found, disabling Nvidia GPU - NixOS #103

Open
BBFifield opened this issue Jul 10, 2024 · 0 comments
Open

NVML not found, disabling Nvidia GPU - NixOS #103

BBFifield opened this issue Jul 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@BBFifield
Copy link

Describe the bug

Despite having Nvidia proprietary drivers installed on my NixOS system, NVML cannot be found when gBar is executed. The nvidia-smi command works fine, so I'm not quite sure why libnvidia-ml.so wouldn't be available.

Steps to Reproduce

  1. Executed gBar bar HDMI-A-1 in alacritty
  2. Nvidia stats weren't in the bar
  3. Examined output in terminal and saw "NVML not found, disabling Nvidia GPU"

Expected behavior

gBar should have displayed my GPU stats

Screenshots/Error logs
Here is my config

# Generated by Home Manager
AmdGPUThermalZone: /device/hwmon/hwmon1/temp1_input
AudioInput: false
AudioMaxVolume: 100
AudioMinVolume: 0
AudioNumbers: false
AudioRevealer: true
AudioScrollSpeed: 5
BatteryFolder: /sys/class/power_supply/BAT1
CPUThermalZone: /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input
CenterTime: true
DateTimeLocale: 
DateTimeStyle: %a %D - %H:%M:%S %Z
DefaultWorkspaceSymbol: 
DiskPartition: /
DrmAmdCard: card0
EnableSNI: true
ExitCommand: killall Hyprland
Location: T
LockCommand: ~/.config/scripts/sys.sh lock
MaxDownloadBytes: 10485760
MaxUploadBytes: 5242880
MinDownloadBytes: 0
MinUploadBytes: 0
NetworkAdapter: enp9s0
NetworkWidget: true
NumWorkspaces: 9
SensorTooltips: true
SuspendCommand: systemctl suspend
TimeSpace: 300
UseHyprlandIPC: true
WorkspaceScrollInvert: false
WorkspaceScrollOnMonitor: true
SNIIconSize: Discord, 26
SNIIconSize: OBS, 23

Information about your system and gBar

  • OS: NixOS
  • Desktop environment: Hyprland
  • Tried with the latest version from the flake in this repo
@BBFifield BBFifield added the bug Something isn't working label Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant