|
|
> Though this may not matter, as I thought the xrdp implementation > mostly ignored the GPU anyway? > That may no longer be the case, of course...
I set the GPU to enable OpenGL <-> CUDA interop which I need for my actual application, so I thought I'd include the same settings here to not misreport anything. I also just ran the example without the
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia environment variables, and it does appear to work properly in that case (both maximizing and double/single buffering). The issue is that the renderer reported by the example changes to "GL_VERSION=4.5 (Core Profile) Mesa 21.2.6" (with those environment variables set it's "GL_VERSION=4.6.0 NVIDIA 525.60.13"), and that means I can't use OpenGL <-> CUDA interop later on (so this mode doesn't work for me).
> If you log in locally, it works "normally" in both single-buffered and > double-buffered modes? Or only in one of the modes?Logging in "normally" (i.e. no RDP), both buffering modes work normally, yes.
> What mode is your xrdp running in? Is it xorgxrdp mode or is it > VNC-forwarding mode? The session type is set to Xorg (I quickly tried to change it to Xvnc, but I couldn't manage to log in)
So, as a quick summary: The failure only happens if I log in via RDP (xrdp/Xorg), and only if I force it to use the Nvidia GPU using "
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia". In that case, single-buffering doesn't work at all, and double-buffering doesn't redraw properly when maximizing the window. In all other cases, both buffering modes and maximizing work as expected as far as I can tell.
On Monday, January 30, 2023 at 6:36:53 PM UTC+1 Ian MacArthur wrote:
On Mon, 30 Jan 2023 at 17:15, lukas... wrote:
>
> The output of inxi -SG (with the appropriate environment variables to select the desired GPU)
> __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia inxi -SG
Though this may not matter, as I thought the xrdp implementation
mostly ignored the GPU anyway?
That may no longer be the case, of course...
> The system is accessed through Remote Desktop, with the Ubuntu machine running xrdp. If I login locally, it does appear to be working as expected.
OK - RDP, this may be important.
If you log in locally, it works "normally" in both single-buffered and
double-buffered modes? Or only in one of the modes?
But via RDP it always fails?
What mode is your xrdp running in? Is it xorgxrdp mode or is it
VNC-forwarding mode?
TBH, I'm not a huge fan of RDP, even between Windows machines, as I've
had it do weird stuff to me on many occasions.
For remoting to a Linux box I always prefer X11 "natively" (there are
adequate Windows-hosted X11-servers now, or WSL2 can do it) or VNC,
because they bite me less often.
But none of them Just Work all the time...
(between Windows boxes, VNC usually works...)
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/8038f109-5334-4b11-9a4b-f57cc73b70bdn%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |