https://bugs.kde.org/show_bug.cgi?id=521716

--- Comment #42 from [email protected] ---
This still happens on 6.8.2 (openSUSE TW, Arc B570 primary + Ryzen 5600G
Cezanne iGPU secondary; see the duplicate, bug 527383). 
RADV_DEBUG=nodcc works around it.

I think the re-added Cezanne workaround (0f95a0d5 / f22e76b9) has no effect. 
In createCopy(), the if branch sets options.modifiers =
{DRM_FORMAT_MOD_LINEAR}, but the unconditional options.modifiers =
fmt->modifiers; right after it overwrites that. 
The if branch also never sets options.format. 

It looks like it should be:

  options.format = fmt->format;
  if (forceLinear && fmt->modifiers.contains(DRM_FORMAT_MOD_LINEAR)) {
      options.modifiers = {DRM_FORMAT_MOD_LINEAR};
  } else {
      options.modifiers = fmt->modifiers;
  }

Master has the same code.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to