FoldingAtHome / fah-web-client-bastet

Folding@home client frontend
GNU General Public License v3.0
18 stars 6 forks source link

Display actual Graphics Card names instead of ISA codenames on AMD cards #152

Open muziqaz opened 3 months ago

muziqaz commented 3 months ago

So currently AMD GPUs are showing up in their architectural ISA codenames, like gfx1030, which in human language is RX6900XT. This is OS agnostic. In Linux I understand that client pings clinfo or something similar and grabs whatever is under "Device Name", in this case it is gfx1030. This is partly AMD's fault, since with ROCm, they changed that even further. But if possible maybe fahclient could grab info under "Device Board Name (AMD)" which is AMD Radeon RX 6900 XT. This further could be appended to something like AMD RX6900XT. This would be very usefull in debugging, especially if this name was printed in the log under System when fahclient starts.

P.S. Not sure if this is fahclient thing, or web client issue.

kbernhagen commented 3 months ago

Related: #122 Both cpu and gpu names are mentioned.

Anyway, probably a client issue to put nice descriptions in the json.

muziqaz commented 3 months ago

Related: #122 Both cpu and gpu names are mentioned.

Anyway, probably a client issue to put nice descriptions in the json.

No, they are not: 20:52:55:WU01:FS03:FahCore 0x23 started 20:52:56:WU01:FS03:0x23: Log Started 2024-05-25T20:52:55Z 20:52:56:WU01:FS03:0x23: Core23 Folding@home Core 20:52:56:WU01:FS03:0x23: Core: Core23 20:52:56:WU01:FS03:0x23: Type: 0x23 20:52:56:WU01:FS03:0x23: Version: 8.0.3 20:52:56:WU01:FS03:0x23: Author: Joseph Coffland joseph@cauldrondevelopment.com 20:52:56:WU01:FS03:0x23: Copyright: 2022 foldingathome.org 20:52:56:WU01:FS03:0x23: Homepage: https://foldingathome.org/ 20:52:56:WU01:FS03:0x23: Date: Aug 3 2023 20:52:56:WU01:FS03:0x23: Time: 08:39:06 20:52:56:WU01:FS03:0x23: Compiler: Visual C++ 20:52:56:WU01:FS03:0x23: Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT 20:52:56:WU01:FS03:0x23: -DOPENMM_VERSION="\"8.0.0\"" 20:52:56:WU01:FS03:0x23: Platform: win32 10 20:52:56:WU01:FS03:0x23: Bits: 64 20:52:56:WU01:FS03:0x23: Mode: Release 20:52:56:WU01:FS03:0x23:Maintainers: John Chodera john.chodera@choderalab.org and Peter Eastman 20:52:56:WU01:FS03:0x23: peastman@stanford.edu 20:52:56:WU01:FS03:0x23: Args: -dir 01 -suffix 01 -version 706 -lifeline 11568 -checkpoint 3 20:52:56:WU01:FS03:0x23: -opencl-platform 0 -opencl-device 0 -gpu-vendor amd -gpu 0 20:52:56:WU01:FS03:0x23: -gpu-usage 100 20:52:56:WU01:FS03:0x23:**** libFAH **** 20:52:56:WU01:FS03:0x23: Date: Aug 3 2023 20:52:56:WU01:FS03:0x23: Time: 08:37:55 20:52:56:WU01:FS03:0x23: Compiler: Visual C++ 20:52:56:WU01:FS03:0x23: Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT 20:52:56:WU01:FS03:0x23: Platform: win32 10 20:52:56:WU01:FS03:0x23: Bits: 64 20:52:56:WU01:FS03:0x23: Mode: Release 20:52:56:WU01:FS03:0x23:**** CBang ***** 20:52:56:WU01:FS03:0x23: Version: 1.7.2 20:52:56:WU01:FS03:0x23: Author: Joseph Coffland joseph@cauldrondevelopment.com 20:52:56:WU01:FS03:0x23: Org: Cauldron Development LLC 20:52:56:WU01:FS03:0x23: Copyright: Cauldron Development LLC, 2003-2023 20:52:56:WU01:FS03:0x23: Homepage: https://cauldrondevelopment.com/ 20:52:56:WU01:FS03:0x23: License: GPL 2+ 20:52:56:WU01:FS03:0x23: Date: Aug 3 2023 20:52:56:WU01:FS03:0x23: Time: 08:37:14 20:52:56:WU01:FS03:0x23: Compiler: Visual C++ 20:52:56:WU01:FS03:0x23: Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT 20:52:56:WU01:FS03:0x23: Platform: win32 10 20:52:56:WU01:FS03:0x23: Bits: 64 20:52:56:WU01:FS03:0x23: Mode: Release 20:52:56:WU01:FS03:0x23:**** System **** 20:52:56:WU01:FS03:0x23: CPU: AMD Ryzen 9 3900X 12-Core Processor 20:52:56:WU01:FS03:0x23: CPU ID: AuthenticAMD Family 23 Model 113 Stepping 0 20:52:56:WU01:FS03:0x23: CPUs: 24 20:52:56:WU01:FS03:0x23: Memory: 15.93GiB 20:52:56:WU01:FS03:0x23:Free Memory: 11.74GiB 20:52:56:WU01:FS03:0x23: Threads: WINDOWS_THREADS 20:52:56:WU01:FS03:0x23: OS Version: 6.2 20:52:56:WU01:FS03:0x23:Has Battery: false 20:52:56:WU01:FS03:0x23: On Battery: false 20:52:56:WU01:FS03:0x23: UTC Offset: 1 20:52:56:WU01:FS03:0x23: PID: 3320 20:52:56:WU01:FS03:0x23: CWD: C:\Users\muziqaz2\Desktop\fahdata\work 20:52:56:WU01:FS03:0x23: Exec: C:\Users\muziqaz2\Desktop\fahdata\cores\cores.foldingathome.org\openmm-core-23\windows-10-64bit\release\0x23-8.0.3\Core_23.fah\FahCore_23.exe 20:52:56:WU01:FS03:0x23:**** OpenMM **** 20:52:56:WU01:FS03:0x23: Version: 8.0.0 20:52:56:WU01:FS03:0x23:**** this is v7 output, but v8 is nearly identical. "System" section mentions CPU only. I know fahcore23+ prints out that info later, but it would be good for fahclient to print full device list in the log before a WU start

kbernhagen commented 3 months ago

Almost all information presented in web control comes from the client. I think the WU state strings get translated by WC. The cause choice strings come from the api server.

In the future, WC may do language translations in javascript, based on English strings sent by the client.

kbernhagen commented 3 months ago

You can see the snapshot in your web browser javascript console.

Or use

pip3 install lufah
lufah . status

Edit: example snapshot: https://github.com/FoldingAtHome/fah-client-bastet/discussions/215#discussioncomment-8419590