this post was submitted on 20 Jul 2023
150 points (100.0% liked)
Linux
1258 readers
88 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is what mine has. I was able to get it working with bumblebee on kali. Just switched to Debian 12, and I thought it would work after installing the non-free drivers, but nope. So guess I get to do some reading up on that now. Maybe look into bumblebee again.
I did get mine working eventually. Though that laptop died years ago. I did not get it to switch though so when I ran Linux it was always on the Nvidia GPU. But that wasn't an issue for me.
I remember there being a name for this that made it easier to search for a solution. But for the life of me I cannot remember what it was.
Good luck on your quest and I hope you get it working.
omg i've been in this rabbit hole trying to get a friend's laptop working right for the last 2 weeks... I found the name of the thing you are talking about, where the dGPU HAS to talk to the integrated graphics to get to the laptop screen... and then promptly forgot it after getting so mad at such a stupid idea and when I went to google it again to find articles i had previously read I couldn't find it. :(
I decided to take a look and I think it's called Nvidia Optimus. A more general term would be hybrid graphics I guess.
And I think I may have come across the Bumblebee project back then: https://github.com/Bumblebee-Project
Maybe this helps.
I finally got it working and feel like an idiot now. Secure boot was enabled. Thing is, I know I disabled it because you have to set a bios password in order to do so. But it somehow got re-enabled. Once I disabled secure boot again the Debian wiki instructions worked and it was pretty simple to do.
If you haven't already, check for Nouveau support. And if your card is supported, you may need a kernel parameter. I needed
nouveau.config=NvClkMode=15
(but be warned some parameters like that have some risk, like possibility of overheating, and may or may not be applicable or safe for your GPU).For me, it has worked to just set environment variable
DRI_PRIME=1
to use the Nvidia GPU for that specific application. (Maybe this is what Bumblebee does; I don't know.)In the future, though, I recommend avoiding Nvidia hardware.