FS#41422 - [tigervnc] 1.3.1-3 completly server broken
Attached to Project:
Community Packages
Opened by Tobias Powalowski (tpowa) - Friday, 01 August 2014, 09:00 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 05 August 2014, 15:38 GMT
Opened by Tobias Powalowski (tpowa) - Friday, 01 August 2014, 09:00 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 05 August 2014, 15:38 GMT
|
Details
Description:
1.3.1-3 is completly broken as server with hangs and unresponsiveness. 1.3.1-2 does not suffer from this problem. |
This task depends upon
Everything involving a large screen content update hangs the image client side.
More info: https://bbs.archlinux.org/viewtopic.php?id=185057
There are two differences between -2 and -3: the latter is compiled against xorg-server 1.16 instead of 1.15 and has dri3 and present extensions enabled. dri3 was disabled in the Intel driver because some people had issues (not me though), maybe it causes issues for Xvnc too. So that's the first thing I'd try, compile -3 with dri3 disabled. Another thing to try is tigervnc-git from AUR.
Oh, another thing I just thought of: I don't have any Qt apps installed, I tested with GTK2 apps (specifically Geany and Firefox), maybe that has something to do with it too.
Git version also doesn't work. Disabled dri3 and present options. No change so it's messed up and unusable.
Staying with 1.3.1-2 for now.
As I have also noted in [1], if I tunnel the vnc connection over ssh, things seems to work just fine (both with -3 and -4), I have no clue why. When tunneling the vnc connection over ssh this is what I do (I have my ssh public key in the server, so there are no ssh password prompts):
ssh -f -L localport:localhost:serverport [username@]serverip sleep 10 && vncviewer localhost:localport
[1] https://bbs.archlinux.org/viewtopic.php?pid=1442474#p1442474
So, going back to building Tigervnc against xorg-server-1.15 is in order? But that means the libvnc.so X module won't work. I guess more people use Xvnc than the X module, so a working Xvnc has higher priority. What I don't get though, how can a ssh tunnel magically fix things??
If I try connecting over lan directly from my laptop (client) to a desktop machine (server) things hang, if instead I connect to a raspberry pi(1) I have in the same lan it is harder to trigger the hang and I can close the window normally (the raspberry is quite ram/cpu speed limited so things tend to take a while to get done). If I connect over ssh or vpn to the raspberry things seem to work smoothly.
(1) Using arch linux arm, same tigervnc version as x86 arch.
Sergej, create a new build using the new xserver116.patch, and you can enable dri3 again.