On 23-11-2012 18:08, Jim Klimov wrote:
On 2012-11-23 17:34, Roland Sassen wrote:
Solaris 10 SRS 5.3 Kiosk mode Windows 2012,
when a user logs in on the server and start an application which uses
hardware accelerated OpenGL this works fine,
the server has a graphics card,
when logging in as the same user on a Sun Ray 2 the session is still
there and works fine, but when logging in
as a different user the session does not use the hardware accelerated
OpenGL driver and the application does not work.
Is there a workaround?

So, you first log on to console of the server with a user's
account and start an accelerated app, then switch this user
to Sunray session and the app remains working. If you use
the app from a user who is initially logged in from a sunray,
the app does not work. Did I get you right?
Yes I log  on to the gui of the Windows server

I was not aware that OpenGL can be used remotely at all! :)
you can also use OpenGL remote with Virtual GL with or without the
old sun ray plugin


But I can speculate about possible problem causes:

1) does the problem happen when there are two user sessions
connected to the server and trying to use OpenGL acceleration?

If yes, does this work for a user who accesses the server only
remotely (via SunRay) while there is no other app user?

This may be some locking issue, i.e. the OpenGL driver being
only accessible to one application - which would be reasonable
for a single-user videocard approach.

No, I can have more sessions of the application running at the same time



2) can you query or set some environment variables which let
the application decide whether it's accessed over RDP or local
video? Can the app be forced to use opengl regardless of what
it thinks it detects as available?

I set the new Windows 2012 registry entry:

*Remote Session Environment - Use the hardware default graphics adapter for all Remote Desktop Services sessions*

This policy setting enables system administrators to change the graphics rendering for all Remote Desktop Services sessions on a Remote Desktop Session Host (RD Session Host) server.

If you enable this policy setting, all Remote Desktop Services sessions on the RD Session Host server use the hardware graphics renderer instead of the Microsoft Basic Render Driver as the default adapter.

If you disable or do not configure this policy setting, all Remote Desktop Services sessions on the RD Session Host server use the Microsoft Basic Render Driver as the default adapter.

NOTE: The policy setting affects only the default graphics processing unit (GPU) on a computer with more than one GPU installed. All additional GPUs are considered secondary adapters and used as hardware renderers. The GPU configuration of the local session is not affected by this policy setting.


but this seems not to work (yet) or I do not understand it. I even put a secondary adapter in.

Also having my running ap on the sun ray I can "steel" it by making an RDP connection on aanother computer, to the server with the same user name, but when I make a fresh RDP connection to the server with a not-active user from this computer, the app does not work and shows that the accelerated opengl driver is not used.

Roland

Perhaps this is a configuration issue.



3) Can you access the server remotely on the console with the
needed user - using IPMI, DameWare, maybe RDP on line 0 (console),
start the OpenGL app, and then switch over into SunRay session
via "remote" RDP?

Sorry if I didn't come up with any helpful ideas...
//Jim

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users



-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2221 / Virus Database: 2629/5414 - Release Date: 11/23/12



_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to