Looking at the source I can not explain this failure nor can I replicate it here, would you be willing to let me remote debug the client on your system?
If so I will provide you with a public SSH key to authorize for access.
Edit: Would you also mind opening a github issue for this so that I can track it in Trello?.
Edit2: I think I found it, glGetUniformLocation was being called from a different thread to the OpenGL main context. This should be fixed now.
A series of changes were just committed to the repository that both clean up the code base and improve things. One commit in particular might have a large impact on the general smoothness of the video feed.
Previously the render thread was calculating a sleep delay to cap the frame rate. I have changed this to use the high resolution system timer to schedule an absolute wakeup time. This has two benefits:
If we stutter and get behind, the render thread wont sleep and will catch up.
The delay is more accurate allowing better frame sync.
I have also been able to gauge the performance impact of rendering the FPS display. I already knew that this was being done sub-optimal but now I have imperial data to prove that the FPS display causes micro stutter issues. I have added a warning to the output let people know about the issue.
This will not be fixed in A11, but it is queued up for the B2 release as the fix involves adding the code to generate and render fonts using a texture atlas.
Just woke up, I will check this when I can and report back. If it doesn’t work for some reason we can figure out a remote ssh. Thanks for the hard work.
I don’t think you need to worry about the issue anymore, your fix worked (=
Performance wise I can confirm what I saw a month ago: CPU utilization with EGL (even with 144fps @ 2560x1440) is minimal. GPU utilization is also better. Amazing work!
Thanks, super glad to hear it, after the last few days it’s nice to get some good news!
Our trip to see our new nephew was a nightmare, had a postal worker on a push bike smash our car because “we ticked him off” by looking for a park, the idiot then rode off without providing any ID. Lost the entire day waiting for the police and dealing with them, thankfully they found the guy and charged him.
Then got home and shortly after we arrived home a lightning storm hit and a strike that was very close to us took out my managed switch, vdsl modem, UPS and gateway… sigh, one of those days.
Anyway, finally back and online, managed to cobble together some junk to get things running again in the meantime.
Hey, just wanted to stop by and say thanks for the excellent work! I’ve been out of the game for a bit, but I’ve just downloaded and checked out A12 and it’s working pretty well from what I can see.
I’ve been using the adobe creative suite in a VM flawlessly since ancient version and it makes me so happy to be able to do that. Now we just need seamless window capture and we’ll be all set lololololol
Hello ! I have a small problem with the Alpha 12 of the looking glass client. The Alpha 11 from the Arch repository works perfectly, but the A12 I built myself from source tells me this when I try to start it :
[I] main.c:757 | run | Looking Glass ()
[I] main.c:758 | run | Locking Method: Atomic
[I] main.c:751 | try_renderer | Using Renderer: EGL
[I] main.c:824 | run | Using: EGL
[E] main.c:852 | run | Could not create an SDL window: Couldn't find matching GLX visual
I also tried to build the A11 from source just in case, it is working.
I tried the OpenGL renderer, the problem was the same.
Do you think you could help me ?
My config :
I7 9700K
Host GPU : HD 630
Passthrough GPU : 2080 TI
Motherboard : Z390 phantom gaming ITX/AC
This is not an OpenGL or EGL renderer issue, there is something wrong with your system. It’s failing on SDL_CreateWindow, this is likely caused by a compositor or some other issue.
Please try launching the client with export SDL_VIDEO_X11_VISUALID=, this will cause SDL to use a different visual id detection method. If this doesn’t work you may need to research why SDL can’t create a OpenGL window on your configuration.
Great ! It worked ! Is there something I can do to troubleshoot the problem, or can i use this command on my system startup and simply use looking-glass that way ?