Can't login to GUI

after yesterday upgrade.


   169.739] Build Operating System: openSUSE SUSE LINUX
   169.740] Current Operating System: Linux linux-glg7 5.3.18-lp152.72-preempt #1 SMP PREEMPT Wed Apr 14 10:13:15 UTC 2021 (013936d) x86_64
   169.740] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.3.18-lp152.72-preempt root=UUID=...................................
   169.740] Build Date: 12 April 2021  12:00:00PM
   169.740]  
   169.740] Current version of pixman: 0.34.0
   169.740]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
   169.740] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
   169.740] (==) Log file: "/home/host/.local/share/xorg/Xorg.0.log", Time: Sat Apr 24 11:07:08 2021
   169.740] (==) Using config directory: "/etc/X11/xorg.conf.d"
   169.740] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
   169.740] (==) ServerLayout "layout"
   169.740] (**) |-->Screen "nvidia" (0)
   169.740] (**) |   |-->Monitor "<default monitor>"
   169.740] (**) |   |-->Device "nvidia"
   169.740] (**) |   |-->GPUDevice "intel"
   169.740] (**) |   |-->GPUDevice "modesetting"
   169.740] (**) |   |-->GPUDevice "nvidia"
   169.740] (==) No monitor specified for screen "nvidia".
    Using a default monitor configuration.
   169.740] (**) |-->Inactive Device "intel"
   169.740] (**) |-->Inactive Device "modesetting"
   169.741] (==) Automatically adding devices
   169.741] (==) Automatically enabling devices
   169.741] (==) Automatically adding GPU devices
   169.741] (==) Max clients allowed: 256, resource mask: 0x1fffff
   169.741] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
   169.741]     Entry deleted from font path.
   169.741] (==) FontPath set to:
    /usr/share/fonts/misc:unscaled,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/ghostscript/,
    /usr/share/fonts/cyrillic:unscaled,
    /usr/share/fonts/truetype/,
    built-ins
   169.741] (==) ModulePath set to "/usr/lib64/xorg/modules"
   169.741] (WW) Ignoring unrecognized extension "XFree86-DGA"
   169.741] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
   169.741] (II) Loader magic: 0x55b59a727d20
   169.741] (II) Module ABI versions:
   169.741]     X.Org ANSI C Emulation: 0.4
   169.741]     X.Org Video Driver: 24.0
   169.741]     X.Org XInput driver : 24.1
   169.741]     X.Org Server Extension : 10.0
   169.741] (++) using VT number 2

   169.742] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_34
   169.743] (II) xfree86: Adding drm device (/dev/dri/card0)
   169.743] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 12 paused 0
   169.745] (--) PCI:*(0@0:2:0) 8086:0166:1462:10d8 rev 9, Mem @ 0xf6400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
   169.745] (--) PCI: (1@0:0:0) 10de:0fd4:1462:10d8 rev 161, Mem @ 0xf5000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
   169.746] (II) LoadModule: "glx"
   169.746] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
   169.746] (II) Module glx: vendor="X.Org Foundation"
   169.746]     compiled for 1.20.3, module version = 1.0.0
   169.746]     ABI class: X.Org Server Extension, version 10.0
   169.746] (II) LoadModule: "nvidia"
   169.747] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
   169.747] (II) Module nvidia: vendor="NVIDIA Corporation"
   169.747]     compiled for 1.6.99.901, module version = 1.0.0
   169.747]     Module class: X.Org Video Driver
   169.747] (II) LoadModule: "intel"
   169.747] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
   169.747] (II) Module intel: vendor="X.Org Foundation"
   169.747]     compiled for 1.20.3, module version = 2.99.917
   169.747]     Module class: X.Org Video Driver
   169.747]     ABI class: X.Org Video Driver, version 24.0
   169.747] (II) LoadModule: "modesetting"
   169.747] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
   169.747] (II) Module modesetting: vendor="X.Org Foundation"
   169.747]     compiled for 1.20.3, module version = 1.20.3
   169.747]     Module class: X.Org Video Driver
   169.747]     ABI class: X.Org Video Driver, version 24.0
   169.747] (II) NVIDIA dlloader X Driver  460.73.01  Thu Apr  1 21:37:53 UTC 2021
   169.747] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
   169.747] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
    i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
    915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
    Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
   169.748] (II) intel: Driver for Intel(R) HD Graphics
   169.748] (II) intel: Driver for Intel(R) Iris(TM) Graphics
   169.748] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
   169.748] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
   169.748] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
   169.748] (II) Loading sub module "fb"
   169.748] (II) LoadModule: "fb"
   169.748] (II) Loading /usr/lib64/xorg/modules/libfb.so
   169.748] (II) Module fb: vendor="X.Org Foundation"
   169.748]     compiled for 1.20.3, module version = 1.0.0
   169.748]     ABI class: X.Org ANSI C Emulation, version 0.4
   169.748] (II) Loading sub module "wfb"
   169.748] (II) LoadModule: "wfb"
   169.748] (II) Loading /usr/lib64/xorg/modules/libwfb.so
   169.748] (II) Module wfb: vendor="X.Org Foundation"
   169.748]     compiled for 1.20.3, module version = 1.0.0
   169.748]     ABI class: X.Org ANSI C Emulation, version 0.4
   169.748] (II) Loading sub module "ramdac"
   169.748] (II) LoadModule: "ramdac"
   169.748] (II) Module "ramdac" already built-in
   169.751] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
   169.751] (EE) NVIDIA:     system's kernel log for additional error messages and
   169.751] (EE) NVIDIA:     consult the NVIDIA README for details.
   169.753] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
   169.753] (EE) NVIDIA:     system's kernel log for additional error messages and
   169.753] (EE) NVIDIA:     consult the NVIDIA README for details.
   169.753] (II) intel(G0): Using Kernel Mode Setting driver: i915, version 1.6.0 20190822
   169.770] (WW) Falling back to old probe method for modesetting
   169.773] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
   169.773] (EE) NVIDIA:     system's kernel log for additional error messages and
   169.773] (EE) NVIDIA:     consult the NVIDIA README for details.
   169.775] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
   169.775] (EE) NVIDIA:     system's kernel log for additional error messages and
   169.775] (EE) NVIDIA:     consult the NVIDIA README for details.
   169.775] (WW) Falling back to old probe method for modesetting
   169.775] (EE) No devices detected.
   169.775] (EE) 
Fatal server error:
   169.775] (EE) no screens found(EE) 
   169.775] (EE) 
Please consult the The X.Org Foundation support 

Any idea please ?

Post:

zypper se -si kernel nvidia

I think its a problem with nvidia-optimus and kernel-preempt:

Current Operating System: Linux linux-glg7 5.3.18-lp152.72-preempt #1

Well NVIDIA driver did nit initialize. Can you boot with nomodeset???

check cables

Try reinstall of NVIDIA driver.

Desktop or notebook??

I agree about prempt kernel.

Thank you for both replies.

Yes, it’s caused by prempt kernel. Everything seems to be OK with kernel-default.