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

Optimize native platform detection #3691

Open
gizmo98 opened this issue Mar 21, 2023 · 0 comments
Open

Optimize native platform detection #3691

gizmo98 opened this issue Mar 21, 2023 · 0 comments

Comments

@gizmo98
Copy link
Member

gizmo98 commented Mar 21, 2023

If Retropie-Setup cannot determine the current system platform if falls back to platform „native“. This happens if you run x86 or unknown arm platforms. Platform native adds platform flags „gl“ and „vulkan“. It adds „x11“ unless you have added „force_kms=1“ in configs/retropie.cfg. This isn‘t intuitive and it is error prone. Arm platforms may have better gles support. You should not build for platform kms if you run a desktop, because kms only modules will not work. You should also not build for platform x11 if your system is running a bare metal console login with multi-user.target like RetroPie rpi images, because there is no X environment running.

Intention of this enhancement:

  • determine and set the best platform flags for unknown targets at startup
  • take care Retropie will really run with the current environment
  • make it easier to get the bare metal experience of Retropie running on a raspberry pi for other platforms without tinkering around in ini files
  • use the same kms modules as a raspberry pi with other platforms. Makes it easier to test and maintain kms modules without a pi.

Draft:
#3686

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

No branches or pull requests

1 participant