Java app (PlotJuggler) shows black screen
Environment
Windows build number: 21362+
Your Distribution version: Ubuntu 18.04
Your WSLg version: ?
Steps to reproduce
install and run PlotJuggler: https://github.com/facontidavide/PlotJuggler
It manages to show a meme on startup, but the main windows is completely black.
WSL logs: TODO
- Attach WSLg logs from
/mnt/wslg
You can access the wslg logs using explorer at: \\wsl$\<Distro-Name>\mnt\wslg (e.g.: \\wsl$\Ubuntu-20.04\mnt\wslg)
puseaudio.logweston.logversions.txt
Expected behavior
Working app
Actual behavior
Black window
@blackliner , thanks for reporting this! I'm not familiar with this application, so haven't used further beyond simply launching it. But I do see main window after splash screen. Is this the window you see as black? I cloned the repo and built it by myself following the instruction.

It looks the black region on the "tab 1" should be white and there should show the visualization of data once data loaded, but it's not. I think this is the issue.
yours looks a lot better, here is how mine looks (I used the ros-melodic-plotjuggler-ros version):
rosrun plotjuggler plotjuggler

It may not be related but running PyCharm ( https://www.jetbrains.com/pycharm/ ) which is a java application crashes wslG and eventually the whole desktop.
Jetbrains Rider and PyCharm now work with WSLg, but initially show all the windows with all black or gray contents like above. As soon as you resize them they are redrawn and everything looks fine. Just a bit annoying...
Hi, I have the same problems in WSL2(ubuntu 18.04, ROS-melodic). If I install plot juggler from apt-get install ros-*****-plotjuggler, then the problem will appears. The solution to this problems is that: install plot juggler from github! just download the release version(I use PlotJuggler-Linux-ROS-2.8.4.AppImage), then use ```
chmod 777
to make the file can be run. the last step is run it.
My english is pool, hope you can understand these.
Hi, I have the same problems in WSL2(ubuntu 18.04, ROS-melodic). If I install plot juggler from apt-get install ros-*****-plotjuggler, then the problem will appears. The solution to this problems is that: install plot juggler from github! just download the release version(I use PlotJuggler-Linux-ROS-2.8.4.AppImage), then use ```
chmod 777to make the file can be run. the last step is run it.
My english is pool, hope you can understand these.
The 2.8.4 is the newest AppImage that works for me on WSL.
- 3.1.1, 3.1.2, 3.2.0 - I get a black window as @blackliner showed above
- 3.4.0, 3.4.1 - Does not launch:
/tmp/.mount_PlotJuOKLuAM/AppRun.wrapped: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_PlotJuOKLuAM/AppRun.wrapped)
/tmp/.mount_PlotJuOKLuAM/AppRun.wrapped: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_PlotJuOKLuAM/usr/bin/../lib/libQt5Widgets.so.5)
/tmp/.mount_PlotJuOKLuAM/AppRun.wrapped: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_PlotJuOKLuAM/usr/bin/../lib/libQt5Gui.so.5)
/tmp/.mount_PlotJuOKLuAM/AppRun.wrapped: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_PlotJuOKLuAM/usr/bin/../lib/libQt5Core.so.5)
/tmp/.mount_PlotJuOKLuAM/AppRun.wrapped: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/.mount_PlotJuOKLuAM/usr/bin/../lib/libQt5Core.so.5)
/tmp/.mount_PlotJuOKLuAM/AppRun.wrapped: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_PlotJuOKLuAM/usr/bin/../lib/libpng16.so.16)
/tmp/.mount_PlotJuOKLuAM/AppRun.wrapped: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_PlotJuOKLuAM/usr/bin/../lib/libicui18n.so.66)
/tmp/.mount_PlotJuOKLuAM/AppRun.wrapped: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_PlotJuOKLuAM/usr/bin/../lib/libicuuc.so.66)
For me, the 2.8.4 is borderline unusable, it doesn't even have 1:1 scaling :cry:
I had this issue as well and it seems to be an opengl issue. I get the main screen but all is black.
Clicking around in the top left I managed to get into the preference menu and I could deselect the opengl option.
I then shut down plotjuggler and started it up again. This time it shows up correctly and I can use it.
@jajuul Thanks! I verify it on x11-forwarding with a remote docker.
If someone has difficulty on click the preference menu, it is easier by pressing Alt then Enter.