Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2017 20:51:14 +0300
From:      Greg V <greg@unrelenting.technology>
To:        gljennjohn@gmail.com, Tommi Pernila <tommi.pernila@gmail.com>
Cc:        Tijl Coosemans <tijl@freebsd.org>, freebsd-x11@freebsd.org
Subject:   Re: Vote: making wayland=on default (also posted to ports@)
Message-ID:  <72701f98-a86a-bf31-ecc2-6e246782543d@unrelenting.technology>
In-Reply-To: <20171221164635.7a348ad0@ernst.home>
References:  <CAECmPwsN15WxSuXynto=RxTyztQdUjU5vaR6Y%2BCEkqDNW3_5Rg@mail.gmail.com> <20171220132717.0eb5777d@ernst.home> <CAECmPwsBTaM=hTt46r7h7ZvWEtpqDRe-MKWxQFAAR6jd%2BYkpMw@mail.gmail.com> <20171220180106.0224107c@kalimero.tijl.coosemans.org> <0cadf450-ce6b-f9bc-bdbd-99f89c4dec6f@unrelenting.technology> <20171221113800.4b3acf10@kalimero.tijl.coosemans.org> <CABHD1wQfD5pAsr-u=a2BgrRcYW4y%2BcvvnW2Bp1tmL-d5%2BQZsJA@mail.gmail.com> <20171221164635.7a348ad0@ernst.home>

next in thread | previous in thread | raw e-mail | index | archive | help

On 12/21/2017 18:46, Gary Jennejohn wrote:
> On Thu, 21 Dec 2017 14:03:02 +0200
> Tommi Pernila <tommi.pernila@gmail.com> wrote:
>
>> On Thu, Dec 21, 2017 at 12:38 PM, Tijl Coosemans <tijl@freebsd.org> wrote:
>>
>>> On Thu, 21 Dec 2017 02:55:06 +0300 Greg V <greg@unrelenting.technology>
>>> wrote:
>>>> On 12/20/2017 20:01, Tijl Coosemans wrote:
>>>>> On Wed, 20 Dec 2017 12:53:20 +0000 Johannes Lundberg <
>>> johalun0@gmail.com> wrote:
>>>>>>> Can you guarantee this?  I seem to have mesa-libs stuff installed
>>>>>>> even though I use the nvidia-driver.  May be that pkg just
>>>>>>> installed mesa-libs as a dependency for some other package.
>>>>>>>
>>>>>>> I'm using the AMD Ryzen which has no on-board graphics, so I'm
>>>>>>> happily using my NVIDIA GPU and have absolutely no desire to
>>>>>>> change because someone enables wayland by default.
>>>>>> x11-toolkits/gtk30 will get some added dependencies:
>>>>>> libwayland-client.so:graphics/wayland \
>>>>>> libwayland-egl.so:graphics/mesa-libs \
>>>>>> libxkbcommon.so:x11/libxkbcommon
>>>>>>
>>>>>> Is this a problem for Nvidia users?
>>>>> The older nvidia drivers don't have libEGL, but if libwayland-egl.so
>>>>> isn't actually used at runtime it's probably ok.
>>>> It's not used when you're on X11, because X11 is not Wayland :)
>>> But is libEGL loaded into memory?
It's not loaded when applications run on X11 with GLX or software rendering.

Many applications already use EGL on X11 though. (libEGL-NVIDIA would be 
used on nVidia I guess)
GLX is very old and practically deprecated.
>> Wayland can fully work on FreeBSD with Nvidia hardware when:
>>
>> A/
>> Nouveau driver works on FreeBSD.
>> I have no idea how difficult it would be to report Nouveau back to FreeBSD?
Shouldn't be too difficult now. Copy the directory from Linux to 
https://github.com/FreeBSDDesktop/kms-drm, configure the makefile, 
resolve build errors. Of course that last part is non-trivial, but our 
LinuxKPI covers enough of the Linux API surface to allow 
amdgpu/radeonkms/i915. You might end up with weird runtime errors after 
you've ported it, of course :)

> Well, as long as reason reigns and X11 uncontaminated by Wayland remains
> in ports or as a pkg, there shouldn't be a problem.
Of course X11 will remain.

Here's what this is actually about:
GUI toolkits like GTK+ work on multiple backends (X11, Wayland, 
GTK-on-HTML5, Qt-on-GTK, whatever), selecting the right one 
automatically at runtime.
The problem is that Ports currently disable the Wayland backend in the 
builds, forcing Wayland users to rebuild packages from source.
> If the eventual goal is to eliminate pure X11 and only offer the crap
> being put into the Linux kernel, then there will be lots of unhappy
> campers.
That doesn't make sense. What is "pure" X11? What "crap" in the kernel 
are you referring to?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?72701f98-a86a-bf31-ecc2-6e246782543d>