Can't startx after installing non-free nvidia drivers.
by AndrewMartin from LinuxQuestions.org on (#5EQNV)
I'm having trouble starting X once I've installed the non free nvidia drivers. I'm using a fairly minimal Debian 10, when installing the distro I refuse a desktop environment and then install openbox and xinit. I start X either by calling startx, or installing lightdm.
Following the advice of on Debian Wiki at https://wiki.debian.org/NvidiaGraphicsDrivers for Debian 10 "Buster" I end up with a blacklisted nouveau. When I call startx I get an error like "cannot start in framebuffer mode".
I've installed the headers for my kernel, but I suspect that the error is something to do with having the wrong kernel or wrong kernel headers for this setup.
I realize that I may not have followed the instructions in Debian Wiki correctly, there's a lot of info on that page. To clarify, I have added non-free and contrib in my apt sources, and updated apt. I've installed non-free-misc and nvidia-driver, as recommended by nvidia-detect and the wiki. I've also installed the kernel headers for my kernel (linux-headers-4.19.0-14-amd64, linux-headers-4.19.0-14-common, linux-headers-amd64).
Some of the confusion might be in the required driver, Debian Wiki says that Nvidia GeForce GT 1030 is supported by drivers 460.39 (nvidia-driver in buster-backports non-free contrib), 418.181.07 (nvidia-driver in buster non-free contrib), and 390.138 (nvidia-legacy-390xx-driver in buster non-free contrib).
I seem to get trouble performance from nouveau, worse than no GPU according to glmark2.
I've attached the outputs from the recommended system calls (lspci, uname, lshw, nvidia-detect).
When I tried to install the proprietary drivers from the Nvidia website, the install fails as it can't find kernel-drm. I'll be happy to install the non-free drivers, or the website drivers, (or even nouveau if it gives decent performance).
What might I do next?
Cheers,
Andrew
Attached Files


Following the advice of on Debian Wiki at https://wiki.debian.org/NvidiaGraphicsDrivers for Debian 10 "Buster" I end up with a blacklisted nouveau. When I call startx I get an error like "cannot start in framebuffer mode".
I've installed the headers for my kernel, but I suspect that the error is something to do with having the wrong kernel or wrong kernel headers for this setup.
I realize that I may not have followed the instructions in Debian Wiki correctly, there's a lot of info on that page. To clarify, I have added non-free and contrib in my apt sources, and updated apt. I've installed non-free-misc and nvidia-driver, as recommended by nvidia-detect and the wiki. I've also installed the kernel headers for my kernel (linux-headers-4.19.0-14-amd64, linux-headers-4.19.0-14-common, linux-headers-amd64).
Some of the confusion might be in the required driver, Debian Wiki says that Nvidia GeForce GT 1030 is supported by drivers 460.39 (nvidia-driver in buster-backports non-free contrib), 418.181.07 (nvidia-driver in buster non-free contrib), and 390.138 (nvidia-legacy-390xx-driver in buster non-free contrib).
I seem to get trouble performance from nouveau, worse than no GPU according to glmark2.
I've attached the outputs from the recommended system calls (lspci, uname, lshw, nvidia-detect).
When I tried to install the proprietary drivers from the Nvidia website, the install fails as it can't find kernel-drm. I'll be happy to install the non-free drivers, or the website drivers, (or even nouveau if it gives decent performance).
What might I do next?
Cheers,
Andrew
Attached Files
![]() | linux-questions.txt (6.0 KB) |