Closed staropram closed 2 years ago
I'm using latest wlroots from master branch. Did you try? Mesa must be the same version as in ports. Also you may need these patches
https://people.freebsd.org/~br/mesa3d_panfrost.patch (only for G76 GPU) https://people.freebsd.org/~br/drm_hack_panfrost.patch https://people.freebsd.org/~br/seatd_dri.patch https://people.freebsd.org/~br/wlroots.patch https://people.freebsd.org/~br/patch.firefox.txt
Thank you I will try that.
these may also be needed
#!/bin/sh
export XDG_RUNTIME_DIR=/tmp/wl
mkdir -p /tmp/wl
sudo chmod 0700 /tmp/wl
sudo chmod 0777 /var/run/seatd.sock
sudo chmod 0777 /dev/dri/*
sudo chmod 0777 /dev/input/*
Thanks. I gave it a try with sway, wlroots, and seatd compiled from git. The seatd patch gets rid of the "failed to open device" issue because of the /dev/drm vs /dev/dri difference. Sway will actually start, but I had some other wlroots related errors that prevented any application starting. I will close off this issue since that particular issue is solved. I'll dig more into the other issues to see if I can figure out what is going on. Thanks.
I'm using an RK3399 base board called the RockPi 4C. Freebsd 14.0-CURRENT is installed and your drm-subtree patches applied as instructed in the README.
I've managed to build everything, install the kernel and world and boot:
The device nodes are created:
I'm in the necessary groups:
However, sway (or any other wayland compositor implementation) won't start:
Am I missing something obvious here?