Re: xrandr providers and offloading to displaylink usb card

2013-03-19 Thread Sam Lanning
On 18/03/13 21:27, Aaron Plattner wrote: On 03/18/2013 10:08 AM, Sam Lanning wrote: On 07/01/13 07:03, Dave Airlie wrote: On Mon, Jan 7, 2013 at 10:23 AM, Sam Lanning s...@samlanning.com wrote: Hi There, I have a displaylink usb adapter which i have been trying to get working with my

Re: [PATCH v2 0/7] xfree86: Handle drm race condition

2013-03-19 Thread Maarten Lankhorst
Hey, Op 19-03-13 11:27, Chris Wilson schreef: On Tue, Mar 19, 2013 at 11:02:14AM +0100, Maarten Lankhorst wrote: Hey, Op 19-03-13 10:21, Chris Wilson schreef: On Mon, Mar 18, 2013 at 01:51:44PM -0700, Bryce Harrington wrote: Update: Squashes a couple commits to avoid potential hang if git

Re: [PATCH v2 0/7] xfree86: Handle drm race condition

2013-03-19 Thread Dave Airlie
Because of the delayed fput in recent kernels, it is possible for plymouth to exit and not drop master right away. It's put onto a workqueue to be freed slightly later. Xorg-server starts in the meantime, opens a fd, but because the fd hasn't been closed by plymouth yet, it didn't get

RE: [Glamor] glamor with xserver 1.12

2013-03-19 Thread Zhigang Gong
Junyan, I found I made a mistake when I tried glamor with latest xserver. I forgot to update dri2proto, so the xserver was not built with DRI2 support and thus triggered this bug. I updated the dri2proto and rebuilt everything, then this bug just simply disappears. From:

Re: [PATCH v2 0/7] xfree86: Handle drm race condition

2013-03-19 Thread Maarten Lankhorst
Op 19-03-13 12:10, Dave Airlie schreef: Because of the delayed fput in recent kernels, it is possible for plymouth to exit and not drop master right away. It's put onto a workqueue to be freed slightly later. Xorg-server starts in the meantime, opens a fd, but because the fd hasn't been

[PATCH 0/6] xfree86: Handle drm race condition

2013-03-19 Thread Bryce Harrington
When starting up, X can hit an error trying to set the version on the drm device. We believe this is a race with plymouth (or the kernel), since adding some delay to the boot results in a functioning session for affected users. We have not root-caused the bug yet, but are able to reproduce it

[PATCH 1/6] xfree86: (Cleanup) Close fd if drm interface 1.4 could not be set.

2013-03-19 Thread Bryce Harrington
Signed-off-by: Bryce Harrington br...@canonical.com Reviewed-by: Chris Wilson ch...@chris-wilson.co.uk --- hw/xfree86/os-support/linux/lnx_platform.c |1 + 1 file changed, 1 insertion(+) diff --git a/hw/xfree86/os-support/linux/lnx_platform.c b/hw/xfree86/os-support/linux/lnx_platform.c

[PATCH 2/6] xfree86: Track error code and add label for error handling.

2013-03-19 Thread Bryce Harrington
Signed-off-by: Bryce Harrington br...@canonical.com Reviewed-by: Chris Wilson ch...@chris-wilson.co.uk --- hw/xfree86/os-support/linux/lnx_platform.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/hw/xfree86/os-support/linux/lnx_platform.c

[PATCH 3/6] xfree86: Provide more details on failure

2013-03-19 Thread Bryce Harrington
Signed-off-by: Bryce Harrington br...@canonical.com Reviewed-by: Chris Wilson ch...@chris-wilson.co.uk --- hw/xfree86/os-support/linux/lnx_platform.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/os-support/linux/lnx_platform.c

[PATCH 4/6] xfree86: Keep trying to set interface on drm for 2 seconds.

2013-03-19 Thread Bryce Harrington
And if we've had to delay booting due to not being able to set the interface, fess up. Signed-off-by: Bryce Harrington br...@canonical.com Reviewed-by: Chris Wilson ch...@chris-wilson.co.uk --- hw/xfree86/os-support/linux/lnx_platform.c | 20 +++- 1 file changed, 15

[PATCH 6/6] xfree86: Be verbose if waiting on opening the drm device

2013-03-19 Thread Bryce Harrington
Signed-off-by: Bryce Harrington br...@canonical.com Reviewed-by: Chris Wilson ch...@chris-wilson.co.uk --- hw/xfree86/os-support/linux/lnx_platform.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/os-support/linux/lnx_platform.c

Re: [PATCH] xserver: add monitor Option ZoomModes

2013-03-19 Thread Aaron Plattner
On 03/07/13 07:07, v...@picaros.org wrote: On 11/21/2012 04:12 AM, v...@picaros.org wrote: Add support for the Option ZoomModes in a monitor section: Section Monitor Identifier a21inch Option PreferredMode 1600x1200 Option ZoomModes 1600x1200 1280x1024 1280x1024 640x480 EndSection

Re: [PATCH v2 0/7] xfree86: Handle drm race condition

2013-03-19 Thread Chris Wilson
On Tue, Mar 19, 2013 at 11:50:47AM +0100, Maarten Lankhorst wrote: The drmSetMaster call is needed, but the spinning is really just waiting for the workqueue to run. bryce's patch never worked, it just caused it to try drmsetinterfaceversion for a few seconds before timing out. That call