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

Don't delete RandR outputs and CRT controllers #283

Conversation

matt335672
Copy link
Member

Draft for now until work resumes on devel.

This change doesn't delete outputs or CRT controllers when the screen configuration changes. Instead, the outputs are disconnected.

This emulates the behaviour of other virtual X servers (e.e. tigervnc) and prevents X applications from encountering BadRROutput or BadRRCtrc errors.

The following command can now be used to monitor RandR events generated by xorgxrdp. Previously it could fail with BadRROutput when reconnecting from a client with fewer screens.

xev -root -event randr [-display :xx]

This change doesn't delete outputs or CRT controllers when the
screen configuration changes. Instead, the outputs are disconnected.

This emulates the behaviour of other virtual X servers (e.e. tigervnc)
and prevents X applications from encountering BadRROutput or
BadRRCtrc errors.
@metalefty
Copy link
Member

Is this related to neutrinolabs/xrdp#2938?

@matt335672
Copy link
Member Author

I don't think it will be. It's more related to resize-on-reconnect.

@metalefty metalefty deleted the branch neutrinolabs:gfx_mainline_merge_work February 8, 2024 13:11
@metalefty metalefty closed this Feb 8, 2024
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

Successfully merging this pull request may close these issues.

2 participants