[PATCH v4 4/6] libweston: fbdev: set fb device info upon the first run.

2017-11-18 Thread nerdopolis
This attempts to wake up secondary framebuffer devices (/dev/fb1 and up) as usually these devices start powered off, and the FBIOPUT_VSCREENINFO ioctl turns it on. This was tested on a qemu system with the options: -vga none -device VGA,id=video0 -device secondary-vga,id=video1 \ -device secondary

[PATCH v4 3/6] launcher-logind: only get a VT on seat0, as only seat0 supports VTs

2017-11-18 Thread nerdopolis
As only seat0 supports TTYs, this changes the logind launcher where it detects a TTY, only if the seat is seat0. This has only been tested for logind --- libweston/launcher-logind.c | 22 -- libweston/launcher-util.c | 4 2 files changed, 16 insertions(+), 10 deletions(

[PATCH v4 2/6] libweston: fbdev: support the --seat option, (and XDG_SEAT variable)

2017-11-18 Thread nerdopolis
This allows the fbdev backend to run on, and use devices from the specified seat, similar to the drm backend. --- compositor/main.c| 2 ++ libweston/compositor-fbdev.c | 10 +- libweston/compositor-fbdev.h | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/

[PATCH v4 5/6] libweston: fbdev: Attempt to detect the first framebuffer device in the seat. instead of defaulting to /dev/fb0

2017-11-18 Thread nerdopolis
This adds a function to detect the first framebuffer device in the current seat. Instead of hardcoding /dev/fb0, use udev to find the first framebuffer device in the seat. --- libweston/compositor-fbdev.c | 45 +--- 1 file changed, 42 insertions(+), 3 deleti

[PATCH v4 1/6] libweston: set the seat automatically based on the XDG_SEAT environment variable

2017-11-18 Thread nerdopolis
This will allow the seat to be set by the environment as pam_systemd typically sets the XDG_SEAT variable --- compositor/main.c | 2 +- libweston/compositor-drm.c | 5 + man/weston-drm.man | 7 +-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/compositor/

[PATCH v4 6/6] main: don't configure /dev/fb0 by default

2017-11-18 Thread nerdopolis
--- compositor/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/compositor/main.c b/compositor/main.c index f88608cd..cd07a6bb 100644 --- a/compositor/main.c +++ b/compositor/main.c @@ -1450,9 +1450,6 @@ load_fbdev_backend(struct weston_compositor *c, parse_options(fbdev_opti

[PATCH v5 0/7] Make Weston multiseat aware

2017-12-29 Thread nerdopolis
nerdopolis (7): libweston: set the seat automatically based on the XDG_SEAT environment variable libweston: fbdev: support the --seat option, (and XDG_SEAT variable) launcher-logind: only get a VT on seat0, as only seat0 supports VTs libweston: fbdev: set fb device info upon the first run

[PATCH v5 2/7] libweston: fbdev: support the --seat option, (and XDG_SEAT variable)

2017-12-29 Thread nerdopolis
This allows the fbdev backend to run on, and use devices from the specified seat, similar to the drm backend. --- compositor/main.c| 2 ++ libweston/compositor-fbdev.c | 10 +- libweston/compositor-fbdev.h | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/

[PATCH v5 7/7] libweston: fbdev: Follow the same logic as compositor-drm, and favor the boot_vga device

2017-12-29 Thread nerdopolis
virtual framebuffer devices that are created by a modesetting driver have the same parent as the drm card devices. --- libweston/compositor-fbdev.c | 40 ++-- 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/libweston/compositor-fbdev.c b/libwesto

[PATCH v5 6/7] main: don't configure /dev/fb0 by default

2017-12-29 Thread nerdopolis
--- compositor/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/compositor/main.c b/compositor/main.c index ecd034b9..02de108b 100644 --- a/compositor/main.c +++ b/compositor/main.c @@ -1454,9 +1454,6 @@ load_fbdev_backend(struct weston_compositor *c, parse_options(fbdev_opti

[PATCH v5 3/7] launcher-logind: only get a VT on seat0, as only seat0 supports VTs

2017-12-29 Thread nerdopolis
As only seat0 supports TTYs, this changes the logind launcher where it detects a TTY, only if the seat is seat0. This has only been tested for logind --- libweston/launcher-logind.c | 22 -- libweston/launcher-util.c | 4 2 files changed, 16 insertions(+), 10 deletions(

[PATCH v5 1/7] libweston: set the seat automatically based on the XDG_SEAT environment variable

2017-12-29 Thread nerdopolis
This will allow the seat to be set by the environment as pam_systemd typically sets the XDG_SEAT variable --- compositor/main.c | 2 +- libweston/compositor-drm.c | 5 + man/weston-drm.man | 7 +-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/compositor/

[PATCH v5 5/7] libweston: fbdev: Attempt to detect the first framebuffer device in the seat. instead of defaulting to /dev/fb0

2017-12-29 Thread nerdopolis
This adds a function to detect the first framebuffer device in the current seat. Instead of hardcoding /dev/fb0, use udev to find the first framebuffer device in the seat. --- libweston/compositor-fbdev.c | 45 +--- 1 file changed, 42 insertions(+), 3 deleti

[PATCH v5 4/7] libweston: fbdev: set fb device info upon the first run.

2017-12-29 Thread nerdopolis
This attempts to wake up secondary framebuffer devices (/dev/fb1 and up) as usually these devices start powered off, and the FBIOPUT_VSCREENINFO ioctl turns it on. This was tested on a qemu system with the options: -vga none -device VGA,id=video0 -device secondary-vga,id=video1 \ -device secondary

Re: [PATCH v5 5/7] libweston: fbdev: Attempt to detect the first framebuffer device in the seat. instead of defaulting to /dev/fb0

2018-01-22 Thread nerdopolis
On Monday, January 22, 2018 4:50:35 AM EST Pekka Paalanen wrote: > On Fri, 29 Dec 2017 13:31:51 -0500 > nerdopolis wrote: > > > This adds a function to detect the first framebuffer device in the > > current seat. Instead of hardcoding /dev/fb0, use udev to find the > &g

[PATCH v6 0/6] Make Weston multiseat aware

2018-01-23 Thread nerdopolis
These patches make Weston handle multiple seats. Fixes from the last attempt include updating fbdev_set_screen_info , updating some fuzz, and making the selection of the framebuffer device similar to compositor-drm.c by favoring the boot_vga device, and making requested changes nerdopolis (6

[PATCH v6 5/6] libweston: fbdev: Attempt to detect the first framebuffer device in the seat. instead of defaulting to /dev/fb0

2018-01-23 Thread nerdopolis
This adds a function to detect the first framebuffer device in the current seat. Instead of hardcoding /dev/fb0, detect the device with udev, favoring the boot_vga device, and falling back to the first framebuffer device in the seat if there is none. This is very similar to what compositor-drm does

[PATCH v6 4/6] libweston: fbdev: set fb device info upon the first run.

2018-01-23 Thread nerdopolis
This attempts to wake up secondary framebuffer devices (/dev/fb1 and up) as usually these devices start powered off, and the FBIOPUT_VSCREENINFO ioctl turns it on. This was tested on a qemu system with the options: -vga none -device VGA,id=video0 -device secondary-vga,id=video1 \ -device secondary

[PATCH v6 1/6] libweston: set the seat automatically based on the XDG_SEAT environment variable

2018-01-23 Thread nerdopolis
This will allow the seat to be set by the environment as pam_systemd typically sets the XDG_SEAT variable --- compositor/main.c | 2 +- libweston/compositor-drm.c | 5 + man/weston-drm.man | 7 +-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/compositor/

[PATCH v6 6/6] main: don't configure /dev/fb0 by default

2018-01-23 Thread nerdopolis
The framebuffer backend now detects the framebuffer device dynamically. Don't assume that the framebuffer device is /dev/fb0 --- compositor/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/compositor/main.c b/compositor/main.c index ecd034b9..02de108b 100644 --- a/compositor/main.c +++

[PATCH v6 2/6] libweston: fbdev: support the --seat option, (and XDG_SEAT variable)

2018-01-23 Thread nerdopolis
This allows the fbdev backend to run on, and use devices from the specified seat, similar to the drm backend. --- compositor/main.c| 2 ++ libweston/compositor-fbdev.c | 10 +- libweston/compositor-fbdev.h | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/

[PATCH v6 3/6] launcher-logind: only get a VT on seat0, as only seat0 supports VTs

2018-01-23 Thread nerdopolis
As only seat0 supports TTYs, this changes the logind launcher where it detects a TTY, only if the seat is seat0. This has only been tested for logind --- libweston/launcher-logind.c | 22 -- libweston/launcher-util.c | 4 2 files changed, 16 insertions(+), 10 deletions(

Re: [PATCH v6 0/6] Make Weston multiseat aware

2018-04-23 Thread nerdopolis
On Tuesday, January 23, 2018 10:15:42 PM EDT nerdopolis wrote: > These patches make Weston handle multiple seats. Fixes from the last > attempt include updating fbdev_set_screen_info , updating some fuzz, > and making the selection of the framebuffer device similar to > composi

Re: [PATCH v6 0/6] Make Weston multiseat aware

2018-06-08 Thread nerdopolis
favoring the boot_vga device, and making > requested changes > > nerdopolis (6): > libweston: set the seat automatically based on the XDG_SEAT > environment variable > libweston: fbdev: support the --seat option, (and XDG_SEAT variable) > launcher-logind: only

Re: [PATCH v6 0/6] Make Weston multiseat aware

2018-06-08 Thread nerdopolis
On Friday, June 8, 2018 9:40:47 AM EDT Pekka Paalanen wrote: > On Fri, 08 Jun 2018 08:23:02 -0400 > nerdopolis wrote: > > > On Tuesday, January 23, 2018 10:15:42 PM EDT you wrote: > > > These patches make Weston handle multiple seats. Fixes from the last > &

Re: [PATCH v6 1/6] libweston: set the seat automatically based on the XDG_SEAT environment variable

2018-06-26 Thread nerdopolis
On Tuesday, June 12, 2018 7:23:19 AM EDT Pekka Paalanen wrote: > On Tue, 23 Jan 2018 22:15:43 -0500 > nerdopolis wrote: > > > This will allow the seat to be set by the environment as pam_systemd > > typically > > sets the XDG_SEAT variable > > --- &g

[PATCH v7 3/6] launcher-logind: only get a VT on seat0, as only seat0 supports VTs

2018-06-26 Thread nerdopolis
As only seat0 supports TTYs, this changes the logind launcher where it detects a TTY, only if the seat is seat0. This has only been tested for logind --- libweston/launcher-logind.c | 22 -- libweston/launcher-util.c | 4 2 files changed, 16 insertions(+), 10 deletions(

[PATCH v7 0/6] Make Weston multiseat aware

2018-06-26 Thread nerdopolis
These patches make Weston handle multiple seats. Fixes from the last attempt include updating fbdev_set_screen_info , updating some fuzz, and making the selection of the framebuffer device similar to compositor-drm.c by favoring the boot_vga device, and making requested changes

[PATCH v7 2/6] compositor-fbdev: support the --seat option, (and XDG_SEAT variable)

2018-06-26 Thread nerdopolis
This allows the fbdev backend to run on, and use devices from the specified seat, similar to the drm backend. --- compositor/main.c| 2 ++ libweston/compositor-fbdev.c | 10 +- libweston/compositor-fbdev.h | 9 + 3 files changed, 20 insertions(+), 1 deletion(-) diff

[PATCH v7 5/6] compositor-fbdev: detect the first fb device in the seat

2018-06-26 Thread nerdopolis
This adds a function to detect the first framebuffer device in the current seat. Instead of hardcoding /dev/fb0, detect the device with udev, favoring the boot_vga device, and falling back to the first framebuffer device in the seat if there is none. This is very similar to what compositor-drm does

[PATCH v7 1/6] libweston: set the seat automatically based on the XDG_SEAT environment variable

2018-06-26 Thread nerdopolis
This will allow the seat to be set by the environment as pam_systemd typically sets the XDG_SEAT variable --- compositor/main.c | 2 +- libweston/compositor-drm.c | 11 --- libweston/compositor-drm.h | 3 ++- man/weston-drm.man | 7 +-- 4 files changed, 16 insertion

[PATCH v7 6/6] main: don't configure /dev/fb0 by default

2018-06-26 Thread nerdopolis
The framebuffer backend now detects the framebuffer device dynamically. Don't assume that the framebuffer device is /dev/fb0 --- compositor/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/compositor/main.c b/compositor/main.c index 068cdd8f..f1ee02b4 100644 --- a/compositor/main.c +++

[PATCH v7 4/6] compositor-fbdev: set fb device info upon the first run.

2018-06-26 Thread nerdopolis
This attempts to wake up secondary framebuffer devices (/dev/fb1 and up) as usually these devices start powered off, and the FBIOPUT_VSCREENINFO ioctl turns it on. This was tested on a qemu system with the options: -vga none -device VGA,id=video0 -device secondary-vga,id=video1 \ -device secondary

[PATCH v8 3/6] launcher-logind: only get a VT on seat0, as only seat0 supports VTs

2018-06-27 Thread nerdopolis
As only seat0 supports TTYs, this changes the logind launcher where it detects a TTY, only if the seat is seat0. This has only been tested for logind --- libweston/launcher-logind.c | 23 +-- libweston/launcher-util.c | 4 2 files changed, 17 insertions(+), 10 deletions

[PATCH v8 5/6] compositor-fbdev: detect the first fb device in the seat

2018-06-27 Thread nerdopolis
This adds a function to detect the first framebuffer device in the current seat. Instead of hardcoding /dev/fb0, detect the device with udev, favoring the boot_vga device, and falling back to the first framebuffer device in the seat if there is none. This is very similar to what compositor-drm does

[PATCH v8 1/6] libweston: set the seat automatically based on the XDG_SEAT environment variable

2018-06-27 Thread nerdopolis
This will allow the seat to be set by the environment as pam_systemd typically sets the XDG_SEAT variable --- compositor/main.c | 2 +- libweston/compositor-drm.c | 11 --- libweston/compositor-drm.h | 3 ++- man/weston-drm.man | 7 +-- 4 files changed, 16 insertion

[PATCH v7 0/6] Make Weston multiseat aware

2018-06-27 Thread nerdopolis
These patches make Weston handle multiple seats. Fixes from the last attempt include updating fbdev_set_screen_info , updating some fuzz, and making the selection of the framebuffer device similar to compositor-drm.c by favoring the boot_vga device, and making requested changes. These now addre

[PATCH v8 4/6] compositor-fbdev: set fb device info upon the first run.

2018-06-27 Thread nerdopolis
This attempts to wake up secondary framebuffer devices (/dev/fb1 and up) as usually these devices start powered off, and the FBIOPUT_VSCREENINFO ioctl turns it on. This was tested on a qemu system with the options: -vga none -device VGA,id=video0 -device secondary-vga,id=video1 \ -device secondary

[PATCH v8 2/6] compositor-fbdev: support the --seat option, (and XDG_SEAT variable)

2018-06-27 Thread nerdopolis
This allows the fbdev backend to run on, and use devices from the specified seat, similar to the drm backend. --- compositor/main.c| 2 ++ libweston/compositor-fbdev.c | 10 +- libweston/compositor-fbdev.h | 9 + 3 files changed, 20 insertions(+), 1 deletion(-) diff

[PATCH v8 6/6] main: don't configure /dev/fb0 by default

2018-06-27 Thread nerdopolis
The framebuffer backend now detects the framebuffer device dynamically. Don't assume that the framebuffer device is /dev/fb0 --- compositor/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/compositor/main.c b/compositor/main.c index 068cdd8f..f1ee02b4 100644 --- a/compositor/main.c +++

[PATCH v9 2/6] compositor-fbdev: support the --seat option, (and XDG_SEAT variable)

2018-06-29 Thread nerdopolis
This allows the fbdev backend to run on, and use devices from the specified seat, similar to the drm backend. --- compositor/main.c| 2 ++ libweston/compositor-fbdev.c | 10 +- libweston/compositor-fbdev.h | 9 + 3 files changed, 20 insertions(+), 1 deletion(-) diff

[PATCH v9 4/6] compositor-fbdev: set fb device info upon the first run.

2018-06-29 Thread nerdopolis
This attempts to wake up secondary framebuffer devices (/dev/fb1 and up) as usually these devices start powered off, and the FBIOPUT_VSCREENINFO ioctl turns it on. This was tested on a qemu system with the options: -vga none -device VGA,id=video0 -device secondary-vga,id=video1 \ -device secondary

[PATCH v9 6/6] main: don't configure /dev/fb0 by default

2018-06-29 Thread nerdopolis
The framebuffer backend now detects the framebuffer device dynamically. Don't assume that the framebuffer device is /dev/fb0 --- compositor/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/compositor/main.c b/compositor/main.c index 068cdd8f..f1ee02b4 100644 --- a/compositor/main.c +++

[PATCH v9 3/6] launcher-logind: only get a VT on seat0, as only seat0 supports VTs

2018-06-29 Thread nerdopolis
As only seat0 supports TTYs, this changes the logind launcher where it detects a TTY, only if the seat is seat0. This has only been tested for logind --- libweston/launcher-logind.c | 23 +-- libweston/launcher-util.c | 4 2 files changed, 17 insertions(+), 10 deletions

[PATCH v9 1/6] libweston: set the seat automatically based on the XDG_SEAT environment variable

2018-06-29 Thread nerdopolis
This will allow the seat to be set by the environment as pam_systemd typically sets the XDG_SEAT variable --- compositor/main.c | 2 +- libweston/compositor-drm.c | 11 --- libweston/compositor-drm.h | 3 ++- man/weston-drm.man | 7 +-- 4 files changed, 16 insertion

[PATCH v9 0/6] Make Weston multiseat aware

2018-06-29 Thread nerdopolis
These patches make Weston handle multiple seats. Fixes from the last attempt include updating fbdev_set_screen_info , updating some fuzz, and making the selection of the framebuffer device similar to compositor-drm.c by favoring the boot_vga device, and making requested changes. These now address

[PATCH v9 5/6] compositor-fbdev: detect the first fb device in the seat

2018-06-29 Thread nerdopolis
This adds a function to detect the first framebuffer device in the current seat. Instead of hardcoding /dev/fb0, detect the device with udev, favoring the boot_vga device, and falling back to the first framebuffer device in the seat if there is none. This is very similar to what compositor-drm does

Re: Upcoming release

2019-01-21 Thread nerdopolis
On Friday, January 18, 2019 5:20:40 PM EST Derek Foreman wrote: > Hi all, > > It's been quite some time since our last weston release, and there's > been some discussion of getting the next one out in the January to March > timeframe (this would be the last release to have an autotools build, btw)

Re: Fbdev-backend removal from Weston (Re: Upcoming release)

2019-01-22 Thread nerdopolis
On Tuesday, January 22, 2019 9:55:15 AM EST Pekka Paalanen wrote: > Let's make the title more catchy, so that people who care about fbdev > would notice. > > > On Tue, 22 Jan 2019 10:17:32 +0200 > Pekka Paalanen wrote: > > > On Mon, 21 Jan 2019 20:3

Re: Fbdev-backend removal from Weston (Re: Upcoming release)

2019-01-23 Thread nerdopolis
On Wednesday, January 23, 2019 4:09:44 AM EST Pekka Paalanen wrote: > On Tue, 22 Jan 2019 22:46:02 -0500 > nerdopolis wrote: > > > On Tuesday, January 22, 2019 9:55:15 AM EST Pekka Paalanen wrote: > > > > > > > On Tue, 22 Jan 2019 10:17:32 +0200 > > &g

Starting Weston drm-backend from non-seat0 ?

2017-08-02 Thread nerdopolis
Hi I found out how to get the systemd session-seat to be my desired seat (with --setenv=XDG_SEAT=seatx of which pam_systemd.so responds to) After assigning devices to the seat, and trying to start it I get "logind: session not running on a VT" Of which is a bit confusing as as far as I understan

Re: Starting Weston drm-backend from non-seat0 ?

2017-08-07 Thread nerdopolis
On Wednesday, August 2, 2017 11:09:44 PM EDT nerdopolis wrote: > Hi > > I found out how to get the systemd session-seat to be my desired seat (with > --setenv=XDG_SEAT=seatx of which pam_systemd.so responds to) After assigning > devices to the seat, and trying to start it I get &

Re: [PATCH] libweston: Support autodetection of the current XDG_SEAT

2017-08-15 Thread nerdopolis
On Tuesday, August 15, 2017 3:36:48 PM EDT Armin Krezović wrote: > On 15.08.2017 04:02, nerdopolis wrote: > > Hi, > > > --- > > libweston/compositor-drm.c | 5 + > > libweston/compositor-fbdev.c | 5 + > > 2 files changed, 10 insertions(+) > &

Re: [PATCH] libweston: Support autodetection of the current XDG_SEAT

2017-08-16 Thread nerdopolis
On Wednesday, August 16, 2017 4:50:15 AM EDT Pekka Paalanen wrote: > On Tue, 15 Aug 2017 18:03:10 -0400 > nerdopolis wrote: > > > On Tuesday, August 15, 2017 3:36:48 PM EDT Armin Krezović wrote: > > > On 15.08.2017 04:02, nerdopoli

[PATCH 2/2] Document the new handling of XDG_SEAT

2017-08-18 Thread nerdopolis
--- compositor/main.c | 2 +- man/weston-drm.man | 7 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/compositor/main.c b/compositor/main.c index f8a60e97..f632fc0e 100644 --- a/compositor/main.c +++ b/compositor/main.c @@ -563,7 +563,7 @@ usage(int error_code) fpri

[PATCH 1/2] libweston: Support autodetection of the current XDG_SEAT

2017-08-18 Thread nerdopolis
--- libweston/compositor-drm.c | 5 + libweston/compositor-fbdev.c | 5 + 2 files changed, 10 insertions(+) diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c index 10adb463..44b2e448 100644 --- a/libweston/compositor-drm.c +++ b/libweston/compositor-drm.c @@ -3502,8 +

[PATCH] libweston: Only check for a VT on seat0, as only seat0 has VTs

2017-08-26 Thread nerdopolis
--- libweston/launcher-logind.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/libweston/launcher-logind.c b/libweston/launcher-logind.c index a069bd4f..7cc6f963 100644 --- a/libweston/launcher-logind.c +++ b/libweston/launcher-logind.c @@ -762,18 +762

[PATCH] libweston: Only check for a VT on seat0, as only seat0 has VTs

2017-08-26 Thread nerdopolis
--- libweston/launcher-logind.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/libweston/launcher-logind.c b/libweston/launcher-logind.c index a069bd4f..11627590 100644 --- a/libweston/launcher-logind.c +++ b/libweston/launcher-logind.c @@ -762,18 +762

[PATCH 6/6] main: don't configure /dev/fb0 by default

2017-09-05 Thread nerdopolis
--- compositor/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/compositor/main.c b/compositor/main.c index f88608cd..cd07a6bb 100644 --- a/compositor/main.c +++ b/compositor/main.c @@ -1450,9 +1450,6 @@ load_fbdev_backend(struct weston_compositor *c, parse_options(fbdev_opti

[PATCH 1/6] libweston: set the seat automatically based on the XDG_SEAT environment variable

2017-09-05 Thread nerdopolis
--- compositor/main.c| 2 +- libweston/compositor-drm.c | 5 + libweston/compositor-fbdev.c | 5 + man/weston-drm.man | 7 +-- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/compositor/main.c b/compositor/main.c index 0615d87e..61bda282 100644 -

[PATCH 4/6] libweston: fbdev: set fb device info upon the first run. This attempts to wake up secondary framebuffer devices (/dev/fb1 and up) as usually these devices start powered off, and the FBIOPU

2017-09-05 Thread nerdopolis
-vga none -device VGA,id=video0 -device secondary-vga,id=video1 \ -device secondary-vga,id=video2 --- libweston/compositor-fbdev.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libweston/compositor-fbdev.c b/libweston/compositor-fbdev.c index b4f0685c..a9cc08be 100644 --- a/libweston/

[PATCH 5/6] libweston: fbdev: Attempt to detect the first framebuffer device in the seat, instead of defaulting to /dev/fb0

2017-09-05 Thread nerdopolis
--- libweston/compositor-fbdev.c | 35 +-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/libweston/compositor-fbdev.c b/libweston/compositor-fbdev.c index a9cc08be..99362b8a 100644 --- a/libweston/compositor-fbdev.c +++ b/libweston/compositor-fbdev.

[PATCH 2/6] libweston: fbdev: support the --seat option, (and XDG_SEAT variable)

2017-09-05 Thread nerdopolis
--- compositor/main.c| 2 ++ libweston/compositor-fbdev.c | 5 - libweston/compositor-fbdev.h | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/compositor/main.c b/compositor/main.c index 61bda282..f88608cd 100644 --- a/compositor/main.c +++ b/compositor/main.c @

[PATCH 3/6] launcher-logind: only get a VT on seat0, as only seat0 supports VTs

2017-09-05 Thread nerdopolis
--- libweston/launcher-logind.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/libweston/launcher-logind.c b/libweston/launcher-logind.c index a069bd4f..11627590 100644 --- a/libweston/launcher-logind.c +++ b/libweston/launcher-logind.c @@ -762,18 +762

[PATCH 0/6] libweston: Support multiple seats better

2017-09-06 Thread nerdopolis
I am resending as I messed up one of the commit messages, which resulted in a very long subject by mistake. These patches fix issues with Weston where it supports multiple seats better. Firstly supporting automatically detecting the seat to use, by using the XDG_SEAT variable set by logind if the

[PATCH 1/6] libweston: set the seat automatically based on the XDG_SEAT environment variable

2017-09-06 Thread nerdopolis
--- compositor/main.c| 2 +- libweston/compositor-drm.c | 5 + libweston/compositor-fbdev.c | 5 + man/weston-drm.man | 7 +-- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/compositor/main.c b/compositor/main.c index 0615d87e..61bda282 100644 -

[PATCH 3/6] launcher-logind: only get a VT on seat0, as only seat0 supports VTs

2017-09-06 Thread nerdopolis
--- libweston/launcher-logind.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/libweston/launcher-logind.c b/libweston/launcher-logind.c index a069bd4f..11627590 100644 --- a/libweston/launcher-logind.c +++ b/libweston/launcher-logind.c @@ -762,18 +762

[PATCH 5/6] libweston: fbdev: Attempt to detect the first framebuffer device in the seat. instead of defaulting to /dev/fb0

2017-09-06 Thread nerdopolis
--- libweston/compositor-fbdev.c | 35 +-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/libweston/compositor-fbdev.c b/libweston/compositor-fbdev.c index a9cc08be..99362b8a 100644 --- a/libweston/compositor-fbdev.c +++ b/libweston/compositor-fbdev.

[PATCH 2/6] libweston: fbdev: support the --seat option, (and XDG_SEAT variable)

2017-09-06 Thread nerdopolis
--- compositor/main.c| 2 ++ libweston/compositor-fbdev.c | 5 - libweston/compositor-fbdev.h | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/compositor/main.c b/compositor/main.c index 61bda282..f88608cd 100644 --- a/compositor/main.c +++ b/compositor/main.c @

[PATCH 4/6] libweston: fbdev: set fb device info upon the first run.

2017-09-06 Thread nerdopolis
This attempts to wake up secondary framebuffer devices (/dev/fb1 and up) as usually these devices start powered off, and the FBIOPUT_VSCREENINFO ioctl turns it on. This was tested on a qemu system with the options: -vga none -device VGA,id=video0 -device secondary-vga,id=video1 \ -device secondary

[PATCH 6/6] main: don't configure /dev/fb0 by default

2017-09-06 Thread nerdopolis
--- compositor/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/compositor/main.c b/compositor/main.c index f88608cd..cd07a6bb 100644 --- a/compositor/main.c +++ b/compositor/main.c @@ -1450,9 +1450,6 @@ load_fbdev_backend(struct weston_compositor *c, parse_options(fbdev_opti

Re: [PATCH 4/6] libweston: fbdev: set fb device info upon the first run.

2017-09-14 Thread nerdopolis
On Wednesday, September 6, 2017 8:17:21 AM EDT nerdopolis wrote: > This attempts to wake up secondary framebuffer devices > (/dev/fb1 and up) as usually these devices start powered off, and > the FBIOPUT_VSCREENINFO ioctl turns it on. This was tested on a > qemu system with the option

Re: [PATCH 5/6] libweston: fbdev: Attempt to detect the first framebuffer device in the seat. instead of defaulting to /dev/fb0

2017-09-30 Thread nerdopolis
On Tuesday, September 26, 2017 10:00:47 AM EDT Pekka Paalanen wrote: > On Wed, 6 Sep 2017 08:17:22 -0400 > nerdopolis wrote: > > > --- > > libweston/compositor-fbdev.c | 35 +-- > > 1 file changed, 33 insertions(+), 2 deletions(-) >

Re: [PATCH 1/6] libweston: set the seat automatically based on the XDG_SEAT environment variable

2017-10-02 Thread nerdopolis
On Tuesday, September 26, 2017 9:17:37 AM EDT you wrote: > On Wed, 6 Sep 2017 08:17:18 -0400 > nerdopolis wrote: > > > --- > > Hi, > > the commit message should contain at least briefly why we want this. I > have a feeling this is the right thing to do, but I can

Re: [PATCH 4/6] libweston: fbdev: set fb device info upon the first run.

2017-10-02 Thread nerdopolis
On Tuesday, September 26, 2017 9:45:43 AM EDT Pekka Paalanen wrote: > On Thu, 14 Sep 2017 23:08:51 -0400 > nerdopolis wrote: > > > On Wednesday, September 6, 2017 8:17:21 AM EDT nerdopolis wrote: > > > This attempts to wake up secondary framebuffer devices > >

[PATCH v2 6/6] main: don't configure /dev/fb0 by default

2017-10-03 Thread nerdopolis
--- compositor/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/compositor/main.c b/compositor/main.c index f88608cd..cd07a6bb 100644 --- a/compositor/main.c +++ b/compositor/main.c @@ -1450,9 +1450,6 @@ load_fbdev_backend(struct weston_compositor *c, parse_options(fbdev_opti

[PATCH v2 5/6] libweston: fbdev: Attempt to detect the first framebuffer device in the seat. instead of defaulting to /dev/fb0

2017-10-03 Thread nerdopolis
This adds a function to detect the first framebuffer device in the current seat. Instead of hardcoding /dev/fb0, use udev to find the first framebuffer device in the seat. --- libweston/compositor-fbdev.c | 45 +--- 1 file changed, 42 insertions(+), 3 deleti

[PATCH v2 1/6] libweston: set the seat automatically based on the XDG_SEAT environment variable

2017-10-03 Thread nerdopolis
This will allow the seat to be set by the environment as pam_systemd typically sets the XDG_SEAT variable --- compositor/main.c | 2 +- libweston/compositor-drm.c | 5 + man/weston-drm.man | 7 +-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/compositor/

[PATCH v2 2/6] libweston: fbdev: support the --seat option, (and XDG_SEAT variable)

2017-10-03 Thread nerdopolis
This allows the fbdev backend to run on, and use devices from the specified seat, similar to the drm backend. --- compositor/main.c| 2 ++ libweston/compositor-fbdev.c | 10 +- libweston/compositor-fbdev.h | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/

[PATCH v2 3/6] launcher-logind: only get a VT on seat0, as only seat0 supports VTs

2017-10-03 Thread nerdopolis
As only seat0 supports TTYs, this changes the logind launcher where it detects a TTY, only if the seat is seat0. This has only been tested for logind --- libweston/launcher-logind.c | 22 -- libweston/launcher-util.c | 4 2 files changed, 16 insertions(+), 10 deletions(

[PATCH v2 4/6] libweston: fbdev: set fb device info upon the first run.

2017-10-03 Thread nerdopolis
This attempts to wake up secondary framebuffer devices (/dev/fb1 and up) as usually these devices start powered off, and the FBIOPUT_VSCREENINFO ioctl turns it on. This was tested on a qemu system with the options: -vga none -device VGA,id=video0 -device secondary-vga,id=video1 \ -device secondary

[PATCH v3 1/6] libweston: set the seat automatically based on the XDG_SEAT environment variable

2017-10-07 Thread nerdopolis
This will allow the seat to be set by the environment as pam_systemd typically sets the XDG_SEAT variable --- compositor/main.c | 2 +- libweston/compositor-drm.c | 5 + man/weston-drm.man | 7 +-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/compositor/

[PATCH v3 6/6] main: don't configure /dev/fb0 by default

2017-10-07 Thread nerdopolis
--- compositor/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/compositor/main.c b/compositor/main.c index f88608cd..cd07a6bb 100644 --- a/compositor/main.c +++ b/compositor/main.c @@ -1450,9 +1450,6 @@ load_fbdev_backend(struct weston_compositor *c, parse_options(fbdev_opti

[PATCH v3 2/6] libweston: fbdev: support the --seat option, (and XDG_SEAT variable)

2017-10-07 Thread nerdopolis
This allows the fbdev backend to run on, and use devices from the specified seat, similar to the drm backend. --- compositor/main.c| 2 ++ libweston/compositor-fbdev.c | 10 +- libweston/compositor-fbdev.h | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/

[PATCH v3 5/6] libweston: fbdev: Attempt to detect the first framebuffer device in the seat. instead of defaulting to /dev/fb0

2017-10-07 Thread nerdopolis
This adds a function to detect the first framebuffer device in the current seat. Instead of hardcoding /dev/fb0, use udev to find the first framebuffer device in the seat. --- libweston/compositor-fbdev.c | 45 +--- 1 file changed, 42 insertions(+), 3 deleti

[PATCH v3 4/6] libweston: fbdev: set fb device info upon the first run.

2017-10-07 Thread nerdopolis
This attempts to wake up secondary framebuffer devices (/dev/fb1 and up) as usually these devices start powered off, and the FBIOPUT_VSCREENINFO ioctl turns it on. This was tested on a qemu system with the options: -vga none -device VGA,id=video0 -device secondary-vga,id=video1 \ -device secondary

[PATCH v3 3/6] launcher-logind: only get a VT on seat0, as only seat0 supports VTs

2017-10-07 Thread nerdopolis
As only seat0 supports TTYs, this changes the logind launcher where it detects a TTY, only if the seat is seat0. This has only been tested for logind --- libweston/launcher-logind.c | 24 ++-- libweston/launcher-util.c | 4 2 files changed, 18 insertions(+), 10 deletion

Re: [PATCH 4/6] libweston: fbdev: set fb device info upon the first run.

2017-10-13 Thread nerdopolis
On Tuesday, October 3, 2017 2:44:47 AM EDT Pekka Paalanen wrote: > On Mon, 02 Oct 2017 23:14:26 -0400 > nerdopolis wrote: > > > On Tuesday, September 26, 2017 9:45:43 AM EDT Pekka Paalanen wrote: > > > On Thu, 14 Sep 2017 23:08:51 -0400 > > > nerdopolis wro

Re: "hosted" patch for nouveau - X under wayland

2010-12-02 Thread nerdopolis
reedesktop.org/~krh/xserver --branch hosted cd xserver ./autogen.sh make make install cd .. and when I try to run ./Xorg :1 -hosted -rootless I get This is a pre-release version of the X server from The X.Org Foundation. It is not supported in any way. Bugs may be filed in the bugzilla at http:

RE: "hosted" patch for nouveau - X under wayland

2010-12-03 Thread nerdopolis
Ok. It seems that I will have to build all the drivers... I built intel. I also noticed another line /usr/bin/Xorg: symbol lookup error: /usr/lib/xorg/modules/extensions/libhosted.so: undefined symbol: wl_display_create I see some Wayland libraries in /usr/lib, where I now have they new X org

Wayland crash scenario

2010-12-13 Thread nerdopolis
Hi. As far as I know, X apps always had the ability to reconnect, its just that none ever did. I don't know why, maybe piximaps or windows states/ID's where lost or something... Or the idea never caught on. X apps don't crash when they lose connection to the x server, its just that they all (mos

Wayland hot-replace server?

2011-03-06 Thread nerdopolis
Hi. I just want to bring this up for early consideration: It seems that many things in Wayland will be determined by they type of compositor server you are running, such as if you want to have a tiling window manager in Wayland, or one that has other features. My question is that will users b

XDG_Shell and wl_probe

2014-02-19 Thread nerdopolis
Hi. About 10 months or so ago, there where patches submitted by Rob Bradford. I chose to ping the list as I think that what they implement is useful to desktop users. http://lists.freedesktop.org/archives/wayland-devel/2013-April/008836.html http://lists.freedesktop.org/archives/wayland-devel/2

ANNOUNCE: New Wayland live CD

2014-03-21 Thread nerdopolis
Hi. I am announcing new ISOs for my Wayland Live CD, which is named after my favorite celebrity. You can find the new ISOs here: https://sourceforge.net/projects/rebeccablackos/files/2014-03-21/ Once again, the larger ISO is only larger because it has more development headers, binaries with

Re: ANNOUNCE: New Wayland live CD

2014-03-21 Thread nerdopolis
On Friday, March 21, 2014 08:35:40 PM nerdopolis wrote: > Hi. > > > I am announcing new ISOs for my Wayland Live CD, which is named after my > favorite celebrity. > > > You can find the new ISOs here: > https://sourceforge.net/projects/rebeccablackos/files/2014-

Re: ANNOUNCE: New Wayland live CD

2014-03-23 Thread nerdopolis
On Sunday, March 23, 2014 04:49:50 PM Carlos Gomez, HCL America wrote: > nerdopolis - > > Thank you for doing all this hard work. I see that Qt 4.8.4 is installed. > I need Qt 5.x. Is there another Wayland live CD with Qt 5.x that you know of? > > Than

Re: ANNOUNCE: New Wayland live CD

2014-03-28 Thread nerdopolis
On Friday, March 28, 2014 12:30:17 PM Carlos Gomez, HCL America wrote: > nerdopolis - > > Thanks for the correction on the QT5 installation. I was able to run my > test. I love what you did because I can do "compile tests" on the live > distro and compare RB

Wayland Live CD now switching to Mir

2014-04-01 Thread nerdopolis
Hi. As you all know, I have been the developer of the Wayland live CD for some time, which is named after my favorite celebrity, and has been providing a easy to obtain Wayland environment for users since 2012. However I have been recently looking at the Wiki pages for Mir, and I am realizin

[April Fools Joke] Re: Wayland Live CD now switching to Mir

2014-04-02 Thread nerdopolis
On Tuesday, April 01, 2014 10:20:43 AM Gustavo Noronha Silva wrote: > On Tue, 2014-04-01 at 14:58 +0200, Kai-Uwe Behrmann wrote: > > Am 01.04.2014 14:40, schrieb nerdopolis: > > > As you all know, I have been the developer of the Wayland live CD for > > > some ti

Re: [PATCH weston 3/4] evdev: Fix assertion error for unplugged output with paired touchscreen

2014-04-25 Thread nerdopolis
On Thursday, April 24, 2014 03:11:16 PM Ander Conselvan de Oliveira wrote: > From: Ander Conselvan de Oliveira > > If the output a touchscreen is paired to is unplugged, events coming > from it should be ignored. Commit 17bccaed introduced logic for that > in evdev_flush_pending_damage(). However

  1   2   >