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

Linux - Nvidia specific detection and fixes #5276

Closed
wants to merge 2 commits into from

Conversation

jamincollins
Copy link
Contributor

Description

Without these changes, Linux users with a discrete Nvidia GPU can not see the Home or Project tabs.

In fact attempting to access either of them results in increased CPU utilization and the following output over and over to the console in a loop:

AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer

With these changes, Orca Slicer can reliably detect which GPU it is being run on and set the appropriate environment variables as needed.

Tests

Built and tested on Arch Linux on systems with:

  • AMD graphics
  • Intel and Nvidia running in Optimus (aka hybrid mode)
  • Intel and Nvidia running in discrete mode

In each case the appropriate system was detected and the appropriate settings set.

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
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.

None yet

1 participant