0

Very similar story to this person:

I updated my ubuntu 19.04 to 19.10. After the update the system lags frequently, e.g. if I hold down the right arrow in a coding program, it'll scroll for a while then pause, then continue then pause. Video conferencing is choppy, with lags every few seconds, ditto for online video.

Things I have tried:

  1. Upgrade kernel to 5.5.11

  2. "changed the swappiness kernel parameter to 10, and use bfq for IOSchedulers"

  3. "disabling swap and using zram" (comment on same link as #2)

  4. Switching from x.org to proprietary NVidia video drivers fixed the problem for Hugolpz in the above thread. I'm already using the latest version of them (440); if I change to the nouveau driver option it doesn't lag BUT: I can only have a 1024*768 output due to "xrandr: Failed to get size of gamma for output default". The solution from this thread seems to be "find and install a proper driver" which I've done... only it causes the lag problem.

  5. Running an HDMI from the motherboard's video out to the monitor (instead of DP from 1080Ti). Can't see an option anywhere to select the Mobo HDMI out.

If anyone has any suggestions I'd be very grateful for thoughts and musings. I'm hoping that a clean install of 20.04 will fix things but it won't be until May for 20.04.1.

Edit: 2020-08-22 xubuntu 20.04 problem persists. GPU was tested at manufacturer for a separate issue but one might think they'd say if they found an issue. Never had a problem in windows. Been unable to watch streams or zooms smoothly for a year now, this is completely rubbish.

dez93_2000
  • 1,201
  • I would try earlier Nvidia and/or Kernel versions. – WinEunuuchs2Unix Mar 24 '20 at 12:38
  • cheers for the idea. Tried kernel 5.2.21 per user in the other thread, no change. While on 5.2.21, trying older Nvidia drivers but going badly, 390 won't install, 435 wasn't working before so I'm suspicious of that (tried to install but it says 440 is installed, will reboot and try again) – dez93_2000 Mar 24 '20 at 23:41
  • As far as older kernel I mean something like 4.14.170 which is a new old kernel. As far as Nvidia I'm on 384 but I have GeForce GTX 970m. – WinEunuuchs2Unix Mar 24 '20 at 23:58
  • So I'm increasingly thinking it's the nvidia driver. Installed 4.14.173 (final 4.14) and that was the same while using nvidia 440. All kernels have been fine when using nouveau/x driver but I can't get that out of 1024*768. Tried installing nvidia 390 but fails with "Package nvidia-dkms-390 is not configured yet" (https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/1846995). Maybe I can change something in the nvidia-settings GUI? Maybe there's a buffering option or something? – dez93_2000 Mar 25 '20 at 17:36

1 Answers1

0

Finally got this fixed. Part of the issue is (what seems to be) a bug in Software & Updates video driver radio button code.

I built a new PC and installed xubuntu 20.04, nvidia drivers 440, same lag issue. Updated kernel from 5.4.0.42.46 to 5.8.3 with Ukuu and the res died: 1024*768, 76hz refresh, no other options, no connected displays. Software & Updates has a selected radio button for nvidia 440 still. But:

hwinfo --gfxcard
Driver Info #0:
    Driver Status: nvidiafb is not active
    Driver Activation Cmd: "modprobe nvidiafb"
  Driver Info #1:
    Driver Status: nouveau is not active
    Driver Activation Cmd: "modprobe nouveau"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

Then, Selected nouveau driver, apply, hwinfo says both drivers still inactive, restarted, looks good (hi res), nvidia settings absent from start menu settings, nouveau radio button highlit in software & updates,

hwinfo --gfxcard
  Driver Info #0:
    Driver Status: nvidiafb is not active
    Driver Activation Cmd: "modprobe nvidiafb"
  Driver Info #1:
    Driver Status: nouveau is active
    Driver Activation Cmd: "modprobe nouveau"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #7 (PCI bridge)

So nouveau is being used, problem fixed, nvidia definitely the culprit. I'll file a bug with them / that driver team.

After posting on Nvidia, the solution (for nvidia) was to Force Full Pipeline Composition in Nvidia X Server Settings, per this.

dez93_2000
  • 1,201
  • Bug was filed with them but never answered. https://forums.developer.nvidia.com/t/440-drivers-super-choppy-kill-video-memory-1080ti/149459 Choppyness still an issue a year later, even with latest driver (460.67) – dez93_2000 Mar 24 '21 at 01:48