Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
System Monitoring Center
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Kayıtlar (commit)
Kenar çubuğunu aç
Hakan Dündar
System Monitoring Center
Commits
78940045
Kaydet (Commit)
78940045
authored
Eki 02, 2023
tarafından
Hakan Dündar
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Improvements for video engine load of AMD GPUs
üst
ca354810
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
Gpu.py
src/Gpu.py
+2
-5
Libsysmon.py
src/Libsysmon.py
+3
-3
No files found.
src/Gpu.py
Dosyayı görüntüle @
78940045
...
...
@@ -689,11 +689,8 @@ class Gpu:
def
update_video_encoder_decoder_load_graph_gui
(
self
):
"""
A single video engine load is get for new AMD GPUs.
Because AMD GPUs have a single engine (VCN) for video encoding and decoding after 2018.
In this case, video engine load value is tracked by "gpu_encoder_load" variable.
"gpu_decoder_load" variable ise set as "-9999". Code using this function may recognize that
there is a single video engine load value.
A single video engine load is get for some AMD GPUs.
Some GUI widgets shown/hidden or their text is updated by checking if "-9999" added in "gpu_decoder_load_list".
"""
if
self
.
gpu_decoder_load_list
[
-
1
]
==
float
(
-
9999
):
...
...
src/Libsysmon.py
Dosyayı görüntüle @
78940045
...
...
@@ -3293,7 +3293,7 @@ def gpu_encoder_decoder_load_amd_func():
This is a 3rd party tool.
"""
command_list
=
[
"amdgpu_top"
,
"-J"
,
"-n"
,
"1"
]
command_list
=
[
"amdgpu_top"
,
"-J"
,
"-
s"
,
"100ms"
,
"-
n"
,
"1"
]
if
get_environment_type
()
==
"flatpak"
:
command_list
=
[
"flatpak-spawn"
,
"--host"
]
+
command_list
...
...
@@ -3336,8 +3336,8 @@ def process_gpu_tool_output_amdgpu_top(gpu_pci_address, gpu_tool_output_amdgpu_t
gpu_encoder_load
=
f
'{float(media_engine_load_value):.0f}
%
'
gpu_decoder_load
=
"-9999
%
"
# A single video engine load is get for
new
AMD GPUs.
# Because AMD GPUs have a single engine (VCN)
for video encoding and decoding after 2018
.
# A single video engine load is get for
some
AMD GPUs.
# Because AMD GPUs have a single engine (VCN)
4 for video encoding and decoding after 2022
.
# In this case, video engine load value is tracked by "gpu_encoder_load" variable.
# "gpu_decoder_load" variable ise set as "-9999 %". Code using this function may recognize that
# there is a single video engine load value.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment