Setting up Wayland on FreeBSD

Lonnie Cumberland lonnie at outstep.com
Thu Jul 23 19:01:58 UTC 2020


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 at 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 at 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
>>
>>


More information about the freebsd-questions mailing list