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

GLError (invalid operation) in phy when running via RDP on Windows Server 2019 #1328

Open
MtKana opened this issue Feb 8, 2025 · 0 comments

Comments

@MtKana
Copy link

MtKana commented Feb 8, 2025

Description

I am encountering a GLError (invalid operation) when running phy (installed via Conda) on Windows Server 2019 through RDP. The error occurs during OpenGL operations such as glClearColor, and I suspect it may be related to the remote desktop environment.

The error message I receive is:

An error has been encountered at line 1 of <internal MIME data>: Premature end of document.

Steps to Reproduce
1. Connect to Windows Server 2019 using Remote Desktop (RDP).
2. Install phy via Conda.
3. Launch phy.
4. The error occurs during execution.

What I’ve tried

Since my issue closely resembles #1018 #737 #945, I have attempted the suggested solutions there, including:
• Installing GLView (tested both version 4.x and 7.x) to verify OpenGL support.
• Modifying the RDP graphics configuration as per the recommended settings.

Unfortunately, the issue persists.

Debug log output

Running phy in –debug mode provides the following log:

04:25:53.852 [D] base:675             Exception in initializeGL: GLError(
        err = 1282,
        description = b'invalid operation',
        baseOperation = glClearColor,
        cArguments = (0, 0, 0, 0)
)
04:25:53.852 [D] base:702             Exception in paintGL: GLError(
        err = 1282,
        description = b'invalid operation',
        baseOperation = glClearColor,
        cArguments = (0, 0, 0, 10)
)
QMimeDatabase: Error loading internal MIME data
An error has been encountered at line 1 of <internal MIME data>: Premature end of document.
04:25:54.135 [D] supervisor:817       Clusters selected: [73] (72)
04:25:54.484 [D] base:702             Exception in paintGL: GLError(
        err = 1282,
        description = b'invalid operation',
        baseOperation = glClearColor,
        cArguments = (0, 0, 0, 10)
)

Questions
1. Is there any additional software or dependencies I need to install to resolve this issue?
2. Could this be related to OpenGL rendering over RDP?
• If so, is there a way to force phy to use a software OpenGL implementation (like Mesa)?
3. Are there specific environment variables I should set for OpenGL compatibility in this setup?

Any insights or suggestions would be greatly appreciated!

@MtKana MtKana changed the title GLError (invalid operation) in phy When Running via RDP on Windows Server 2019 GLError (invalid operation) in phy when running via RDP on Windows Server 2019 Feb 8, 2025
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

1 participant