Commit graph

2 commits

Author SHA1 Message Date
05aaf04c27 v4.1 rewrite: pin ROCm 7.1.1, fix hybrid-GPU DRI_PRIME flip, glib-family swap
Total rewrite of the installer mirroring the proven NVIDIA-Open install path,
with two new root-cause fixes for AMD on hybrid systems.

Installer (v3.0 -> v4.1):
- Pin ROCm 7.1.1 from Arch Linux Archive as the OpenCL provider; current
  7.2.x is broken with DaVinci Resolve (clCreateContext fails / Color page
  hangs on every AMD card). Adds IgnorePkg to /etc/pacman.conf and aborts
  if pacman -U partial-downgrades.
- DRI_PRIME explicit PCI-tag pin in launcher (DRI_PRIME=pci-0000_BB_DD_F)
  instead of DRI_PRIME=1, which on Intel+AMD hybrids flips OpenGL to the
  iGPU and breaks CL/GL interop. switcherooctl branch removed (same bug).
- MESA_VK_DEVICE_SELECT pin added as defense-in-depth for Vulkan.
- Full glib-family symlink swap: all five of libglib-2.0, libgio-2.0,
  libgmodule-2.0, libgobject-2.0, libgthread-2.0 (was three; mismatch
  caused latent segfaults on signal emit / type registration).
- Manual install to /opt/resolve via ZIP -> .run -> appimage-extract ->
  rsync, with patchelf --set-rpath on every ELF (replaces AUR PKGBUILD
  approach).
- Auto-wipe stale ~/.local/share/DaVinciResolve/{configs,logs} on fresh
  installs and whenever known crash markers appear in ResolveDebug.txt.
- Generation-aware gfx target detection (gfx1030/1100/1101/1102/1200/1201)
  with auto HSA_OVERRIDE_GFX_VERSION for non-natively-supported cards.
- Hyprland windowrule v3 syntax; dropped stay_focused (trapped-cursor in
  modals); removed duplicate user-level .desktop entry; removed unused
  Studio USB-dongle udev rule.

Docs:
- Rewrite README to match v4.1 reality (manual /opt/resolve install,
  ROCm pinning rationale, hybrid-GPU PCI-tag note, refreshed GPU support
  tiers, corrected uninstall steps).
- Add NOTES.md with full root-cause analysis, currently-pinned package
  versions, recovery playbook, and quick sanity checks.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-03 11:15:08 +01:00
d80b376e99 Initial commit: DaVinci Resolve installer for Arch Linux + AMD RDNA 4
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 12:30:52 +00:00