xf86-video-dummy with randr support - is anyone else interested? Alternatives?

2011-07-10 Thread Leho Kraav

Hi all

My goal is to use a DisplayLink USB display with Xorg on a laptop in a 
sane fashion, which pretty much seems to mean RandR support one way or 
the other.


Since USB display is a very comes-and-goes device, I'm figuring I better 
use a permanent virtual secondary screen using xf86-video-dummy shared 
with x11vnc and put another fbdev Xserver running vncviewer as an eye 
to that virtual desktop as I need to. This replaces the usual complete 
reconfiguration of windows and desktops of a regular monitor plug/pull, 
which also I don't think is even possible right now with an USB display.


alias connect-doublesight-x='x11vnc -display :0.1 -noxrandr -q 
-localhost -bg; startx ~/.xinitrc-vncviewer -- :1 vt7 -sharevts -quiet 
-config xorg-displaylink.conf '


It works quite well and performance over vnc is not an issue at all for 
the scenario, in case anyone is wondering.


Now the primary problem is that Awesome WM is not capable of recognizing 
xf86-video-dummy as a secondary screen for quick window dispatch back 
and forth with Mod4-o and I really want to do this often. This is 
because xf86-video-dummy doesn't know RandR and apparently doesn't 
participate in the big virtual RandR desktop.


I don't want to do Xinerama, since I would lose the ability to also 
connect real monitors on the go without having to restart my whole X 
session.


Alternatives? I cannot find any other driver that would act as a virtual 
screen like xf86-video-dummy, but would provide a RandR-compliant 
framebuffer for me. I don't think Xephyr, Xdmx, Xvnc, x2x and whatnot 
others can help me here, Awesome needs to see something as a regular 
RandR screen next to the built in panel. Or is it possible to fake this 
display somehow while being forwarded to another Xserver copy?


Is there an itemized work list somewhere on what it would take to get 
xf86-video-dummy into RandR world?


In case any awesome devs are here, would it actually make sense to patch 
it on awesome side? Which work list is greater?


Thanks for reading.

--
Leho Kraav, M.Sc.

http://about.me/lkraav
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


xf86-video-dummy with randr support - is anyone else interested? Alternatives?

2011-07-10 Thread Leho Kraav

Hi all

My goal is to use a DisplayLink USB display with Xorg on a laptop in a 
sane fashion, which pretty much seems to mean RandR support one way or 
the other.


Since USB display is a very comes-and-goes device, I'm figuring I better 
use a permanent virtual secondary screen using xf86-video-dummy shared 
with x11vnc and put another fbdev Xserver running vncviewer as an eye 
to that virtual desktop as I need to. This replaces the usual complete 
reconfiguration of windows and desktops of a regular monitor plug/pull, 
which also I don't think is even possible right now with an USB display.


alias connect-doublesight-x='x11vnc -display :0.1 -noxrandr -q 
-localhost -bg; startx ~/.xinitrc-vncviewer -- :1 vt7 -sharevts -quiet 
-config xorg-displaylink.conf '


It works quite well and performance over vnc is not an issue at all for 
the scenario, in case anyone is wondering.


Now the primary problem is that Awesome WM is not capable of recognizing 
xf86-video-dummy as a secondary screen for quick window dispatch back 
and forth with Mod4-o and I really want to do this often. This is 
because xf86-video-dummy doesn't know RandR and apparently doesn't 
participate in the big virtual RandR desktop.


I don't want to do Xinerama, since I would lose the ability to also 
connect real monitors on the go without having to restart my whole X 
session.


Alternatives? I cannot find any other driver that would act as a virtual 
screen like xf86-video-dummy, but would provide a RandR-compliant 
framebuffer for me. I don't think Xephyr, Xdmx, Xvnc, x2x and whatnot 
others can help me here, Awesome needs to see something as a regular 
RandR screen next to the built in panel. Or is it possible to fake this 
display somehow while being forwarded to another Xserver copy?


Is there an itemized work list somewhere on what it would take to get 
xf86-video-dummy into RandR world?


In case any awesome devs are here, would it actually make sense to patch 
it on awesome side? Which work list is greater?


Thanks for reading.

--
Leho Kraav, M.Sc.

http://about.me/lkraav
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: xf86-video-dummy with randr support - is anyone else interested? Alternatives?

2011-07-10 Thread Alan Cox
 Alternatives? I cannot find any other driver that would act as a virtual 
 screen like xf86-video-dummy, but would provide a RandR-compliant 
 framebuffer for me. I don't think Xephyr, Xdmx, Xvnc, x2x and whatnot 
 others can help me here, Awesome needs to see something as a regular 
 RandR screen next to the built in panel. Or is it possible to fake this 
 display somehow while being forwarded to another Xserver copy?

Actually they can do. The way I have my little one set up for debugging
and devel work is to create separate X server for it and then I can bind
input devices to it or use x2x as well as using the input filters to make
it grab the actual touchscreen. If you want it to just hotplug you'll
need udev rules as well, and depending upon your auth needs possible gdm
scripting.

If you want persistence you could look at making your main desktop bigger
than the display and then using x11vnc to export the undisplayed corner
to the displaylink server ?

 In case any awesome devs are here, would it actually make sense to patch 
 it on awesome side? Which work list is greater?

The big problem with RandR and friends is that the moment you include a
Displaylink device all your 3D vanishes on all the desktops. This is
quite limiting and will force various apps into software rendering or
just not working as they were before. If you use x2x + dual server you
can't move apps between the displaylink device and the main display but
your 3D etc still work.

The proper solution is an X server setup which can handle 2D only DRI
capable devices in multihead by using one of the 3D devices to do
offscreen rendering for the 2D head. That however seems to be a big
project.

Alan
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com