Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,5 @@ if command -v lspci >/dev/null 2>&1 &&
export ODSOD_HAS_RADEON_DGPU=1
fi

# kwin — amdgpu advertises DRM_FORMAT_RGBA8888 in rgb_formats[] and
# overlay_formats[], but fill_plane_buffer_attributes() has no case for it, so
# the atomic commit fails with "Unsupported screen format RA24" and KWin
# retries until the desktop wedges. Forcing overlays on keeps KWin on the
# primary plane. KWin parses these as "value == 1", so 0 is not false, it is
# unset; the greeter's own unit sets 0 for that reason. Direct scanout stays
# enabled on purpose: it is what lets fullscreen video and games bypass the
# compositor, and the overlay path above already covers this bug.
# Gated on the Radeon dGPU so laptops and Intel-only machines are untouched.
# Drop this when upstream adds the missing case.
if [ "$XDG_CURRENT_DESKTOP" = "KDE" ] && [ "${ODSOD_HAS_RADEON_DGPU:-0}" = "1" ]; then
export KWIN_USE_OVERLAYS=1
fi

# machine
export PATH="$HOME/.local/share/mise/shims:$HOME/.local/bin:$PATH"
13 changes: 0 additions & 13 deletions kwin/plasma-login-kwin-amdgpu.conf

This file was deleted.

42 changes: 0 additions & 42 deletions kwin/setup-greeter-dropin.sh

This file was deleted.

140 changes: 0 additions & 140 deletions kwin/verify-amdgpu-ra24.sh

This file was deleted.

6 changes: 1 addition & 5 deletions mise/conf.d/kwin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@

[tasks."kwin:install"]
description = "Install KWin script package and configure"
depends = ["kwin:install-package", "kwin:enable-plugin", "kwin:configure", "kwin:greeter-dropin"]
depends = ["kwin:install-package", "kwin:enable-plugin", "kwin:configure"]
run = "echo '[kwin] Done'"

[tasks."kwin:greeter-dropin"]
description = "Install greeter KWin RA24 workaround on Radeon dGPU machines only"
run = 'exec "$REPO_DIR/kwin/setup-greeter-dropin.sh"'

[tasks."kwin:install-package"]
description = "Install Plasma KWin script package"
run = """
Expand Down
Loading