| Summary: | Can't run kwin plasma mobile with nvidia (Sub wayland session for dev) | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Florian RICHER <florian.richer> |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | florian.richer |
| Priority: | NOR | Flags: | florian.richer:
Wayland+
florian.richer: NVIDIA+ |
| Version First Reported In: | 6.0.3 | ||
| Target Milestone: | --- | ||
| Platform: | NixOS | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/ac7c6a315ebfc5cae4a730630d9e935f4156e06a | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: |
Log during command run
drm_info command result wayland-info command result More information with zagg about this bug |
||
|
Description
Florian RICHER
2024-04-13 17:58:32 UTC
src/gbm\_drv\_common.c:130: GBM-DRV error (get\_bytes\_per\_component): Unknown or not supported format: 808669784 src/gbm\_drv\_common.c:130: GBM-DRV error (get\_bytes\_per\_component): Unknown or not supported format: 808669784 808669784 => DRM_FORMAT_XRGB2101010 (In reply to Florian RICHER from comment #1) > src/gbm\_drv\_common.c:130: GBM-DRV error (get\_bytes\_per\_component): > Unknown or not supported format: 808669784 > src/gbm\_drv\_common.c:130: GBM-DRV error (get\_bytes\_per\_component): > Unknown or not supported format: 808669784 > > 808669784 => DRM_FORMAT_XRGB2101010 Just a note from previous debug with zagg (In reply to Florian RICHER from comment #2) > (In reply to Florian RICHER from comment #1) > > src/gbm\_drv\_common.c:130: GBM-DRV error (get\_bytes\_per\_component): > > Unknown or not supported format: 808669784 > > src/gbm\_drv\_common.c:130: GBM-DRV error (get\_bytes\_per\_component): > > Unknown or not supported format: 808669784 > > > > 808669784 => DRM_FORMAT_XRGB2101010 > > Just a note from previous debug with zagg https://matrix.to/#/!xdwRmYgjAuZSEhsheE:kde.org/$LZQdcr_ikww_hzelMka_EvSCiLbVheVQW__WfCZFXAw Created attachment 168471 [details]
drm_info command result
Created attachment 168472 [details]
wayland-info command result
Created attachment 168473 [details]
More information with zagg about this bug
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5741 Git commit 9af15a979dc6d5136506c50321ab806cb252f624 by Vlad Zahorodnii. Committed on 16/05/2024 at 12:44. Pushed by vladz into branch 'master'. backends/wayland: Check whether it's possible to create a swapchain with the given format+modifier M +6 -10 src/backends/wayland/wayland_egl_backend.cpp https://invent.kde.org/plasma/kwin/-/commit/9af15a979dc6d5136506c50321ab806cb252f624 Git commit ac7c6a315ebfc5cae4a730630d9e935f4156e06a by Vlad Zahorodnii. Committed on 16/05/2024 at 12:59. Pushed by vladz into branch 'Plasma/6.0'. backends/wayland: Check whether it's possible to create a swapchain with the given format+modifier (cherry picked from commit 9af15a979dc6d5136506c50321ab806cb252f624) M +6 -10 src/backends/wayland/wayland_egl_backend.cpp https://invent.kde.org/plasma/kwin/-/commit/ac7c6a315ebfc5cae4a730630d9e935f4156e06a I confirm, it's fixed in my side with the patch Tested with
{
description = "Kwin Test";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachSystem flake-utils.lib.allSystems (system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [
(self: super: {
kdePackages = super.kdePackages.overrideScope (kde-self: kde-super: rec {
kwin = kde-super.kwin.overrideAttrs (oldAttrs: rec {
patches = oldAttrs.patches ++ [
./5741.patch
];
});
});
})
];
};
in
{
devShells = rec {
default = pkgs.mkShell {
buildInputs = with pkgs; [
kdePackages.kwin
];
};
};
});
}
Nixpkgs rev b3fcfcfabd01b947a1e4f36622bbffa3985bdac6 |