Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 48

Thread: Nvidia Proprietary drivers on Wayland

  1. #21

    Default AW: Nvidia Proprietary drivers on Wayland

    PS, meanwhile also found this GNOME page, that should confirm that GNOME on Wayland works with nvidia: https://wiki.gnome.org/Initiatives/Wayland/NVIDIA

    But I quote:
    Accelerated Xwayland clients (GLX)

    There is currently no accelerated GLX support when running a GNOME Wayland session no top of the NVIDIA drivers, meaning X11 OpenGL applications will use software rendering.
    Something similar is also written in the blog post about Plasma/Wayland:
    You can say that the experience of using GL X11 apps on wayland is worse. As XWayland doesn't have EGLStream support data gets copied the slow way. If you're playing an X game or doing some Blender work this is noticable.
    I.e. with nvidia you would be better off to stick to X11, if you want to run X applications using OpenGL, like games.

    Note though, that this doesn't mean you'd have to disable Wayland for GDM, as that only affects the login screen.
    But if you want to use OpenGL applications/games, better choose GNOME on X11 (or any other non-Wayland session) when logging in.
    Last edited by wolfi323; 02-Jul-2020 at 09:08.

  2. #22
    Join Date
    Jun 2008
    Location
    The Netherlands
    Posts
    281

    Default Re: Nvidia Proprietary drivers on Wayland

    Code:
    dmesg | grep -i nvidia
    [  3.862754] audit: type=1400 audit(1593708789.437:4): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“nvidia_modprobe” pit=555 comm=“apparmor_parser”
    [  3.862756] audit: type=1400 audit(1593708789.437:5): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“nvidia_modprobe//kmod” pit=555 comm=“apparmor_parser”
    and

    Code:
    find /lib/modules/ -iname nvidia*
    Gives no result.

  3. #23

    Default Re: Nvidia Proprietary drivers on Wayland

    Quote Originally Posted by Ricochet View Post
    Code:
    find /lib/modules/ -iname nvidia*
    Gives no result.
    Well, that means that the kernel module is not on your hard disk, so it's clear that it cannot be loaded.

    Is the package nvidia-gfxG05-kmp-default installed?
    Try to reinstall it with zypper, and look for an error message:
    Code:
    sudo zypper in -f nvidia-gfxG05-kmp-default
    Maybe remove the driver again and do it in a graphical session, would probably be easier (especially to post the error message).

  4. #24
    Join Date
    Jun 2008
    Location
    The Netherlands
    Posts
    281

    Default Re: Nvidia Proprietary drivers on Wayland

    Installed it from a terminal in the GUI. Strangely the find in /lib/modules now does give kernel modules. I’ve seen no errors in the zypper output other then that it couldn’t find the biosdevname package.

    When I reboot, I get a black screen, press ESC and again the ^[ but I can never get a prompt with ALT-CTRL-F#

    Booted to init 3 to turn off Wayland and checked the bootlog. Still get the apparmor message and the modprobe message that it could not insert ‘nvidia’. Operation not permitted.

    A reboot with Wayland off, I directly go to the login prompt. No GUI. Same errors. I’ll post the zypper log next, when I get the GUI back.

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

    Default Re: Nvidia Proprietary drivers on Wayland

    (1/4) Installing: nvidia-gfxG05-kmp-default-440.100_k5.3.18_lp152.19-lp152.26.1.x86_64 .................................................................................................................................................................................................................................[done]
    Additional rpm output:
    /usr/src/kernel-modules/nvidia-440.100-default /
    rm -f -r conftest
    make[1]: Entering directory '/usr/src/linux-5.3.18-lp152.19'
    make[2]: Entering directory '/usr/src/linux-5.3.18-lp152.19-obj/x86_64/default'
    make[2]: Leaving directory '/usr/src/linux-5.3.18-lp152.19-obj/x86_64/default'
    make[1]: Leaving directory '/usr/src/linux-5.3.18-lp152.19'
    /
    make: Entering directory '/usr/src/linux-5.3.18-lp152.19-obj/x86_64/default'
    Building modules, stage 2.
    make: Leaving directory '/usr/src/linux-5.3.18-lp152.19-obj/x86_64/default'
    /usr/src/kernel-modules/nvidia-440.100-default /
    make[1]: Entering directory '/usr/src/linux-5.3.18-lp152.19'
    make[2]: Entering directory '/usr/src/linux-5.3.18-lp152.19-obj/x86_64/default'
    CONFTEST: hash__remap_4k_pfn
    <-- SNAP -->
    CONFTEST: drm_alpha_blending_available
    CC [M] /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-frontend.o
    CC [M] /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv.o
    CC [M] /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-pci.o
    CC [M] /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-acpi.o
    CC [M] /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-cray.o
    CC [M] /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-dma.o
    CC [M] /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-i2c.o
    CC [M] /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-mempool.o
    CC [M] /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-mmap.o
    /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-mmap.c: In function ‘nv_encode_caching’:
    /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-mmap.c:334:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
    if (NV_ALLOW_CACHING(memory_type))
    ^
    /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-mmap.c:336:9: note: here
    default:
    ^~~~~~~
    CC [M] /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-p2p.o
    CC [M] /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-pat.o
    CC [M] /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-procfs.o
    /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-procfs.o: warning: objtool: nv_register_procfs() falls through to next function nv_unregister_procfs()
    CC [M] /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-usermap.o
    <-- SNAP -->
    LD [M] /usr/src/kernel-modules/nvidia-440.100-default/nvidia-drm.o
    ld -r -o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-interface.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-frontend.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-pci.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-acpi.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-cray.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-dma.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-i2c.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-mempool.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-mmap.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-p2p.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-pat.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-procfs.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-usermap.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-vm.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-vtophys.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/os-interface.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/os-mlock.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/os-pci.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/os-registry.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/os-usermap.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-modeset-interface.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-pci-table.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-kthread-q.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-memdbg.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-ibmnpu.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-report-err.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-rsync.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv-msi.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nv_uvm_interface.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/nvlink_linux.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia/linux_nvswitch.o
    ld -r -o /usr/src/kernel-modules/nvidia-440.100-default/nvidia-modeset/nv-modeset-interface.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia-modeset/nvidia-modeset-linux.o /usr/src/kernel-modules/nvidia-440.100-default/nvidia-modeset/nv-kthread-q.o
    Building modules, stage 2.
    MODPOST 4 modules
    CC /usr/src/kernel-modules/nvidia-440.100-default/nvidia-drm.mod.o
    LD [M] /usr/src/kernel-modules/nvidia-440.100-default/nvidia-drm.ko
    CC /usr/src/kernel-modules/nvidia-440.100-default/nvidia-modeset.mod.o
    LD [M] /usr/src/kernel-modules/nvidia-440.100-default/nvidia-modeset.ko
    CC /usr/src/kernel-modules/nvidia-440.100-default/nvidia-uvm.mod.o
    LD [M] /usr/src/kernel-modules/nvidia-440.100-default/nvidia-uvm.ko
    CC /usr/src/kernel-modules/nvidia-440.100-default/nvidia.mod.o
    LD [M] /usr/src/kernel-modules/nvidia-440.100-default/nvidia.ko
    make[2]: Leaving directory '/usr/src/linux-5.3.18-lp152.19-obj/x86_64/default'
    make[1]: Leaving directory '/usr/src/linux-5.3.18-lp152.19'
    ld -T /lib/modules/5.3.18-lp152.19-default/source/scripts/module-common.lds -r -o nv-linux.o \
    nvidia.mod.o nvidia/nv-interface.o
    /
    update-alternatives: using /usr/lib/nvidia/alternate-install-present-default to provide /usr/lib/nvidia/alternate-install-present (alternate-install-present) in auto mode

    Modprobe blacklist files have been created at /etc/modprobe.d to prevent Nouveau from loading. This can be reverted by deleting /etc/modprobe.d/nvidia-*.conf.

    *** Reboot your computer and verify that the NVIDIA graphics driver can be loaded. ***

    grep: /etc/sysconfig/kernel: No such file or directory << This?


    (2/4) Installing: nvidia-glG05-440.100-lp152.26.1.x86_64 ...............................................................................................................................................................................................................................................................[done]
    (3/4) Installing: nvidia-computeG05-440.100-lp152.26.1.x86_64 ..........................................................................................................................................................................................................................................................[done]
    Additional rpm output:
    update-alternatives: using /usr/lib64/nvidia/libOpenCL.so.1 to provide /usr/lib64/libOpenCL.so.1 (libOpenCL.so.1) in auto mode


    (4/4) Installing: x11-video-nvidiaG05-440.100-lp152.26.1.x86_64 ........................................................................................................................................................................................................................................................[done]
    Executing %posttrans script 'nvidia-gfxG05-kmp-default-440.100_k5.3.18_lp152.19-lp152.26.1.x86_64.rpm' --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[|]
    Output of nvidia-gfxG05-kmp-default-440.100_k5.3.18_lp152.19-lp152.26.1.x86_64.rpm %posttrans script:
    Creating initrd: /boot/initrd-5.3.18-lp152.19-default
    dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /boot/initrd-5.3.18-lp152.19-default 5.3.18-lp152.19-default
    dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
    dracut: *** Including module: bash ***
    dracut: *** Including module: systemd ***
    dracut: *** Including module: systemd-initrd ***
    dracut: *** Including module: i18n ***
    dracut: *** Including module: drm ***
    dracut: *** Including module: plymouth ***
    dracut: *** Including module: kernel-modules ***
    dracut: *** Including module: kernel-modules-extra ***
    dracut: *** Including module: rootfs-block ***
    dracut: *** Including module: suse-btrfs ***
    dracut: *** Including module: suse-xfs ***
    dracut: *** Including module: terminfo ***
    dracut: *** Including module: udev-rules ***
    dracut: Skipping udev rule: 40-redhat.rules
    dracut: Skipping udev rule: 50-firmware.rules
    dracut: Skipping udev rule: 50-udev.rules
    dracut: Skipping udev rule: 91-permissions.rules
    dracut: Skipping udev rule: 80-drivers-modprobe.rules
    dracut: *** Including module: dracut-systemd ***
    dracut: *** Including module: haveged ***
    dracut: *** Including module: ostree ***
    dracut: *** Including module: usrmount ***
    dracut: *** Including module: base ***
    dracut: *** Including module: fs-lib ***
    dracut: *** Including module: shutdown ***
    dracut: *** Including module: suse ***
    dracut: *** Including module: suse-initrd ***
    dracut: *** Including modules done ***
    dracut: *** Installing kernel module dependencies ***
    dracut: *** Installing kernel module dependencies done ***
    dracut: *** Resolving executable dependencies ***
    dracut: *** Resolving executable dependencies done ***
    dracut: *** Hardlinking files ***
    dracut: *** Hardlinking files done ***
    dracut: *** Stripping files ***
    dracut: *** Stripping files done ***
    dracut: *** Generating early-microcode cpio image ***
    dracut: *** Constructing GenuineIntel.bin ***
    dracut: *** Store current command line parameters ***
    dracut: Stored kernel commandline:
    dracut: root=UUID=79fa347c-8686-4d4a-a01a-dafba28a96df rootfstype=ext4 rootflags=rw,relatime
    dracut: *** Creating image file '/boot/initrd-5.3.18-lp152.19-default' ***
    dracut: *** Creating initramfs image file '/boot/initrd-5.3.18-lp152.19-default' done ***

    Executing %posttrans scripts

  6. #26
    Join Date
    Jun 2008
    Location
    Concord, California
    Posts
    264

    Default Re: Nvidia Proprietary drivers on Wayland

    What video card do you have? The nvidia drivers are numbered and only work with certain card models. The wrong drivers will install, but will provide just a blank screen. make sure you are using the correct drivers for the correct card.
    OpenSUSE Leap 15, KDE5 (plasma 5.16.5, frameworks 5.62, QT 5.13.1)

  7. #27
    Join Date
    Jun 2008
    Location
    Concord, California
    Posts
    264

    Default Re: Nvidia Proprietary drivers on Wayland

    Quote Originally Posted by cybertaz View Post
    What video card do you have? The nvidia drivers are numbered and only work with certain card models. The wrong drivers will install, but will provide just a blank screen. make sure you are using the correct drivers for the correct card.
    nevermind. read back through and saw the post where you said your running gtx1080.
    OpenSUSE Leap 15, KDE5 (plasma 5.16.5, frameworks 5.62, QT 5.13.1)

  8. #28
    Join Date
    Jun 2008
    Location
    The Netherlands
    Posts
    281

    Default Re: Nvidia Proprietary drivers on Wayland

    Indeed, 1080. And it still should be in the G05. I also tried the G04 to be sure.

  9. #29

    Default Re: Nvidia Proprietary drivers on Wayland

    Show
    Code:
    zypper se nvid
    You need 4 packages to install.

    https://download.nvidia.com/opensuse/leap/15.2/x86_64/

  10. #30
    Join Date
    Jun 2008
    Location
    The Netherlands
    Posts
    281

    Default Re: Nvidia Proprietary drivers on Wayland

    Quote Originally Posted by Svyatko View Post
    Show
    Code:
    zypper se nvid
    You need 4 packages to install.

    https://download.nvidia.com/opensuse/leap/15.2/x86_64/
    I know, I have them. That’s not the issue.

    Thanks.

Page 3 of 5 FirstFirst 12345 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
  •