amdgpu_fan 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/icons.yml +2 -2
- data/lib/amdgpu_fan/cli.rb +13 -9
- data/lib/amdgpu_fan/stat_set.rb +1 -1
- data/lib/amdgpu_fan/version.rb +1 -1
- metadata +17 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad0c6af3e3dea6b56a0526203a603591583ea8184bd8e49f7efcdd2c3dab492b
|
4
|
+
data.tar.gz: 9ccb672107d73c822b31bd52d7c0048f0d79d175f02bca1c3b8a7df351f1b9b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34230d04f43087f2c81517bccb6e74a0f976b8909b67c287011143f016a06e54a7c7a02b32e33cc21221305473b30ab23d2af699d658410573fa702452dd05ff
|
7
|
+
data.tar.gz: 7162d533859e691610b73ac969ea4a87946bdfc5803b83f391e38f9070e2077fe1eefe415baa7a553f82ab39d21da9f4e59cf107dbcbd8085a0ddcb34970443e
|
data/config/icons.yml
CHANGED
data/lib/amdgpu_fan/cli.rb
CHANGED
@@ -13,6 +13,10 @@ module AmdgpuFan
|
|
13
13
|
.transform_keys(&:to_sym).freeze
|
14
14
|
WATCH_FIELD_SEPARATOR = ' | '
|
15
15
|
|
16
|
+
def self.exit_on_failure?
|
17
|
+
true
|
18
|
+
end
|
19
|
+
|
16
20
|
desc 'connectors', 'View the status of the display connectors.'
|
17
21
|
def connectors
|
18
22
|
amdgpu_service.connectors.each do |connector|
|
@@ -58,19 +62,19 @@ module AmdgpuFan
|
|
58
62
|
desc 'status [--logo]', 'View device info, current fan speed, and temperature.'
|
59
63
|
def status(option = nil)
|
60
64
|
puts radeon_logo if option == '--logo'
|
61
|
-
puts ICONS[:gpu] + ' GPU:'.ljust(
|
62
|
-
puts ICONS[:vbios] + ' vBIOS:'.ljust(
|
63
|
-
puts "#{ICONS[:display]} Displays
|
64
|
-
puts ICONS[:clock] + ' Clocks:'.ljust(
|
65
|
-
puts ICONS[:memory] + ' Memory:'.ljust(
|
66
|
-
puts ICONS[:fan] + ' Fan:'.ljust(
|
67
|
-
puts ICONS[:temp] + ' Temp:'.ljust(
|
68
|
-
puts ICONS[:power] + ' Power:'.ljust(
|
65
|
+
puts ICONS[:gpu] + ' GPU:'.ljust(11) + amdgpu_service.name
|
66
|
+
puts ICONS[:vbios] + ' vBIOS:'.ljust(11) + amdgpu_service.vbios_version
|
67
|
+
puts "#{ICONS[:display]} Displays: #{amdgpu_service.display_names.join(', ')}"
|
68
|
+
puts ICONS[:clock] + ' Clocks:'.ljust(11) + clock_status
|
69
|
+
puts ICONS[:memory] + ' Memory:'.ljust(11) + mem_total_mibibyes
|
70
|
+
puts ICONS[:fan] + ' Fan:'.ljust(11) + fan_status
|
71
|
+
puts ICONS[:temp] + ' Temp:'.ljust(11) + "#{amdgpu_service.temperature}°C"
|
72
|
+
puts ICONS[:power] + ' Power:'.ljust(11) +
|
69
73
|
"#{amdgpu_service.profile_mode} profile in " \
|
70
74
|
"#{amdgpu_service.power_dpm_state} mode using " \
|
71
75
|
"#{amdgpu_service.power_draw} / #{amdgpu_service.power_max} Watts "\
|
72
76
|
"(#{amdgpu_service.power_draw_percent}%)"
|
73
|
-
puts ICONS[:load] + ' Load:'.ljust(
|
77
|
+
puts ICONS[:load] + ' Load:'.ljust(11) + percent_meter(amdgpu_service.busy_percent, 12)
|
74
78
|
end
|
75
79
|
|
76
80
|
desc 'version', 'Print the application version.'
|
data/lib/amdgpu_fan/stat_set.rb
CHANGED
data/lib/amdgpu_fan/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amdgpu_fan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin McCormack
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|
@@ -30,70 +30,70 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.2'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
40
|
+
version: '1.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: pry
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
47
|
+
version: '0.14'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
54
|
+
version: '0.14'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '3.10'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '3.10'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '1.
|
75
|
+
version: '1.24'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '1.
|
82
|
+
version: '1.24'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rubocop-rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '2.
|
89
|
+
version: '2.7'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '2.
|
96
|
+
version: '2.7'
|
97
97
|
description: A CLI for interacting with the amdgpu Linux driver
|
98
98
|
email: harlemsquirrel@gmail.com
|
99
99
|
executables:
|
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: '0'
|
138
138
|
requirements: []
|
139
|
-
rubygems_version: 3.3.
|
139
|
+
rubygems_version: 3.3.7
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
142
|
summary: A CLI to view and set fan speeds for AMD graphics cards running on the open
|