Wayland update

2017-01-11 Thread Johannes Lundberg
Howdy

It's time for another update from your friendly neighborhood graphics
programmer.

I will be keeping a live document with instructions etc here

https://github.com/johalun/documentation/blob/master/wayland.md

Please visit any time for information about Wayland on FreeBSD. Suggestions
for improvements are welcome.

Your can read all about it on Github, I just want to mention one exciting
addition - the SCFB backend for Weston.

Picture: https://twitter.com/johalun/status/819039940914778112

Before you had to either run Weston in a X11 window or using DRM backend
which requires DRM/KMS enabled hardware driver.

With the new SCFB backend, you can run Weston on any hardware or in VMs
like VMWare or VirtualBox. Rendering is done with the llvmpipe render
engine which has very high performance for software rendering and
compositing with pixman.

Have fun!
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Wayland update

2016-12-20 Thread Johannes Lundberg
Hi Everyone!

We had some progress with Wayland that we'd like to share.

Wayland (v1.12.0)
  Working

Weston (v1.12.0)
  Working (Porting WIP)

Weston-clients (installed with wayland/weston port)
  Working

XWayland (run X11 apps in Wayland compositor)
  Works (maximized window only) if started manually but not when
  launching X11 app from Weston.  Most likely problem with Weston IPC.

Sway (i3-compatible Wayland compositor)
  Working

SDL20 (Wayland backend)
  games/stonesoup-sdl briefly tested.
  https://twitter.com/johalun/status/811334203358867456


GDM (with Wayland)
  Halted - depends on logind.

GTK3
  gtk3-demo runs fine on Weston (might have to set GDK_BACKEND=wayland
first.
  GTK3 apps working (gedit, gnumeric, xfce4-terminal tested, xfce desktop
(4.12) does not yet support GTK3)

Get it at:

Ports (note: xserver-mesa-next-udev branch)
https://github.com/FreeBSDDesktop/freebsd-ports-graphics/tree/xserver-mesa-
next-udev

Base (note: drm-next-4.7 branch)
https://github.com/FreeBSDDesktop/freebsd-base-graphics/tree/drm-next-4.7

Instruction for installing base
https://github.com/FreeBSDDesktop/freebsd-base-graphics/wiki

For Ports, use Poudriere or just build manually from source.
Wayland ports located in $PORTSDIR/wayland/

Configuration:

For easy access to input devices with evdev add to /etc/devfs.rules
add path 'input/*' mode 0660 group input

And create and add yourself to input group.

You also need to chose where the input events go
Add to /etc/sysctl.conf
kern.evdev.rcpt_mask=12 #or some other combination..
(check sys/dev/evdev/evdev.h in kernel source for explanation)

You might need to put a weston.ini into $HOME/.config/ with correct paths
to background images etc. Personally I have this in my weston.ini to put a
terminal launcher in the top-left corner (depends on icon from xfce4 I
think)
...
[launcher]
icon=/usr/local/share/icons/Adwaita/24x24/apps/utilities-terminal.png
path=/usr/local/bin/weston-terminal
...

If you use Sway you need to edit $HOME/.config/sway/config to open
weston-terminal instead of urxwt to get a working terminal.

Please post issues or create pull request for any ideas for improvement you
have.

Personally I'm having some rendering artifacts on Intel CherryTrail but I
think that is an Intel driver issue.

Thanks to everyone for your contributions.

Have fun!
/Johannes, FreeBSDDesktop team
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Wayland update

2016-08-19 Thread Lundberg, Johannes
​Hi

Here's a Friday night update on Wayland.

​https://twitter.com/Yohanesu75Tweet/status/766799811328696320

All available as ports very soon on:
https://github.com/FreeBSDDesktop/freebsd-ports-graphics/tree/xserver-mesa-next
(check for merged PRs)

Requires evdev enabled kernel from:
https://github.com/FreeBSDDesktop/freebsd-base-graphics/tree/drm-next

sway also runs fine with x11 backend (in a window on x11).

Have a nice weekend!

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"