Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

OpenGL issue on Remote Desktop

1,131 views
Skip to first unread message

shkumar

unread,
Jun 10, 2011, 7:38:18 PM6/10/11
to
I am using OpenGL 1.1 for rendering. On local machine it works fine
but when I remote desktop I see a couple of issue -
1. initially the drawing window is black and blank , i have resize it
a little bit to render something on it.
2. sometimes surfaces show through each other, or surface further from
the camera drawl shows up but not the surface which is close to camera
at the same X,Y value. It seems depth test is failing.
I get the same effect when I turn off hardware acceleration of the
monitor.
I understand that windows turns off hardware acceleration on remote
desktops. Is there a work around for this ?
Why does turning off hardware acceleration messes up the depth test
and repainting of window.

jbwest

unread,
Jun 12, 2011, 9:27:28 PM6/12/11
to

"shkumar" <shku...@gmail.com> wrote in message
news:4cdc9d33-45a3-485c...@d19g2000prh.googlegroups.com...


You can't use rdesktop and get acceleration, no easy way around it. Is the
remote device capable of harware 3d? If so, see VirtalGL on sourceforge.

Why does Microsoft software OpenGL fail? Well, lots of reasons, starting
with "Microsoft" and "OpenGL" in the same sentence. But in your case your
"near" clip plane is probably too small. I'll bet that you have 99% of your
scene crammed in the last few bits of the z-buffer.

jbw


fungus

unread,
Jun 13, 2011, 8:45:06 AM6/13/11
to
On Jun 11, 1:38 am, shkumar <shkuma...@gmail.com> wrote:
> I am using OpenGL 1.1 for rendering. On local machine it works fine
> but when I remote desktop I see a couple of issue -
> 1. initially the drawing window is black and blank , i have resize it
> a little bit to render something on it.

That's a bug in whatever program you're running,

> 2. sometimes surfaces show through each other, or surface further from
> the camera drawl shows up but not the surface which is close to camera
> at the same X,Y value. It seems depth test is failing.

There may be less depth buffer resolution. You
need to set your near/far clip planes better.

> I get the same effect when I turn off hardware acceleration of the
> monitor.

That's because you'll be using the exact same
renderer - Microsoft software OpenGL.

> I understand that windows turns off hardware acceleration on remote
> desktops. Is there a work around for this ?

Use a different remote desktop, eg. UltraVNC.

You'll also save money on Windows licensing by not
having to buy the "Professional" version just to get
remote desktop access.

0 new messages