Fail to use 1050Ti on ubuntu 16.04, 18.04 and Archlinux

I spent an unreasonable amount of time trying to make my graphic card work for Tensorflow computations.
I’ve tried the following procedure on Ubuntu 16.04, 18.04 (Desktop and server) and ArchLinux.

  • Install the distrib
  • Update& upgrade
  • install nvidia drivers either from ubuntu standard PPA or from graphics-driver PPA or directly from NVidia website
  • modifiy modesetting and blacklist nouveau
  • Tried all I could find in this forum and elsewere

More precisely, I have the following bugs :

  • Low Graphic mode on ubuntu (Ubuntu Desktop)
  • Automatic fallback to intel with some package (Ubuntu Desktop)
  • "RmInitAdapter failed!" in kernel log and dmesg (Ubuntu & Arch)
  • nvidia-smi output : "no device found" (Ubuntu&Arch)

If anyone could help, that would be much appreciated.

I attached nvidia-bug-report script output, lspci -vvv, syslog and kernlog

nvidia-bug-report.log.gz (547 KB)
Xorg.0.log (23.3 KB)
kern.log (2.24 MB)
lsmod.log (4.74 KB)
lspci.log (14.7 KB)
syslog.log (3.49 MB)

maxbrain
description: Ordinateur Bloc-notes
produit: GL553VE
fabriquant: ASUSTeK COMPUTER INC.
version: 1.0
numéro de série: HAN0CV07B42341D
bits: 64 bits
fonctionnalités: smbios-3.0 dmi-3.0 vsyscall32
configuration: boot=normal chassis=notebook family=ROG uuid=C7CEDD66-E48F-43F1-B016-732E41BD5580
*-core
description: Carte mère
produit: GL553VE
fabriquant: ASUSTeK COMPUTER INC.
identifiant matériel: 0
version: 1.0
numéro de série: BSN12345678901234567
emplacement: Default string
*-firmware
description: BIOS
fabriquant: American Megatrends Inc.
identifiant matériel: 0
version: GL553VE.307
date: 04/10/2018
taille: 64KiB
capacité: 8128KiB
fonctionnalités: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int14serial int17printer acpi usb biosbootspecification uefi
*-memory
description: Mémoire Système
identifiant matériel: 3d
emplacement: Carte mère
taille: 16GiB
*-bank:0
description: SODIMM Synchrone 2400 MHz (0,4 ns)
produit: F4-2400C16-8GRS
fabriquant: Fujitsu
identifiant matériel: 0
numéro de série: 00000000
emplacement: ChannelA-DIMM0
taille: 8GiB
bits: 64 bits
horloge: 2400MHz (0.4ns)
*-bank:1
description: Project-Id-Version: @(#) $Id$Report-Msgid-Bugs-To: POT-Creation-Date: 2009-10-08 14:02+0200PO-Revision-Date: 2018-03-22 21:01+0000Last-Translator: Lyonel Vincent Language-Team: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2018-07-11 16:37+0000X-Generator: Launchpad (build 18719)Project-Id-Version: @(#) $Id$Report-Msgid-Bugs-To: POT-Creation-Date: 2009-10-08 14:02+0200PO-Revision-Date: 2018-03-22 21:01+0000Last-Translator: Lyonel Vincent Language-Team: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2018-07-11 16:37+0000X-Generator: Launchpad (build 18719) [vide]
identifiant matériel: 1
emplacement: ChannelA-DIMM1
*-bank:2
description: SODIMM Synchrone 2400 MHz (0,4 ns)
produit: HMA81GS6AFR8N-UH
fabriquant: SK Hynix
identifiant matériel: 2
numéro de série: 2A1AA439
emplacement: ChannelB-DIMM0
taille: 8GiB
bits: 64 bits
horloge: 2400MHz (0.4ns)
*-bank:3
description: Project-Id-Version: @(#) $Id$Report-Msgid-Bugs-To: POT-Creation-Date: 2009-10-08 14:02+0200PO-Revision-Date: 2018-03-22 21:01+0000Last-Translator: Lyonel Vincent Language-Team: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2018-07-11 16:37+0000X-Generator: Launchpad (build 18719)Project-Id-Version: @(#) $Id$Report-Msgid-Bugs-To: POT-Creation-Date: 2009-10-08 14:02+0200PO-Revision-Date: 2018-03-22 21:01+0000Last-Translator: Lyonel Vincent Language-Team: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2018-07-11 16:37+0000X-Generator: Launchpad (build 18719) [vide]
identifiant matériel: 3
emplacement: ChannelB-DIMM1
*-cache:0
description: L1 cache
identifiant matériel: 43
emplacement: L1 Cache
taille: 256KiB
capacité: 256KiB
fonctionnalités: synchronous internal write-back unified
configuration: level=1
*-cache:1
description: L2 cache
identifiant matériel: 44
emplacement: L2 Cache
taille: 1MiB
capacité: 1MiB
fonctionnalités: synchronous internal write-back unified
configuration: level=2
*-cache:2
description: L3 cache
identifiant matériel: 45
emplacement: L3 Cache
taille: 6MiB
capacité: 6MiB
fonctionnalités: synchronous internal write-back unified
configuration: level=3
*-cpu
description: CPU
produit: Intel® Core™ i7-7700HQ CPU @ 2.80GHz
fabriquant: Intel Corp.
identifiant matériel: 46
information bus: cpu@0
version: Intel® Core™ i7-7700HQ CPU @ 2.80GHz
numéro de série: To Be Filled By O.E.M.
emplacement: U3E1
taille: 3740MHz
capacité: 4005MHz
bits: 64 bits
horloge: 100MHz
fonctionnalités: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp flush_l1d cpufreq
configuration: cores=4 enabledcores=4 threads=8
*-pci
description: Host bridge
produit: Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
fabriquant: Intel Corporation
identifiant matériel: 100
information bus: pci@0000:00:00.0
version: 05
bits: 32 bits
horloge: 33MHz
*-pci:0
description: PCI bridge
produit: Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16)
fabriquant: Intel Corporation
identifiant matériel: 1
information bus: pci@0000:00:01.0
version: 05
bits: 32 bits
horloge: 33MHz
fonctionnalités: pci pm msi pciexpress normal_decode bus_master cap_list
configuration: driver=pcieport
ressources: irq:16 portE/S:e000(taille=4096) mémoire:de000000-df0fffff portE/S:c0000000(taille=301989888)
*-display
description: 3D controller
produit: GP107M [GeForce GTX 1050 Ti Mobile]
fabriquant: NVIDIA Corporation
identifiant matériel: 0
information bus: pci@0000:01:00.0
version: a1
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidia latency=0
ressources: irq:16 mémoire:de000000-deffffff mémoire:c0000000-cfffffff mémoire:d0000000-d1ffffff portE/S:e000(taille=128) mémoire:df000000-df07ffff
*-display
description: VGA compatible controller
produit: Intel Corporation
fabriquant: Intel Corporation
identifiant matériel: 2
information bus: pci@0000:00:02.0
version: 04
bits: 64 bits
horloge: 33MHz
fonctionnalités: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
ressources: irq:127 mémoire:dd000000-ddffffff mémoire:b0000000-bfffffff portE/S:f000(taille=64) mémoire:c0000-dffff
*-generic:0 NON-RÉCLAMÉ
description: System peripheral
produit: Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
fabriquant: Intel Corporation
identifiant matériel: 8
information bus: pci@0000:00:08.0
version: 00
bits: 64 bits
horloge: 33MHz
fonctionnalités: msi pm cap_list
configuration: latency=0
ressources: mémoire:df530000-df530fff
*-usb
description: USB controller
produit: 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller
fabriquant: Intel Corporation
identifiant matériel: 14
information bus: pci@0000:00:14.0
version: 31
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi xhci bus_master cap_list
configuration: driver=xhci_hcd latency=0
ressources: irq:122 mémoire:df510000-df51ffff
*-usbhost:0
produit: xHCI Host Controller
fabriquant: Linux 4.15.0-46-lowlatency xhci-hcd
identifiant matériel: 0
information bus: usb@1
nom logique: usb1
version: 4.15
fonctionnalités: usb-2.00
configuration: driver=hub slots=16 speed=480Mbit/s
*-usb:0
description: Concentrateur USB
produit: USB2.0 Hub
fabriquant: VIA Labs, Inc.
identifiant matériel: 1
information bus: usb@1:1
version: 90.11
fonctionnalités: usb-2.10
configuration: driver=hub slots=4 speed=480Mbit/s
*-usb:0
description: Clavier
produit: USB Keyboard
fabriquant: Logitech
identifiant matériel: 1
information bus: usb@1:1.1
version: 64.00
fonctionnalités: usb-1.10
configuration: driver=usbhid maxpower=90mA speed=1Mbit/s
*-usb:1
description: Souris
produit: USB Laser Mouse
fabriquant: Logitech
identifiant matériel: 2
information bus: usb@1:1.2
version: 56.01
fonctionnalités: usb-2.00
configuration: driver=usbhid maxpower=98mA speed=1Mbit/s
*-usb:1
description: Vidéo
produit: USB2.0 HD UVC WebCam
fabriquant: 04081-0009480017381011773
identifiant matériel: 6
information bus: usb@1:6
version: 0.03
numéro de série: 200901010001
fonctionnalités: usb-2.00
configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
*-usb:2
description: Interface sans fil Bluetooth
fabriquant: Intel Corp.
identifiant matériel: 8
information bus: usb@1:8
version: 0.01
fonctionnalités: bluetooth usb-2.01
configuration: driver=btusb maxpower=100mA speed=12Mbit/s
*-usb:3
description: Clavier
produit: ITE Device(8910)
fabriquant: ITE Tech. Inc.
identifiant matériel: b
information bus: usb@1:b
version: 3.02
fonctionnalités: usb-2.00
configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
*-usbhost:1
produit: xHCI Host Controller
fabriquant: Linux 4.15.0-46-lowlatency xhci-hcd
identifiant matériel: 1
information bus: usb@2
nom logique: usb2
version: 4.15
fonctionnalités: usb-3.00
configuration: driver=hub slots=8 speed=5000Mbit/s
*-usb
description: Concentrateur USB
produit: USB3.0 Hub
fabriquant: VIA Labs, Inc.
identifiant matériel: 1
information bus: usb@2:1
version: 90.11
fonctionnalités: usb-3.00
configuration: driver=hub slots=4 speed=5000Mbit/s
*-generic:1
description: Signal processing controller
produit: 100 Series/C230 Series Chipset Family Thermal Subsystem
fabriquant: Intel Corporation
identifiant matériel: 14.2
information bus: pci@0000:00:14.2
version: 31
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi cap_list
configuration: driver=intel_pch_thermal latency=0
ressources: irq:18 mémoire:df52f000-df52ffff
*-generic:2
description: Signal processing controller
produit: 100 Series/C230 Series Chipset Family Serial IO I2C Controller #0
fabriquant: Intel Corporation
identifiant matériel: 15
information bus: pci@0000:00:15.0
version: 31
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm bus_master cap_list
configuration: driver=intel-lpss latency=0
ressources: irq:16 mémoire:df52e000-df52efff
*-communication
description: Communication controller
produit: 100 Series/C230 Series Chipset Family MEI Controller #1
fabriquant: Intel Corporation
identifiant matériel: 16
information bus: pci@0000:00:16.0
version: 31
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi bus_master cap_list
configuration: driver=mei_me latency=0
ressources: irq:136 mémoire:df52d000-df52dfff
*-storage
description: SATA controller
produit: HM170/QM170 Chipset SATA Controller [AHCI Mode]
fabriquant: Intel Corporation
identifiant matériel: 17
information bus: pci@0000:00:17.0
version: 31
bits: 32 bits
horloge: 66MHz
fonctionnalités: storage msi pm ahci_1.0 bus_master cap_list
configuration: driver=ahci latency=0
ressources: irq:125 mémoire:df528000-df529fff mémoire:df52c000-df52c0ff portE/S:f090(taille=8) portE/S:f080(taille=4) portE/S:f060(taille=32) mémoire:df52b000-df52b7ff
*-pci:1
description: PCI bridge
produit: 100 Series/C230 Series Chipset Family PCI Express Root Port #3
fabriquant: Intel Corporation
identifiant matériel: 1c
information bus: pci@0000:00:1c.0
version: f1
bits: 32 bits
horloge: 33MHz
fonctionnalités: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
ressources: irq:18 mémoire:df400000-df4fffff
*-network
description: Interface réseau sans fil
produit: Wireless 7265
fabriquant: Intel Corporation
identifiant matériel: 0
information bus: pci@0000:02:00.0
nom logique: wlp2s0
version: 59
numéro de série: 9c:da:3e:77:09:48
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-46-lowlatency firmware=29.1044073957.0 ip=192.168.0.19 latency=0 link=yes multicast=yes wireless=IEEE 802.11
ressources: irq:135 mémoire:df400000-df401fff
*-pci:2
description: PCI bridge
produit: 100 Series/C230 Series Chipset Family PCI Express Root Port #4
fabriquant: Intel Corporation
identifiant matériel: 1c.3
information bus: pci@0000:00:1c.3
version: f1
bits: 32 bits
horloge: 33MHz
fonctionnalités: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
ressources: irq:19 portE/S:d000(taille=4096) mémoire:df300000-df3fffff
*-network
description: Ethernet interface
produit: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
fabriquant: Realtek Semiconductor Co., Ltd.
identifiant matériel: 0
information bus: pci@0000:03:00.0
nom logique: enp3s0
version: 15
numéro de série: 2c:fd:a1:20:7b:13
taille: 1Gbit/s
capacité: 1Gbit/s
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.0.21 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
ressources: irq:19 portE/S:d000(taille=256) mémoire:df304000-df304fff mémoire:df300000-df303fff
*-pci:3
description: PCI bridge
produit: 100 Series/C230 Series Chipset Family PCI Express Root Port #7
fabriquant: Intel Corporation
identifiant matériel: 1c.6
information bus: pci@0000:00:1c.6
version: f1
bits: 32 bits
horloge: 33MHz
fonctionnalités: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
ressources: irq:18 mémoire:df200000-df2fffff
*-generic
description: Unassigned class
produit: RTS5229 PCI Express Card Reader
fabriquant: Realtek Semiconductor Co., Ltd.
identifiant matériel: 0
information bus: pci@0000:04:00.0
version: 01
bits: 32 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress bus_master cap_list
configuration: driver=rtsx_pci latency=0
ressources: irq:123 mémoire:df200000-df200fff
*-pci:4
description: PCI bridge
produit: 100 Series/C230 Series Chipset Family PCI Express Root Port #9
fabriquant: Intel Corporation
identifiant matériel: 1d
information bus: pci@0000:00:1d.0
version: f1
bits: 32 bits
horloge: 33MHz
fonctionnalités: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
ressources: irq:16 mémoire:df100000-df1fffff
*-storage
description: Non-Volatile memory controller
produit: NVMe SSD Controller SM961/PM961
fabriquant: Samsung Electronics Co Ltd
identifiant matériel: 0
information bus: pci@0000:05:00.0
version: 00
bits: 64 bits
horloge: 33MHz
fonctionnalités: storage pm msi pciexpress msix nvm_express bus_master cap_list
configuration: driver=nvme latency=0
ressources: irq:16 mémoire:df100000-df103fff
*-isa
description: ISA bridge
produit: HM175 Chipset LPC/eSPI Controller
fabriquant: Intel Corporation
identifiant matériel: 1f
information bus: pci@0000:00:1f.0
version: 31
bits: 32 bits
horloge: 33MHz
fonctionnalités: isa bus_master
configuration: latency=0
*-memory NON-RÉCLAMÉ
description: Memory controller
produit: 100 Series/C230 Series Chipset Family Power Management Controller
fabriquant: Intel Corporation
identifiant matériel: 1f.2
information bus: pci@0000:00:1f.2
version: 31
bits: 32 bits
horloge: 33MHz (30.3ns)
configuration: latency=0
ressources: mémoire:df524000-df527fff
*-multimedia
description: Audio device
produit: CM238 HD Audio Controller
fabriquant: Intel Corporation
identifiant matériel: 1f.3
information bus: pci@0000:00:1f.3
version: 31
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi bus_master cap_list
configuration: driver=snd_hda_intel latency=32
ressources: irq:137 mémoire:df520000-df523fff mémoire:df500000-df50ffff
*-serial NON-RÉCLAMÉ
description: SMBus
produit: 100 Series/C230 Series Chipset Family SMBus
fabriquant: Intel Corporation
identifiant matériel: 1f.4
information bus: pci@0000:00:1f.4
version: 31
bits: 64 bits
horloge: 33MHz
configuration: latency=0
ressources: mémoire:df52a000-df52a0ff portE/S:f040(taille=32)
*-scsi
identifiant matériel: 1
nom logique: scsi1
fonctionnalités: emulated
*-disk
description: ATA Disk
produit: HGST HTS721010A9
identifiant matériel: 0.0.0
information bus: scsi@1:0.0.0
nom logique: /dev/sda
version: A3V0
numéro de série: JR1000BN2E1T9E
taille: 931GiB (1TB)
fonctionnalités: gpt-1.00 partitioned partitioned:gpt
configuration: ansiversion=5 guid=b6f5e27f-fbfd-43fb-bbd8-90d4f7645ba6 logicalsectorsize=512 sectorsize=4096
*-volume:0
description: Windows NTFS volume
fabriquant: Windows
identifiant matériel: 1
information bus: scsi@1:0.0.0,1
nom logique: /dev/sda1
version: 3.1
numéro de série: 50bf-f30d
taille: 203GiB
capacité: 203GiB
fonctionnalités: ntfs initialized
configuration: clustersize=4096 created=2017-12-01 12:51:40 filesystem=ntfs label=datawin state=clean
*-volume:1
description: Volume EXT4
fabriquant: Linux
identifiant matériel: 2
information bus: scsi@1:0.0.0,2
nom logique: /dev/sda2
version: 1.0
numéro de série: ea2db94d-1499-446e-956c-b64dbe6818cf
taille: 122GiB
capacité: 122GiB
fonctionnalités: journaled extended_attributes large_files huge_files dir_nlink extents ext4 ext2 initialized
configuration: created=2019-03-15 23:47:24 filesystem=ext4 modified=2019-03-15 23:56:12 mounted=2019-03-15 23:53:19 name=Arch state=clean
*-volume:2
description: Volume EXT4
fabriquant: Linux
identifiant matériel: 3
information bus: scsi@1:0.0.0,3
nom logique: /dev/sda3
version: 1.0
numéro de série: ac5cbeac-b06b-4371-aa35-94880a3bc159
taille: 606GiB
fonctionnalités: journaled extended_attributes large_files huge_files dir_nlink extents ext4 ext2 initialized
configuration: created=2017-12-01 04:08:40 filesystem=ext4 lastmountpoint=/media/maxbrain/ac5cbeac-b06b-4371-aa35-94880a3bc159 modified=2019-03-15 23:56:14 mounted=2019-03-15 23:53:19 name=data state=clean
*-power NON-RÉCLAMÉ
description: To Be Filled By O.E.M.
produit: To Be Filled By O.E.M.
fabriquant: To Be Filled By O.E.M.
identifiant matériel: 1
version: To Be Filled By O.E.M.
numéro de série: To Be Filled By O.E.M.
capacité: 32768mWh

RmInitAdapter failed! (0x31:0xffff:846)

You’re currently using a lowlatency kernel, this sometimes leads to problems with the nvidia driver. If using a standard kernel doesn’t change anything, I’d say the gpu is broken.

Thanks you. I check with then generic kernel but the issue is still there with the same error message.
I then contact asus for repair.

Thanks again