[FEAT] Maybe we can output the model of the chip currently used by the graphics card?
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- c
- 領域
- cli, operating-systems
調査の方向性
このissueでは、実装ファイル、テスト、エントリポイントは特定されていません。まず、fastfetchに既存するグラフィックスカード情報モジュールと、そのプラットフォーム固有のハードウェア検出を見つけ、次にLinuxとWindowsで利用可能なlspciの出力を比較します。検出がサポートされている場合にグラフィックチップ名を報告し、既存のカード名とビデオメモリの出力を失わないことが完了条件です。
索引モデルが issue の本文から書いたものです。
説明
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!)
- 主要言語
- C
- スター
- 25.4k
- フォーク
- 947
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 21
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fastfetch-cli/fastfetch のほかの issue
-
[LOGO] VentoOSオープンlogo request
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
fastfetch-cli/fastfetch#2742 ·
メンテナーはふだん 1 日以内に返信
-
[LOGO] MacroMag OS対応中かも @maldyrek が 1 日前に担当しました。 オープンlogo request
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
fastfetch-cli/fastfetch#2740 ·
メンテナーはふだん 1 日以内に返信
-
logo request
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
fastfetch-cli/fastfetch#2713 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[LOGO] Visnux Linux対応中かも @rafaelsoje が 19 日前に担当しました。 オープンlogo request
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
fastfetch-cli/fastfetch#2700 ·
メンテナーはふだん 1 日以内に返信
-
[LOGO] ZelixOS対応中かも @Hwi0228 が 24 日前に担当しました。 オープンlogo request
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
fastfetch-cli/fastfetch#2685 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
fastfetch-cli/fastfetch の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
good first issue kernel
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
JackFurton/who-would-build-a-kernel-in-java#316 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
PE5PVB/TEF6686_ESP32#970 ·
-
bug sev-3
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信