Wayland Weston

Imre Vadasz imre at vdsz.com
Fri May 6 01:42:05 PDT 2016


Hi,

Maybe you just need to manually run "kldload i915" or "kldload radeonkms"
(depending on whether your graphics-chipset is from AMD or Intel), before
trying to launch weston.  At the moment, weston doesn't load the kms-driver
automatically like Xorg does.

With an nvidia GPU you are out of luck, since the nouveau driver port to
DragonFly isn't finished yet.

Imre

On 15:39 Fri 06 May , Bernard Mentink wrote:
> Hi,
> 
> I tried that, and wayland tried to run, then failed saying it can't find
> drm ..
> ( weston run with --backend=drm-backend.so)
> 
> What do I have to install to get the drm-backend?
> 
> Cheers,
> 
> On Thu, May 5, 2016 at 6:37 PM, Imre Vadasz <imre at vdsz.com> wrote:
> 
> > Hi,
> >
> > DragonFly actually has a udevd daemon, which needs to be activated with
> > udevd_enable="YES" in /etc/rc.conf for the weston port to work with the
> > DRM backend.
> >
> > The DragonFly udev is somewhat similar in naming and functionality to
> > Linux's udev, but e.g. it uses a slightly different API in the library
> > (which is called libdevattr instead of linux's libudev).
> >
> > Imre
> >
> > On 15:13 Thu 05 May , Bernard Mentink wrote:
> > > Hi Guys,
> > >
> > > Just ran up weston/wayland to see how the port is going, link here:
> > > https://github.com/DragonFlyBSD/DeltaPorts/pull/123
> > >
> > > It works fine in an X11 window, but having trouble via DRM. I followed
> > the
> > > guide, but when run in a tty, get the following error: *wayland-launch:
> > > udev-new failed* ..
> > >
> > > I did not know dragonfly was using udev, thought it was only devd ..
> > > Forgive my ignorance .. and I know it is a work in progress ..
> > >
> > > Be good to see it up and running though ...
> > >
> > > Bernie
> > >
> > > --
> > >
> > -----------------------------------------------------------------------------------------------------------------------------------------
> > > *BSD is what you get when a bunch of UNIX hackers sit down to try to
> > port a
> > > UNIX system to the PC. Linux is what you get when a bunch of PC hackers
> > sit
> > > down and try to write a UNIX system for the PC*
> > >
> > ----------------------------------------------------------------------------------------------------------------------------------------
> >
> 
> 
> 
> -- 
> -------------------------------------------------------------------------------------------------------------------------------------
> *BSD is what you get when a bunch of UNIX hackers sit down to try to port a
> UNIX system to the PC. Linux is what you get when a bunch of PC hackers sit
> down and try to write a UNIX system for the PC*
> -------------------------------------------------------------------------------------------------------------------------------------



More information about the Users mailing list