[Bug 2065943] [NEW] Wayland freeze with libnvidia-egl-wayland1 package installed

2024-05-16 Thread Gonzalo Garramuno
Public bug reported:

My C++ application using FLTK on Wayland (a video player and review
program):

https://www.github.com/ggarra13/mrv2

sometimes stops playback randomly.

The problem occurs with:

- Wayland (XWayland and X11 is fine)
- libndivia-egl-wayland1 installed for OpenGL acceleration (Mesa works fine but 
cannot play 4K)
- FLTK

It is not yet clear if the problem is with EGL or FLTK's use of it.  The
FLTK Wayland developer lacks an NVidia graphics card so he cannot
troubleshoot it.  I am hoping Ubuntu's developers or, if you have NVidia
contacts, can verify whether it is a driver issue or an FLTK issue.

To quickly compile my application for testing, clone the repository and
from the root of it, run:

mkdir -p ~/bin
./bin/runme_ffmpeg_exr.sh (for the most minimal player that should take 8 mins 
to compile)

A link to the .sh executable will be placed on ~/bin.

If you want to compile a debug build, run:

./bin/runme_ffmpeg_exr.sh debug

To test the problem, run:

mrv2 or mrv2-dbg (assuming ~/bin is in your PATH).

with a an .mp4 movie file -- size does not seem to matter (sometimes it
will stop right away, other times it takes some time to do so -- it
seems random):

mrv2 movie.mp4

or:

mrv2 movie.mov

The problem seems to be that EGL/Wayland freezes due to a server lock,
which prevents the FLTK's timeout callbacks from running (so there's no
video or timeline updates until the user interacts -- moving the mouse
releases the freeze).

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSignature: Ubuntu 6.5.0-18.18~22.04.1-generic 6.5.8
Uname: Linux 6.5.0-18-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.proc.driver.nvidia.capabilities.gpu0: Error: path was not a regular file.
.proc.driver.nvidia.capabilities.mig: Error: path was not a regular file.
.proc.driver.nvidia.gpus..09.00.0: Error: path was not a regular file.
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.suspend: suspend hibernate resume
.proc.driver.nvidia.suspend_depth: default modeset uvm
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module  535.171.04  Tue Mar 19 
20:30:00 UTC 2024
 GCC version:  gcc version 12.3.0 (Ubuntu 12.3.0-1ubuntu1~22.04)
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
BootLog: Error: [Errno 13] Permiso denegado: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Thu May 16 19:41:21 2024
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
DkmsStatus:
 nvidia/535.171.04, 6.5.0-18-generic, x86_64: installed
 nvidia/535.171.04, 6.5.0-35-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
 NVIDIA Corporation GA102 [GeForce RTX 3080 Lite Hash Rate] [10de:2216] (rev 
a1) (prog-if 00 [VGA controller])
   Subsystem: Gigabyte Technology Co., Ltd GA102 [GeForce RTX 3080 Lite Hash 
Rate] [1458:404b]
InstallationDate: Installed on 2023-03-13 (430 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 
(20230223)
MachineType: Gigabyte Technology Co., Ltd. B450M DS3H WIFI
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.5.0-18-generic 
root=UUID=c818488b-5ecb-4753-90ba-6dcfb95c3ed3 ro quiet splash
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/20/2022
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: F64d
dmi.board.asset.tag: Default string
dmi.board.name: B450M DS3H WIFI-CF
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: Default string
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: 
dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF64d:bd07/20/2022:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB450MDS3HWIFI:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB450MDS3HWIFI-CF:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
dmi.product.family: B450 MB
dmi.product.name: B450M DS3H WIFI
dmi.product.sku: Default string
dmi.product.version: Default string
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.113-2~ubuntu0.22.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 23.2.1-1ubuntu3.1~22.04.2
version.libgl1-mesa-glx: libgl1-mesa-glx 23.0.4-0ubuntu1~22.04.1
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.4-2ubuntu1.7~22.04.10
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

** Affects: xorg (Ubuntu)
 

[Bug 2065797] Re: Xorg/GNOME applications slow after upgrade (intermittent)

2024-05-15 Thread Gonzalo Garramuno
Here's a movie showing the behavior on my program when clicking on an
FLTK tree and the slowdown on emacs when typing on a long emacs C++
file.  The problem is not on FLTK or Emacs as the code was working fine
before (and Wayland or XWayland has no issues):

https://mega.nz/file/qPoV2S5A#qdytFYmZthwIfis2JE9BNXWJd1oc6CXA7n-ruEL98YY

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2065797

Title:
  Xorg/GNOME applications slow after upgrade (intermittent)

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2065797] [NEW] Xorg/GNOME applications slow after upgrade (intermittent)

2024-05-15 Thread Gonzalo Garramuno
Public bug reported:

This was already reported and a bug fix was placed (bug #2061137 and bug
#2059847).  However, the latest upgrade to Ubuntu once again shows the
problem.

The problem does not show with the Terminal, but it shows on Emacs (slow
to type characters) and on my own application (slow redrawing of

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSignature: Ubuntu 6.5.0-18.18~22.04.1-generic 6.5.8
Uname: Linux 6.5.0-18-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.proc.driver.nvidia.capabilities.gpu0: Error: path was not a regular file.
.proc.driver.nvidia.capabilities.mig: Error: path was not a regular file.
.proc.driver.nvidia.gpus..09.00.0: Error: path was not a regular file.
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.suspend: suspend hibernate resume
.proc.driver.nvidia.suspend_depth: default modeset uvm
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module  535.171.04  Tue Mar 19 
20:30:00 UTC 2024
 GCC version:  gcc version 12.3.0 (Ubuntu 12.3.0-1ubuntu1~22.04)
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
BootLog: Error: [Errno 13] Permiso denegado: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Wed May 15 13:31:35 2024
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
DkmsStatus:
 nvidia/535.171.04, 6.5.0-18-generic, x86_64: installed
 nvidia/535.171.04, 6.5.0-35-generic, x86_64: installed
ExtraDebuggingInterest: No
GraphicsCard:
 NVIDIA Corporation GA102 [GeForce RTX 3080 Lite Hash Rate] [10de:2216] (rev 
a1) (prog-if 00 [VGA controller])
   Subsystem: Gigabyte Technology Co., Ltd GA102 [GeForce RTX 3080 Lite Hash 
Rate] [1458:404b]
InstallationDate: Installed on 2023-03-13 (428 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 
(20230223)
MachineType: Gigabyte Technology Co., Ltd. B450M DS3H WIFI
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.5.0-18-generic 
root=UUID=c818488b-5ecb-4753-90ba-6dcfb95c3ed3 ro quiet splash
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/20/2022
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: F64d
dmi.board.asset.tag: Default string
dmi.board.name: B450M DS3H WIFI-CF
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: Default string
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: 
dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF64d:bd07/20/2022:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnB450MDS3HWIFI:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB450MDS3HWIFI-CF:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
dmi.product.family: B450 MB
dmi.product.name: B450M DS3H WIFI
dmi.product.sku: Default string
dmi.product.version: Default string
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.113-2~ubuntu0.22.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 23.2.1-1ubuntu3.1~22.04.2
version.libgl1-mesa-glx: libgl1-mesa-glx 23.0.4-0ubuntu1~22.04.1
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.4-2ubuntu1.7~22.04.10
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

** Affects: xorg (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug jammy performance possible-manual-nvidia-install 
ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2065797

Title:
  Xorg/GNOME applications slow after upgrade (intermittent)

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2059847] Re: Input lag or freezes on Nvidia desktops with X11 after logging "MetaSyncRing: Sync object is not ready -- were events handled properly?"

2024-04-15 Thread Gonzalo Garramuno
@vanvugt

I can confirm that the ppa solves the input lag on my system:

Ubuntu 22.04.4 LTS, using X11/GNOME and NVIDIA Driver Version:
535.147.05

Thank you.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2059847

Title:
  Input lag or freezes on Nvidia desktops with X11 after logging
  "MetaSyncRing: Sync object is not ready -- were events handled
  properly?"

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2061137] [NEW] Xorg/GNOME applications slow after upgrade (intermittent)

2024-04-12 Thread Gonzalo Garramuno
Public bug reported:

After the most recent upgrade to Ubuntu 22.04.4 LTS which also upgraded
the nvidia drivers, Xorg and GNOME are showing some intermittent slow
downs.  Xfce4 and XWayland seem fine.

The most notable application showing the slow down is my own application
(mrv2), but after a while I can also see the slow down happening on a
basic gnome-terminal, where my typing is too fast for the showing of the
letters.

You can download my application from github at:
   
https://github.com/ggarra13/mrv2/releases/download/v1.1.1/mrv2-v1.1.1-Linux-amd64.deb

To reproduce the error:
   $ dpkg -i mrv2-v1.1.1-Linux-amd64.deb
   $ mrv2
   (Once it opens, press F10)
   (It will open a Preferences window with a tree on the left, and options 
on the right).
   (Switching options in the tree should be immediate, but on my machine, I 
get a lag of half
a second before the options and tree redraw)

The problem is intermittent.  I can reproduce the issue on my program
upon login, but it see the gnome terminal issue after a while of using
it.

Here is my graphic card details:

$ nvidia-smi
Fri Apr 12 09:52:15 2024   
+---+
| NVIDIA-SMI 535.171.04 Driver Version: 535.171.04   CUDA Version: 
12.2 |
|-+--+--+
| GPU  Name Persistence-M | Bus-IdDisp.A | Volatile 
Uncorr. ECC |
| Fan  Temp   Perf  Pwr:Usage/Cap | Memory-Usage | GPU-Util  
Compute M. |
| |  |  
 MIG M. |
|=+==+==|
|   0  NVIDIA GeForce RTX 3080Off | :09:00.0  On |  
N/A |
|  0%   49CP8  33W / 370W |305MiB / 10240MiB |  1%  
Default |
| |  |  
N/A |
+-+--+--+

 
+---+
| Processes:
|
|  GPU   GI   CIPID   Type   Process name
GPU Memory |
|ID   ID 
Usage  |
|===|
|0   N/A  N/A  7356  G   /usr/lib/xorg/Xorg 
 157MiB |
|0   N/A  N/A  7644  G   xfwm4  
   4MiB |
|0   N/A  N/A 10473  G   ...seed-version=20240411-180121.166000 
  32MiB |
|0   N/A  N/A 10622  G   /usr/lib/thunderbird/thunderbird   
  97MiB |
+---+

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-shell 42.9-0ubuntu2
ProcVersionSignature: Ubuntu 6.5.0-18.18~22.04.1-generic 6.5.8
Uname: Linux 6.5.0-18-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: XFCE
Date: Fri Apr 12 09:34:35 2024
DisplayManager: gdm3
InstallationDate: Installed on 2023-03-13 (395 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 
(20230223)
RelatedPackageVersions: mutter-common 42.9-0ubuntu7
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gnome-shell (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2061137

Title:
  Xorg/GNOME applications slow after upgrade (intermittent)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2061137/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1875744] Re: xdg-user-dir does for root does not return the locale names of the directories

2021-12-14 Thread Gonzalo Garramuno
El 14/12/21 a las 11:40, Sebastien Bacher escribió:
> checking the bug again, the admin user would read the configuration from
> its own directory and not the standard user one, do you have a
> configuration for the admin?
>
> ** Changed in: xdg-user-dirs (Ubuntu)
> Status: Confirmed => Incomplete
As I mentioned, the root user did not have .config/user-dirs.dirs file 
after the upgrade.  Once I copied it, it worked once again.

-- 
Gonzalo Garramuño

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875744

Title:
  xdg-user-dir does for root does not return the locale names of the
  directories

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-user-dirs/+bug/1875744/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1875744] Re: xdg-user-dir does for root does not return the locale names of the directories

2020-04-28 Thread Gonzalo Garramuno
On 28/4/20 17:34, Sebastien Bacher wrote:
> Thank you for your bug report, are you sure it was working before
> upgrading?

Yes, it was working, albeit it was behaving also differently. Instead
of:

gga $ sudo bash

(password)

root # xdg-user-dirs DESKTOP
/root/Escritorio

it would return:

gga $ sudo bash

(password)

root # xdg-user-dirs DESKTOP
/home/gga/Escritorio

-- 
Gonzalo Garramuño

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875744

Title:
  xdg-user-dir does for root does not return the locale names of the
  directories

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-user-dirs/+bug/1875744/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875744] [NEW] xdg-user-dir does for root does not return the locale names of the directories

2020-04-28 Thread Gonzalo Garramuno
Public bug reported:

When upgrading from Ubuntu 18.04 to 20.04, the root user does not
receive the file ~/.config/user-dirs.dirs and thus the locale names are
not translated.

Example:

$ sudo bash
[sudo] password for gga:

# xdg-user-dir DESKTOP
/root/Desktop

With the proper (Spanish) .config/user-dirs.dirs:

$ sudo bash
[sudo] password for gga:

# xdg-user-dir DESKTOP
/root/Escritorio

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-release-upgrader-core 1:20.04.18
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Tue Apr 28 17:09:45 2020
InstallationDate: Installed on 2020-04-25 (2 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to focal on 2020-04-27 (1 days ago)
VarLogDistupgradeXorgFixuplog:
 INFO:root:/usr/bin/do-release-upgrade running
 INFO:root:No xorg.conf, exiting

** Affects: ubuntu-release-upgrader (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug dist-upgrade focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875744

Title:
  xdg-user-dir does for root does not return the locale names of the
  directories

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1875744/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs