Hi here are my updates. (sumarized using ai, because english is not my
main language)

This update summarizes several days of troubleshooting performed on my
Ubuntu 24.04 system (Intel i7-10700, NVIDIA RTX 3060) with assistance
from the Gemini AI, aiming to resolve significant stability issues.

Initially, after configuring the system to enable NVIDIA VA-API hardware
acceleration for video, no significant improvement was observed during
video playback or general web Browse using Google Chrome. Switching the
video player to mpv also yielded no noticeable difference in system
stability. During periods of lag or freezing, system resource monitors
like htop consistently showed low utilization (under 10%) for CPU, RAM,
and disk I/O, suggesting the problem wasn't simple resource exhaustion.
These initial tests were conducted using the default Ubuntu (X11)
session.

To investigate further, I experimented with different session types and
software. I switched to the "GNOME session" to see if the desktop
environment itself made a difference. Suspecting Google Chrome might be
a factor, I tried the Brave browser as an alternative, also installing
Microsoft Edge for comparison purposes, though Brave became my primary
test browser. On the first day of using Brave, the system appeared
stable without noticeable issues. However, by the second day, the
original problems of lag and freezing returned, indicating the issue was
more complex than just the choice of browser.

On the third day, while using the Microsoft Edge browser and
simultaneously watching a video, the system experienced severe lag and
freezes, culminating in two consecutive crashes that required logging
out. Typing became extremely slow. At this point, detailed system logs
were collected and analyzed. The diagnosis pointed to significant
problems occurring specifically when using the NVIDIA 550 driver under
the X11 session. Log analysis revealed evidence of earlier gnome-shell
and Chrome crashes, and critically, identified a kernel-level NVIDIA
driver error (NVRM: Xid 13) associated with one of the crash events.
Following this diagnosis, the NVIDIA driver was switched to version 535.
While subsequent logs confirmed this eliminated the specific Xid 13
error, the overall system instability, including crashes, freezes, and
pervasive lag affecting typing and video playback, unfortunately
persisted while still using the X11 session, even with low resource
usage indicated by monitors.

The final key troubleshooting step involved changing the display server
session. Based on the persistent issues under X11 even with the 535
driver, I switched from the "Ubuntu on Xorg" (X11) session to the
"Ubuntu on Wayland" session via the login screen selector, while
continuing to use the NVIDIA 535 driver. This change appears to have
resolved the remaining instability. Since switching to Wayland, the
system has felt smooth during testing (including running multiple
browsers (brave and edge (playing youtube video in 2k both) and media
players(mpv celluloid and vlc different videos size 300-500mb), the
typing lag has disappeared, and video playback in VLC and mpv is no
longer interrupted by lag or stutters.

i will update more if something happen

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

Title:
  [noble] pc freeze for a seconds, vlc lag, terminal lag, chrome lag

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


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

Reply via email to