Hey there Daniel,

thanks for helping out! I can confirm that what nuked my 23.04 install
is bug 2023946, which I responded to a few days ago. While trying to fix
the issue at hand, before I read your suggestion on how to potentially
fix it, I followed a howto online, which was more or less suggesting the
same thing that you asked me to try. Something went wrong while trying
the potential fix and I was left with blinking cursor upon reboot again.
I gave up at this point, saved my data and reverted back to 22.04.2 LTS
for the machine in question. It took me an entire day to troubleshoot
23.04 and revert back to 22.04, but now everything is stable again. What
I also noticed is how trying to install the proprietary Nvidia drivers
during the initial install of 23.04 was causing issues, not so on
22.04.2 LTS, the latter which didn't install the proprietary Nvidia
drivers at all during a fresh installation of the OS (even though the
box for this was enabled / activated). I had to manually select the
newest proprietary Nvidia driver for 22.04.2 after the OS was fully
installed (using the preinstalled drivers tool app), and it worked like
a charm. 22.04.2 is running well, no issues when resizing windows or any
of the other things noticed in 23.04. The only thing that I notice on
22.04.2 LTS is that the framerate is a bit low when opening the Gnome
overview initially (feels like 20-30 fps), but it gets super smooth at
60 fps when opening the overview for a second time right after the first
attempt. In other words, it takes Ubuntu some time to catch up and make
it smooth again, but when it does it's actually really smooth.

That said, I have a secondary machine here with 23.04 and an Nvidia gpu
with proprietary drivers installed. I will be testing the suggestions
that you wrote on 2023-06-16 later tonight, if I am able to bypass the
issue in bug report 2023946 for the secondary machine. Will report back
by tomorrow night with my findings - - - WIP.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2023776

Title:
  Ubuntu 23.04 + Gnome + Nvidia 525 + Vsync = low fps in Xorg sessions

Status in mutter package in Ubuntu:
  Incomplete

Bug description:
  Currently using Nvidia driver 525, which is the "tested" and
  recommended driver according to Ubuntu's additional driver tool (as of
  this writing).

  - manually resizing "files" windows = low fps and a little bit of
  pixelation

  - moving windows around = drop in fps every now and then

  - opening the Gnome overview = sometimes buttery smooth 60fps but
  sometimes stuttery low fps that takes time to "catch up" to smoothness
  again

  - resizing Chromium or Firefox window = low fps, glitchy window
  behaviour etc.

  How to fix it? Well, this is what I found works thus far:

  - disable both "vsync" and "allow flipping" in Nvidia-settings

  - now everything is buttery smooth again; all animations, apps, games
  and more

  - doing this will introduce lots of tearing on the Gnome desktop and
  applications though

  - then force full composition pipeline to get rid of the tearing by
  adding this start-up line to Ubuntu's start-up applications: nvidia-
  settings --assign CurrentMetaMode="nvidia-auto-select +0+0
  {ForceFullCompositionPipeline=On}"

  - Use Wayland alternatively: Wayland doesn't have any of these issues
  at all, it's a buttery smooth fully vsynced experience ootb, but a
  bunch of new problems arise instead: Can't set global hotkeys for
  recording in OBS, OBS recording performance is pretty bad, Gnome
  folder windows start flickering somestimes, Gnome windows glitch out
  when trying to resize them manually, Steam flickering sometimes,
  browsers such as Firefox and Chromium have to be set to Wayland mode
  in order to solve stuttering video playback issues, Nvidia-settings is
  missing a bunch of settings and features when compared to X11... and
  more

  Hard- and Software:

  - Ubuntu 23.04
  - Nvidia driver version 525 (tested) from Ubuntu's additional drivers tool
  - Core i7 7700
  - 32 GB DDR4 RAM
  - Lenovo Nvidia RTX A2000 workstation GPU
  - TWO fullHD monitors connected via display port

  ProblemType: Bug
  DistroRelease: Ubuntu 23.04
  Package: gnome-shell 44.1-0ubuntu1
  ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
  Uname: Linux 6.2.0-20-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.26.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Jun 14 14:58:08 2023
  DisplayManager: gdm3
  InstallationDate: Installed on 2023-05-20 (24 days ago)
  InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
  ProcEnviron:
   LANG=de_DE.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  RelatedPackageVersions: mutter-common 44.1-0ubuntu1
  SourcePackage: gnome-shell
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2023776/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to