W
W
Worlding2019-04-12 10:20:34
linux
Worlding, 2019-04-12 10:20:34

How to setup nvidia on debian 10?

A few months ago, on debian 9, and then debian 10, x stopped running. I temporarily switched to the nouveau driver. I installed the nvidia driver according to the official manual .
System: Debian 10
Video card: Nvidia GTX 1050TI
Monitor: LG 43" TV connected via HDMI
There are no critical errors in the logs,
cat /var/log/Xorg.0.log | grep -E 'EE|WW'

spoiler

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 7.461] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 7.464] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 7.464] (WW) Disabling Keyboard0
[ 7.464] (WW) Disabling Mouse0
[ 7.751] (II) Initializing extension MIT-SCREEN-SAVER

Full log here
nvidia-xconfig made the following config,
cat /etc/X11/xorg.conf
spoiler

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 410.93
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection

nothing special in the boot log,
sudo dmesg | grep NVIDIA
spoiler
[ 4.168499] nvidia: module license 'NVIDIA' taints kernel.
[ 4.281728] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 410.104 Tue Feb 5 22:58:30 CST 2019 (using threaded interrupts)
[ 4.308027] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 410.104 Tue Feb 5 22:56:44 CST 2019

sudo dmesg | grep nVidia
spoiler
[ 5.323665] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
[ 5.323779] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input18
[ 5.323886] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19

When I uninstall nvidia and leave nouveau, xks start up
UPDATE 05/17/2019 I
recently reinstalled windows 10 and installed new drivers from nvidia v430. There was exactly the same problem. I solved it this way: I went into safe mode and removed 4K (the nvidia driver set the maximum by default) and set the screen refresh rate to 60Hz and the resolution to 1920x1080. Everything started. I think that the problem with debian is the same - you need to specify a working refresh rate and resolution in xorg.conf.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
CityCat4, 2019-04-15
@CityCat4

Question: what is valuable for you in firewood from nvidia? I now had to abandon them because of their stupid desire to shove the console onto the built-in vidyuhi (which I do not use).
After carefully reviewing the log (which you should have done BEFORE sending the question), I found a couple of things there. Not to say that they are critical, but who knows, maybe it will help
- the firewood did not find a suitable mode

Section "Screen"
    Identifier  "Screen 1"
    Device      "NVidia GeForce GTS 250"
    Monitor     "NEC MultiSync LCD2690WUXi"
    DefaultDepth 24

    Subsection "Display"
        Depth       24
        ViewPort    0 0
        Modes "1920x1200"
    EndSubsection
EndSection

This is how my Screen section looks like. Firewood among all supported modes did not find the one that was requested (in the Screen section, in the Display subsection)
- acpid is not running. What for the ass of the accordion is incomprehensible, but for some reason it complains very boringly about it.

N
nihi1ist, 2019-04-16
@nihi1ist

Worlding install according to this instruction . I have ASUS GTX 1060 6G DUAL, everything works fine. Backports do not need to be connected.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question