Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jul 2020 15:01:43 -0400
From:      Lonnie Cumberland <lonnie@outstep.com>
To:        Ashish SHUKLA <ashish@freebsd.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Setting up Wayland on FreeBSD
Message-ID:  <CAPmsJLDogJp1LKnqFu6c0mEpRkgr4g2CipPZACVyC07OsiQ9uQ@mail.gmail.com>
In-Reply-To: <CAPmsJLAbqn2HcuLGQoFCFKJt%2B2x7m0=9JeaEfZxTkSzJB3WS9w@mail.gmail.com>
References:  <CAPmsJLD1A8Ri6frj_Lv38TwhPW1mtudST0b2QWO41DN3g2giVg@mail.gmail.com> <4acde791-2974-4f83-cf18-2a05918d483b@FreeBSD.org> <CAPmsJLDFBAPHkUMPXP3RQWO6Y-jZsf6NpkHmDwAbBwFbkU1qsQ@mail.gmail.com> <CAPmsJLDNqq2JbBEUTSVvH4=p%2BNYyW66MxnYMU-6znvi_Wm_WGw@mail.gmail.com> <537545f7-1186-ca69-0c12-bf8a4b0f52ad@FreeBSD.org> <CAPmsJLAbqn2HcuLGQoFCFKJt%2B2x7m0=9JeaEfZxTkSzJB3WS9w@mail.gmail.com>

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

I just followed your steps but now when I try to start up sway, hikari, or
wayfire (installed it too), I get a DRM device error message:


[backend/backend.c:304] Failed to open any DRM device

I do have a GPU on this system, not a good one, but still do have one:

GK107 GeForce GT 740

Am I missing something here?
Cheers,
Lonnie


On Thu, Jul 23, 2020 at 1:43 PM Lonnie Cumberland <lonnie@outstep.com>
wrote:

> Thanks Ashish,
>
> I am going to give it all a try in just a few moments on a fresh install
> of FreeBSD (12.1).
>
> Hope that it goes well. :)
> Cheers,
> Lonnie
>
>
> On Thu, Jul 23, 2020 at 1:27 PM Ashish SHUKLA <ashish@freebsd.org> wrote:
>
>> On 7/23/20 9:22 PM, Lonnie Cumberland wrote:
>> > Hello Ashish,
>> >
>> > I wanted to ask you a question on this.
>> >
>> > I am thinking about doing a new fresh FreeBSD (12.1) install that comes
>> > without a GUI (no Xserver installed) and was wondering if these steps
>> > are for Pure Wayland which I am guessing is using the DRM backend?
>>
>> Yes.
>>
>> > I would then think that you did something like this from a fresh
>> install:
>> >
>> > pkg install wayland
>> > pkg install haikari
>>
>> I didn't explicitly install wayland. I installed "sway", and "hikari"
>> both of which depend on "wayland" package.
>>
>> Apart from above mentioned packages, I also installed
>> "graphics/drm-kmod" port to get the latest drivers for my AMD GPU.
>>
>> > and then the steps that you outlined to startup the compositor and bring
>> > up the GUI environment from the console.
>> >
>> > Would this be about correct?
>>
>> Yes, this should be it.
>>
>> There are also other helper packages which I have installed, although
>> are completely optional:
>>
>> grim-1.3.1                     Grab images from a Wayland compositor
>> dmenu-wayland-0.1              Efficient dynamic menu for wayland
>> slurp-1.2.0_1                  Select a region in a Wayland compositor
>> swayidle-1.6                   Idle management daemon for Wayland
>> swaylock-1.5_1                 Screen locker for Wayland
>> waybar-0.9.2_3                 Highly customizable Wayland bar for Sway
>> and wlroots-based compositors
>> wev-1.0.0_1                    Wayland event viewer
>> wl-clipboard-2.0.0             Command-line copy/paste utilities for
>> Wayland
>> wlogout-1.1.1_1                Wayland-based logout menu
>> redshift-1.12_1                Adjusts the color temperature of your
>> screen
>>
>> All the best
>> --
>> Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
>>
>>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPmsJLDogJp1LKnqFu6c0mEpRkgr4g2CipPZACVyC07OsiQ9uQ>