Alex313031 / thorium

Chromium fork named after radioactive element No. 90. Windows and MacOS/Raspi/Android/Special builds are in different repositories, links are towards the top of the README.md.
https://thorium.rocks/
BSD 3-Clause "New" or "Revised" License
4.74k stars 147 forks source link

Lots of flickering under Wayland on Nvidia #446

Open ralmond opened 10 months ago

ralmond commented 10 months ago

System Details

Problem I am experiencing a lot of flickering (often windows behind the browser momentarily popping up over the browser window). This especially happens when watching videos on YouTube, although it occassionally happens elsewhere, particularly when popping up dialogs (e.g., saving a file). Also, dropdown menus initially appear blank, but if I move the mouse down over them, the menu text appears.

These issues are not occurring with Chromium 119.0.6045.159,

Additional Notes The problem seems to have gotten noticeably worse since upgrading my nvidia drivers to 29.02. This may be a weird interaction between Thorium, Wayland/Gnome and the Nvidia driver.

sleeplessKomodo commented 10 months ago
System:
  Host: nobara Kernel: 6.5.9-201.fsync.fc38.x86_64 arch: x86_64 bits: 64
    compiler: gcc v: 2.39-15.fc38 Desktop: KDE Plasma v: 5.27.9 tk: Qt
    v: 5.15.11 wm: kwin_wayland dm: SDDM Distro: Nobara release 38 (Thirty
    Eight) base: RHEL 38
    Graphics:
  Device-1: NVIDIA TU104 [GeForce RTX 2080 SUPER] vendor: eVga.com.
    driver: nvidia v: 535.113.01 arch: Turing pcie: speed: 8 GT/s lanes: 16
    ports: active: none off: DP-2,HDMI-A-1 empty: DP-1,DP-3,Unknown-1
    bus-ID: 08:00.0 chip-ID: 10de:1e81

Similar issues on Fedora (Nobara) 38. I see similar issues with the Microsoft Edge browser for linux, but likewise, the browsers are functional.

Thoutmose commented 10 months ago

I'm no expert, but this issue reminds me of a problem with the chromium engine. Have you try to enable Wayland support in chrome://flags on the browser ?

Steps

  1. Open a new tab in your browser
  2. Enter chrome://flags
  3. In the search bar type wayland
  4. Enable WebRTC PipeWire support and Preferred Ozone platform if they aren't.
  5. Restart your browser
sternskr commented 10 months ago

This may not just be a linux issue, it might be something with nvidia itself. I've had a similar issue for a while now where everything flickers. I'm on Win 11, and just resorted to running thorium via AMD iGPU

sternskr commented 9 months ago

I am unsure what the NVidia control panel has for options on linux, but on windows following the suggestion mentioned in this AVX2 build issue worked to fix it on Win11 https://github.com/Alex313031/Thorium-Win-AVX2/issues/112

I suspect MFAA being enabled might be the cause as I had everything else they suggested already set

emmanueloctavi0 commented 3 months ago

I'm no expert, but this issue reminds me of a problem with the chromium engine. Have you try to enable Wayland support in chrome://flags on the browser ?

Steps

1. Open a new tab in your browser

2. Enter **chrome://flags**

3. In the search bar type **wayland**

4. **Enable** WebRTC PipeWire support and Preferred Ozone platform if they aren't.

5. Restart your browser

Yes, this worked for me

mirao commented 1 month ago

I have the same issue in Google Chrome. E.g. in GMail, a page content is flickering when I'm scrolling. Also when I'm switching between browser tabs, very often the tab where I'm switching + its content isn't refreshed until I move mouse. The issue doesn't happen in X11. And never had such issue in Wayland with Ryzen (AMD) graphics.

A change from "Default" to "Auto" in the Chrome option "Preferred Ozone platform" helped me. Thanks @Thoutmose

image

My OS is Ubuntu 24.04 and graphics MSI RTX 4060 (nVidia), driver 550.107.02

luochen1990 commented 2 weeks ago

I'm no expert, but this issue reminds me of a problem with the chromium engine. Have you try to enable Wayland support in chrome://flags on the browser ?

Steps

  1. Open a new tab in your browser
  2. Enter chrome://flags
  3. In the search bar type wayland
  4. Enable WebRTC PipeWire support and Preferred Ozone platform if they aren't.
  5. Restart your browser

Is there some similar thing for Microsoft Edge ?