Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: Xorg crashes after upgrade to LEAP 15.1 (nvidia)

  1. #1

    Default Xorg crashes after upgrade to LEAP 15.1 (nvidia)

    I have upgraded my main desktop machine from 42.3 to 15.1 and i can't get X to work.
    X was working fine for several years up to LEAP 42.3 with nvidia driver 390.129-6.1.x86_64

    Then I did a fresh install of LEAP 15.1 on a new SSD.

    Now X/nvidia works either with 2 out of 4 monitors, and 1 out of 2 graphics cards, or crashes otherwise.
    The nouveau driver works on 3 of 4 monitors and displays a band of "colored snow" on the fourth (plus a broken KDE DM).

    I copied the relevant xorg.conf (/etc/X11/xorg.conf.d/20-nvidia.conf) to the 15.1 SSD:

    Code:
    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings:  version 390.129  (buildmeister@swio-display-x64-rhel04-14)  Tue Jul 23 01:36:55 PDT 2019
    
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 1920 0
        Screen      1  "Screen1" 3840 0
        Screen      2  "Screen2" 5760 0
        Screen      3  "Screen3" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
        Option         "Xinerama" "1"
    EndSection
    
    Section "Files"
    EndSection
    
    Section "InputDevice"
        # generated from data in "/etc/sysconfig/mouse"
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "IMPS/2"
        Option         "Device" "/dev/input/mice"
        Option         "Emulate3Buttons" "yes"
        Option         "ZAxisMapping" "4 5"
    EndSection
    
    Section "InputDevice"
        # generated from default
        Identifier     "Keyboard0"
        Driver         "kbd"
    EndSection
    
    Section "Monitor"
        # HorizSync source: edid, VertRefresh source: edid
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "LG Electronics 24EB23"
        HorizSync       30.0 - 83.0
        VertRefresh     56.0 - 75.0
        Option         "DPMS"
    EndSection
    
    Section "Monitor"
        # HorizSync source: edid, VertRefresh source: edid
        Identifier     "Monitor1"
        VendorName     "Unknown"
        ModelName      "LG Electronics 24EB23"
        HorizSync       30.0 - 83.0
        VertRefresh     56.0 - 75.0
        Option         "DPMS"
    EndSection
    
    Section "Monitor"
        # HorizSync source: edid, VertRefresh source: edid
        Identifier     "Monitor2"
        VendorName     "Unknown"
        ModelName      "Samsung SyncMaster"
        HorizSync       30.0 - 81.0
        VertRefresh     50.0 - 63.0
        Option         "DPMS"
    EndSection
    
    Section "Monitor"
        # HorizSync source: edid, VertRefresh source: edid
        Identifier     "Monitor3"
        VendorName     "Unknown"
        ModelName      "Samsung SyncMaster"
        HorizSync       30.0 - 81.0
        VertRefresh     50.0 - 63.0
        Option         "DPMS"
    EndSection
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce GTX 560 Ti"
        BusID          "PCI:2:0:0"
        Screen          0
    EndSection
    
    Section "Device"
        Identifier     "Device1"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce GTX 560 Ti"
        BusID          "PCI:3:0:0"
        Screen          0
    EndSection
    
    Section "Device"
        Identifier     "Device2"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce GTX 560 Ti"
        BusID          "PCI:3:0:0"
        Screen          1
    EndSection
    
    Section "Device"
        Identifier     "Device3"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce GTX 560 Ti"
        BusID          "PCI:2:0:0"
        Screen          1
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "Stereo" "0"
        Option         "nvidiaXineramaInfoOrder" "DFP-0"
        Option         "metamodes" "DVI-I-2: nvidia-auto-select +0+0"
        Option         "SLI" "Off"
        Option         "MultiGPU" "Off"
        Option         "BaseMosaic" "off"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection
    
    Section "Screen"
        Identifier     "Screen1"
        Device         "Device1"
        Monitor        "Monitor1"
        DefaultDepth    24
        Option         "Stereo" "0"
        Option         "metamodes" "DVI-I-2: nvidia-auto-select +0+0"
        Option         "SLI" "Off"
        Option         "MultiGPU" "Off"
        Option         "BaseMosaic" "off"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection
    
    Section "Screen"
        Identifier     "Screen2"
        Device         "Device2"
        Monitor        "Monitor2"
        DefaultDepth    24
        Option         "Stereo" "0"
        Option         "nvidiaXineramaInfoOrder" "DFP-2"
        Option         "metamodes" "DVI-I-3: nvidia-auto-select +0+0"
        Option         "SLI" "Off"
        Option         "MultiGPU" "Off"
        Option         "BaseMosaic" "off"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection
    
    Section "Screen"
        Identifier     "Screen3"
        Device         "Device3"
        Monitor        "Monitor3"
        DefaultDepth    24
        Option         "Stereo" "0"
        Option         "nvidiaXineramaInfoOrder" "DFP-2"
        Option         "metamodes" "DVI-I-3: nvidia-auto-select +0+0"
        Option         "SLI" "Off"
        Option         "MultiGPU" "Off"
        Option         "BaseMosaic" "off"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection
    Any ideas how to further diagnose/fix the issue would be highly aprreciated.

  2. #2

    Default Re: Xorg crashes after upgrade to LEAP 15.1 (nvidia)

    1. Make upgrade 42.3 -> 15.0 -> 15.1, no jumps 42.3 -> 15.1.
    2. For troubleshooting use fresh 15.1 install.
    3. Do not install both nouveau + Nvidia drivers, install only one of them.
    By default nouveau drivers was installed.
    To get Nvidia drivers uninstall nouveau drivers, then install Nvidia drivers.
    Reboot after uninstalling may be needed.

    Probably you will need "ForceCompositionPipeline" to set on with Nvidia drivers.

  3. #3

    Default Re: Xorg crashes after upgrade to LEAP 15.1 (nvidia)

    Quote Originally Posted by Svyatko View Post
    1. Make upgrade 42.3 -> 15.0 -> 15.1, no jumps 42.3 -> 15.1.
    2. For troubleshooting use fresh 15.1 install.
    That is exactly what i did. I did a fresh 15.1 install on a brand new SSD.

    3. Do not install both nouveau + Nvidia drivers, install only one of them.
    By default nouveau drivers was installed.
    To get Nvidia drivers uninstall nouveau drivers, then install Nvidia drivers.
    Reboot after uninstalling may be needed.
    Probably you will need "ForceCompositionPipeline" to set on with Nvidia drivers.
    I followed exactly the recommendet installation path.
    I will try your recommendation as well.
    Strange though that it is alwas working fine with just 2 Monitors.

  4. #4
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    2,399

    Default Re: Xorg crashes after upgrade to LEAP 15.1 (nvidia)

    Quote Originally Posted by Svyatko View Post
    3. Do not install both nouveau + Nvidia drivers, install only one of them.
    By default nouveau drivers was installed.
    Yes, by default, both nouveau drivers get installed, but one cannot not install the nouveau kernel driver. It's part of each kernel package. Via standard package management devices, it can only be blacklisted or unloaded.

    There is no "the" nouveau driver. There is a nouveau kernel driver, which provides the KMS (kernel modesetting) functionality that FOSS X drivers (DDX) that GPUs from AMD, Intel and NVidia depend on, and is part of each kernel package, and there is the nouveau DDX, a reverse-engineered FOSS package provided by xf86-video-nouveau, normally installed by default to override the upstream default modesetting DDX, provided by the X server itself. Most NVidia GPUs need neither the the nouveau DDX nor the proprietary NVidia driver, with competent functionality provided by the modesetting DDX. The main exception is like with all PC hardware: if the hardware is newer than the software (OS and drivers), then FOSS driver support may be yet to be provided. Not all GPU functionality is supported by a FOSS DDX, so many NVidia users opt for the proprietary drivers, which typically need the kernel nouveau to be blacklisted, and/or the nouveau DDX to not be installed.

    When both nouveau "drivers" are installed and X is running, "inxi -Gxx" will report them both separately, since they are two quite different components of a running X.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 15.1, TW, 15.2 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&15.1 on i965P/Radeon
    Tertiary: TW,15.2,15.1,Fedora,Debian,more on Kaby Lake,iQ45,iQ43,iG41,iG3X,i965G,AMD,NVidia&&&

  5. #5

    Default Re: Xorg crashes after upgrade to LEAP 15.1 (nvidia)

    OK. I have some more diagnostics.

    - nuveau was already uninstalled
    - created an xorg log with 4 monitors (crashes X) and an xorg log with just 2 monitors (works)

    startx in runlevel 3 with 4 monitors gives this log (crash):
    https://paste.opensuse.org/13486293

    startx in runlevel 3 with 2 monitors gives this log (works):
    https://paste.opensuse.org/15650184

    Same hardware, same configuration (4 monitors) works fine with OpenSuse 42.3

    Any ideas anyone?

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    29,705
    Blog Entries
    15

    Default Re: Xorg crashes after upgrade to LEAP 15.1 (nvidia)

    Hi
    So what happens if you remove the 20-nvidia.conf file and make sure there is no /etc/X11/xorg.conf file and reboot with all monitors connected?

    You say runlevel 3 (multi-user target), you mean runlevel 5 (graphical target)?

    You using the rpm's from the Nvidia repository and the system is all up to date?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7

    Default Re: Xorg crashes after upgrade to LEAP 15.1 (nvidia)

    Thanks for your reply!

    Quote Originally Posted by malcolmlewis View Post
    Hi
    So what happens if you remove the 20-nvidia.conf file and make sure there is no /etc/X11/xorg.conf file and reboot with all monitors connected?
    In that case X starts correctly with 2 of 4 monitors. The remaining 2 monitors drop into power save.
    (The other two monitors are marked "disabled" in the nvidia-settings applet)

    You say runlevel 3 (multi-user target), you mean runlevel 5 (graphical target)?
    Yes, i mean runlevel 5. But i also started X by "startx" manually from runlevel 3 to see more of the X server's startup messages. Both methods yield the same results.

    You using the rpm's from the Nvidia repository and the system is all up to date?
    It is a fresh install on a fresh SSD exactly by the book (yast only) with all available updates applied.

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    29,705
    Blog Entries
    15

    Default Re: Xorg crashes after upgrade to LEAP 15.1 (nvidia)

    Quote Originally Posted by karlheinrich View Post
    Thanks for your reply!



    In that case X starts correctly with 2 of 4 monitors. The remaining 2 monitors drop into power save.
    (The other two monitors are marked "disabled" in the nvidia-settings applet)



    Yes, i mean runlevel 5. But i also started X by "startx" manually from runlevel 3 to see more of the X server's startup messages. Both methods yield the same results.



    It is a fresh install on a fresh SSD exactly by the book (yast only) with all available updates applied.
    Hi
    Can you let it boot to graphical target and no startx, that is really deprecated you should look at using systemd and isolate to start X (or wayland).

    Do you have login auto login enabled? Sure your not starting Wayland, rather than Xorg?

    So once there, can you repost the xorg contents? It should log all data into ~/.local/share/xorg so even if it fails it will log.... no need to start anything manually.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  9. #9

    Default Re: Xorg crashes after upgrade to LEAP 15.1 (nvidia)

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Can you let it boot to graphical target and no startx, that is really deprecated you should look at using systemd and isolate to start X (or wayland).
    I did that now.

    Do you have login auto login enabled? Sure your not starting Wayland, rather than Xorg?
    I am pretty sure it is X. if i select KDE(wayland) at kdm the system freezes completely.

    So once there, can you repost the xorg contents? It should log all data into ~/.local/share/xorg so even if it fails it will log.... no need to start anything manually.
    There are no (new) logs in ~/.local/share/xorg. I booted up several times to verify.

    X still crashes with 20-nvidia.conf enabled and throws me to the text console.
    Without 20-nvidia.conf i get X on two monitors, albeit also without a log in ~/.local/share/xorg.

  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    29,705
    Blog Entries
    15

    Default Re: Xorg crashes after upgrade to LEAP 15.1 (nvidia)

    Quote Originally Posted by karlheinrich View Post
    I did that now.


    I am pretty sure it is X. if i select KDE(wayland) at kdm the system freezes completely.


    There are no (new) logs in ~/.local/share/xorg. I booted up several times to verify.

    X still crashes with 20-nvidia.conf enabled and throws me to the text console.
    Without 20-nvidia.conf i get X on two monitors, albeit also without a log in ~/.local/share/xorg.
    Hi
    Likely sddm these days... I use GNOME so hopefully another user may offer some advice. In /etc/gdm/custom.conf I had to set WaylandEnable=false as it interfered with the nvidia cards I have.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •