Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Add wayland flag to avoid flashing window with Nvidia driver under Wayland. #1864

Closed
2 tasks done
dmnmsc opened this issue Mar 17, 2024 · 3 comments
Closed
2 tasks done
Labels
enhancement New feature or request fix-available A fix to the issue is available in a new version

Comments

@dmnmsc
Copy link

dmnmsc commented Mar 17, 2024

Preflight Checklist

  • I use the latest version of YouTube Music (Application).
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem Description

Several visual artifacts because the combo xwayland+nvidia driver.

xwayland causes several visual artifacts with nvidia driver. youtube-music is unusable because the windows flashes all the time.

Proposed Solution

New chrome/chromium version have a flag to use wayland instead of X11. The flag is called "Preferred Ozone platform" and default behavior is X11.

You can set the "Preferred Ozone platform" flag to "Auto". "Auto" will select Wayland if possible, X11 otherwise.

This way xorg users and wayland users will enjoy the app without issues.

Alternatives Considered

Launch the current version with "youtube-music --enable-features=UseOzonePlatform --ozone-platform=wayland %U" for wayland users.

Additional Information

No response

@dmnmsc dmnmsc changed the title [Feature Request]: Add wayland flag to avoid fñashing window with Nvidia driver under Wayland. [Feature Request]: Add wayland flag to avoid flashing window with Nvidia driver under Wayland. Mar 17, 2024
@JellyBrick
Copy link
Collaborator

Can you reproduce this issue on 14c50e0?

@JellyBrick JellyBrick added the awaiting-reply Awaiting reply label Mar 18, 2024
@dmnmsc
Copy link
Author

dmnmsc commented Mar 18, 2024

It's a global problem with every app running through xwayland and Nvidia driver. It's not just related to chrome/chromium. So this bug will affect every app not running in wayland natively.

@JellyBrick JellyBrick added enhancement New feature or request and removed awaiting-reply Awaiting reply labels Mar 19, 2024
@JellyBrick
Copy link
Collaborator

Can you reproduce this issue on 679938c?

@JellyBrick JellyBrick added the fix-available A fix to the issue is available in a new version label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fix-available A fix to the issue is available in a new version
Projects
None yet
Development

No branches or pull requests

2 participants