[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Xserver and Linux containers
From:       Christian Stussak <stussak () mfo ! de>
Date:       2015-05-16 16:33:11
Message-ID: 0BB8A2AE-3B16-4A65-9C38-514B7AD70026 () mfo ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


There is currently a huge hype around Linux containers, Docker and such =
and there are quite a few attempts to run GUI apps inside Linux =
containers. This is usually done by mounting the host=92s X socket and =
sometimes a few other files/directories into the container (such as =
/dev/shm, /dev/dri/...). In order to get 3D hardware acceleration =
working (over DRI, I think), they install the very same version of the =
graphics driver into the container and the host although the Linux =
distro inside the container might be completely different from the hosts =
distro (different library versions, distro specific patches etc.)

Here are a few links to get an idea of these approaches:
https://github.com/thewtex/docker-opengl-nvidia/blob/master/run.sh
https://github.com/yantis/docker-virtualgl

I tried it my self and it seems to work well.

My question is: Is this approach of implementing the communication =
between host and container X server safe in the sense that it is =
supposed to work like that or is it likely to break at any time because =
it=92s just an ugly hack that works by chance? If so, what would be the =
correct way to tackle that problem, i.e. utilizing an X server running =
on the host from within the container while still having hardware =
acceleration for 3d.

I saw demos where this =84solution=93 has been used to run 3D =
accelerated apps remotely on Amazon EC2 web services and I am =
considering to try something similar with containers if this is not a =
dead end.=

["smime.p7s" (smime.p7s)]

0	*H
 010	+0	*H
 10!0	 0
	*H
0q10	UDE10U
Deutsche Telekom AG10UT-TeleSec Trust Center1#0!UDeutsche Telekom \
Root CA 20 061219102900Z
190630235900Z0Z10	UDE10U

DFN-Verein10UDFN-PKI1$0"UDFN-Verein PCA Global - G010"0
	*H
0
g
TÖP5=bnL["t 41R (#t^[xx(59{-E \
z|JÆ\+1{$C8jhOxv&t	kν0Ob'0 \
e`M	#*5X'vq5}o3 \
]AkLQٽVVC='0IT4qul!'>99Hjə00pUi0g0e \
c a_http://pki.telesec.de/cgi-bin/service/af_DownloadARL.crl?-crl_format=X_509&-issuer=DT_ROOT_CA_20UI=D{)
 p>d0U#01ySz-l
+30U0U00
	*H
;ZwHܩ쁯Z(Yp(,]1+tg9y;kx3~;_&'uSe3csð#I!Pu#┅=?3w \
桅)@?s2X  kڅl?fdV$N
?25[錂rYOtV\GSpMi(	^XZh(>X,7Wg#hck\KV@4l
  3roT,Q̿0Cr2Ic0e0M 
h0
	*H
0Z10	UDE10U

DFN-Verein10UDFN-PKI1$0"UDFN-Verein PCA Global - G010
081217143936Z
190630000000Z010	UDE10UBaden-Wuerttemberg10UOberwolfach1<0:U
 3Mathematisches Forschungsinstitut Oberwolfach gGmbH1E0CU<Mathematisches \
Forschungsinstitut Oberwolfach gGmbH CA - G0110	*H 		ca@mfo.de0"0
	*H
0
aH+ہjj5AZqV
o{ߧNtǬߐ'MloDs-/z&2pYRM*k5uvHk`.9r>!lRe3ۥxH~7?^DwOWZ?,/.tuUBl
 uз33iK
@\ZA=GoW;ھa^.Jhb4˖Ԋ \
4⢜%00U00U0UGvHU(:\"@e0U#0I=D{)
 p>d0U
0	ca@mfo.de0U0~0= ; \
97http://cdp1.pca.dfn.de/global-root-ca/pub/crl/cacrl.crl0= ; \
97http://cdp2.pca.dfn.de/global-root-ca/pub/crl/cacrl.crl0+00G+ \
0;http://cdp1.pca.dfn.de/global-root-ca/pub/cacert/cacert.crt0G+0;http://cdp2.pca.dfn.de/global-root-ca/pub/cacert/cacert.crt0
 	*H
Mm7 넉eps0nwJYGR?OWNZ \
CVh@.'oʢtZ7Qʌok6͎݁u`>$PBen \
0/pq1ݱForU.?7	^XdBTá+<(FyA/ʤGvyNtW,̶R[:	rbnbYZ#lۚ#\-ro8iEyU6(jq}vtfo_!j}r	'ַ00 \
a'0 	*H
010	UDE10UBaden-Wuerttemberg10UOberwolfach1<0:U
3Mathematisches Forschungsinstitut Oberwolfach gGmbH1E0CU<Mathematisches \
Forschungsinstitut Oberwolfach gGmbH CA - G0110	*H 		ca@mfo.de0
130612115019Z
160611115019Z0g10	UDE1<0:U
3Mathematisches Forschungsinstitut Oberwolfach gGmbH10UChristian \
Stussak0"0 	*H
0
nRpN|yWLȢ)]ƴh x?}L>5JW=* ف 
{l?&+?br3'L>?LC+0˱~{b6xM.g
o԰'jɴTfe45r(
%(҉oLyfqw`lKf19p[x|$awX?n<kt \
բ[egal$<^g{0l00/U \
(0&0+!,0+!,0	U00U0U%0+ \
+0U腄h;pQ,30U#0GvHU(:\"@e0U0stussak@mfo.de0wUp0n05 \
3 1/http://cdp1.pca.dfn.de/mfo-ca/pub/crl/cacrl.crl05 3 \
1/http://cdp2.pca.dfn.de/mfo-ca/pub/crl/cacrl.crl0+00?+03htt \
p://cdp1.pca.dfn.de/mfo-ca/pub/cacert/cacert.crt0?+03http://cdp2.pca.dfn.de/mfo-ca/pub/cacert/cacert.crt0
 	*H
V]$
-qbׂRfa>I0)GXdHT{lW;g燇 \
=䔜ܹ.UյnVܯն{7f`,A	S*4Ѻ>s՜/P,хчaĿˁSuũ|+6e5d<E?bl}3H;rpc046k}ל(&
 QԧC7G	I0c>T*xg|1t0p0010	UDE10UBaden-Wuerttemberg10UOberwolfach1<0:U
 3Mathematisches Forschungsinstitut Oberwolfach gGmbH1E0CU<Mathematisches \
Forschungsinstitut Oberwolfach gGmbH CA - G0110	*H \
		ca@mfo.dea'0	+ ]0	*H 	1	*H
0	*H
	1
150516163312Z0#	*H
	1g6xX72p`0	+710010	UDE10UBaden-Wuerttemberg10UOberwolfach1<0:U
 3Mathematisches Forschungsinstitut Oberwolfach gGmbH1E0CU<Mathematisches \
Forschungsinstitut Oberwolfach gGmbH CA - G0110	*H \
		ca@mfo.dea'0*H 	1 \
010	UDE10UBaden-Wuerttemberg10UOberwolfach1<0:U \
3Mathematisches Forschungsinstitut Oberwolfach gGmbH1E0CU<Mathematisches \
Forschungsinstitut Oberwolfach gGmbH CA - G0110	*H 		ca@mfo.dea'0
	*H
#zJs Z6A@cυ#F> (CtMnM> \
H%=M~=2D7gDe(!`hUx)t#ȡ5oA:qI*ܲe5(cj,snbEZ>* \
B-MbC|Eb^Kb*e4= Ca{;^`D:\ʴOR;ebL 7:5 W|1w \
=cӎ#k1i)xl 1


[Attachment #6 (text/plain)]

_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic