Results 1 to 9 of 9

Thread: GTK 4 app hamburger menu flickering/ shutterimg

  1. #1
    Join Date
    Feb 2019
    Beans
    7

    Question GTK 4 app hamburger menu flickering/ shutterimg

    Hello every one
    I'm new here
    I'm facing a problem with GTK 4 application. when i click om hamburger menu. the menu start flickering. this happen after gnome 46 release. with 45 every thing is buttery smooth. i think this bug is gnome's end. did gnome change something in gnome 46?
    I'm facing this issue on every DE now. Fedora Ubuntu and Linux Mint.
    i have old hardware like Intel Pentium Dual Core, 8GB Ram,128 SSD for Distro installation, 160 HDD for store documents and Pictures & Nvidia GT 218
    Attached Images Attached Images

  2. #2
    Join Date
    Jun 2016
    Beans
    2,930
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: GTK 4 app hamburger menu flickering/ shutterimg

    As a test, does the issue occur if you launch an affected app with LIBGL_ALWAYS_SOFTWARE=1 environment variable set?

    If that works, next test would be to unset LIBGL_ALWAYS_SOFTWARE and try instead setting GSK_RENDERER=gl environment variable. Does the issue return?
    Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
    If your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."

  3. #3
    Join Date
    Feb 2019
    Beans
    7

    Re: GTK 4 app hamburger menu flickering/ shutterimg

    How I can use this command? Did i have to paste LIBGL_ALWAYS_SOFTWARE=1 in terminal

  4. #4
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: GTK 4 app hamburger menu flickering/ shutterimg

    Like this, but i'll use firefox in this example:
    Code:
     LIBGL_ALWAYS_SOFTWARE=1 firefox
    But yes paste that line in the terminal.
    For Files (nautilus)
    Code:
    LIBGL_ALWAYS_SOFTWARE=1 nautilus
    If you are using GTK on very old hardware, you may be better off with the old GL renderer, since it makes fewer demands on the GPU. You can override the renderer selection using the GSK_RENDERER environment variable:

    "GSK_RENDERER=gl"
    Last edited by #&thj^%; August 3rd, 2024 at 08:27 PM.

  5. #5
    Join Date
    Feb 2019
    Beans
    7

    Re: GTK 4 app hamburger menu flickering/ shutterimg

    This issue is happening on every GTK 4 apps.

  6. #6
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: GTK 4 app hamburger menu flickering/ shutterimg

    Quote Originally Posted by a.mushtaqali View Post
    This issue is happening on every GTK 4 apps.
    We get that very clear from post#1
    Did you run the suggested, and if so, did it help?

  7. #7
    Join Date
    Feb 2019
    Beans
    7

    Re: GTK 4 app hamburger menu flickering/ shutterimg

    Yes i tried both methods but the issue is same.
    Last edited by a.mushtaqali; August 4th, 2024 at 02:52 PM. Reason: GIF Included

  8. #8
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: GTK 4 app hamburger menu flickering/ shutterimg

    That is a problem that would bother me as well.

    Recently, GTK gained not one, but two new renderers: one for GL and one for Vulkan.

    Implementation details

    The old GL renderer uses simple shaders for each rendernode type and frequently resorts to offscreen rendering for more complex content. The unified renderers have (more capable) per-node shaders too, but instead of relying on offscreens, they will also use a complex shader that interprets data from a buffer. In game programming, this approach is known as a ubershader.

    The unified renderer implementation is less optimized than the old GL renderer, and has been written with a focus on correctness and maintainability. As a consequence, it can handle much more varied rendernode trees correctly.

    Driver problems. The new renderers are using graphics drivers in new and different ways, so there is potential for triggering problems on that side.

    Please file problems you see against GTK even if they look like driver issues, since it is useful for us to get an overview how well (or badly) the new code works with the variety of drivers and hardware out there.

    But is it faster?

    No, the new renderers are not faster (yet).

    The old GL renderer is heavily optimized for speed. It also uses much simpler shaders, and does not do the math that is needed for features such as antialiasing. We want to make the new renderers faster eventually, but the new features and correctness make them very exciting, even before we reach that goal. All of the GPU-based renderers are more than fast enough to render todays GTK apps at 60 or 144 fps.

    That being said, the Vulkan renderer comes close to matching and surpassing the old GL renderer in some unscientific benchmarks. The new GL renderer is slower for some reason that we have not tracked down yet.

    And we know very little about your hardware currently.

    Have you tried a a different DE rather than Gnome?

  9. #9
    Join Date
    Feb 2019
    Beans
    7

    Re: GTK 4 app hamburger menu flickering/ shutterimg

    First of all thanks for explaination.
    I tried Linux Mint Cinnamon and and kubuntu. Built in apps work fine. But the issue occure when i downlaod apps from Flatpak ie Mission Center and Clapper
    Before Gnome 46 release everything works smoothly.
    Windows 11 working properly and without issue. I think my old hardware is not supported by latest Gnome releases.
    Again thank you for Helping.
    Last edited by a.mushtaqali; August 4th, 2024 at 04:47 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •