-
-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video dead loop (server side issue) #58
Comments
Hi! Can you provide the exact versions of Xorg, GNOME and (maybe) Wayland? Can you also pls try https://www.reddit.com/r/archlinux/comments/4lro2k/how_do_i_make_sure_im_actually_running_wayland/ |
Hi, Just in case checked the things as per reddit.com article, it is pure Xorg install there, on the target machine (wayland is disabled).
Also I have a few similar installs [where x11vnc is working just fine, with no issues at all] with the exception that they all are using built in intel HD graphics, while this one has a separate GPU. As I think, it uses some shared system memory, at least I cannot see any dedicated memory chips around the GPU. Can it be the issue origin? Say, graphics driver reports some memory address, then somehow switches the memory region while x11vnc still continues to use older value? Just an idea, maybe stupid, but who knows... Or it can be some kind of open GL issue... Thanks ) |
Hi, I made one more test. Used gnome default vino vnc server. This piece of software is somehow working, screen is flickering (in vnc viewer), but I can see changes, at least. Current vino-server version is
However, if I run x11vnc (vino server is off at that time), kill it and restart vino-server, then it falls in the same endless loop of showing the same two (or three) pictures in the same endless loop, as x11vnc does. Hope this information could help. Also when dragging windows (both machines are staying nearby, for the visual feedback), sometimes I am able to see moving window's thin frame in the client. Not sure however if is it handled on server or client side. Could it be client issue (eg. wrong timestamping or such)? I use remmina, but can try other client, if needed. |
an update. Finally I was able to run vanilla x11vnc by adding X11 configuration particle
It also fixed vino behaviour, it was working not very good too, but at least it was working (it was inserting the same initial frame every a second or so, but it also was showing actual changes) Thus likely default "SNA" acceleration method ( Not sure if we need to post bug report to intel driver team too or it is issue of x11vnc. |
You can also try to set back to SNA and play with the multitude of x11vnc settings regarding XComposite, snapfb and the others I can't remember. |
@djfd hace you tried running with x.org's |
Hmm, good question I simply do not remember. But I will try. Right now that machine is in use, but I will try when it will be freed. |
Well, checked the configuration. Right now there is kernel parameter i915.modeset=1 and Section "Device"
Identifier "Mobile GM965/GL960 Integrated Graphics Controller"
Driver "intel"
# Option "AccelMethod" "UXA"
Option "AccelMethod" "SNA"
Option "DRI" "2"
EndSection Xorg modesetting was not tried yet. Do you still need that I tried it? |
Yes please, see https://jlk.fjfi.cvut.cz/arch/manpages/man/modesetting.4 |
Affected versions: all x64 from there
Environment:
ArchLinux x64, gnome, xorg, gdm, mutter, all up to date
Hardware:
Basically, all vnc sessions (I have tried all possible server parameters, just FYI) behave as follows:
when server is started it takes a screen snapshot, after a few time, when client connects, it takes another snapshot, and it is all, nothing more happens. Server renders these two snapshots to a client in endless loop.
To check this I made simple debugging patch (hashing snap buffer, to see if it actually changes):
After long enough run I filtered the results
That shows the server actually serves only 2 pictures to a client. Then I killed vnc server and after a few time (a few minutes or so) run it again, that gives one more md5 checksum, keeping first three ones intact (this is very strange, looks as there is something cached somewhere, it is not expected to get the same initial screen on sub-sequential server run)
Server is run with
sudo -u "#$uid" x11vnc -display "$dpy" -localhost -nopw -auth "$auth_file" -snapfb
for the testBut, any other parameters combinations on vanilla x11vnc give the same endless loop.
Mouse and keyboard events do work fine. I can open apps, type commands etc, having both machines staying near by.
Another interesting thing, when there is screen lock curtain on the target machine, clicking mouse button in vnc client shows desktop, while on the target there is still curtain on the screen, need to slide mouse up to remove it.
Also tried with locking disabled, nothing changes, the same two pictures endlessly.
I have a logs, have a video showing the issue. Please let me know what else information, testing can I feed to help debugging and fixing issue.
The text was updated successfully, but these errors were encountered: