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

Disable some auto-add hardware features #241

Merged
merged 1 commit into from
Nov 16, 2022

Conversation

matt335672
Copy link
Member

Addresses neutrinolabs/xrdp#2379 and neutrinolabs/xrdp#2253.

On some systems, GPUs are auto-loaded. These can be incompatible with the xorgxrdp module.

These keywords are not used by us yet, so I've done a quick analysis of contemporary systems. The reason is that these can cause errors on systems which don't expect them.

The AutoAddGPU keyword was introduced for xorg 1.13.0. This is no longer used by any contemporary systems.

The GPUDevice keyword was introduced for xorg 1.18.0. This is still used by Ubuntu 16.04 which is technically still supported if you have an ESM contract with Canonical.

Our other long-term enterprise system, RHEL 7, uses Xorg 1.20.

I'm marking this draft for now, as I want to test on Ubuntu 16 and CentOS 7.

@akarl10 - do you have any comments on this PR? I'm pretty sure it's what we've discussed recently.

On some systems, GPUs are auto-loaded. These can be incompatible
with the xorgxrdp module.
@akarl10
Copy link
Contributor

akarl10 commented Nov 4, 2022

Putting the comment about < Xorg 1.18.0 is a good idea 👍
I think being configuration compatible with ancient systems is good, but the user who compiles xrdp on such a old system is probably able to read the comment in xorg.conf. If someone makes packages for this old release it imho it is the responsability of that one to deliver a valid configuration

@matt335672 matt335672 marked this pull request as ready for review November 14, 2022 19:14
@matt335672
Copy link
Member Author

I've tested this with Ubuntu 16.04 LTS and CentOS 7 now, so I've removed the draft status.

Have I missed anything?

@metalefty
Copy link
Member

+1

@matt335672 matt335672 merged commit 2b97820 into neutrinolabs:devel Nov 16, 2022
@matt335672 matt335672 deleted the disable_auto_gpu branch November 16, 2022 09:31
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.

3 participants