You are not logged in.

#1 2017-11-25 16:17:03

douglascast
Member
Registered: 2016-05-07
Posts: 22

Wayland With Gnome + NVidia drivers

Hi all, I'm just wondering if some of you can tell (maybe write) a guide to enable wayland under proprietary nvidia driver, I've founded this post, but I'm not that "expert" to figure out all the things by myself.

https://bbs.archlinux.org/viewtopic.php?id=220296

I've enabled some things, but I'm a little bit lost in some other.

Offline

#2 2017-11-25 16:43:41

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: Wayland With Gnome + NVidia drivers

As already been mentioned in that last post from the thread you linked, this far from being a enjoyable experience. So you shouldn't bother right now. XWayland doesn't work with the kind of integration that is there, which will immediately strike out a large majority of use cases. The wayland integration itself is poor at best, and it used to be enabled by default, something the GNOME devs backpedaled on because it's so buggy.

Offline

#3 2017-11-26 18:55:17

volcacius
Member
Registered: 2017-11-26
Posts: 1

Re: Wayland With Gnome + NVidia drivers

V1del wrote:

As already been mentioned in that last post from the thread you linked, this far from being a enjoyable experience. So you shouldn't bother right now. XWayland doesn't work with the kind of integration that is there, which will immediately strike out a large majority of use cases. The wayland integration itself is poor at best, and it used to be enabled by default, something the GNOME devs backpedaled on because it's so buggy.

I just registered to the forum to say that as of today I have to disagree, Arch+Nvidia BLOB+Wayland+XWayland+GDM+Gnome is finally working great for me, with proper HiDPI scaling on both Wayland and XWayland. My setup (system is a Razer Blade Pro 2017):

lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
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:15.0 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #0 (rev 31)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #1 (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
00:1c.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #7 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
00:1d.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #13 (rev f1)
00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO UART #0 (rev 31)
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)
01:00.0 VGA compatible controller: NVIDIA Corporation GP104M [GeForce GTX 1080 Mobile] (rev a1)
3b:00.0 Ethernet controller: Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller (rev 10)
3c:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
3d:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961
3e:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM951/PM951 (rev 01)

kernel:

Linux alessandro 4.13.12-1-ARCH #1 SMP PREEMPT Wed Nov 8 11:54:06 CET 2017 x86_64 GNU/Linux

Relevant stuff:

local/lib32-nvidia-utils 387.34-1
local/nvidia-full-beta 387.34-1
local/nvidia-libgl-full-beta 387.34-1
    NVIDIA driver library symlinks for 'nvidia-utils-full-beta'
local/nvidia-utils-full-beta 387.34-1
    NVIDIA driver utilities and libraries for 'nvidia-full-beta'
local/opencl-nvidia-full-beta 387.34-1
    NVIDIA's OpenCL implemention for 'nvidia-utils-full-beta'
local/egl-wayland-git r17.f6ba0a5-1
local/lib32-wayland 1.14.0-1
local/wayland-git 1.14.90.2027.2420056-1
local/wayland-protocols-git 1.11.130.fc3305c-1
local/xorg-server-xwayland 1.19.5-1 (xorg)
    run X clients under wayland
local/eglexternalplatform-git r2.76e2948-1
local/weston-eglstream 3.0.0-2
local/gnome-shell 3.26.2-1 (gnome)

Offline

#4 2017-11-29 12:35:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: Wayland With Gnome + NVidia drivers

and you are certain you are running on wayland? What's the output of

loginctl show-session $XDG_SESSION_ID

? Last I've read is that XWayland does not support EGLStreams yet, would be interested and surprised to see something to the contrary.

Last edited by V1del (2017-11-29 15:23:05)

Offline

#5 2017-11-29 16:18:50

Omar007
Member
Registered: 2015-04-09
Posts: 368

Re: Wayland With Gnome + NVidia drivers

V1del wrote:

Last I've read is that XWayland does not support EGLStreams yet, would be interested and surprised to see something to the contrary.

As far as I'm aware you are correct. The required changes for that will not be in until Xorg 1.20 next year.
Iirc, one of the related things for this is a server-side glvnd equivalent.

See also:
https://lists.x.org/archives/xorg-devel … 54118.html
https://lists.x.org/archives/xorg-devel … 54121.html
https://github.com/kbrenneman/libglvnd/ … ver-libglx
https://www.phoronix.com/scan.php?page= … 0-Features

And not to mention the following bugs in the Arch tracker on nVidia + Wayland/KMS:
https://bugs.archlinux.org/task/54980
https://bugs.archlinux.org/task/53284

Last edited by Omar007 (2017-11-29 17:32:30)

Offline

#6 2018-05-10 17:18:30

SyXbiT
Member
From: Seattle, WA
Registered: 2008-06-28
Posts: 177
Website

Re: Wayland With Gnome + NVidia drivers

Offline

#7 2018-05-10 17:52:05

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,092
Website

Re: Wayland With Gnome + NVidia drivers

Definitely an on-topic contribution, but this thread's last post was from last October; so if any other progress has been made on it, it's likely no longer of use in this topic.

Generally speaking, please avoid necrobumps.

Closing.

All the best,

-HG

Online

Board footer

Powered by FluxBB