<div dir="ltr">Interesting. Im connecting to a Win10 from a Win10 machine. GLView tell me that OpenGL1.1 is available, which is the reason behind my problems.<div>But I wonder how you manage to get it to work...</div><div>I have Nvidia cards on both ends (not the same card though).</div><div><br><div><br></div><div><div><img src="cid:ii_k4bcouwe0" alt="image.png" width="563" height="442"><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 17, 2019 at 4:49 PM Andrew Cunningham <<a href="mailto:osg-users@a-cunningham.com">osg-users@a-cunningham.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div>I connect using Microsoft RDP from Windows 10 to Windows 10 and from Mac OS X 10.15 to Windows 10 and I can verify that my shaders work fine using OSG 3.6.4 when running my application over RDP.</div><div>The Windows 10 machine I am connecting to is using an nVidia graphics card and as far as OSG is concerned it sees OpenGL as if I was running "locally"</div><div><br></div><div>However, if you are connecting to a Windows 7 machine ( even if it has the same nVidia card), however, it all falls apart. Using RDP OSG only sees the default MS Windows OpenGL, v1.1... thus shaders won't work and OSG 3.6.4 is non-functional.</div><div><br></div><div>Andrew </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 17, 2019 at 6:30 AM Anders Backman <<a href="mailto:andersb@cs.umu.se" target="_blank">andersb@cs.umu.se</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi all.</div><div>Using OSG 3.6.4, Windows 10.</div><div><br></div><div>Not sure what the current state of the world regarding Remote Desktop and OpenGL is.</div><div>Perhaps someone can share some light onto this.</div><div><br></div><div>If I run an application that use shaders over remote desktop from one windows machine to another I get:</div><div><br></div><div>c:\build\VS2017\x64\osg\bin>osgsimpleshaders.exe<br>Windows Error #127: [Screen #0] ChooseMatchingPixelFormat() - wglChoosePixelFormatARB extension not found, trying GDI. Reason: The specified procedure could not be found.<br><br>Rendering in software: pixelFormatIndex 3<br>Warning: detected OpenGL error 'invalid enumerant' at Before Renderer::compile<br></div><div><br></div><div>> crash.</div><div><br></div><div>This does not happen when using fixed functionality only, for example running osgviewer with some standard obj-model works just fine.</div><div>However, as soon as a shader is requested, OSG crashes:</div><div><br></div><div>_glShaderHandle = _extensions->glCreateShader( shader->getType() );<br></div><div><br></div>  Exception thrown at 0x0000000000000000 in agxViewer.exe: 0xC0000005: Access violation executing location 0x0000000000000000.<br clear="all"><div></div><div><br></div><div><br></div><div>  0000000000000000()  Unknown<br>>   osg160-osg.dll!osg::Shader::PerContextShader::PerContextShader(const osg::Shader * shader, unsigned int contextID) Line 533     C++<br>  osg160-osg.dll!osg::Shader::ShaderObjects::createPerContextShader(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & defineStr) Line 426        C++<br>  osg160-osg.dll!osg::Shader::getPCS(osg::State & state) Line 470     C++<br></div><div><br></div>Anyone with more info on this?<div>Is there any way around this?<br clear="all"><div><br></div>-- <br><div dir="ltr">__________________________________________<br>Anders Backman, HPC2N<br>90187 Umeå University, Sweden<br><a href="mailto:anders@cs.umu.se" target="_blank">anders@cs.umu.se</a> <a href="http://www.hpc2n.umu.se" target="_blank">http://www.hpc2n.umu.se</a><br>Cell: +46-70-392 64 67</div></div></div>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">__________________________________________<br>Anders Backman, HPC2N<br>90187 Umeå University, Sweden<br><a href="mailto:anders@cs.umu.se" target="_blank">anders@cs.umu.se</a> <a href="http://www.hpc2n.umu.se" target="_blank">http://www.hpc2n.umu.se</a><br>Cell: +46-70-392 64 67</div>