Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wayland support #58

Open
helloIAmPau opened this issue Nov 16, 2016 · 63 comments

Comments

@helloIAmPau
Copy link

commented Nov 16, 2016

Hi all,
do you have any plan to support wayland?

It looks to be the new standard for Linux (in Arch Linux already it is) and it is a little frustrating I can't use my dell dock at work.

Thanks and have a nice day :)

@displaylink-mlukaszek

This comment has been minimized.

Copy link
Contributor

commented Nov 17, 2016

Our distro of focus is Ubuntu, so after X is dropped it will probably be Mir first. However, I thought Wayland still builds on KMS? Page flipping support is already present in evdi as this is how Chrome OS and its Ozone interfaces with it.

I'll keep this open, in hope that someone familiar with Wayland takes over and proposes changes if necessary.

@sheepdestroyer

This comment has been minimized.

Copy link

commented Nov 18, 2016

wayland becomes default in Fedora 25 next week too
would be nice to keep using my two external screens at work when I update.

@helloIAmPau

This comment has been minimized.

Copy link
Author

commented Nov 20, 2016

Ok, I can confirm that evdi works fine on Ubuntu and I don't have any problem to switch the Linux distribution on my laptop. It will be great to have it working on Arch as well, but I can wait for it.

@ghost

This comment has been minimized.

Copy link

commented Nov 25, 2016

I have it working nearly without bugs on F24 Wayland. F25 evdi doesnt work at all.
4.8.8-200.fc24 ,4.8.8-300.fc25

Fedora 25, up to date. Displaylink installed without any issues.

https://gist.github.com/ment0s/fc9a11c6b77a41870e215e7a5d4522dc

@displaylink-mlukaszek

This comment has been minimized.

Copy link
Contributor

commented Feb 17, 2017

To work with Wayland, evdi lacks GBM. For anyone that would be willing to have a go and develop a GBM backend, here's how it was already implemented for Chrome OS in their minigbm: https://chromium.googlesource.com/chromiumos/platform/minigbm/+/master/evdi.c

@konradrenner

This comment has been minimized.

Copy link

commented Apr 13, 2017

So with Ubuntu shifting back to GNOME: https://insights.ubuntu.com/2017/04/05/growing-ubuntu-for-cloud-and-iot-rather-than-phone-and-convergence/
they will also use Wayland as display server in the future. So any chance to get Wayland support :-) ?

@cacarr-pdxweb

This comment has been minimized.

Copy link

commented May 30, 2017

With the aforementioned death of Mir and Ubuntu's move to Wayland, it would be nice to know DisplayLink's intentions -- support Wayland or give up on Linux desktop distros entirely?

*** update ***

Wayland support is in the works, apparently. Alban Rampon on Twitter: "It's a big job, in progress."

@MichaelJCole

This comment has been minimized.

Copy link

commented Sep 7, 2017

Pinged Alban Rampon on Twitter. He hasn't gotten back to me yet. Maybe you have better luck?

@cacarr-pdxweb

This comment has been minimized.

Copy link

commented Sep 7, 2017

Haven't hear anything more from Alban Rampon.

Sure would be nice to use my DisplayLink display in vertical orientation, with my Antergos-running X1 Carbon.

@agronholm

This comment has been minimized.

Copy link

commented Sep 8, 2017

I doubt this will ever happen, as Thunderbolt/USB-C type docks are becoming increasingly common and require no specific software drivers.

@MichaelJCole

This comment has been minimized.

Copy link

commented Sep 8, 2017

@agronholm Have you tried this with multiple monitors on Linux? A quick search didn't pull up anything on Amazon, but I'm not sure what I'm looking for. The DisplayLink I bought from Amazon was supposed to work but well...

@agronholm

This comment has been minimized.

Copy link

commented Sep 8, 2017

I have a 3 monitor setup right now with a Dell Thunderbolt dock. Works quite well.

Clarification: Laptop + 2 external monitors via the dock.

@cacarr-pdxweb

This comment has been minimized.

Copy link

commented Sep 9, 2017

@agronholm

You think Mr. Rampon is lying about it being in progress? Or do you think they'll give up on the project?

@displaylink-mlukaszek

This comment has been minimized.

Copy link
Contributor

commented Sep 9, 2017

Rest assured, we have every intention to add Wayland support. It is just not trivial, as current versions of Wayland don't play well with multiple GPUs in the system. Hang in there.

@cacarr-pdxweb

This comment has been minimized.

Copy link

commented Sep 9, 2017

@displaylink-mlukaszek

Will the Wayland-supporting version enable rotation/portrait orientation?

@cacarr-pdxweb

This comment has been minimized.

Copy link

commented Sep 9, 2017

@displaylink-mlukaszek

Also, is development of this driver contingent on updates to Wayland?

@agronholm

This comment has been minimized.

Copy link

commented Sep 9, 2017

I had not seen that twitter message or the edited comment that mentioned it.

@displaylink-mlukaszek

This comment has been minimized.

Copy link
Contributor

commented Sep 11, 2017

Having no legacy of X makes it easier to make it resilient to updates to Wayland, or to support features like rotation. Note that rotation works on some systems even with X.

@MichaelJCole

This comment has been minimized.

Copy link

commented Sep 11, 2017

@displaylink-mlukaszek Thanks! I'd be happy to test. I'm running Gnome Ubuntu 17.04 with Wayland (which is +/- the base for the next Ubuntu LTS).

@b3nto

This comment has been minimized.

Copy link

commented Sep 12, 2017

@RussianNeuroMancer

This comment has been minimized.

Copy link

commented Oct 3, 2017

@MichaelJCole

Have you tried this with multiple monitors on Linux? A quick search didn't pull up anything on Amazon, but I'm not sure what I'm looking for.

I didn't find your e-mail, so answering here.

I tested Dell WD15 dock with Dell 5855 and Dell 9250.
Dell 5855 is USB 3.1 Gen 1 tablet, so only one display works.
Dell 9250 is USB 3.1 Gen 2 tablet, so two displays works. I tested HDMI+VGA, so I have no idea if HDMI+DVI will work or not.
If you are Ok with HDMI+VGA - Dell WD15 is most easy way.

If you want two or three displays attached via HDMI and DVI - then Dell TB16 is better choice, but keep in mind that you need latest firmware in dock AND in laptop/tablet so first thing to do is upgrade drivers for Thunderbolt 3 controller and upgrade firmware in laptop or tablet (both is requirement for dock firmware upgrade) only after this you can upgrade firmware in dock. Dock firmware upgrade is done in two steps: at first step Windows utility prepare UEFI for dock upgrade, at second step laptop reboot and perform dock upgrade from UEFI. So you'll need Dell's laptop or tablet with Thunderbolt 3 and running Windows to perform Dell TB16 upgrade. Without firmware upgrade TB16 is unusable. And don't buy TB15 as it has faulty hardware.

After firmware upgrade - Dell TB16 should work with any other Thunderbolt 3 compatible laptop or tablet with fresh firmware in Thunderbolt 3 controller (get upgraded as part of UEFI upgrade) running Linux.

@MichaelJCole

This comment has been minimized.

Copy link

commented Oct 3, 2017

Hey @RussianNeuroMancer, thanks for the reply. I had a Pluggable with the 3900 chip and it was cheaply made, very unstable under X, and a no-go on wayland.

I reinstalled Ubuntu to switch back to X, installed Gnome, and still had problems with it (needed to reconfigure screens every few minutes), so I threw it away.

I bought a SIIG docking station with the 5900 chip and it's much more stable under X. Haven't tried Wayland. https://www.amazon.com/gp/product/B074ZJ143Q/

Thanks for the feedback and advice, hopefully we'll help the next person.

@damianatorrpm

This comment has been minimized.

Copy link

commented Nov 4, 2017

I don't know when this happened but wayland works for me with fedora-26-displaylink-1.5.0-1.x86_64.rpm
runnning on Fedora 27 beta.

Thank you so much!

@MartinBriza

This comment has been minimized.

Copy link

commented Nov 6, 2017

It does? Hmm, I'm on Fedora 27 and I don't get anything in my user session. It only seems to "work" with GDM, where I get either only the displaylink screen or my regular screen but not both at the same time... :/

@cacarr-pdxweb

This comment has been minimized.

Copy link

commented Jan 6, 2018

@maxadamo -Wayland is the default in 17.10. Final release of Bionic Beaver is April 26th. I would imagine that Dell will want to move to that pretty quickly? ... seeing as the Developer Editions still run 16.04, AFAIK.

They say they're working on it now -- pretty sure they're not going to ignore Wayland until they hear from Dell.

@maxadamo

This comment has been minimized.

Copy link

commented Jan 6, 2018

@cacarr-pdxweb I know. On the other side, if I'm not wrong, Dell supports only LTS. Hence they're not in a hurry.

@kq01526

This comment has been minimized.

Copy link

commented Jan 27, 2018

Today Canonical has announced not to use Wayland by default on Ubuntu 18.04, instead it will use Xorg by default, see:

https://insights.ubuntu.com/2018/01/26/bionic-beaver-18-04-lts-to-use-xorg-by-default/

@RussianNeuroMancer

This comment has been minimized.

Copy link

commented Jan 27, 2018

"but for 18.10 we will re-evaluate Wayland as the default"

@alowe7

This comment has been minimized.

Copy link

commented Feb 10, 2018

there's something funny with the whole dell-ubuntu-canonical-displaylink-microsoft axis.

its embrace-extend-extinguish all over again. and it won't work this time either.

how dumb do you all think we are?
haha, maybe you're right. we are slow learners. but we get there.

let's review:
displaylink won't support wayland until dell tells them to.
dell only supports ubuntu lts for some unfathomable reason.
ubuntu is driven by canonical
canonical is in partnership with microsoft

its too bad dell makes such a great laptop in the xps13, but it only supports displaylink docking stations, and not that well. ubuntu support was hopeless, so bad it feels almost intentional.

whereas once I installed fedora, what a breath of fresh air. until I hit this wayland/displaylink garbage.
we've been through this all before. but we'll get over it. if we have to write the drivers ourselves.

@RussianNeuroMancer

This comment has been minimized.

Copy link

commented Feb 11, 2018

Dell won't tell DisplayLink anything, because they moved from DisplayLink tech. in current generation of products. If I am missed some 2017 Dell's product that using DisplayLink chips - please let me know.

@maxadamo

This comment has been minimized.

Copy link

commented Feb 11, 2018

@RussianNeuroMancer let's say that Dell should support the old products for a while. They can't tell: "we support Ubuntu blah blah, only if you sell your device blah blah which was supported till yesterday". Otherwise, that means that we'll never see a driver, and we better sell our devices to some windows user.
I can tell you guys, that Linux supports thunderbolt devices (without displaylink chip) very well.
My Dell 13 XPS works well enough with one of these thunderbolt devices, tough I have to disable the WiFi due to an interference with thunderbolt which makes it crash.
A newer model of the same Dell does not have this problem.

@alowe7

This comment has been minimized.

Copy link

commented Feb 11, 2018

appreciate your response. if dell abandoned displaylink, that would be good to know. my problem is with the d3100 docking stations. the ones I am looking at have displaylink logo all over them.

ubuntu had a lot of problems with them. it was just ridiculous.

fedora 27 was much better, and worked pretty much out of the box, except display would not recognize wayland and required xorg.

@RussianNeuroMancer

This comment has been minimized.

Copy link

commented Feb 12, 2018

let's say that Dell should support the old products for a while.

@maxadamo they do. After upgrade from previous LTS to next LTS, DisplayLink driver still will be working, as X11 remain default for 18.04 (user will only need to remove old driver before upgrade and install new one after upgade).

@MartinBriza

This comment has been minimized.

Copy link

commented Feb 12, 2018

I'm not the developer but for the sake of staying constructive, please refrain from developing conspiracy theories in this issue. DisplayLink adapters still work under X. X is not going anywhere in the near future. DisplayLink stated they're planning and most likely working on supporting their adapters under Wayland but it's a challenging task while the market for the driver is still niche.
Let's please just be patient.

@alexryndin

This comment has been minimized.

Copy link

commented Mar 12, 2018

@damianatorrpm

Sorry for you guys - it works without displaylink driver

Does it work with not-acer notebooks?

@cacarr-pdxweb

This comment has been minimized.

Copy link

commented May 12, 2018

Any sort of progress update would be appreciated.

@b3nto

This comment has been minimized.

Copy link

commented May 12, 2018

@cacarr-pdxweb

This comment has been minimized.

Copy link

commented Jun 5, 2018

@b3nto I was referring to a progress report on Wayland support.

@cacarr-pdxweb

This comment has been minimized.

Copy link

commented Jun 5, 2018

@MartinBriza

DisplayLink adapters still work under X

Except for xorg server versions > 1.19.6

@GammaPi

This comment has been minimized.

Copy link

commented Jan 23, 2019

Wayland support is really necessary, because xorg doesn't support different scale for different monitor.

@yar05

This comment has been minimized.

Copy link

commented Apr 21, 2019

is there any update on this ? More and more laptop displays come with 2k-4k displays and its not possible to have different scaling with evdi atm. This would be really useful to have wayland support

@damianatorrpm

This comment has been minimized.

Copy link

commented Apr 21, 2019

DisplayLink is history. There are Dockingstations based on plain usb3 (laptop with 2 attached monitors on wayland here) and Thunderbold. Just sell your DisplayLink

@yar05

This comment has been minimized.

Copy link

commented Apr 21, 2019

there are devices in corporate environment which you cant sell. There are and there will be displaylink devices out there so support for wayland is definitely needed.

@mlukaszek

This comment has been minimized.

Copy link

commented May 23, 2019

Update: the development in GNOME compositor, mutter, has now reached a milestone that allows people use DisplayLink driver with Wayland if they have GNOME 3.32.1 installed. The packages for Ubuntu 19.04 are currently waiting in “disco-proposed” repository and they should be included in normal updates soon. Interested users are welcome to enable Proposed (https://wiki.ubuntu.com/Testing/EnableProposed) and upgrade libmutter and gir1.2-mutter packages. For more information about the final fix, see https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1826182

@swinny89

This comment has been minimized.

Copy link

commented May 23, 2019

@mlukaszek does this mean that DisplayLink support is to be handled on a per Wayland compositor basis?

@mlukaszek

This comment has been minimized.

Copy link

commented May 23, 2019

@swinny89 correct. The compositor must be able to know how to handle secondary display devices, that are additional to the main GPU, and are hot-plugable. If you review contributions to mutter by Pekka Paalanen and Emilio Pozuelo Monfort, you can see what is the nature of changes that are needed.

https://gitlab.gnome.org/GNOME/mutter/merge_requests?scope=all&utf8=%E2%9C%93&state=merged&author_username=ppaalanen
https://gitlab.gnome.org/GNOME/mutter/merge_requests?scope=all&utf8=%E2%9C%93&state=merged&author_username=epm

@MrSorcus

This comment has been minimized.

Copy link

commented Jun 3, 2019

Up. What about compositors that's based on wlroots (Sway WM)?

@tammar96

This comment has been minimized.

Copy link

commented Aug 9, 2019

@displaylink-mlukaszek any news about other compositors? e.g. sway wm

@swinny89

This comment has been minimized.

Copy link

commented Aug 9, 2019

@displaylink-mlukaszek any news about other compositors? e.g. sway wm

Sway dev says it should be working, but I have not been able to get it to work.
swaywm/sway#4176 (comment)

@charims

This comment has been minimized.

Copy link

commented Aug 9, 2019

@swinny89 Arch with sway/wlroots works most of the time for me with my Dell D6000 dock at work. I'm on a Dell Latitude 7480. It stopped working recently, but not sure of the cause yet. We should listen to sircmpwn though and open an issue against wlroots if we are still having problems. I would be happy to share my "previously-working" setup if you like. You can reach out to me, I basically just followed the arch wiki though.

@japrogramer

This comment has been minimized.

Copy link

commented Aug 9, 2019

@charims can you link us to the Arch Wiki entry ?

@charims

This comment has been minimized.

Copy link

commented Aug 9, 2019

Sure, the section I followed:
https://wiki.archlinux.org/index.php/DisplayLink#USB_3.0_DL-6xxx,_DL-5xxx,_DL-41xx,_DL-3xxx_Devices

Installation
Basically, I needed to install displaylink from the AUR. I believe it has a dependency of evdi, also from the AUR. It should install evdi as a DKMS module. You will want to ensure displaylink.service is enabled and running before plugging in the dock. The wiki page mostly talks about X11, which is not applicable in sway/wlroots. There should be no special configuration required. When I plug my dock in, it takes a second, then the display lights up.

Note to users: Installing from the AUR can be dangerous, as these are user-maintained packages. It should not be done naively, one should know the contents of the repositories and what code is being installed before installing them.

To move the displays around in sway/wlroots:
https://github.com/swaywm/sway/wiki#display-configuration

Please note on the D6000 there are times where the HDMI output works better than the DisplayPort. Also, I have had updates break displaylink, but it is normally working again in a couple days. YMMV.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
You can’t perform that action at this time.