[FEAT] Maybe we can output the model of the chip currently used by the graphics card?
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- c
- Domaine
- cli, operating-systems
Piste de recherche
Aucun fichier d’implémentation, test ou point d’entrée n’est identifié dans l’issue. Commencez par localiser le module existant de fastfetch consacré aux informations de la carte graphique ainsi que sa détection matérielle spécifique à la plateforme, puis comparez la sortie lspci disponible sous Linux et Windows. Le travail est considéré comme terminé lorsque le nom de la puce graphique est indiqué là où la détection est prise en charge, sans perdre le nom existant de la carte ni la sortie de la mémoire vidéo.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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!)
- Langage dominant
- C
- Étoiles
- 25.4k
- Forks
- 947
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 21
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de fastfetch-cli/fastfetch
-
[LOGO] VentoOSOuvertelogo request
Difficulté 1/5 Moins d'une heure Accessibilité débutants 80/100
fastfetch-cli/fastfetch#2742 ·
Les mainteneurs répondent en général sous 1 jour
-
[LOGO] MacroMag OSPeut-être pris @maldyrek l’a pris il y a 1 jour. Ouvertelogo request
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
fastfetch-cli/fastfetch#2740 ·
Les mainteneurs répondent en général sous 1 jour
-
logo request
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
fastfetch-cli/fastfetch#2713 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
[LOGO] Visnux LinuxPeut-être pris @rafaelsoje l’a pris il y a 19 jours. Ouvertelogo request
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
fastfetch-cli/fastfetch#2700 ·
Les mainteneurs répondent en général sous 1 jour
-
[LOGO] ZelixOSPeut-être pris @Hwi0228 l’a pris il y a 24 jours. Ouvertelogo request
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
fastfetch-cli/fastfetch#2685 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de fastfetch-cli/fastfetch
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
good first issue kernel
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
JackFurton/who-would-build-a-kernel-in-java#316 ·
Les mainteneurs répondent en général sous 1 jour
-
Bandwidth selector rotary direction is inconsistent with the regular menu on portable modelsOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
PE5PVB/TEF6686_ESP32#970 ·
-
bug sev-3
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Les mainteneurs répondent en général sous 1 jour