KWin in docker container for Plasma Mobile Emulator

Martin Graesslin mgraesslin at kde.org
Wed May 11 12:30:10 UTC 2016


On Wednesday, May 11, 2016 4:06:37 PM CEST Bhavisha Dhruve wrote:
> Hello,
> 
> I am Bhavisha Dhruve a participant of gsoc.  My project is to Devise the
> Plasma-Mobile Emulator.  The link for the same is:
> https://summerofcode.withgoogle.com/projects/#4529407473483776
> 
> I've started with initial Dockerfile that can run kwin_wayland, it displays
> the window however it doesn't render anything in window, I am not sure what
> is wrong, can anyone help me, please.
> 
> I am pasting my Dockerfile contents over here:
> 
> FROM ubuntu:xenial
> RUN apt update
> RUN apt install -y wget software-properties-common
> RUN add-apt-repository -y 'deb http://mobile.neon.pangea.pub xenial main'
> RUN wget -qO - 'http://mobile.neon.pangea.pub/Pangea%20CI.gpg.key' |
> apt-key add -
> RUN apt-get -y update && apt-get install -y kwin-wayland
> kwin-wayland-backend-x11
> RUN apt-get install -y libgl1-mesa-glx libgl1-mesa-dri
> RUN export uid=1000 gid=1000 && \
>     mkdir -p /home/developer && \
>     echo "developer:x:${uid}:${gid}:Developer,,,:/home/developer:/bin/bash"
> 
> >> /etc/passwd && \
> 
>     echo "developer:x:${uid}:" >> /etc/group && \
>     chown ${uid}:${gid} -R /home/developer
> 
> RUN gpasswd -a developer video
> RUN apt-get -y update && apt-get install -y gdb
> RUN apt-get -y update && apt-get install -y kwin-dbg
> 
> USER developer
> ENV HOME /home/developer
> CMD kwin_wayland --xwayland
> 
> Command for running the docker container:
> 
> docker run -ti -e DISPLAY --device=/dev/dri/card0:/dev/dri/card0 -v
> /tmp/.X11-unix:/tmp/.X11-unix -v
> $HOME/.Xauthority:/home/developer/.Xauthority --net=host plasma-emulator
> 
> And here is the backtrace of Kwin while it is not rendering anything:

That's just the event loop. So rather expected backtrace and not giving us any 
hints.

Please enable all debug output for all kwin categories and used libraries 
(e.g. kwayland, kwindowsystem, etc.) and run kwin again. Then please provide 
the debug output to us. That should tell us more.

Cheers
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160511/234c48c8/attachment-0001.sig>


More information about the Plasma-devel mailing list