Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't load nvidia drivers module after system update
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
bookwood
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2005
Posts: 123
Location: Dortmund

PostPosted: Fri Oct 13, 2017 1:36 pm    Post subject: Can't load nvidia drivers module after system update Reply with quote

Hi all,
I have a thinkpad P50 notebook. Since my last kernel and system update, I can't load the nvidia kernel modules anymore. I downgraded to the old kernel, but It fails now also. The Xorg config is the same that I used the last three months. I recompiled all packages that are in touch with X11 like many udates of nvidia-drivers before. Here are the error messages:
Code:

 Okt 13 13:25:16 bookwood sddm[6098]: Initializing...
Okt 13 13:25:16 bookwood sddm[6098]: Starting...
Okt 13 13:25:16 bookwood sddm[6098]: Adding new display on vt 1 ...
Okt 13 13:25:16 bookwood sddm[6098]: Display server starting...
Okt 13 13:25:16 bookwood sddm[6098]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{dc74b3a6-ca14-4d17-a107-28c4bc95a023} -background none -noreset -displayfd 18 vt1
Okt 13 13:25:16 bookwood kernel: nvidia: module license 'NVIDIA' taints kernel.
Okt 13 13:25:16 bookwood kernel: Disabling lock debugging due to kernel taint
Okt 13 13:25:16 bookwood kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 240
Okt 13 13:25:16 bookwood kernel: vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
Okt 13 13:25:16 bookwood kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                                 NVRM: (PCI ID: 10de:13b1) installed in this system has
                                 NVRM: fallen off the bus and is not responding to commands.
Okt 13 13:25:16 bookwood kernel: nvidia: probe of 0000:01:00.0 failed with error -1
Okt 13 13:25:16 bookwood kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
Okt 13 13:25:16 bookwood kernel: NVRM: None of the NVIDIA graphics adapters were initialized!
Okt 13 13:25:16 bookwood kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 240
Okt 13 13:25:17 bookwood kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 240
Okt 13 13:25:17 bookwood kernel: vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
Okt 13 13:25:17 bookwood kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                                 NVRM: (PCI ID: 10de:13b1) installed in this system has
                                 NVRM: fallen off the bus and is not responding to commands.
Okt 13 13:25:17 bookwood kernel: nvidia: probe of 0000:01:00.0 failed with error -1
Okt 13 13:25:17 bookwood kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
Okt 13 13:25:17 bookwood kernel: NVRM: None of the NVIDIA graphics adapters were initialized!
Okt 13 13:25:17 bookwood kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 240
Okt 13 13:25:17 bookwood kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 240
Okt 13 13:25:17 bookwood kernel: vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
Okt 13 13:25:17 bookwood kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                                 NVRM: (PCI ID: 10de:13b1) installed in this system has
                                 NVRM: fallen off the bus and is not responding to commands.
Okt 13 13:25:17 bookwood kernel: nvidia: probe of 0000:01:00.0 failed with error -1
Okt 13 13:25:17 bookwood kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).


Here are my PCI devices:
Code:

~ # lspci
00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
00:1c.2 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #3 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #13 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M1000M] (rev ff)
04:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
3e:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)


Code:

 grep -E "FB|DRM|FRAMEB" /usr/src/linux/.config
# CONFIG_X86_SYSFB is not set
CONFIG_NET_SCH_SFB=m
# CONFIG_IFB is not set
CONFIG_DRM=m
CONFIG_DRM_MIPI_DSI=y
# CONFIG_DRM_DP_AUX_CHARDEV is not set
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_DRM_I2C_CH7006=m
CONFIG_DRM_I2C_SIL164=m
CONFIG_DRM_I2C_NXP_TDA998X=m
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_AMDGPU is not set
# CONFIG_DRM_NOUVEAU is not set
CONFIG_DRM_I915=m
# CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT is not set
CONFIG_DRM_I915_USERPTR=y
# CONFIG_DRM_I915_GVT is not set
# CONFIG_DRM_I915_WERROR is not set
# CONFIG_DRM_I915_DEBUG is not set
# CONFIG_DRM_VGEM is not set
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_GMA500 is not set
# CONFIG_DRM_UDL is not set
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_CIRRUS_QEMU is not set
# CONFIG_DRM_QXL is not set
# CONFIG_DRM_BOCHS is not set
# CONFIG_DRM_VIRTIO_GPU is not set
CONFIG_DRM_PANEL=y
CONFIG_DRM_BRIDGE=y
# CONFIG_DRM_ANALOGIX_ANX78XX is not set
# CONFIG_DRM_LEGACY is not set
CONFIG_FB=y
CONFIG_FB_CMDLINE=y
CONFIG_FB_NOTIFY=y
CONFIG_FB_DDC=m
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
CONFIG_FB_CFB_FILLRECT=m
CONFIG_FB_CFB_COPYAREA=m
CONFIG_FB_CFB_IMAGEBLIT=m
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
CONFIG_FB_SYS_FILLRECT=m
CONFIG_FB_SYS_COPYAREA=m
CONFIG_FB_SYS_IMAGEBLIT=m
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYS_FOPS=m
CONFIG_FB_DEFERRED_IO=y
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_VESA is not set
# CONFIG_FB_EFI is not set
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_LE80578 is not set
CONFIG_FB_INTEL=m
CONFIG_FB_INTEL_DEBUG=y
CONFIG_FB_INTEL_I2C=y
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_SM501 is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_IBM_GXT4500 is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_AUO_K190X is not set
# CONFIG_FB_SIMPLE is not set
# CONFIG_FB_SM712 is not set
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
# CONFIG_FB_CON_DECOR is not set
# CONFIG_HID_PICOLCD_FB is not set


here is my
Code:

emerge --info
Portage 2.3.8 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.4.0, glibc-2.23-r4, 4.9.49-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.9.49-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.4.1
KiB Mem:    15875172 total,   8554136 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Fri, 13 Oct 2017 08:45:01 +0000
Head commit of repository gentoo: 68ae0a5e3a71bf3796cd642cbb5e9ee8529ca817
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.32.1::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

fw-overlay
    location: /var/lib/layman/fw-overlay
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native "
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 apng audit autoipd avahi berkdb bluetooth branding bzip2 cairo cdda cdr clang cli connection-sharing cracklib crypt cryptsetup cups cxx dbus declarative device-mapper dhclient dia display-manager dri dri3 dts dvd dvdr egl emboss encode exif fam ffmpeg firefox firewalld flac fortran fuse gdbm gif glamor gnome-keyring gpm graphite gtk gtk3 gui handbook http iconv icu imagemagick inkjar ipv4 ipv6 java javascript jce jpeg json kde kipi kwallet latex lcms ldap legacy-systray libnotify lua lvm lxc lz4 mad mdev mdnsresponder-compat minizip mmx mng modemmanager modules mp3 mp4 mpeg multilib ncurses networkmanager nfs nfsdcld nfsexports nfsidmap nfsv4 nfsv41 nftables nls nptl nss numa ogg okteta opencl openconnect opengl openmp orc pam pango pcap pcre pcre-jit pcre16 pdf phonon pkcs11 plasma plotutils png policykit postscript ppds ppp pulseaudio python qalculate qml qt3support qt4 qt5 readline reencrypt reviewboard rpc samba script scsi sddm sdl seccomp semantic-desktop sep-usr session smartcard smbclient sna spell spice sql sqlite sse sse2 ssl startup-notification svc svg symlink systemd tcpd tftp tiff tk truetype udev udisks uml unicode upower usb usbhost usbredir uxa vdpau virt-network visio visualvm vorbis webkit widgets wifi wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid xvmc yubikey zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de_DE de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="aarch64 alpha arm cris i386 lm32 m68k microblaze microblazeel mips mips64 mips64el mipsel moxie nios2 or1k ppc ppc64 ppcemb s390x sh4 sh4eb sparc sparc64 tricore unicore32 x86_64 xtensa xtensaeb" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="intel nvidia i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Thanks in advance!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Fri Oct 13, 2017 1:53 pm    Post subject: Reply with quote

What version of nvidia-drivers you installed?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
bookwood
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2005
Posts: 123
Location: Dortmund

PostPosted: Fri Oct 13, 2017 2:25 pm    Post subject: Reply with quote

384.90, but I also test it with 381.22 - same result.
Back to top
View user's profile Send private message
Maxxx
Guru
Guru


Joined: 12 Jan 2016
Posts: 595
Location: Italia

PostPosted: Fri Oct 13, 2017 3:53 pm    Post subject: Reply with quote

Do you run

Code:
emerge @module-rebuild

after system and kernel update?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Fri Oct 13, 2017 4:09 pm    Post subject: Reply with quote

bookwood,

Is this a real two graphics card notebook or does it suffer from Optimus, which is only one and a half graphics cards?

Put your entire kernel .config onto pastebin site. Everything in the snippet you posted looks harmless but there are other things that matter too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
bookwood
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2005
Posts: 123
Location: Dortmund

PostPosted: Sat Oct 14, 2017 3:22 pm    Post subject: Reply with quote

I switched back to the current kernel 4.12.12. On my private not updated thinkpad w520 is also an optimus that works with kernel 4.12.5 and nvidia-drivers 384.59-r1

I followed on my Thinkpad P50 this manual:
https://wiki.gentoo.org/wiki/Lenovo_ThinkPad_P50#NVIDIA_Optimus
This configuration worked until my last update.

Here is my current Kernel config: https://paste.pound-python.org/show/xCX7mmDOkxDMzx2175qL/

I updated everything and did a mudules-update and

Code:
emerge  `qlist -IC x11-drivers`
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Sat Oct 14, 2017 3:34 pm    Post subject: Reply with quote

bookwood,

This must be off.
Code:
CONFIG_FB_INTEL=m
CONFIG_FB_INTEL_DEBUG=y
CONFIG_FB_INTEL_I2C=y


It conflicts with
Code:
CONFIG_DRM_I915=m
, which gives you a free framebuffer console too.
The hardware framebuffer drivers in
Code:
#
# Frame buffer hardware drivers
#
must all be off, as they are for hardware that has not been made for 10 years or more.

-- edit --

The nvidia driers will choose the built in (to Xorg) modesetting driver for Xorg.
That in turn requires that ]CONFIG_DRM_I915 is in use for your Intel graphics.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
bookwood
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2005
Posts: 123
Location: Dortmund

PostPosted: Sun Oct 15, 2017 2:44 pm    Post subject: Reply with quote

I changed the kernel config, but no change:
https://paste.pound-python.org/show/tDMJfX8xGfHLA09Y7NMc/
After reboot, I execute the shellscript
Code:
nvidia on
of the manual https://wiki.gentoo.org/wiki/Lenovo_ThinkPad_P50#NVIDIA_Optimus
This works the last three months perfect.
dmesg after executing:
Code:

[16923.861029] bbswitch: enabling discrete graphics

Then I start sddm
Code:
systemctl start sddm
and the dmesg output:
Code:

[16923.861029] bbswitch: enabling discrete graphics
[17006.307564] bbswitch: disabling discrete graphics
[17006.309949] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170303/nsarguments-95)
[17006.450278] sddm[10565]: segfault at 940 ip 0000000000000940 sp 00007fff13475f08 error 14 in sddm[400000+70000]
[17006.917140] sddm[10597]: segfault at 0 ip           (null) sp 00007ffe49475578 error 14 in sddm[400000+70000]


journalctl:
Code:

Okt 15 16:33:09 bookwood systemd[1]: Started Simple Desktop Display Manager.
Okt 15 16:33:09 bookwood sddm[10686]: Initializing...
Okt 15 16:33:09 bookwood sddm[10686]: Starting...
Okt 15 16:33:09 bookwood sddm[10686]: Adding new display on vt 1 ...
Okt 15 16:33:09 bookwood sddm[10686]: Display server starting...
Okt 15 16:33:09 bookwood sddm[10686]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{2518309b-407a-475f-92e9-c4f9bb4ff675} -background none -noreset -displayfd 18 vt1
Okt 15 16:33:09 bookwood sddm[10686]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
Okt 15 16:33:09 bookwood sddm[10686]: Display server started.
Okt 15 16:33:09 bookwood sddm[10686]: Socket server starting...
Okt 15 16:33:09 bookwood sddm[10686]: Socket server started.
Okt 15 16:33:09 bookwood sddm[10686]: Greeter starting...
Okt 15 16:33:09 bookwood sddm[10686]: Adding cookie to "/var/run/sddm/{2518309b-407a-475f-92e9-c4f9bb4ff675}"
Okt 15 16:33:09 bookwood sddm[10686]: /usr/bin/xauth: (stdin):1:  bad "remove" command line
Okt 15 16:33:09 bookwood sddm[10686]: /usr/bin/xauth: (stdin):2:  bad "add" command line
Okt 15 16:33:09 bookwood sddm[10686]: Display server stopped.
Okt 15 16:33:09 bookwood sddm[10686]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
Okt 15 16:33:09 bookwood sddm[10686]: Socket server stopping...
Okt 15 16:33:09 bookwood sddm[10686]: Socket server stopped.
Okt 15 16:33:09 bookwood sddm[10686]: Removing display "" ...
Okt 15 16:33:09 bookwood sddm[10686]: Adding new display on vt 1 ...
Okt 15 16:33:09 bookwood sddm[10686]: Display server starting...
Okt 15 16:33:09 bookwood sddm[10686]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{ecedd04f-0ed3-4878-a114-4ba40d18299f} -background none -noreset -displayfd 20 vt1
Okt 15 16:33:09 bookwood sddm-helper[10696]: [PAM] Starting...
Okt 15 16:33:09 bookwood sddm-helper[10696]: [PAM] Authenticating...
Okt 15 16:33:09 bookwood sddm-helper[10696]: [PAM] returning.
Okt 15 16:33:09 bookwood sddm[10686]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
Okt 15 16:33:09 bookwood sddm[10686]: Display server started.
Okt 15 16:33:09 bookwood sddm[10686]: Socket server starting...
Okt 15 16:33:09 bookwood sddm[10686]: Socket server started.
Okt 15 16:33:09 bookwood sddm[10686]: Greeter starting...
Okt 15 16:33:09 bookwood sddm[10686]: Adding cookie to "/var/run/sddm/{ecedd04f-0ed3-4878-a114-4ba40d18299f}"
Okt 15 16:33:09 bookwood sddm[10686]: /usr/bin/xauth: (stdin):1:  bad "remove" command line
Okt 15 16:33:09 bookwood sddm[10686]: /usr/bin/xauth: (stdin):2:  bad "add" command line
Okt 15 16:33:09 bookwood sddm[10686]: QProcess: Destroyed while process ("/usr/libexec/sddm-helper") is still running.
Okt 15 16:33:09 bookwood sddm-helper[10708]: [PAM] Starting...
Okt 15 16:33:09 bookwood sddm-helper[10708]: [PAM] Authenticating...
Okt 15 16:33:09 bookwood sddm-helper[10708]: [PAM] returning.
Okt 15 16:33:09 bookwood kernel: sddm[10686]: segfault at 7a0 ip 00000000000007a0 sp 00007ffc4cf27c28 error 14 in sddm[400000+70000]
Okt 15 16:33:09 bookwood systemd[1]: Started Process Core Dump (PID 10710/UID 0).
Okt 15 16:33:10 bookwood sddm-helper[10708]: Received a wrong opcode instead of AUTHENTICATED: 0
Okt 15 16:33:10 bookwood systemd[1]: sddm.service: Main process exited, code=dumped, status=11/SEGV
Okt 15 16:33:10 bookwood systemd[1]: sddm.service: Unit entered failed state.
Okt 15 16:33:10 bookwood systemd[1]: sddm.service: Failed with result 'core-dump'.
Okt 15 16:33:10 bookwood systemd-coredump[10711]: Process 10686 (sddm) of user 0 dumped core.
Okt 15 16:33:10 bookwood systemd[1]: sddm.service: Service hold-off time over, scheduling restart.
Okt 15 16:33:10 bookwood systemd[1]: Stopped Simple Desktop Display Manager.
Okt 15 16:33:10 bookwood systemd[1]: sddm.service: Start request repeated too quickly.
Okt 15 16:33:10 bookwood systemd[1]: Failed to start Simple Desktop Display Manager.
Okt 15 16:33:10 bookwood systemd[1]: sddm.service: Unit entered failed state.
Okt 15 16:33:10 bookwood systemd[1]: sddm.service: Failed with result 'core-dump'.

the xorg.log is here https://paste.pound-python.org/show/JjgH6WpV4BGKeaiiE3lh/
Code:

[ 17009.554] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 17009.554]    compiled for 4.0.2, module version = 1.0.0
[ 17009.554]    Module class: X.Org Video Driver
[ 17009.554] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 17009.554] (II) NVIDIA dlloader X Driver  384.90  Tue Sep 19 16:35:54 PDT 2017
[ 17009.554] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 17009.561] (II) modeset(G0): using drv /dev/dri/card0
[ 17009.561] (EE) No devices detected.
[ 17009.561] (EE)
Fatal server error:
[ 17009.561] (EE) no screens found(EE)
[ 17009.561] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[ 17009.561] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 17009.561] (EE)

and lsmod https://paste.pound-python.org/show/gIiRnavuuUKv5xyTy4aL/
Back to top
View user's profile Send private message
bookwood
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2005
Posts: 123
Location: Dortmund

PostPosted: Sun Oct 15, 2017 3:41 pm    Post subject: Reply with quote

I can't unload the nvidia module, I need to reeboot. After the reboot the journalctl shows, when I starting sddm, strange errors:
Code:

Okt 15 17:33:59 bookwood sddm[4549]: Initializing...
Okt 15 17:33:59 bookwood sddm[4549]: Starting...
Okt 15 17:33:59 bookwood sddm[4549]: Adding new display on vt 1 ...
Okt 15 17:33:59 bookwood sddm[4549]: Display server starting...
Okt 15 17:33:59 bookwood sddm[4549]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{a65bb603-04ed-4c64-97e0-3498690fcb52} -background none -nore
Okt 15 17:33:59 bookwood kernel: nvidia: module license 'NVIDIA' taints kernel.
Okt 15 17:33:59 bookwood kernel: Disabling lock debugging due to kernel taint
Okt 15 17:33:59 bookwood kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 238
Okt 15 17:33:59 bookwood kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
Okt 15 17:33:59 bookwood kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                                 NVRM: (PCI ID: 10de:13b1) installed in this system has
                                 NVRM: fallen off the bus and is not responding to commands.
Okt 15 17:33:59 bookwood kernel: nvidia: probe of 0000:01:00.0 failed with error -1
Okt 15 17:33:59 bookwood kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
Okt 15 17:33:59 bookwood kernel: NVRM: None of the NVIDIA graphics adapters were initialized!
Okt 15 17:33:59 bookwood kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 238
Okt 15 17:33:59 bookwood kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 238
Okt 15 17:33:59 bookwood kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
Okt 15 17:33:59 bookwood kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                                 NVRM: (PCI ID: 10de:13b1) installed in this system has
                                 NVRM: fallen off the bus and is not responding to commands.
Okt 15 17:33:59 bookwood kernel: nvidia: probe of 0000:01:00.0 failed with error -1
Okt 15 17:33:59 bookwood kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
Okt 15 17:33:59 bookwood kernel: NVRM: None of the NVIDIA graphics adapters were initialized!
Okt 15 17:33:59 bookwood kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 238
Okt 15 17:33:59 bookwood kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 238
Okt 15 17:33:59 bookwood kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
Okt 15 17:33:59 bookwood kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                                 NVRM: (PCI ID: 10de:13b1) installed in this system has
                                 NVRM: fallen off the bus and is not responding to commands.
Okt 15 17:33:59 bookwood kernel: nvidia: probe of 0000:01:00.0 failed with error -1
Okt 15 17:33:59 bookwood kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
Okt 15 17:33:59 bookwood kernel: NVRM: None of the NVIDIA graphics adapters were initialized!
Okt 15 17:33:59 bookwood kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 238
Okt 15 17:33:59 bookwood kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 238
Okt 15 17:33:59 bookwood kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none



The last 20 lines repeat in an endless loop.
Back to top
View user's profile Send private message
bookwood
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2005
Posts: 123
Location: Dortmund

PostPosted: Sun Oct 15, 2017 5:31 pm    Post subject: Reply with quote

I need to add
Code:
pcie_port_pm=off
as boot option to /etc/default/grub:
Code:

GRUB_CMDLINE_LINUX="crypt_root=/dev/sda3 real_root=/dev/ifasec/root root_trim=yes dolvm doscsi init=/usr/lib/systemd/systemd pcie_port_pm=off "


It seems that is a bbswitch error:
https://github.com/Bumblebee-Project/bbswitch/issues/140

The optimus hybrid system works now as before the update.

Thanks for any help!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum