wslg icon indicating copy to clipboard operation
wslg copied to clipboard

Java app (PlotJuggler) shows black screen

Open blackliner opened this issue 5 years ago • 9 comments

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.log
  • weston.log
  • versions.txt

Expected behavior

Working app

Actual behavior

Black window

blackliner avatar Apr 28 '21 12:04 blackliner

@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.

image

hideyukn88 avatar Apr 29 '21 16:04 hideyukn88

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.

hideyukn88 avatar Apr 29 '21 16:04 hideyukn88

yours looks a lot better, here is how mine looks (I used the ros-melodic-plotjuggler-ros version): rosrun plotjuggler plotjuggler image

blackliner avatar Apr 29 '21 20:04 blackliner

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.

keitarobr avatar May 06 '21 22:05 keitarobr

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...

Pegolon avatar Oct 01 '21 14:10 Pegolon

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.

bxueaa avatar Oct 07 '21 04:10 bxueaa

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.

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:

Pokornz avatar May 03 '22 14:05 Pokornz

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 avatar May 21 '22 09:05 jajuul

@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.

ulterzlw avatar Dec 16 '22 08:12 ulterzlw