Skip to content

Commit

Permalink
kms: skip simple-framebuffer devices (#3721)
Browse files Browse the repository at this point in the history
They should never be there in the first place.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2084046
#3710

Closes #3710
  • Loading branch information
AlanGriffiths authored Jan 16, 2025
2 parents 00c46aa + f9e2efd commit 835f5fb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/platforms/atomic-kms/server/kms/quirks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,12 @@ class mga::Quirks::Impl
*
* At least as of drivers ≤ version 550, the NVIDIA atomic implementation is buggy in a way that prevents
* Mir from working. Quirk off atomic-kms on NVIDIA.
*
* Simple-framebuffer should be evicted before Mir even gets there.
* https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2084046
* https://github.com/canonical/mir/issues/3710
*/
std::unordered_set<std::string> drivers_to_skip = { "nvidia", "ast" };
std::unordered_set<std::string> drivers_to_skip = { "nvidia", "ast", "simple-framebuffer"};
std::unordered_set<std::string> devnodes_to_skip;
// We know this is currently useful for virtio_gpu, vc4-drm and v3d
std::unordered_set<std::string> skip_modesetting_support = { "virtio_gpu", "vc4-drm", "v3d" };
Expand Down
6 changes: 5 additions & 1 deletion src/platforms/gbm-kms/server/kms/quirks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,12 @@ class mgg::Quirks::Impl
*
* At least as of drivers ≤ version 550, the NVIDIA gbm implementation is buggy in a way that prevents
* Mir from working. Quirk off gbm-kms on NVIDIA.
*
* Simple-framebuffer should be evicted before Mir even gets there.
* https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2084046
* https://github.com/canonical/mir/issues/3710
*/
std::unordered_set<std::string> drivers_to_skip = { "nvidia", "ast" };
std::unordered_set<std::string> drivers_to_skip = { "nvidia", "ast", "simple-framebuffer"};
std::unordered_set<std::string> devnodes_to_skip;
// We know this is currently useful for virtio_gpu, vc4-drm and v3d
std::unordered_set<std::string> skip_modesetting_support = { "virtio_gpu", "vc4-drm", "v3d" };
Expand Down

0 comments on commit 835f5fb

Please sign in to comment.