AppFlowy-IO / AppFlowy

Bring projects, wikis, and teams together with AI. AppFlowy is an AI collaborative workspace where you achieve more without losing control of your data. The best open source alternative to Notion.
https://www.appflowy.io
GNU Affero General Public License v3.0
57.09k stars 3.74k forks source link

[Bug] Using Appflowy 0.61 causes kwin reset (graphical effects reset) under Plasma6 and shows graphical glitches #5683

Open AkechiShiro opened 3 months ago

AkechiShiro commented 3 months ago

Bug Description

The UI seems to glitch when sometimes updating the UI, the glitch shows like dark spots/glitches on screen.

My hardware is an AMD Framework laptop, and I did not see any glitches with any other software on my current kernel/linux-firmware (6.6.36, 20240610).

How to Reproduce

Just launch Appflowy under Plasma6 (Wayland)

Expected Behavior

No graphical glitches and no kwin resets of the Desktop environment.

Operating System

NixOS Uakari 24.05 (stable channel)

AppFlowy Version(s)

0.61

Screenshots

No response

Additional Context

I couldn't catch a screenshot as it is not easily reproductible but I found out it is most likely a bug upstream, in my dmesg, I saw this :

[145727.279926] amdgpu 0000:c1:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:1 pasid:32786, for process AppFlowy pid 323363 thread AppFlowy:cs0 pid 323369)
[145727.279934] amdgpu 0000:c1:00.0: amdgpu:   in page starting at address 0x000000003e000000 from client 10
[145727.279937] amdgpu 0000:c1:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00101430
[145727.279938] amdgpu 0000:c1:00.0: amdgpu:     Faulty UTCL2 client ID: SQC (data) (0xa)
[145727.279940] amdgpu 0000:c1:00.0: amdgpu:     MORE_FAULTS: 0x0
[145727.279941] amdgpu 0000:c1:00.0: amdgpu:     WALKER_ERROR: 0x0
[145727.279942] amdgpu 0000:c1:00.0: amdgpu:     PERMISSION_FAULTS: 0x3
[145727.279943] amdgpu 0000:c1:00.0: amdgpu:     MAPPING_ERROR: 0x0
[145727.279944] amdgpu 0000:c1:00.0: amdgpu:     RW: 0x0
[145737.362555] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, but soft recovered
AkechiShiro commented 3 months ago

image

AkechiShiro commented 3 months ago

Maybe linked to this issue upstream : https://gitlab.freedesktop.org/drm/amd/-/issues/3470

AkechiShiro commented 3 months ago

Weirdly enough, this isn't reproducible under release 0.57

annieappflowy commented 3 weeks ago

Thanks, @AkechiShiro , for the update. Closing this issue

AkechiShiro commented 3 weeks ago

Hello @annieappflowy I'm not sure if that still shows up on the latest release, will retest at some point, but it was fixed in an older release but not on the newer 0.61 and up I believe.