Nvidia and other problems in HP laptop and Debian 10

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Re: Nvidia and other problems in HP laptop and Debian 10

Postby stevepusser » 2020-08-07 05:39

The quick and easy way to install kernel headers for the running kernel and the build toolchain is, as sysadmin:

Code: Select all
apt-get install module-assistant
m-a prepare


MX Linux has an Nvidia driver installer which detects Optimus laptops and sets up Bumblebee for them automatically, and it seems to work more often than not. One secret ingredient may be because we also install virtualgl, which isn't in Debian, and acts as a bridge, though I originally ported it over for MX for its glxspheres(64) benchmark. Serendipity, I guess.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 11975
Joined: 2009-10-06 05:53

Re: Nvidia and other problems in HP laptop and Debian 10

Postby Scorpion » 2020-08-07 09:53

Code: Select all
m-a prepare
Getting source for kernel version: 4.19.0-10-amd64
Kernel headers available in /lib/modules/4.19.0-10-amd64/build
Creating symlink...
apt-get install build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Done!

Nice package module-assistant, so you need build-essential.
User avatar
Scorpion
 
Posts: 231
Joined: 2018-10-17 11:38

Re: Nvidia and other problems in HP laptop and Debian 10

Postby stevepusser » 2020-08-08 04:12

Not really sure if you or module-assistant were installing build-essential, but "m-a prepare" makes sure it and the headers are installed.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 11975
Joined: 2009-10-06 05:53

Re: Nvidia and other problems in HP laptop and Debian 10

Postby Scorpion » 2020-08-08 06:38

I installed it before with:
Code: Select all
apt install linux-headers-$(uname -r) build-essential

As I saw in that link, it states though that you do not need it if you install the debian package but that is not true.

MA was checking.

Why can' t apt install it by default with the headers? Maybe with MA.
User avatar
Scorpion
 
Posts: 231
Joined: 2018-10-17 11:38

Re: Nvidia and other problems in HP laptop and Debian 10

Postby macky » 2020-09-02 05:58

I give up on this lol, tried different approach but can't make it work, anyway it's not really a problem for me.
macky
 
Posts: 9
Joined: 2018-11-11 16:18

Previous

Return to Hardware

Who is online

Users browsing this forum: No registered users and 17 guests

fashionable