I have two devices: Intel Haswell-ULT Integrated Graphics, Driver i915 and NVIDIA GM108M [Geforce 840M], driver: nvidia. v418.74. I am using Debian stable (buster).
I tried to install my graphics card via the stable repository, typing:
# apt-get install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//') apt install nvidia-driver
Unfortunately the “NVIDIA X Server Settings” won’t open as GUI. Typing “nvidia-settings” in command line returns
"ERROR: Unable to load info from any available system"
glxinfo shows me: MESA DRI Intel® Haswell Mobile as active OpenGL renderer. Also, when starting a Game (for example) I’ll get virtually no frames, showing me, the NVIDIA card is not working (i know it’s tricky because both cards are co-working, so results from glxinfo might be harder to interpret).
So, i followed another instruction:
# dpkg --add-architecture i386 # apt install firmware-linux nvidia-driver nvidia-settings nvidia-xconfig # nvidia-xconfig
Though the instructions tells me to start “nividia-xconfig” before booting, I (unfortunately) only entered it after booting. After entering it, it will write xorg.conf to /etc/X11/.
WARNINING: Unable to locate/open X configuration file. NEW X configuration file written to 'etc/X11/xorg.conf'
.... Section "Device" Identifier "Device0" Driver "nvidia" Vendor Name "NVIDIA Corporation" Endsection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" Default Depth 24 SubSection "Display" Depth 24 EndsubSection EndSelection
However, this will prevent X-Server to start on rebooting, so i had to remove the file (after that, xserver is booting again).
Do I need to change something on my “nvidia-drm-outputclass.conf” in /usr/share/xorg.conf.d/ ?
Sorry for the question, I’ve read everything I could find, however didn’t get a solution. Any suggestions? Is there something with bumblebee I am missing?