[Bug]: Weird black/white pixel pattern blocking fullscreen (Linux:Wayland) #2960
Labels
No labels
awaiting-reply
breaking changes
bug
cannot-reproduce
dependencies
documentation
duplicate
electron-issue
enhancement
fix-available
good first issue
help wanted
invalid
javascript
need more information
need rebase
official-youtube-music-issue
plugin request
question
release
security
stale
Status: blocked
typo
wontfix
ytmd-issue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: YTMD/youtube-music#2960
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Preflight Checklist
YouTube Music (Application) Version
3.7.2
Checklists
What operating system are you using?
Other Linux
Operating System Version
Arch Linux
Linux mycomputer 6.13.1-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Sun, 02 Feb 2025 01:02:11 +0000 x86_64 GNU/Linux
What CPU architecture are you using?
x64
Last Known Working YouTube Music (Application) version
No response
Reproduction steps
Double-click on a video to make it fullscreen.
Expected Behavior
Video goes fullscreen.
Actual Behavior
Video goes fullscreen with a weird pixel pattern blocking the video.
Everything else seems to work.
Enabled plugins
I tried disabling all plugins but problem still persists.
Additional Information
Note: I am eager to troubleshoot this myself. But I honestly do not know what can cause the issue. And I fail to find good search words to use when searching the Internet for similar problems.
Any tips would be great.
Further info:
--enable-features=UseOzonePlatform --ozone-platform=wayland
--enable-features=UseOzonePlatform --ozone-platform-hint=auto
--enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto
Desktop Environments:
I found out problem is not only with videos. Just making the app fullscreen (by pressing F11) triggers the weird pixel overlay. It overlays the whole app, not just the video.
Seems to be an electron issue.
Reproduced the problem by going into fullscreen in other electron apps such as vscode.
I think this may be due to Hardware Acceleration?
In vscode, problem disappears when starting with the following flag:
--disable-gpu-compositing
.But this flag does not work for me with youtube-music.
The app starts but without a window. The music I had on previously plays to the end, but the next song does not start playing.
Welp. I'm stuck. Tried a bunch of Linux kernel flags I found online but nothing worked.
Btw, I am using AMDGPU.
For me, everything points to this being an electron+wayland problem.
it could also be an issue with chromium (version 132), it's worth trying to reproduce it there.
You could also disable hw accel through the option in the top menu. Or manually edit
options.disableHardwareAcceleration
in your~/.config/YouTube Music/config.json
file. I don't know if it'll make a difference though.I'm also on amdgpu and wayland (Hyprland), but I don't have this problem. Hardware acceleration never worked on chromium/electron for me, so maybe that's why I can't repro.
Thanks for the feedback.
Disabling hw accel in youtube-music through top menu or through
~/.config/YouTube Music/config.json
gives the same result as starting with--disable-gpu-compositing
. That youtube-music starts with no window.I now tried with two new apps:
In both the problem shows up when going into fullscreen by pressing F11.
And
--disable-gpu-compositing
makes the issue go away.I will try to open an issue in Electron issue tracker.
Electron issue created: https://github.com/electron/electron/issues/45534