-
Notifications
You must be signed in to change notification settings - Fork 23
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
PermissionError: [Errno 1] Operation not permitted #160
Comments
Which distro are you using? The driver files are normally world readable. |
Also, I do not recommend running with sudo. The execution of files that write to driver files needs root permissions. gpu-pac is the only utility that writes to these files. By default it creates bash files that you can execute yourself with sudo or if you use the It would also be helpful to execute with |
Hi Rick! Here's some info:cg@gpu-13-23: Traceback (most recent call last): |
When the --debug option is used, there should be a log file that is produced. Can you paste it contents here? Also, can you upgrade to the latest version? I recently released 3.9.0 to PyPI. |
Ok, I upgraded to 3.9 now i'm getting this: read_time_val: 10-Jun-2024 13:59:15model_display: True: Cyan Skillfish Total of 1 GPU: 0 are rw, 1 is r-only, and 0 are w-only Card Number: 0 ` |
Am I able to control the gpu speed and/or power use yet, or is there more troubleshooting to do? |
I am running Ubuntu 22.04 on two systems and do not see the issue of driver files not being readable. Possibly a driver/hardware issue or feature definition may be different for newer GPUs. I suggest updating: Here is what ChatGPT has to say:
|
Dang. I've tried most of that. It's a BC-250 (re-purposed PS5 card). Any ideas or suggestions would be much appreciated. |
I really doubt that any of this would be enabled for PS5 hardware. |
(rickslab-gpu-utils-env) cg@gpu-49-59:~$ sudo gpu-ls
Error: Invalid icon path
Detected GPUs: AMD: 1
AMD: amdgpu version: 1:6.0.60002-1718217.22.04
AMD: Wattman features enabled: 0xfffd7fff
Warning: Can not read parameter: loading, disabling for this GPU: 0
Warning: Can not read parameter: mem_loading, disabling for this GPU: 0
Warning: Can not read parameter: sclk_ps, disabling for this GPU: 0
Warning: Can not read parameter: mclk_ps, disabling for this GPU: 0
Warning: Can not read parameter: ppm, disabling for this GPU: 0
Warning: Can not read parameter: power_dpm_force, disabling for this GPU: 0
Warning: Can not read parameter: power_cap_range, disabling for this GPU: 0
Warning: Can not read parameter: power, disabling for this GPU: 0
Warning: Can not read parameter: power_cap, disabling for this GPU: 0
Warning: Can not read parameter: temperatures, disabling for this GPU: 0
Warning: Can not read parameter: voltages, disabling for this GPU: 0
Warning: Can not read parameter: frequencies, disabling for this GPU: 0
Warning: Can not read parameter: fan_speed_range, disabling for this GPU: 0
Warning: Can not read parameter: fan_pwm_range, disabling for this GPU: 0
Warning: Can not read parameter: fan_enable, disabling for this GPU: 0
Warning: Can not read parameter: fan_target, disabling for this GPU: 0
Warning: Can not read parameter: fan_speed, disabling for this GPU: 0
Warning: Can not read parameter: pwm_mode, disabling for this GPU: 0
Warning: Can not read parameter: fan_pwm, disabling for this GPU: 0
1 total GPUs, 1 rw, 0 r-only, 0 w-only
Traceback (most recent call last):
File "/usr/bin/gpu-ls", line 154, in
main()
File "/usr/bin/gpu-ls", line 138, in main
gpu_list.read_gpu_pstates()
File "/usr/lib/python3/dist-packages/GPUmodules/GPUmodule.py", line 2136, in read_gpu_pstates
gpu.read_gpu_pstates()
File "/usr/lib/python3/dist-packages/GPUmodules/GPUmodule.py", line 1061, in read_gpu_pstates
for line in card_file:
PermissionError: [Errno 1] Operation not permitted
The text was updated successfully, but these errors were encountered: