fastfetch
fastfetch copied to clipboard
[BUG]Missing part of GPU information
General description of bug:
My PVE host has both Intel integrated graphics and NVIDIA discrete graphics, but the discrete graphics is not displayed.
我的PVE主机同时具备Intel集成显卡和NVIDIA独立显卡,但是独立显卡未显示出来。
Often helpful information:
Screenshot:
Output of lspci | grep -i vga:
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-S GT1 [UHD Graphics 730] (rev 0c)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107GL [Quadro 410] (rev a1)
Output of fastfetch -c ci.jsonc --format json:
[
{
"type": "Title",
"result": {
"userName": "root",
"hostName": "pve",
"homeDir": "/root/",
"exePath": "/usr/bin/fastfetch",
"userShell": "/usr/bin/zsh",
"pageSize": 4096
},
"stat": 0
},
{
"type": "Separator",
"error": "Unsupported for JSON format",
"stat": 0
},
{
"type": "OS",
"result": {
"buildID": "",
"codename": "bookworm",
"id": "pve",
"idLike": "debian",
"name": "Proxmox VE",
"prettyName": "Proxmox VE 8.1.5",
"variant": "",
"variantID": "",
"version": "12 (bookworm)",
"versionID": "8.1.5"
},
"stat": 477
},
{
"type": "Host",
"error": "neither product_family nor product_name is set by O.E.M.",
"stat": 0
},
{
"type": "Bios",
"result": {
"date": "07/26/2022",
"release": "3.7",
"vendor": "American Megatrends International, LLC.",
"version": "H3.7G",
"type": "UEFI"
},
"stat": 0
},
{
"type": "Board",
"result": {
"name": "MS-Terminator B660M",
"vendor": "Maxsun",
"version": "VER:H3.7G(2022/05/22)",
"serial": ""
},
"stat": 0
},
{
"type": "Chassis",
"result": {
"type": "Desktop",
"vendor": "",
"version": "",
"serial": ""
},
"stat": 0
},
{
"type": "Kernel",
"result": {
"architecture": "x86_64",
"name": "Linux",
"release": "6.5.13-3-pve",
"version": "#1 SMP PREEMPT_DYNAMIC PMX 6.5.13-3 (2024-03-20T10:45Z)",
"displayVersion": ""
},
"stat": 0
},
{
"type": "Uptime",
"result": {
"uptime": 4839872810,
"bootTime": "2024-07-12T18:20:41.714+0800"
},
"stat": 0
},
{
"type": "Loadavg",
"result": [
2.31787109375,
1.9130859375,
1.92822265625
],
"stat": 0
},
{
"type": "Processes",
"result": 264,
"stat": 0
},
{
"type": "Packages",
"result": {
"all": 1051,
"apk": 0,
"brew": 0,
"brewCask": 0,
"choco": 0,
"dpkg": 1051,
"emerge": 0,
"eopkg": 0,
"flatpakSystem": 0,
"flatpakUser": 0,
"nixDefault": 0,
"nixSystem": 0,
"nixUser": 0,
"pacman": 0,
"paludis": 0,
"pkg": 0,
"pkgtool": 0,
"macports": 0,
"rpm": 0,
"scoop": 0,
"snap": 0,
"winget": 0,
"xbps": 0,
"opkg": 0,
"am": 0,
"sorcery": 0,
"pacmanBranch": ""
},
"stat": 0
},
{
"type": "Shell",
"result": {
"exe": "zsh",
"exeName": "zsh",
"exePath": "/usr/bin/zsh",
"pid": 4077485,
"ppid": 4071510,
"processName": "zsh",
"prettyName": "zsh",
"version": "5.9",
"tty": 1
},
"stat": 1
},
{
"type": "Display",
"error": "Couldn't detect display",
"stat": 18
},
{
"type": "Brightness",
"result": [],
"stat": 0
},
{
"type": "Monitor",
"error": "No monitors found",
"stat": 0
},
{
"type": "LM",
"result": {
"service": "sshd",
"type": "TTY",
"version": "9.2p1 Debian-2+deb12u2"
},
"stat": 4
},
{
"type": "DE",
"error": "No DE found",
"stat": 0
},
{
"type": "WM",
"error": "No WM found",
"stat": 0
},
{
"type": "WMTheme",
"error": "WM Theme needs successful WM detection",
"stat": 0
},
{
"type": "Theme",
"error": "No themes found",
"stat": 0
},
{
"type": "Icons",
"error": "No icons could be found",
"stat": 0
},
{
"type": "Font",
"error": "No fonts found",
"stat": 0
},
{
"type": "Cursor",
"result": {
"theme": "Adwaita",
"size": ""
},
"stat": 0
},
{
"type": "Wallpaper",
"error": "Failed to detect the current wallpaper path",
"stat": 0
},
{
"type": "Terminal",
"result": {
"processName": "/dev/pts/1",
"exe": "/dev/pts/1",
"exeName": "1",
"exePath": "",
"pid": 0,
"ppid": 0,
"prettyName": "/dev/pts/1",
"version": "",
"tty": "/dev/pts/1"
},
"stat": 0
},
{
"type": "TerminalFont",
"error": "Terminal font detection is not supported on PTS",
"stat": 0
},
{
"type": "TerminalSize",
"result": {
"columns": 188,
"rows": 20,
"width": 800,
"height": 600
},
"stat": 0
},
{
"type": "TerminalTheme",
"error": "Failed to detect terminal theme",
"stat": 0
},
{
"type": "CPU",
"result": {
"cpu": "12th Gen Intel(R) Core(TM) i3-12100",
"vendor": "GenuineIntel",
"cores": {
"physical": 4,
"logical": 8,
"online": 8
},
"frequency": {
"base": 3.3,
"max": 4.3,
"min": 0.8
},
"temperature": null
},
"stat": 0
},
{
"type": "CPUUsage",
"result": [
15.789473684210526,
23.809523809523807,
15.789473684210526,
10.526315789473683,
10.526315789473683,
23.809523809523807,
15.789473684210526,
26.31578947368421
],
"stat": 200
},
{
"type": "GPU",
"result": [
{
"coreCount": null,
"memory": {
"dedicated": {
"total": null,
"used": null
},
"shared": {
"total": null,
"used": null
}
},
"driver": "i915",
"name": "UHD Graphics 730",
"temperature": null,
"type": "Integrated",
"vendor": "Intel",
"platformApi": "",
"frequency": 1.4
}
],
"stat": 3
},
{
"type": "Memory",
"result": {
"total": 67115929600,
"used": 45732945920
},
"stat": 0
},
{
"type": "PhysicalMemory",
"result": [
{
"size": 0,
"maxSpeed": 3200,
"runningSpeed": 3200,
"type": "DDR4",
"locator": "BANK 0/Controller0-ChannelA-DIMM1",
"formFactor": "DIMM",
"vendor": "Gloway International Co Ltd",
"serial": "",
"partNumber": "",
"ecc": false
},
{
"size": 0,
"maxSpeed": 3200,
"runningSpeed": 3200,
"type": "DDR4",
"locator": "BANK 0/Controller1-ChannelA-DIMM1",
"formFactor": "DIMM",
"vendor": "Gloway International Co Ltd",
"serial": "",
"partNumber": "",
"ecc": false
}
],
"stat": 0
},
{
"type": "Swap",
"result": {
"total": 1073737728,
"used": 994238464
},
"stat": 0
},
{
"type": "Disk",
"result": [
{
"bytes": {
"available": 762366279680,
"free": 843041169408,
"total": 1958883782656,
"used": 1115842613248
},
"files": {
"total": 121511936,
"used": 216956
},
"filesystem": "ext4",
"mountpoint": "/",
"mountFrom": "/dev/mapper/pve-root",
"name": "",
"volumeType": [
"Regular"
],
"createTime": "2023-07-11T19:27:04.000+0800"
},
{
"bytes": {
"available": 1071276032,
"free": 1071276032,
"total": 1071628288,
"used": 352256
},
"files": {
"total": null,
"used": null
},
"filesystem": "vfat",
"mountpoint": "/boot/efi",
"mountFrom": "/dev/nvme0n1p2",
"name": "",
"volumeType": [
"Hidden"
],
"createTime": null
}
],
"stat": 0
},
{
"type": "Battery",
"result": [],
"stat": 0
},
{
"type": "PowerAdapter",
"result": [],
"stat": 0
},
{
"type": "Player",
"error": "No media found",
"stat": 32
},
{
"type": "Media",
"error": "No media found",
"stat": 0
},
{
"type": "PublicIp",
"result": {
"ip": "120.85.246.0",
"location": "Guangzhou, CN"
},
"stat": 0
},
{
"type": "LocalIp",
"result": [
{
"defaultRoute": true,
"ipv4": "192.168.31.240/24",
"ipv6": "",
"mac": "",
"name": "vmbr0"
}
],
"stat": 1
},
{
"type": "Wifi",
"error": "linux/wireless.h not found during compilation",
"stat": 0
},
{
"type": "DateTime",
"result": "2024-05-17T17:56:09.163+0800",
"stat": 0
},
{
"type": "Locale",
"result": "en_US.UTF-8",
"stat": 0
},
{
"type": "Vulkan",
"error": "ffvkCreateInstance() failed",
"stat": 1
},
{
"type": "OpenGL",
"error": "dlopen glx failed",
"stat": 0
},
{
"type": "OpenCL",
"error": "dlopen libOpenCL.so failed",
"stat": 0
},
{
"type": "Users",
"result": [
{
"name": "root",
"hostName": "192.168.31.142",
"sessionName": "pts/0",
"clientIp": "192.168.31.142",
"loginTime": "2024-05-17T17:36:03.855+0800"
}
],
"stat": 0
},
{
"type": "Bluetooth",
"error": "Failed to call GetManagedObjects",
"stat": 1
},
{
"type": "Sound",
"error": "Failed to connect to pulseaudio context",
"stat": 5
},
{
"type": "Camera",
"error": "Fastfetch was compiled without <linux/videodev2.h>",
"stat": 0
},
{
"type": "Gamepad",
"result": [],
"stat": 0
},
{
"type": "Weather",
"result": "+28°C - Overcast (Guangzhou, China)",
"stat": 0
},
{
"type": "NetIO",
"result": [
{
"name": "vmbr0",
"defaultRoute": true,
"txBytes": 3148,
"rxBytes": 2456,
"txPackets": 20,
"rxPackets": 12,
"rxErrors": 0,
"txErrors": 0,
"rxDrops": 0,
"txDrops": 0
}
],
"stat": 256
},
{
"type": "DiskIO",
"result": [
{
"name": "Fanxiang S790 2TB",
"devPath": "/dev/nvme0n1",
"bytesRead": 524288,
"bytesWritten": 102400,
"readCount": 38,
"writeCount": 7
}
],
"stat": 1
},
{
"type": "PhysicalDisk",
"result": [
{
"name": "Fanxiang S790 2TB",
"devPath": "/dev/nvme0n1",
"interconnect": "NVMe",
"kind": "SSD",
"size": 2000398934016,
"serial": "FXS790232115927",
"removable": false,
"readOnly": false,
"revision": "SN11273",
"temperature": null
}
],
"stat": 0
},
{
"type": "Version",
"result": {
"projectName": "fastfetch",
"architecture": "x86_64",
"version": "2.12.0",
"versionTweak": "",
"cmakeBuiltType": "RelWithDebInfo",
"compileTime": "May 14 2024, 07:55:36",
"compiler": "gcc 9.4.0",
"debugMode": false,
"libc": "glibc 2.31"
},
"stat": 0
},
{
"type": "Break",
"error": "Unsupported for JSON format",
"stat": 0
},
{
"type": "Colors",
"error": "Unsupported for JSON format",
"stat": 0
}
]
Output of fastfetch --list-features:
threads
vulkan
wayland
xcb-randr
xcb
xrandr
x11
drm
gio
dconf
dbus
imagemagick7
imagemagick6
chafa
zlib
xfconf
sqlite3
egl
glx
osmesa
opencl
libpulse
libnm
libddcutil
Directx Headers
Proprietary GPU driver API
What does ls -l /sys/class/drm print?
What does
ls -l /sys/class/drmprint?
No NVIDIA GPU output information. Maybe it's because I blocked the open source driver for GPU passthrough.
╭─root@pve ~
╰─# ls -l /sys/class/drm
total 0
lrwxrwxrwx 1 root root 0 Mar 25 14:39 card0 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0
lrwxrwxrwx 1 root root 0 Apr 2 01:15 card0-DP-1 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1
lrwxrwxrwx 1 root root 0 Apr 2 01:15 card0-DP-2 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-2
lrwxrwxrwx 1 root root 0 Apr 2 01:15 card0-HDMI-A-1 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-1
lrwxrwxrwx 1 root root 0 Apr 2 01:15 card0-HDMI-A-2 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-2
lrwxrwxrwx 1 root root 0 Apr 2 01:15 card0-HDMI-A-3 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-3
lrwxrwxrwx 1 root root 0 Apr 2 01:15 card0-HDMI-A-4 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-4
lrwxrwxrwx 1 root root 0 Apr 2 01:15 renderD128 -> ../../devices/pci0000:00/0000:00:02.0/drm/renderD128
-r--r--r-- 1 root root 4096 Apr 2 01:15 version
Do you have Nvidia proprietary driver installed?
Do you have Nvidia proprietary driver installed?
No, the host does not drive the NVIDIA GPU, and the guest (virtual machine) will install the driver. So the question becomes the hardware that does not properly install the driver should be displayed on fastfetch?
No, the host does not drive the NVIDIA GPU, and the guest (virtual machine) will install the driver.
Can fastfetch detect the NVIDIA GPU in the guest VM?
No, the host does not drive the NVIDIA GPU, and the guest (virtual machine) will install the driver.
Can fastfetch detect the NVIDIA GPU in the guest VM?
In my guest VM, there are the following two situations. 在我的虚拟机里,存在以下两种情况。
①When I connect to the virtual machine using RDP, I want to give it an extra virtual GPU.The guest are two GPUs at this time, and fastfetch can only display one of them. ①当我使用RDP连接虚拟机,为了使它多一块虚拟GPU。此时存在两块GPU,fastfetch只能显示出来其中一个。
②If I connect the monitor directly using the NVIDIA GPU, which is only one graphics card at this time, fastfetch works fine.
②如果我直接使用NVIDIA GPU连接显示器,此时只有一块显卡,fastfetch工作正常。
This may involve other issues such as kvm pass-through hardware, RDP configuration, etc. I am considering that this may not be a problem with fastfetch. 这里面可能涉及到kvm直通硬件、RDP配置等其他问题,我在考虑这可能不是fastfetch的问题。
What do you think of this question? 对于这个问题你怎么看?
Please try this one: https://github.com/fastfetch-cli/fastfetch/actions/runs/9129221615/artifacts/1513365431
Please try this one: https://github.com/fastfetch-cli/fastfetch/actions/runs/9129221615/artifacts/1513365431
It cannot be displayed correctly as before.
Can Microsoft Edge find it?
edge://gpu in Microsoft Edge or chrome://gpu in Chrome
Can Microsoft Edge find it?
edge://gpuin Microsoft Edge orchrome://gpuin Chrome
Yes,Google Chrome correctly display GPU information.
What does fastfetch --gpu-force-vulkan --format json print?
What does
fastfetch --gpu-force-vulkan --format jsonprint?
It shows the NVIDIA GPU information correctly.
./fastfetch.exe --gpu-force-vulkan --format json
[
{
"type": "Title",
"result": {
"userName": "dsf",
"hostName": "w11-dev",
"homeDir": "C:/Users/dsf/",
"exePath": "C:/Users/dsf/Desktop/fastfetch-windows-amd64/fastfetch-windows-amd64/fastfetch.exe",
"userShell": "",
"pageSize": 4096
}
},
{
"type": "Separator",
"error": "Unsupported for JSON format"
},
{
"type": "OS",
"result": {
"buildID": "",
"codename": "",
"id": "Windows 11",
"idLike": "",
"name": "Windows",
"prettyName": "Windows",
"variant": "企业版",
"variantID": "",
"version": "11",
"versionID": ""
}
},
{
"type": "Host",
"result": {
"family": "",
"name": "Standard PC (Q35 + ICH9, 2009)",
"version": "pc-q35-8.1",
"sku": "",
"vendor": "QEMU",
"serial": "",
"uuid": "4B0E44A6-7227-4422-867B-13F399046D6E"
}
},
{
"type": "Kernel",
"result": {
"architecture": "x86_64",
"name": "WIN32_NT",
"release": "10.0.22631.3447",
"version": "22621.1.amd64fre.ni_release.220506-1250",
"displayVersion": "23H2"
}
},
{
"type": "Uptime",
"result": {
"uptime": 8618484,
"bootTime": "2024-05-17T20:25:45.426+0800"
}
},
{
"type": "Packages",
"result": {
"all": 46,
"apk": 0,
"brew": 0,
"brewCask": 0,
"choco": 0,
"dpkg": 0,
"emerge": 0,
"eopkg": 0,
"flatpakSystem": 0,
"flatpakUser": 0,
"nixDefault": 0,
"nixSystem": 0,
"nixUser": 0,
"pacman": 0,
"paludis": 0,
"pkg": 0,
"pkgtool": 0,
"macports": 0,
"rpm": 0,
"scoop": 46,
"snap": 0,
"winget": 0,
"xbps": 0,
"opkg": 0,
"am": 0,
"sorcery": 0,
"pacmanBranch": ""
}
},
{
"type": "Shell",
"result": {
"exe": "C:\\opt\\scoop\\apps\\powershell\\7.4.1\\pwsh.exe",
"exeName": "pwsh.exe",
"exePath": "C:\\opt\\scoop\\apps\\powershell\\7.4.1\\pwsh.exe",
"pid": 15196,
"ppid": 13912,
"processName": "pwsh.exe",
"prettyName": "PowerShell",
"version": "7.4.1",
"tty": null
}
},
{
"type": "Display",
"result": [
{
"width": 3840,
"height": 2160,
"id": 65537,
"name": "Default_Monitor",
"primary": true,
"refreshRate": 32.0,
"rotation": 0,
"scaledHeight": 1080,
"scaledWidth": 1920,
"type": "Unknown"
}
]
},
{
"type": "DE",
"result": {
"processName": "",
"prettyName": "Fluent",
"version": ""
}
},
{
"type": "WM",
"result": {
"processName": "dwm.exe",
"prettyName": "Desktop Window Manager",
"protocolName": "",
"pluginName": ""
}
},
{
"type": "WMTheme",
"result": "ADMTheme - Blue (System: Dark, Apps: Dark)"
},
{
"type": "Theme",
"error": "Not supported on this platform"
},
{
"type": "Icons",
"result": "This PC, User's Files, Recycle Bin, Control Panel"
},
{
"type": "Font",
"result": {
"display": "Microsoft YaHei UI (12pt) [Caption / Menu / Message / Status]",
"fonts": [
"Microsoft YaHei UI (12pt)",
"Microsoft YaHei UI (12pt)",
"Microsoft YaHei UI (12pt)",
"Microsoft YaHei UI (12pt)"
]
}
},
{
"type": "Cursor",
"result": {
"theme": "Windows 默认",
"size": "32"
}
},
{
"type": "Terminal",
"result": {
"processName": "WindowsTerminal.exe",
"exe": "C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_1.19.10821.0_x64__8wekyb3d8bbwe\\WindowsTerminal.exe",
"exeName": "WindowsTerminal.exe",
"exePath": "C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_1.19.10821.0_x64__8wekyb3d8bbwe\\WindowsTerminal.exe",
"pid": 13912,
"ppid": 10128,
"prettyName": "Windows Terminal",
"version": "1.19.10821.0",
"tty": ""
}
},
{
"type": "TerminalFont",
"result": {
"font": {
"name": "Fira Code Retina",
"size": "12",
"styles": [],
"pretty": "Fira Code Retina (12pt)"
},
"fallback": {
"name": "",
"size": "",
"styles": [],
"pretty": ""
}
}
},
{
"type": "CPU",
"result": {
"cpu": "12th Gen Intel(R) Core(TM) i3-12100",
"vendor": "GenuineIntel",
"cores": {
"physical": 4,
"logical": 4,
"online": 4
},
"frequency": {
"base": 3.302,
"max": null,
"min": null
},
"coreCounts": [
4
],
"temperature": null
}
},
{
"type": "GPU",
"result": [
{
"coreCount": null,
"memory": {
"dedicated": {
"total": 497418240,
"used": null
},
"shared": {
"total": 8570265600,
"used": null
}
},
"driver": "474.82",
"name": "Quadro 410",
"temperature": null,
"type": "Discrete",
"vendor": "NVIDIA",
"platformApi": "Vulkan 1.2.175",
"frequency": null
}
]
},
{
"type": "Memory",
"result": {
"total": 17140531200,
"used": 5126713344
}
},
{
"type": "Swap",
"result": {
"total": 2550136832,
"used": 14127104
}
},
{
"type": "Disk",
"result": [
{
"bytes": {
"available": 375712350208,
"free": 375712350208,
"total": 535912509440,
"used": 160200159232
},
"files": {
"total": null,
"used": null
},
"filesystem": "NTFS",
"mountpoint": "C:\\",
"mountFrom": "\\Device\\HarddiskVolume3",
"name": "",
"volumeType": [
"Regular"
],
"createTime": "2022-05-07T13:17:22.491+0800"
}
]
},
{
"type": "LocalIp",
"result": [
{
"defaultRoute": true,
"ipv4": "192.168.31.254/24",
"ipv6": "",
"mac": "",
"name": "LAN1"
}
]
},
{
"type": "Battery",
"error": "NtPowerInformation(SystemBatteryState) failed"
},
{
"type": "PowerAdapter",
"error": "Not supported on this platform"
},
{
"type": "Locale",
"result": "zh-CN"
},
{
"type": "Break",
"error": "Unsupported for JSON format"
},
{
"type": "Colors",
"error": "Unsupported for JSON format"
}
]
But no Microsoft Remote Display Adapter?
But no
Microsoft Remote Display Adapter?
Yes.
Well, I don't really know what happened. I don't think I can come up with a fix without actually debugging fastfetch in the platform.
In Linux, fastfetch --gpu-detection-method pci should print the Nvidia GPU after 2.13.0
