Xpra: Ticket #2770: 4.0.1 client connect to 4.0.1 server: transparent or black windows

When on Kubuntu 18.04 I get blank (transparent, only frame and title visible) or black windows when connecting 4.0.1 client to 4.0.1 server. Same behavior when connecting locally or via SSL from different PC (with same OS). If client is 3.0.9 (on Kubuntu) or 4.0.1 on Win7 x64 all works OK.

Tue, 19 May 2020 21:10:52 GMT - schvab: attachment set

output form bug report tool

Wed, 20 May 2020 02:53:40 GMT - Antoine Martin: owner changed

That's odd, maybe it's the selection of renderer that's causing problems. Can you try:

Does this make any difference? If it's opengl related, you may want to try --opengl=force.

Wed, 20 May 2020 06:10:08 GMT - schvab:

when I run xpra attach ssl://schvab@schnuc.lan:14500/1 --ssl-server-verify-mode=none --speaker=enabled --microphone=disabled --min-quality=88 --opengl=force --title="@title@ schNUC" the windows are see-through with only upper bar visible see 'Screenshot_20200520_080625.png'

when I switch off openGL (with openg=no and also in the tray menu) I get black windows see 'Screenshot_20200520_080512.png'

I try with firefox and xterm - in the 080625 its visible they behave the same.

Wed, 20 May 2020 06:10:44 GMT - schvab: attachment set

Wed, 20 May 2020 06:10:58 GMT - schvab: attachment set

Wed, 20 May 2020 15:09:51 GMT - Antoine Martin:

From your screenshot, you seem to be connecting through a proxy server. Have you tried connecting directly? (using a tunnel if needed)

Can you try connecting locally on the server and client? (with and without --mmap=off)

Does the problem go away if you use a different window manager? (metacity, fluxbox, or whatever)

Wed, 20 May 2020 21:08:09 GMT - schvab: priority changed

I have new findings - the problem seems to be connected to the overall PC setup and openGL:

In the morning I had same behavior as seen on screenshots when connecting locally (on server, doing xpra attach :1) and when connecting over ssl with proxy from another PC but with same OS (kubuntu 18.04). When I installed the 'another' PC to xubuntu 20.04 the remote ssl connection started working OK - windows were normal. I updated the 18.04 server PC with all available updates but the behavior when connecting locally is still as seen on screenshots. So when doing local connection (on server, doing xpra attach :1) also the mmap=off doesn't help and windows are still see-through.

It's probably worth to mention that both computers have Intel graphic accelerators.

I also tried today with third PC with kubuntu 18.04 and ati graphics as client and 4.0.1 worked fine.

P.S.: I get disconnected from ssl after random ~minutes, but that's different problem and I work around it by using ssh.

Sat, 24 Oct 2020 11:12:45 GMT - Antoine Martin: milestone set

As per comment:1 : toggling opengl on or off from the command line or system tray menu

Mon, 16 Nov 2020 08:20:42 GMT - schvab: status changed; resolution set

Issue disappeared with update to 4.0.4 and regular Ubuntu updates. Probably had something to do with client running using Intel graphics. Now works as expected.

Tue, 24 Nov 2020 14:04:38 GMT - Antoine Martin: milestone changed

Sat, 23 Jan 2021 06:00:18 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2770