[Bug 1899304] Re: Huge performance regression, Unvanquished game goes from 70fps to 7fps, GNOME Shell never finishes to load, GNOME desktop unusable

2020-10-11 Thread Thomas Debesse
** Attachment added: "dmesg on linux 5.4.0-48 and ATI Radeon HD 4670 (AGP) 
experiencing GPU lockup"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1899304/+attachment/5421055/+files/dmesg.linux-5.4.0-48-generic.ati-radeon-hd4670-agp.gpu-lockup.txt

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

Title:
  Huge performance regression, Unvanquished game goes from 70fps to
  7fps, GNOME Shell never finishes to load, GNOME desktop unusable

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

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

[Bug 1899304] Re: Huge performance regression, Unvanquished game goes from 70fps to 7fps, GNOME Shell never finishes to load, GNOME desktop unusable

2020-10-11 Thread Thomas Debesse
I tested with another ATI GPU, the Radeon HD 4670 (AGP) one, an high-end
TeraScale 1 generation card. The computer did not manage to display the
desktop, the dmesg was full of errors about GPU lockup, and I did not
managed to reboot properly the computer (had to uses magic SysRq keys).

I tested with an Nvidia GPU, the GeForce 8400 GS rev.2 (PCI), a low-end
Tesla 1.0 generation card, running nouveau. The computer did not manage
to display the desktop (but displayed garbage instead). Though, I
noticed nothing relevant in dmesg and could reboot properly from another
host through SSH.

I entirely reinstalled the 5.4.0-48-generic kernel and modules packages,
regenerated initramfs, problem is still there.

I noticed that at the time the 5.4.0-48-generic kernel was installed
many other packages were upgraded as well (including some related to
firmwares and initramfs) so to rules them out I regenerated the
5.4.0-47-generic again, making sure this one is generated against the
same files and with the same tools, and I still don't reproduce the bug
on 5.4.0-47-generic kernel.

So, that looks really kernel related, all the other packages are the
same, and when using other kernel, that other kernel runs with exact
same files or files generated with exact same tools without reproducing
the bug.

I also tested the system on another computer but could not reproduce the
bug on that other computer. So, it looks like the bug is tied to the
5.4.0-48-generic kernel on that particular hardware.

This bug makes Ubuntu 20.04 and this hardware completely unusable once
the 5.4.0-48-generic kernel is installed and used.

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

Title:
  Huge performance regression, Unvanquished game goes from 70fps to
  7fps, GNOME Shell never finishes to load, GNOME desktop unusable

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

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

[Bug 1899304] Re: Huge performance regression, Unvanquished game goes from 70fps to 7fps, GNOME Shell never finishes to load, GNOME desktop unusable

2020-10-11 Thread Thomas Debesse
I forgot to mention:

After switching from the 5.4.0-47-generic kernel to the 5.4.0-48-generic
one, it becomes very very slow for the game to load the levels and
related assets from filesystem (textures, etc.), so the issue is likely
to no be only about graphical performance.

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

Title:
  Huge performance regression, Unvanquished game goes from 70fps to
  7fps, GNOME Shell never finishes to load, GNOME desktop unusable

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

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

[Bug 1899304] Re: Huge performance regression, Unvanquished game goes from 70fps to 7fps, GNOME Shell never finishes to load, GNOME desktop unusable

2020-10-10 Thread Thomas Debesse
** Description changed:

  This system runs Ubuntu 20.04, freshly installed 3~4 months ago (July
  2020).
  
  There is two kernels available on this system:
  
  - 5.4.0-47-generic
  - 5.4.0-48-generic
  
  With kernel 5.4.0-47-generic,
  
  - GNOME shell loads properly on Radeon X1950 PRO,
  - Unvanquished game runs on ATI Radeon X1950 PRO at 70 fps on 1280×720 
resolution,
  - Unvanquished game runs on ATI Radeon 9500 at 40 fps on 640×480 resolution.
  
  Everything looks consistent with the limits and the age of the hardware.
  
  With kernel 5.4.0-48-generic
  
  - GNOME Shell never finish to load on Radeon X1950 PRO, either a grey screen 
is displayed and keyboard shortcuts does not respond, or the top bar is stuck 
between the center and the top of the screen and the shell does not respond, or 
the top bar on the top of the screen but the shell does not respond, to get a 
desktop I run `sudo systemctl stop display-manager` then `startx 
/usr/bin/lxsession` from a TTY. Running GNOME Shell with startx or from a lone 
xterm started with startx leads to same issues.
  - Unvanquished game runs on ATI Radeon X1950 PRO at 7 fps on 1280×720 
resolution,
  - Unvanquished game runs on ATI Radeon 9500 at 3 fps on 640×480 resolution.
  
  Note: for unknown reasons, GNOME Shell loads properly on the ATI Radeon
  9500 but not on the Radeon X1950 PRO.
  
  Everything is slow. When the game is running, a very high load is
  reported by htop, which does not look like the experience seen on the
  5.4.0-47-generic kernel. When the game is running cycling between
  windows using Alt-Tab takes a lot of second while it's immediate on
  5.4.0-47-generic kernel. Also, even without the game running or on a
  lightweight desktop like LXDE, cycling windows is not smooth and window
  refreshing is slow enough to be noticeable.
  
  About the hardware, note that:
  
  - the CPU only has one core, no hyperthreading (AMD Athlon 64 FX for socket 
939),
  - the GPUs are AGP ones using R300 and R500 technology (pre-TeraScale),
  - there is 3GB of DDR RAM,
- - there is no swap,
+ - there is no on-disk swap but zram-based swap in compressed ram is used,
  - system is stored on and boots from an USB 3.1 key plugged on an USB 2.0 
port,
  - /tmp is a tmpfs ram disk,
  - CPU is set to performance profile,
  - the install is not really messy and not many packages are installed, this 
USB key is purposed for hardware/system testing and to diagnose such issues.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: linux-image-5.4.0-48-generic 5.4.0-48.52
  ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60
  Uname: Linux 5.4.0-48-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.9
  Architecture: amd64
  AudioDevicesInUse:
-  USERPID ACCESS COMMAND
-  /dev/snd/controlC0:  illwieckz   7503 F pulseaudio
+  USERPID ACCESS COMMAND
+  /dev/snd/controlC0:  illwieckz   7503 F pulseaudio
  CasperMD5CheckResult: skip
  Date: Sun Oct 11 01:47:48 2020
  InstallationDate: Installed on 2020-07-09 (93 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  IwConfig:
-  enp0s11   no wireless extensions.
-  
-  lono wireless extensions.
+  enp0s11   no wireless extensions.
+ 
+  lono wireless extensions.
  MachineType: MSI MS-6702E
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  LANG=fr_FR.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  LANG=fr_FR.UTF-8
+  SHELL=/bin/bash
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-48-generic 
root=UUID=10314d0c-ec6b-4f7f-b926-ed8b80185331 ro
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
-  linux-restricted-modules-5.4.0-48-generic N/A
-  linux-backports-modules-5.4.0-48-generic  N/A
-  linux-firmware1.187.3
+  linux-restricted-modules-5.4.0-48-generic N/A
+  linux-backports-modules-5.4.0-48-generic  N/A
+  linux-firmware1.187.3
  RfKill:
-  
+ 
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/12/2006
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 080011
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: MS-6702E
  dmi.board.vendor: MSI
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr080011:bd10/12/2006:svnMSI:pnMS-6702E:pvr1.0:rvnMSI:rnMS-6702E:rvr1.0:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.family: To Be Filled By O.E.M.
  dmi.product.name: MS-6702E
  dmi.product.sku: To Be Filled By O.E.M.
  dmi.product.version: 1.0
  dmi.sys.vendor: MSI

** Description changed:

  This system runs Ubuntu