[FEAT] Maybe we can output the model of the chip currently used by the graphics card?
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- c
- Bereich
- cli, operating-systems
Rechercherichtung
In diesem Issue sind keine Implementierungsdateien, Tests oder Einstiegspunkte angegeben. Beginne damit, fastfetchs bestehendes Modul für Grafikkarteninformationen und dessen plattformspezifische Hardwareerkennung zu finden, und vergleiche anschließend die verfügbare lspci-Ausgabe unter Linux und Windows. Als erledigt gilt die Meldung des Namens des Grafikchips, sofern die Erkennung unterstützt wird, ohne den bestehenden Kartennamen und die Ausgabe des Videospeichers zu verlieren.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Description
In most cases, the current information (graphics card name and video memory capacity) does indeed reflect all the information many people need to know. However, as an enhancement, maybe we can output the specific chip model of the graphics card? This would be useful in some scenarios, because graphics cards with the same marketing name may actually have different chip models (for example, RTX4060 uses AD107 and AD106 chips to provide the same specifications, while Radeon RX550 uses two chips (Lexa PRO (also known as Polaris 12) and Baffin LE) to offer two specifications (512SP and 640SP)).
This makes providing more information (such as chip name and the number of stream processors) useful. However, there seems to be no universal method to obtain the accurate number of stream processors, so I won’t make any comments or requests about this. But in most cases, outputting the chip name should be possible. On Linux, lspci can usually do this. For example, the following lspci line indicates that this is an RX550 series graphics card based on the Lexa PRO chip:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] (rev c7)
And (at least for me), lspci on Windows is also effective. I downloaded lspci for Windows from here, and it correctly outputted my graphics card model (Radeon RX6500XT) and the chip it uses (Navi 24):
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400/6500 XT/6500M] (rev c1)
Motivation
Custom modules should be able to achieve this, but I don’t think it would be inappropriate to incorporate it as part of fastfetch. fastfetch is already capable of retrieving a significant amount of hardware information, this proposal aligns with your requirements (“We only accept hardware or system level software feature requests.”) and should be feasible to implement.
Additional context
I also tested this on a computer with an Intel integrated graphics card. lspci outputs the code name of the current integrated graphics card, which is similar to my goal of “outputting the graphics card chip model” (used to distinguish graphics cards with different chips but the same marketing name). I think we should do this for Intel integrated graphics cards. Here is the output:
00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 03)
I also tested AMD integrated graphics cards from different periods, and there were no issues.
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] (rev e2)
c1:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 (rev c8)
Although I currently don’t have an environment to test Nvidia graphics cards, I vaguely remember that for Nvidia graphics cards, lspci also outputs the chip name.
(Sorry, I am using a translation service, so I might have inadvertently used an incorrect way to express my request. I hope you can understand and be tolerant of this. Thank you very much!)
- Vorherrschende Sprache
- C
- Sterne
- 25.4k
- Forks
- 947
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 21
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus fastfetch-cli/fastfetch
-
[LOGO] VentoOSOffenlogo request
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 80/100
fastfetch-cli/fastfetch#2742 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[LOGO] MacroMag OSEvtl. vergeben @maldyrek hat das vor 1 Tag übernommen. Offenlogo request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
fastfetch-cli/fastfetch#2740 ·
Maintainer antworten meist innerhalb von 1 Tag
-
logo request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
fastfetch-cli/fastfetch#2713 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
[LOGO] Visnux LinuxEvtl. vergeben @rafaelsoje hat das vor 19 Tagen übernommen. Offenlogo request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
fastfetch-cli/fastfetch#2700 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[LOGO] ZelixOSEvtl. vergeben @Hwi0228 hat das vor 24 Tagen übernommen. Offenlogo request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
fastfetch-cli/fastfetch#2685 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in fastfetch-cli/fastfetch
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
trezor/trezor-firmware#8357 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
good first issue kernel
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
JackFurton/who-would-build-a-kernel-in-java#316 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
PE5PVB/TEF6686_ESP32#970 ·
-
bug sev-3
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100