Skip to content

ERROR: After changing the GPU from NV GPU to Intel GPU using the Nvidia X Server Settings #121

Description

@leelewin

os: ubuntu 18
de: gnome 3.28
gpu1: intel HD Graphics
gpu2: nvidia geforce

indicator-systmonitor perferences
customize output: | cpu |net |memory| nvgpu |

After changing the GPU from NV GPU to Intel GPU using the Nvidia X Server Settings, this application stopped working after restarting the computer. Furthermore, an error occurred when attempting to manually launch the application in the terminal.

ERROR MESSAGE:
$ indicator-sysmonitor
INFO:root:start
INFO:root:Menu shown
INFO:root:Fetcher started
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/indicator-sysmonitor/sensors.py", line 674, in run
data = self.fetch()
File "/usr/lib/indicator-sysmonitor/sensors.py", line 668, in fetch
return self.mgr.get_results()
File "/usr/lib/indicator-sysmonitor/sensors.py", line 280, in get_results
value = instance.get_value(sensor)
File "/usr/lib/indicator-sysmonitor/sensors.py", line 344, in get_value
return "{:02.0f}%".format(self._fetch_gpu())
File "/usr/lib/indicator-sysmonitor/sensors.py", line 347, in _fetch_gpu
result = subprocess.check_output(['nvidia-smi', '--query-gpu=utilization.gpu', '--format=csv'])
File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['nvidia-smi', '--query-gpu=utilization.gpu', '--format=csv']' returned non-zero exit status 9.

Traceback (most recent call last):
File "/usr/bin/indicator-sysmonitor", line 266, in
app = IndicatorSysmonitor()
File "/usr/bin/indicator-sysmonitor", line 101, in init
self.load_settings()
File "/usr/bin/indicator-sysmonitor", line 174, in load_settings
self.update_indicator_guide()
File "/usr/bin/indicator-sysmonitor", line 135, in update_indicator_guide
guide = self.sensor_mgr.get_guide()
File "/usr/lib/indicator-sysmonitor/sensors.py", line 204, in get_guide
data = self._fetcher.fetch()
File "/usr/lib/indicator-sysmonitor/sensors.py", line 668, in fetch
return self.mgr.get_results()
File "/usr/lib/indicator-sysmonitor/sensors.py", line 280, in get_results
value = instance.get_value(sensor)
File "/usr/lib/indicator-sysmonitor/sensors.py", line 344, in get_value
return "{:02.0f}%".format(self._fetch_gpu())
File "/usr/lib/indicator-sysmonitor/sensors.py", line 347, in _fetch_gpu
result = subprocess.check_output(['nvidia-smi', '--query-gpu=utilization.gpu', '--format=csv'])
File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['nvidia-smi', '--query-gpu=utilization.gpu', '--format=csv']' returned non-zero exit status 9.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions