Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

GPU support. #21

Closed
4 of 6 tasks
dylanaraps opened this issue Jan 19, 2016 · 6 comments
Closed
4 of 6 tasks

GPU support. #21

dylanaraps opened this issue Jan 19, 2016 · 6 comments
Assignees

Comments

@dylanaraps
Copy link
Owner

An experimental version of GPU support is currently in master.

Here's the status for GPU support:

  • Linux
  • Mac OS X
  • FreeBSD
  • OpenBSD
    • We could've used pciutils to get lspci functionality on OpenBSD but it turns out that it requires root.
  • NetBSD
    • No clue on this one, I haven't been able to find a way to get gpu.
  • Windows

Adding support for OpenBSD and NetBSD is impossible at this point as I can't find a way to get the gpu name without needing root privileges.

Troubleshooting

All OS:

I'll need to see a screenshot of fetch.

Linux:

I'll need to see the output of this command:

lspci | grep  "VGA"

If the command above prints something vague instead of your gpu, your pci.ids files may be outdated. See this part of the readme on how to update them.

https://github.com/dylanaraps/fetch#getgpu-doesnt-show-my-exact-video-card-name

Mac OS X:

I'll need to see the output of this command:

system_profiler SPDisplaysDataType | awk -F': ' '/^\ *Chipset Model:/ {printf $2}'

FreeBSD:

I'll need to see the output of this command:

pciconf -lv 2>/dev/null | grep -B 4 "VGA"

Windows:

I'll need to see the output of this command:

wmic path Win32_VideoController get caption
@kelaun
Copy link

kelaun commented Jan 20, 2016

The output of

lspci | grep "VGA"

for me is:

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 730M](rev ff)

@dylanaraps
Copy link
Owner Author

What does the output look like when you enable gpu support?

@kelaun
Copy link

kelaun commented Jan 21, 2016

The output shows Nvidia GeForce GT 730M

@dylanaraps
Copy link
Owner Author

Awesome!

So it works fine for you?

@kelaun
Copy link

kelaun commented Jan 21, 2016

Yes, it does.

@dylanaraps
Copy link
Owner Author

I'm still stuck on OpenBSD and NetBSD gpu info and there doesn't seem to be
interest from any Open/Net BSD users, so I'm closing this issue.

If someone does figure out how to get GPU info from OpenBSD or NetBSD open
a new issue or send a PR.

saeziae pushed a commit to saeziae/neofetch that referenced this issue Nov 3, 2022
nsavinda pushed a commit to nsavinda/unifetch that referenced this issue Jun 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants