Nvidia 410 with dkms

#1

Hi,

with all the stability issues I am facing with nvidia 415 drivers and kernel 4.19 or 4.20 (e.g. https://forum.manjaro.org/t/nvidia-lock-up-on-restart-nvrm-xid-56/69273) I am wondering how I could build my own nvidia drivers with dkms.

I did not have issues with nvidia 410 which happens to be the Latest Long Lived Branch Version from nvidia: https://www.nvidia.com/object/unix.html

From my point of view this is the number one choice for any LTS kernel like 4.19 or 4.14. But unfortuantely Manjaro does not provide nvidia 410 packages anymore. @philm: Or do you eventually have this in your pipeline?

So now I am wondering how I could build and use my own nvidia 410 packages. Eventually with dkms. Any expert out here who can help me with some instructions?

#2

I recall mentioning you (on another post where you shared just a bit from inxi -Fxxxz) that i saw some inconsistency, as your system was using the OpenGL: renderer: llvmpipe … I can’t find that post now.

Maybe that is the source of your issue. I have a GTX 650 and this system never performed better …
Till you will decide/find a way to compile the driver yourself, care to share:
mhwd -li
cat /etc/X11/mhwd.d/nvidia.conf
and the complete
inxi -Fxxxz

Also, since you are on Gnome, are you using wayland or X11 ?
echo $XDG_SESSION_TYPE

#3

The inxi output in the other post you are referencing was somehow wrong. I dont know why. Strange.

Here is the info you requested:

23# mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2018.08.09               false            PCI
24# cat /etc/X11/mhwd.d/nvidia.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 415.25

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"
	Option "NoLogo" "1"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "COMPOSITE" "Enable"
EndSection

 
Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
25# inxi -Fxxxz                 
System:    Host: rakete Kernel: 4.20.8-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: Gnome 3.30.2 wm: gnome-shell 
           dm: GDM 3.30.2, LightDM 1.28.0 Distro: Manjaro Linux 
Machine:   Type: Desktop Mobo: MSI model: Z270 GAMING PRO CARBON (MS-7A63) v: 1.0 serial: <filter> 
           UEFI [Legacy]: American Megatrends v: 1.90 date: 07/03/2018 
CPU:       Topology: Quad Core model: Intel Core i7-7700K bits: 64 type: MT MCP arch: Kaby Lake rev: 9 L1 cache: 256 KiB 
           L2 cache: 8192 KiB L3 cache: 8192 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 67224 
           Speed: 1926 MHz min/max: 800/4500 MHz Core speeds (MHz): 1: 3390 2: 4500 3: 4501 4: 4501 5: 4500 6: 4500 7: 4507 
           8: 4500 
Graphics:  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: nvidia v: 415.27 bus ID: 01:00.0 chip ID: 10de:1c82 
           Display: server: X.Org 1.20.3 driver: nvidia compositor: gnome-shell resolution: 2560x1440~60Hz 
           OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 415.27 direct render: Yes 
Audio:     Device-1: Intel 200 Series PCH HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           chip ID: 8086:a2f0 
           Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:0fb9 
           Sound Server: ALSA v: k4.20.8-1-MANJARO 
Network:   Device-1: Intel Ethernet I219-V vendor: Micro-Star MSI driver: e1000e v: 3.2.6-k port: f000 bus ID: 00:1f.6 
           chip ID: 8086:15b8 
           IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 15.46 TiB used: 5.27 TiB (34.1%) 
           ID-1: /dev/sda vendor: Western Digital model: WD40EZRZ-00GXCB0 size: 3.64 TiB speed: 6.0 Gb/s rotation: 5400 rpm 
           serial: <filter> rev: 0A80 temp: 35 C scheme: GPT 
           ID-2: /dev/sdb vendor: Western Digital model: WD40EZRZ-00WN9B0 size: 3.64 TiB speed: 6.0 Gb/s rotation: 5400 rpm 
           serial: <filter> rev: 0A80 temp: 37 C scheme: GPT 
           ID-3: /dev/sdc vendor: Western Digital model: WD40EZRZ-00WN9B0 size: 3.64 TiB speed: 6.0 Gb/s rotation: 5400 rpm 
           serial: <filter> rev: 0A80 temp: 38 C scheme: GPT 
           ID-4: /dev/sdd vendor: Western Digital model: WD40EZRZ-00WN9B0 size: 3.64 TiB speed: 6.0 Gb/s rotation: 5400 rpm 
           serial: <filter> rev: 0A80 temp: 38 C scheme: GPT 
           ID-5: /dev/sde vendor: Samsung model: SSD 850 EVO 1TB size: 931.51 GiB speed: 6.0 Gb/s serial: <filter> rev: 2B6Q 
           scheme: MBR 
RAID:      Device-1: zstore type: zfs status: ONLINE size: 7.25 TiB free: 1.48 TiB allocated: 5.77 TiB 
           array-1: mirror status: ONLINE size: 3.62 TiB free: 751.00 GiB Components: online: N/A 
           array-2: mirror status: ONLINE size: 3.62 TiB free: 765.00 GiB Components: online: N/A 
Partition: ID-1: / size: 48.80 GiB used: 34.76 GiB (71.2%) fs: xfs dev: /dev/sde1 
           ID-2: /home size: 872.49 GiB used: 646.55 GiB (74.1%) fs: xfs dev: /dev/sde3 
           ID-3: /opt size: 1.60 TiB used: 350.91 GiB (21.5%) fs: zfs raid: zstore/opt 
           ID-4: swap-1 size: 9.77 GiB used: 106.8 MiB (1.1%) fs: swap dev: /dev/sde2 
Sensors:   System Temperatures: cpu: 40.0 C mobo: N/A gpu: nvidia temp: 46 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 20% 
Info:      Processes: 433 Uptime: 1h 02m Memory: 31.37 GiB used: 3.28 GiB (10.4%) Init: systemd v: 241 Compilers: gcc: 8.2.1 
           clang: 7.0.1 Shell: zsh (sudo) v: 5.7.1 running in: tilix inxi: 3.0.30 

And echo $XDG_SESSION_TYPE is empty. I am using X11. wayland is disabled in /etc/gdm/custom.conf

37# cat /etc/gdm/custom.conf 
# GDM configuration storage

[daemon]
# Uncoment the line below to force the login screen to use Xorg
WaylandEnable=false

[security]

[xdmcp]

[chooser]

[debug]
# Uncomment the line below to turn on debugging
# Enable=true
1 Like
#4

You could just grab the official Manjaro PKGBUILD, adapt it (i.e. change the version string), and use that to compile your own.
You will obviously also have to grab the older nvidia-utils and related packages (or build it).

#5

I don’t promise anything, make a backup of the current nvidia.conf and give this one a try:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 415.25

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
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"
    BoardName      "GeForce GTX 1050 Ti"
    Option         "TripleBuffer"  "On"
    Option  "ConnectToAcpid"    "Off"
	Option "NoLogo" "1"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "Off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "COMPOSITE" "Enable"
EndSection

Section "ServerFlags"
    Option "IndirectGLX" "On"
EndSection

Section "InputClass"
	Identifier          "Keyboard Defaults"
	MatchIsKeyboard	    "yes"
	Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Also make sure the /etc/modprobe.d/mhwd-gpu.conf has this lines:

##
## Generated by mhwd - Manjaro Hardware Detection
##
 
blacklist nouveau
blacklist ttm
blacklist drm_kms_helper
blacklist drm
blacklist nvidiafb

One thing that intrigued me (on my end) is that in /etc/modules-load.d i have
mhwd-gpu.conf with this in it:
nvidia

and i have modules.conf with this in it:

# List of modules to load at boot
nvidia
nvidia-drm

I will try to see more about this, as it seems redundant and confusing.

#6

Hmm… what would these additional nvidia options do in terms of stability on a 1050?
I have none of those except MetaModes on a 1070.

It’s the same here on an older install.
I also included nvidia’s modesetting as an option in /etc/modprobe.d, but that won’t help with stability I guess.

1 Like
#7

Next week i will get for test a GTX 960 4GiB and will see what else would be different. I plan to ask a friend for a GTX 1080 also for a test.
When i got my GTX 650 and installed linux, the only way to perform as i liked it, was to use a similar config i just shared, and since then i use it like that (with slight differences/additions) as i never used before the {ForceCompositionPipeline=On} and only since the 410 driver the:

    Option         "TripleBuffer"  "On"
    Option  "ConnectToAcpid"    "Off"

Without them the system acts very strange. Is true that mine is a refurbished one, with some capacitors i replaced myself too … so, i don’t have much expectations from it, but it serves me as it is :slight_smile:

1 Like
#8

I did this but it is not working.

I managed to get all packages build and installed.

linux420-nvidia-1:410.93-1-x86_64.pkg.tar.xz
nvidia-utils-1:410.93-1-x86_64.pkg.tar.xz
opencl-nvidia-1:410.93-1-x86_64.pkg.tar.xz
mhwd-nvidia-1:410.93-1-any.pkg.tar.xz

But is does not start X11 after reboot. And I do not see errors. Does not seem to be that easy.

Feb 15 12:10:00 rakete kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 240
Feb 15 12:10:00 rakete kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
Feb 15 12:10:00 rakete kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  410.93  Thu Dec 20 17:01:16 CST 2018 (using threaded interrupts)
Feb 15 12:10:00 rakete systemd-modules-load[344]: Inserted module 'nvidia'
Feb 15 12:10:00 rakete kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  410.93  Thu Dec 20 16:59:23 CST 2018
Feb 15 12:10:00 rakete systemd-modules-load[344]: Inserted module 'nvidia_drm'
Feb 15 12:10:00 rakete kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
Feb 15 12:10:00 rakete kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
Feb 15 12:10:00 rakete kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input15
Feb 15 12:10:00 rakete kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
Feb 15 12:10:00 rakete kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
Feb 15 12:10:03 rakete /usr/lib/gdm-x-session[1949]: (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
Feb 15 12:10:03 rakete /usr/lib/gdm-x-session[1949]: (**) OutputClass "nvidia" setting /dev/dri/card0 as PrimaryGPU
Feb 15 12:10:03 rakete /usr/lib/gdm-x-session[1949]: (II) Loading /usr/lib/nvidia/xorg/libglx.so
Feb 15 12:10:03 rakete /usr/lib/gdm-x-session[1949]: (II) Module glx: vendor="NVIDIA Corporation"
Feb 15 12:10:03 rakete /usr/lib/gdm-x-session[1949]: (II) NVIDIA GLX Module  410.93  Thu Dec 20 17:04:33 CST 2018
Feb 15 12:10:03 rakete /usr/lib/gdm-x-session[1949]: (II) LoadModule: "nvidia"
Feb 15 12:10:03 rakete /usr/lib/gdm-x-session[1949]: (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
Feb 15 12:10:03 rakete /usr/lib/gdm-x-session[1949]: (II) Module nvidia: vendor="NVIDIA Corporation"
Feb 15 12:10:03 rakete /usr/lib/gdm-x-session[1949]: (II) NVIDIA dlloader X Driver  410.93  Thu Dec 20 17:07:57 CST 2018
Feb 15 12:10:03 rakete /usr/lib/gdm-x-session[1949]: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
Feb 15 12:10:03 rakete /usr/lib/gdm-x-session[1949]: (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
Feb 15 12:10:03 rakete /usr/lib/gdm-x-session[1949]: (==) NVIDIA(0): RGB weight 888
Feb 15 12:10:03 rakete /usr/lib/gdm-x-session[1949]: (==) NVIDIA(0): Default visual is TrueColor
Feb 15 12:10:03 rakete /usr/lib/gdm-x-session[1949]: (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
Feb 15 12:10:03 rakete /usr/lib/gdm-x-session[1949]: (II) Applying OutputClass "nvidia" options to /dev/dri/card0
Feb 15 12:10:03 rakete /usr/lib/gdm-x-session[1949]: (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
Feb 15 12:10:03 rakete /usr/lib/gdm-x-session[1949]: (**) NVIDIA(0): Enabling 2D acceleration
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(0):     DFP-0 (boot)
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(0):     DFP-1
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(0):     DFP-2
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(0):     DFP-3
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1050 Ti (GP107-A) at PCI:1:0:0 (GPU-0)
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(0): Memory: 4194304 kBytes
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(0): VideoBIOS: 86.07.42.00.77
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (II) NVIDIA(0): Detected PCI Express Link width: 16X
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(GPU-0): Eizo CS2730 (DFP-0): connected
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(GPU-0): Eizo CS2730 (DFP-0): Internal TMDS
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(GPU-0): Eizo CS2730 (DFP-0): 330.0 MHz maximum pixel clock
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(GPU-0):
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(GPU-0): DFP-1: disconnected
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(GPU-0):
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(GPU-0): DFP-2: disconnected
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(GPU-0): DFP-2: 1440.0 MHz maximum pixel clock
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(GPU-0):
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(GPU-0): DFP-3: disconnected
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(GPU-0):
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (==) NVIDIA(0):
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (==) NVIDIA(0):     will be used as the requested mode.
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (==) NVIDIA(0):
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (II) NVIDIA(0): Validated MetaModes:
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (II) NVIDIA(0):     "DFP-0:nvidia-auto-select"
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (II) NVIDIA(0): Virtual screen size determined to be 2560 x 1440
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(0): DPI set to (108, 107); computed from "UseEdidDpi" X config
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (--) NVIDIA(0):     option
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (II) NVIDIA:     access.
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (==) NVIDIA(0): Disabling shared memory pixmaps
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (==) NVIDIA(0): Backing store enabled
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (==) NVIDIA(0): Silken mouse disabled
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (**) NVIDIA(0): DPMS enabled
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (WW) NVIDIA(0): Option "PrimaryGPU" is not used
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (II) NVIDIA(0): [DRI2] Setup complete
Feb 15 12:10:04 rakete /usr/lib/gdm-x-session[1949]: (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
Feb 15 12:11:32 rakete /usr/lib/gdm-x-session[2416]: (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
Feb 15 12:11:32 rakete /usr/lib/gdm-x-session[2416]: (**) OutputClass "nvidia" setting /dev/dri/card0 as PrimaryGPU
Feb 15 12:11:32 rakete /usr/lib/gdm-x-session[2416]: (II) Loading /usr/lib/nvidia/xorg/libglx.so
Feb 15 12:11:32 rakete /usr/lib/gdm-x-session[2416]: (II) Module glx: vendor="NVIDIA Corporation"
Feb 15 12:11:32 rakete /usr/lib/gdm-x-session[2416]: (II) NVIDIA GLX Module  410.93  Thu Dec 20 17:04:33 CST 2018
Feb 15 12:11:32 rakete /usr/lib/gdm-x-session[2416]: (II) LoadModule: "nvidia"
Feb 15 12:11:32 rakete /usr/lib/gdm-x-session[2416]: (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
Feb 15 12:11:32 rakete /usr/lib/gdm-x-session[2416]: (II) Module nvidia: vendor="NVIDIA Corporation"
Feb 15 12:11:32 rakete /usr/lib/gdm-x-session[2416]: (II) NVIDIA dlloader X Driver  410.93  Thu Dec 20 17:07:57 CST 2018
Feb 15 12:11:32 rakete /usr/lib/gdm-x-session[2416]: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
Feb 15 12:11:32 rakete /usr/lib/gdm-x-session[2416]: (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
Feb 15 12:11:32 rakete /usr/lib/gdm-x-session[2416]: (==) NVIDIA(0): RGB weight 888
Feb 15 12:11:32 rakete /usr/lib/gdm-x-session[2416]: (==) NVIDIA(0): Default visual is TrueColor
Feb 15 12:11:32 rakete /usr/lib/gdm-x-session[2416]: (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
Feb 15 12:11:32 rakete /usr/lib/gdm-x-session[2416]: (II) Applying OutputClass "nvidia" options to /dev/dri/card0
Feb 15 12:11:32 rakete /usr/lib/gdm-x-session[2416]: (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
Feb 15 12:11:32 rakete /usr/lib/gdm-x-session[2416]: (**) NVIDIA(0): Enabling 2D acceleration
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(0):     DFP-0 (boot)
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(0):     DFP-1
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(0):     DFP-2
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(0):     DFP-3
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1050 Ti (GP107-A) at PCI:1:0:0 (GPU-0)
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(0): Memory: 4194304 kBytes
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(0): VideoBIOS: 86.07.42.00.77
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (II) NVIDIA(0): Detected PCI Express Link width: 16X
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(GPU-0): Eizo CS2730 (DFP-0): connected
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(GPU-0): Eizo CS2730 (DFP-0): Internal TMDS
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(GPU-0): Eizo CS2730 (DFP-0): 330.0 MHz maximum pixel clock
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(GPU-0):
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(GPU-0): DFP-1: disconnected
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(GPU-0):
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(GPU-0): DFP-2: disconnected
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(GPU-0): DFP-2: 1440.0 MHz maximum pixel clock
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(GPU-0):
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(GPU-0): DFP-3: disconnected
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(GPU-0):
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (==) NVIDIA(0):
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (==) NVIDIA(0):     will be used as the requested mode.
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (==) NVIDIA(0):
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (II) NVIDIA(0): Validated MetaModes:
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (II) NVIDIA(0):     "DFP-0:nvidia-auto-select"
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (II) NVIDIA(0): Virtual screen size determined to be 2560 x 1440
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(0): DPI set to (108, 107); computed from "UseEdidDpi" X config
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (--) NVIDIA(0):     option
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (II) NVIDIA:     access.
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (==) NVIDIA(0): Disabling shared memory pixmaps
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (==) NVIDIA(0): Backing store enabled
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (==) NVIDIA(0): Silken mouse disabled
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (**) NVIDIA(0): DPMS enabled
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (WW) NVIDIA(0): Option "PrimaryGPU" is not used
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (II) NVIDIA(0): [DRI2] Setup complete
Feb 15 12:11:33 rakete /usr/lib/gdm-x-session[2416]: (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia

Edit:

There is also an X Server crash associated with it:

Feb 15 12:04:57 rakete systemd-coredump[2300]: Process 2294 (Xorg) of user 0 dumped core.
                                 
                                               Stack trace of thread 2294:
                                               #0  0x00007faaec2b59f0 __clock_gettime (libc.so.6)
                                               #1  0x00005609a6306d9f GetTimeInMillis (Xorg)
                                               #2  0x00005609a62fd0c5 n/a (Xorg)
                                               #3  0x00005609a62fd496 LogVMessageVerbSigSafe (Xorg)
                                               #4  0x00005609a62fd5e9 ErrorFSigSafe (Xorg)
                                               #5  0x00005609a630c1e2 xorg_backtrace (Xorg)
                                               #6  0x00005609a630c339 n/a (Xorg)
                                               #7  0x00007faaec1e3e00 __restore_rt (libc.so.6)
                                               #8  0x00007faaec2b59f0 __clock_gettime (libc.so.6)
                                               #9  0x00005609a6306d9f GetTimeInMillis (Xorg)
                                               #10 0x00005609a62fd0c5 n/a (Xorg)
                                               #11 0x00005609a62ff8d1 LogVMessageVerb (Xorg)
                                               #12 0x00005609a630029f LogMessageVerb (Xorg)
                                               #13 0x00005609a6410e77 InitExtensions (Xorg)
                                               #14 0x00005609a629244a n/a (Xorg)
                                               #15 0x00007faaec1d0223 __libc_start_main (libc.so.6)
                                               #16 0x00005609a629330e _start (Xorg)
#9

Since my trials with self made 410xx packages did not work, I am back to 390xx. But I am not sure if that version is still maintained.

#10

Did you build the packages the usual way with makepkg or did you just use downgrade command?
The module itself seems to be fine and loaded correctly.
Does kernel 4.19 show the same problem (I don’t use 4.20 so I can’t tell)?
Stack trace points to a problem with getting the correct time through a libc call if I understand it correctly.

#11

I only tested with kernel 4.20.

I did some benchmarks with 390xx and darktable and do not see significant performance differences with opencl. So I think I am fine. I will stick with 390xx and keep my fingers crossed.

1 Like
closed #12

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.