The Following 35 Users Say Thank You to javispedro For This Useful Post: | ||
benny1967, dcaliste, eekkelund, jcharpak, Jordi, juiceme, lal, Larswad, marmistrz, MartinK, mattaustin, Mikkosssss, minimos, mrsellout, Nekron, nodevel, norayr, nthn, OVK, pycage, r0kk3rz, rainisto, rcolistete, reinob, rolfok, sledgeas, szopin, thedead1440, w00t, Watchmaker, wicket, www.rzr.online.fr, xiskillo, zamorph |
|
2014-09-24
, 15:59
|
Posts: 440 |
Thanked: 2,256 times |
Joined on Jul 2014
|
#12
|
|
2014-09-24
, 16:16
|
|
Posts: 202 |
Thanked: 165 times |
Joined on Jul 2012
@ Apeldoorn, Netherlands
|
#13
|
|
2014-09-24
, 21:10
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#14
|
obviously early days yet, but would it be possible to run remote apps on desktop pc from the Jolla using X Forwarding?
|
2014-09-24
, 21:48
|
Posts: 440 |
Thanked: 2,256 times |
Joined on Jul 2014
|
#15
|
On the other hand, if you want you want is to run X11 programs on the Jolla, that's what Xwayland does, but without touch input as mentioned (either an issue with the oldish version of wayland in the Jolla , or a qtwayland incompatibility -- will look during weekend).
|
2014-09-24
, 23:41
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#16
|
|
2014-09-29
, 02:46
|
|
Posts: 1,055 |
Thanked: 4,107 times |
Joined on Oct 2009
@ Norway
|
#17
|
- As for input, I suspect that I need to look up the QtWayland "propietary" touch interfaces/protocols and patch xwayland accordingly.
The Following 4 Users Say Thank You to w00t For This Useful Post: | ||
|
2014-09-29
, 02:47
|
|
Posts: 1,055 |
Thanked: 4,107 times |
Joined on Oct 2009
@ Norway
|
#18
|
|
2014-09-29
, 10:45
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#19
|
The Following User Says Thank You to javispedro For This Useful Post: | ||
|
2014-09-29
, 12:57
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#20
|
Yep, http://pastebin.com/hGCSFqqj
Xwayland is still running by the time of lipstick's crash.
#2 QtWayland::ShellSurface::shell_surface_pong (this=0x1df2088, resource=<optimized out>, serial=<error reading variable: Cannot access memory at address 0xffffffe7>) at wayland_wrapper/qwlshellsurface.cpp:285
void ShellSurface::shell_surface_set_fullscreen(Resource *resource, uint32_t method, uint32_t framerate, struct wl_resource *output) { Q_UNUSED(resource); Q_UNUSED(method); Q_UNUSED(framerate); Q_UNUSED(output); QSize defaultScreenSize = m_surface->compositor()->outputGeometry().size(); send_configure(resize_bottom_right, defaultScreenSize.width(), defaultScreenSize.height()); if (m_surface->extendedSurface()) m_surface->extendedSurface()->setVisibility(QWindow::FullScreen, false); }
Either way... xwayland exists!
Please note that there's no acceleration at all and that input does not work.
- For 2D acceleration we could at some point consider the use of Glamor. This would require some investigation as the current Xwayland uses GBM buffers, and I have no idea how libhybrys equivalent work.
- 3D acceleration is "complicated", but probably not useful at all since I know of few OpenGLES+X11 programs (Maemo ones being the most glaring exceptions...).
- As for input, I suspect that I need to look up the QtWayland "propietary" touch interfaces/protocols and patch xwayland accordingly.
I have made an OBS project with Xwayland and all the usual required X11 libraries and dependencies. Just set up the repository and install package "xorg-x11-server-xwayland" from it. Also on the repository is the xlogo tool.
Start Xwayland on a terminal like this:
Feel free to depend on the OBS project if you need libX11-devel or other packages in order to port X11 software to Sailfish. Most of these libraries are just updated versions of the older X11 packages in Nemo/Mer. If I missed some important lib/tool just ping me.
It was known that the "older" Xwayland was a pain to port and build because of its entrenched architecture -- it required specific parts for each Xorg "driver", Intel, nvidia, etc. At some point I pondered if it was worth resurrecting the older Xsdl server because it would be much simpler to port. However, there's no need to: Xwayland 1.16.x upwards is now finally "driver" independent and is as simple to build as Xsdl was!
EDIT: Funnily, closing Xwayland the "Sailfwish way" crashes Wayland!
EDIT: Updated image to real device screenshot.
Last edited by javispedro; 2014-09-22 at 11:16.