Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenGL stops working when RDP disconnects #201

Open
KeinNiemand opened this issue Oct 17, 2024 · 3 comments
Open

OpenGL stops working when RDP disconnects #201

KeinNiemand opened this issue Oct 17, 2024 · 3 comments

Comments

@KeinNiemand
Copy link

An application that runs on a headless VM needs OpenGL to run. Installing Mesa using the system-wide deployment got the application to work, however it stops working as soon as I disconnect the RDP session.

@RobPasMue
Copy link

RobPasMue commented Dec 2, 2024

Experiencing similar issues on my end...

Had an Azure VM, windows based, to which I connect using RDP. After installing Mesa3D from the releases in this repository, RDP stopped working. Had to revert to my old opengl32.dll and run sfc /scannow to remove all corrupted files... this allowed me to re-enable RDP.

How can we get this Mesa3D distribution to work with Windows RDP?

@pal1000
Copy link
Owner

pal1000 commented Dec 5, 2024

You probably need to register Mesa3D OpenGL ICD to Microsoft Remote Display Adapter. Unfortunately I don't know the howto or even if it's doable in the first place.

@KeinNiemand
Copy link
Author

Experiencing similar issues on my end...

Had an Azure VM, windows based, to which I connect using RDP. After installing Mesa3D from the releases in this repository, RDP stopped working. Had to revert to my old opengl32.dll and run sfc /scannow to remove all corrupted files... this allowed me to re-enable RDP.

How can we get this Mesa3D distribution to work with Windows RDP?

This sounds like a diffrent issue, RDP is still working for me, my problem is that OpgenGL stops working as soon as the RDP session goes inactive (when it's disconnected or minimized).
The workaround that worked for my problem is to move my application to the console session with this command
for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do (tscon.exe %%s /dest:console)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants