Open nktnet1 opened 1 month ago
Full config (was too long in original post):
Couldn't identify anything in the logs either (was too long/large to attach and had a lot of noise, but happy to reboot and attach everything until the first occurrence of the issue)
does this still happen on #6608? it looks like direct scanout issues that were fixed there recently make sure misc:no_direct_scanout = false to enable it on the aq branch if you do test this
does this still happen on #6608? it looks like direct scanout issues that were fixed there recently make sure misc:no_direct_scanout = false to enable it on the aq branch if you do test this
Thanks @ikalco - had some build issues with aquamarine + multi monitors (displaylink/evdi) not working, but will attempt again next weekend.
On another note, I've discovered that the high GPU usage on Firefox was caused by having Ambient Mode enabled (default) together with Dark Mode:
Turning this off fixes the GPU problem, although I've also confirmed that while this can sometimes cause the screen glitches, it's not the only cause (glitches can also happen randomly even on low GPU utilisation) - the main cause of the glitch seems to be dynamic content (moving things). Will investigate further.
Short update - currently using the latest version of Hyprland, hyprctl systeminfo -c
attached:
I patched aquamarine to work with DisplayLink/Evdi similar to wlroots:
And have tested both with misc:no_direct_scanout = false
and misc:no_direct_scanout = true
.
This does not affect/fix the rendering glitches on the external monitor, even with low GPU utilisation.
Attaching startup logs here:
Regression?
No
System Info and Version
System/Version info
```sh $ hyprctl systeminfo -c Hyprland, built from branch main at commit 9b0993cc49b7285a2724a87fdb72bfc90cc75cc5 dirty (--- a/docs/Hyprland.1). Date: Sat Jul 20 08:37:42 2024 Tag: v0.41.2-47-g9b0993cc, commits: 4933 flags: (if any) System Information: System name: Linux Node name: Tam Release: 6.9.9-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Fri, 12 Jul 2024 00:06:53 +0000 GPU information: 0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Raptor Lake-S UHD Graphics [8086:a788] (rev 04) (prog-if 00 [VGA controller]) os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo plugins: hyprsplit by shezdy ver 1.0 ```(full config posted as comment further below)
Description
Issue
I get distorted screens/glitches while watching YouTube videos on Firefox on either of my external monitors after a few minutes, or by using Hyprland for a long period of time.
(see video further below)
Another observation is that GPU is at 90%-100% when watching YouTube videos in browsers. After pausing/closing the YouTube tab, GPU drops to 1-5% (regardless of how many other things are opened, as long as they're static content), but glitches still happened despite low GPU usage (unsure of correlation).
Specs
My device is a hybrid laptop with an Nvidia dGPU, but I've disabled the dGPU - only the Intel iGPU shows up for
I'm also using the evdi/displaylink patch (details), although the only caveat (as mentioned by the patch author) was that
which shouldn't be a problem as I effectively only have the intel GPU enabled.
Things I've tried (same result)
Also, this is what![screenshot-20240720-201234](https://github.com/user-attachments/assets/1aaa0b4f-9283-427b-bb09-36123d1fad17)
debug:overlay
looks like when the video is playing on the last monitor (DVI-I-1):which is odd since I've capped all 3 monitors at 60 (the bottom 2 external ones can go into the hundreds).
Issue doesn't exist when
How to reproduce
Assuming a similar setup/specs,
Crash reports, logs, images, videos
Short Version
compressed.webm
Long Version
https://youtu.be/7VbZVfVuR50