I tried the suggestions mentioned in this thread. I forgot to
mention the hardware in question. It is a rather modern GTX 1030
low profile Nvidia card. it is nothing fancy at all, and would not
expect to game from it, but that is not what I bought it for. Just
wanted more than null graphics. Over the past half dozen years,
have mostly done things over ssh anyway, just wanted something
nicer to work on. Admittedly, it's not even that important, I have
had this issue for maybe a year, but when I fired up a new
installation this past weekend, in my bid to set everything up
again, and saw that the card actually works (on a clean install),
I thought I would give it another go.
I tried: sudo apt install linux-headers-$(uname -r)
says there is some c compiler requirement that is not fulfilled. And, there are broken packages that are being held back. I have gone deep into this rabbit hole, and still can't seem to find a solution to whatever shows up.
Where is the kernel located anyway? The nvidia software, to it's credit, has an option flag that will allow me to show the software where the kernel is located. I looked where nvidia suggests it should be, don't remember off the top of my head, and found an older kernel there, like 4.9.xxxx.whatever. But, not the 4.19...version.
I have been using Linux for 20 years, and usually can find a
solution, but in this particular case, it's possible that my box
is just beyond repair--at least by me =)
On Thu, Sep 15, 2022, 09:46 Bret Busby <bret@busby.net> wrote:My understanding is that, to run Linux, or, any non-MS operating system,
with nvidia graphics, especially, if you have nvidia Optimus, you need
to run Ubuntu Linux.
Have you looked at the Debian wiki? Because the Nvidia pages do correctly show how to set up optimus five different ways.
The default render offload option works perfectly and I wished I bothered to try that first instead of fighting constantly with Bumblebee, which is both slow and brittle by comparison.