Page 1 of 5 123 ... LastLast
Results 1 to 10 of 48

Thread: Nvidia Proprietary drivers on Wayland

  1. #1
    Join Date
    Jun 2008
    Location
    The Netherlands
    Posts
    281

    Default Nvidia Proprietary drivers on Wayland

    Hi all,

    Very excited today for 15.2.
    I wonder now, do the Nvidia Proprietary drivers work on Wayland or do you need to switch back from the Wayland DisplayManager?

  2. #2
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,966

    Default Re: Nvidia Proprietary drivers on Wayland

    No, AFAIK Wayland is still not compatible with Nvidia proprietary drivers: do you really have special needs for both of them? AFAIK KDE is still not fully compatible with Wayland either, at least in the version featured by Leap 15.2.
    Maybe specialists have a better insight.
    Leap 15.1 Gnome on i7 4720HQ + Geforce GTX960M
    testing Leap 15.2

  3. #3
    Join Date
    Jun 2008
    Location
    The Netherlands
    Posts
    281

    Default Re: Nvidia Proprietary drivers on Wayland

    Do you know how to disable Wayland?
    I can't find it in the Sysconfig Editor.

    I do need the Nvidia proprietary drivers for Vulcan / gaming.

  4. #4
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,966

    Default Re: Nvidia Proprietary drivers on Wayland

    On a default Gnome install using gdm as display manager where Wayland is enabled by default there is one line to uncomment in:
    Code:
    bruno@LT_B:~> cat /etc/gdm/custom.conf
    # GDM configuration storage
    #
    # Note: settings from /etc/sysconfig/displaymanager have a higher priority
    #
    
    [daemon]
    InitialSetupEnable=False
    # 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
    
    bruno@LT_B:~>
    On KDE I think it is disabled by default, but I might be mistaken.
    Leap 15.1 Gnome on i7 4720HQ + Geforce GTX960M
    testing Leap 15.2

  5. #5
    Join Date
    Jun 2008
    Location
    The Netherlands
    Posts
    281

    Default Re: Nvidia Proprietary drivers on Wayland

    I found the option WaylandEnable=false in the file /etc/gdm/custom.conf but then the NVidia drivers still won't work. I was a day off, I thought 15.2 was released today. Yesterday it said 1 Day and now it says 21 hours. Which still is a day.

    I'll wait

    edit: Didn't refresh the page to see your answer.
    I use Gnome indeed.

  6. #6
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,966

    Default Re: Nvidia Proprietary drivers on Wayland

    Since you already have 15.2 installed, doing a "zypper dup" now is likely to bring in the "released" packages, unless there is an emergency update still in the pipe. What you do not find yet are the install media.
    If proprietary drivers still don't work, you should describe your HW and exactly what you do and what you see, so that somebody can help.
    If you have an "Optimus" laptop (Intel+Nvidia) it is not unusual to have problems; I remember having to replace gdm with lightdm some time ago to have suse-prime working, but I haven't checked recently and not on 15.2 yet.
    Leap 15.1 Gnome on i7 4720HQ + Geforce GTX960M
    testing Leap 15.2

  7. #7
    Join Date
    Jun 2008
    Location
    The Netherlands
    Posts
    281

    Default Re: Nvidia Proprietary drivers on Wayland

    Turning off Wayland in de /etc/gdm file results in a black login window. I see the mouse, but that's it.
    And the new NVidia driver, as the beta you can download from the NVidia site, won't install at all on 15.2.

    Missing dependencies.

  8. #8

    Default Re: Nvidia Proprietary drivers on Wayland

    Quote Originally Posted by OrsoBruno View Post
    No, AFAIK Wayland is still not compatible with Nvidia proprietary drivers:
    This statement is imprecise...

    More correct would be that the nvidia driver is incompatible to other drivers, and therefore needs special support in the Wayland compositor.

    Weston (the reference implementation of a Wayland compositor) does support nvidia since a long time, in the form of patches made available by NVidia themselves.

    I don't know about GNOME.

    AFAIK KDE is still not fully compatible with Wayland either, at least in the version featured by Leap 15.2.
    Actually, the version of KDE Plasma/Kwin (Wayland) included in Leap 15.2 does have explicit support for nvidia. (contributed by an NVidia employee IIANM).

    I can't say how well it works though. (Wayland in general is still having some rough edges, personally I'd still rather consider it experimental)
    Last edited by wolfi323; 02-Jul-2020 at 04:39.

  9. #9
    Join Date
    Jun 2008
    Location
    The Netherlands
    Posts
    281

    Default Re: Nvidia Proprietary drivers on Wayland

    Quote Originally Posted by wolfi323 View Post
    This statement is imprecise... More correct would be that the nvidia driver is incompatible to other drivers, and therefore needs special support in the Wayland compositor. Weston (the reference implementation of a Wayland compositor) does support nvidia since a long time, in the form of patches made available by NVidia themselves. I don't know about GNOME. Actually, the version of KDE Plasma/Kwin (Wayland) included in Leap 15.2 does have explicit support for nvidia. (contributed by an NVidia employee IIANM). I can't say how well it works though. (Wayland in general is still having some rough edges, personally I'd still rather consider it experimental) No idea about
    So I either go to KDE or Weston? Or turn off Wayland and wait for NVidia drivers that do install? Is that correct?

  10. #10

    Default Re: Nvidia Proprietary drivers on Wayland

    Quote Originally Posted by Ricochet View Post
    So I either go to KDE or Weston? Or turn off Wayland and wait for NVidia drivers that do install? Is that correct?
    Not really.

    Normally, you'd select a desktop session you want to start on the login screen, and that either uses X11 or Wayland.
    (unless you want to setup things manually completely, but I can't help you with that)

    If you do want to use Wayland, you'd first need to use a display manager (i.e. login screen) that actually supports starting Wayland sessions.
    gdm does (it actually runs the greeter on Wayland by default, but that can be disabled in its config, as mentioned in previous posts), sddm does (in this case the greeter actually runs on X11 only), lightdm maybe too but I don't know.

    Then you'd need to choose a Wayland session on the login screen:
    GNOME uses Wayland by default (but there should be a "GNOME on X11" entry too AFAIK)
    KDE Plasma 5 actually comes with 3 entries, the normal one uses X11, while there's also "Wayland" and "Full Wayland". The latter two only appear if the package plasma5-session-wayland is installed, "Full Wayland" differs from "Wayland" in that it forces GTK/GNOME and Qt/KDE applications to run natively on Wayland while they run under X11 via XWayland with "Wayland" (to avoid bugs in the Wayland implementations of those toolkits).
    There maybe others that support/use Wayland, but I have no idea which (I *think* Enlightenment does, but I'm not sure).

    Both GNOME and KDE/Plasma come with their own compositor, I think if you'd want to use Weston, you'd also have to set things up manually (unless there's a desktop environment that uses Weston as compositor, or maybe Weston itself comes with a session file to show up on the login screen).

    Oh, and the NVidia drivers do install (or not) regardless of whether you use X11 or Wayland...
    If the driver installation is borked, it will be broken in X11 too.
    (and Wayland should of course work with the opensource drivers too, maybe better or worse depending on the hardware and/or the compositor)

    And the new NVidia driver, as the beta you can download from the NVidia site, won't install at all on 15.2.

    Missing dependencies.
    What missing dependencies?

    You need to have a C devel environment and the kernel devel packages installed.

    But why don't you rather use the available packages from the repo?
    That should automatically pull in everything that's necessary, and might also contain patches to make it work with the latest kernels.
    https://en.opensuse.org/SDB:NVIDIA_drivers
    Last edited by wolfi323; 02-Jul-2020 at 04:57.

Page 1 of 5 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
  •