hykilpikonna / hyfetch

🏳️‍🌈 🏳️‍⚧️ Neofetch with LGBTQ+ pride flags!
MIT License
1.15k stars 90 forks source link

GPU Make incorrect #270

Open ItMeCorban opened 2 months ago

ItMeCorban commented 2 months ago

Describe the bug

On my laptop with 2 GPUs, the 1st one is displayed correctly, but the 2nd has the correct manufacturer (intel) but shows the laptop model as the model.

Expected behavior

Should probably be the GPU Model

Screenshots

hyfetch                                                                                                                                                                         

                   -`                    ---------- 
                  .o+`                   OS: Arch Linux x86_64 
                 `ooo/                   Host: Precision 3580 
                `+oooo:                  Kernel: 6.8.7-zen1-2-zen 
               `+oooooo:                 Uptime: 1 day, 1 hour, 50 mins 
               -+oooooo+:                Packages: 6 (npm), 1194 (pacman), 1 (steam), 57 (flatpak-system) 
             `/:-:++oooo+:               Shell: zsh 5.9 
            `/++++/+++++++:              Resolution: 1920x1080, 1920x1080 
           `/++++++++++++++:             DE: Plasma 6.0.4 [KF5 ] [Qt ] (wayland) 
          `/+++ooooooooooooo/`           WM: kwin_wayland_wr 
         ./ooosssso++osssssso+`          Theme: Breeze-Dark [GTK2/3] 
        .oossssso-````/ossssss+`         Icons: BeautyLine [GTK2/3] 
       -osssssso.      :ssssssso.        Terminal: tmux 
      :osssssss/        osssso+++.       CPU: 13th Gen Intel i7-1360P (16) @ 5.000GHz 
     /ossssssss/        +ssssooo/-       GPU: NVIDIA RTX A500 Laptop GPU 
   `/ossssso+/:-        -:/+osssso+-     GPU: Intel Precision 3580 
  `+sso+:-`                 `.-/+oso:    Memory: 10822.39 MiB / 31781.46 MiB 
 `++:.                           `-/+/
 .`                                 `/                           

Config file

Please paste the content of ~/.config/hyfetch.json below:

{
    "preset": "genderfluid",
    "mode": "rgb",
    "light_dark": "dark",
    "lightness": 0.65,
    "color_align": {
        "mode": "horizontal",
        "custom_colors": [],
        "fore_back": null
    },
    "backend": "neofetch",
    "args": null,
    "distro": null,
    "pride_month_shown": [],
    "pride_month_disable": false
}

Additional context

The same is visible in the output of neowofetch, but not in the original neofetch

neofetch                                                                                                                                                                            
                   -`                     
                  .o+`                   ---------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: Precision 3580 
               `+oooooo:                 Kernel: 6.8.7-zen1-2-zen 
               -+oooooo+:                Uptime: 1 day, 1 hour, 54 mins 
             `/:-:++oooo+:               Packages: 1195 (pacman), 57 (flatpak) 
            `/++++/+++++++:              Shell: zsh 5.9 
           `/++++++++++++++:             Resolution: 1920x1080 
          `/+++ooooooooooooo/`           DE: Plasma 6.0.4 
         ./ooosssso++osssssso+`          WM: kwin 
        .oossssso-````/ossssss+`         Theme: Breeze-Dark [GTK2], Breeze [GTK3] 
       -osssssso.      :ssssssso.        Icons: BeautyLine [GTK2/3] 
      :osssssss/        osssso+++.       Terminal: tmux 
     /ossssssss/        +ssssooo/-       CPU: 13th Gen Intel i7-1360P (16) @ 5.000GHz 
   `/ossssso+/:-        -:/+osssso+-     GPU: NVIDIA RTX A500 Laptop GPU 
  `+sso+:-`                 `.-/+oso:    GPU: Intel Raptor Lake-P [Iris Xe Graphics] 
 `++:.                           `-/+/   Memory: 10499MiB / 31781MiB 
 .`                                 `/
neowofetch                                                                                                                                                                          
                   -`                     
                  .o+`                   ---------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: Precision 3580 
               `+oooooo:                 Kernel: 6.8.7-zen1-2-zen 
               -+oooooo+:                Uptime: 1 day, 1 hour, 55 mins 
             `/:-:++oooo+:               Packages: 6 (npm), 1195 (pacman), 1 (steam), 57 (flatpak-system) 
            `/++++/+++++++:              Shell: zsh 5.9 
           `/++++++++++++++:             Resolution: 1920x1080, 1920x1080 
          `/+++ooooooooooooo/`           DE: Plasma 6.0.4 [KF5 ] [Qt ] (wayland) 
         ./ooosssso++osssssso+`          WM: kwin_wayland_wr 
        .oossssso-````/ossssss+`         Theme: Breeze-Dark [GTK2/3] 
       -osssssso.      :ssssssso.        Icons: BeautyLine [GTK2/3] 
      :osssssss/        osssso+++.       Terminal: tmux 
     /ossssssss/        +ssssooo/-       CPU: 13th Gen Intel i7-1360P (16) @ 5.000GHz 
   `/ossssso+/:-        -:/+osssso+-     GPU: NVIDIA RTX A500 Laptop GPU 
  `+sso+:-`                 `.-/+oso:    GPU: Intel Precision 3580 
 `++:.                           `-/+/   Memory: 10959.05 MiB / 31781.46 MiB 
 .`                                 `/