-
Notifications
You must be signed in to change notification settings - Fork 456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No GPU Support (includes attempt code) #51
Comments
Fails with integrated Intel graphics chip
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 0c) Protip: it's far easier to get things tested and integrated if you include actual commits with the issue. |
How is it even possible to get that fallback text if you have lspci installed? is it installed to /usr/sbin? I know it would have a lot of issues, was hopeing it would be useful foe a starting point as for making comits i can't even figure out how to update my repo without manually editing the code online via browser, and i have some code that really needs to be pushed to git |
My You can learn how to use git from the quite good git-scm book here: http://git-scm.com/book . The first couple of chapters should at least tell you how to push/pull/commit. Here are some GitHub specific instructions: https://help.github.com/articles/set-up-git . Edit: changing the checks for glxinfo and lspci to something that doesn't have a hardcoded path, I get |
Well, this is even more interesting. I've been on the fence about GPU detection for quite some time. I've thought about doing it, but never really committed myself to putting it in. I'll think about it a little harder and use this as a base for my code. Thanks for the contribution. |
@KittyKatt Sorry for going offtopic, and sorry for my crappy code on this one, my cpu edit is much better @ShanaTsunTsunLove
|
Also, you can use |
If you are using proprietary nvidia drivers
|
Ah, very nice. I mispoke before about test. |
and yet another nvidia method, pretty sure is needs the proprietary nvidia driver
and i did find this script, pretty slow but... |
...uh, dunno that that was related to this issue. But okay. I've included the attempt code in screenfetch, but haven't included gpu by default in $display until I think it's ready for use by everyone. |
Have added a couple more things to it and ironed out a few other things. |
I made some changes to the update you made 3 hrs ago, it was not working right, i have something in virtualbox and my nvidia system
|
OS X-specific code to return the GPU is as follows gpu=$(system_profiler SPDisplaysDataType | awk -F': ' '/^\ *Chipset Model:/ {print $2}') I don't know how reliable that is, but it works consistently on my machine at least.
Most of which was entirely unnecessary for this comment, but hey. |
This looks nice! Will give it a go. See commit ea14d5b. |
maybe we can go a step further and include the gpu driver and version |
detectgpu is pretty far along at this point. Any feature requests to it or bugs for it should be submitted as new issues! Thank you! |
Test:
My attempt at GPU support
It will need support for hybrid GPUs and dual GPUs
The text was updated successfully, but these errors were encountered: