[Bug 1899304] Re: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues
So please bisect between 5.8 and 5.9. -- 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues
So, the 5.4.0-48 error is the same as the one that appears with 5.9 (and the one we see with PCI GPUs): ``` [0.00] Linux version 5.4.0-48-generic (buildd@lcy01-amd64-010) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)) #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 (Ubuntu 5.4.0-48.52-generic 5.4.60) … [3.366387] PCI Interrupt Link [LKLN] enabled at IRQ 21 [3.426007] [drm] radeon kernel modesetting enabled. [3.435680] radeon :01:00.0: remove_conflicting_pci_framebuffers: bar 0: 0xe000 -> 0xefff [3.456237] radeon :01:00.0: remove_conflicting_pci_framebuffers: bar 2: 0xfebe -> 0xfebe [3.478847] checking generic (e000 13) vs hw (e000 1000) [3.478853] fb0: switching to radeondrmfb from VESA VGA [3.490892] Console: switching to colour dummy device 80x25 [3.490909] radeon :01:00.0: vgaarb: deactivate vga console [3.491182] PCI Interrupt Link [LNKD] enabled at IRQ 19 [3.491321] [drm] initializing kernel modesetting (RV730 0x1002:0x9495 0x1002:0x0028 0x00). [3.491325] [drm] Forcing AGP to PCIE mode [3.491353] resource sanity check: requesting [mem 0x000c-0x000d], which spans more than PCI Bus :00 [mem 0x000d-0x000d window] [3.491359] caller pci_map_rom+0x71/0x18c mapping multiple BARs [3.492982] ATOM BIOS: RV730XT [3.493101] radeon :01:00.0: VRAM: 1024M 0x - 0x3FFF (1024M used) [3.493104] radeon :01:00.0: GTT: 1024M 0x4000 - 0x7FFF [3.493108] [drm] Detected VRAM RAM=1024M, BAR=256M [3.493110] [drm] RAM width 128bits DDR [3.493193] [TTM] Zone kernel: Available graphics memory: 8231890 KiB [3.493195] [TTM] Zone dma32: Available graphics memory: 2097152 KiB [3.493198] [TTM] Initializing pool allocator [3.493203] [TTM] Initializing DMA pool allocator [3.493221] [drm] radeon: 1024M of VRAM memory ready [3.493223] [drm] radeon: 1024M of GTT memory ready. [3.493230] [drm] Loading RV730 Microcode [3.493316] [drm] Internal thermal controller without fan control [3.512582] [drm] radeon: dpm initialized [3.512696] [drm] GART: num cpu pages 262144, num gpu pages 262144 [3.534540] [drm] PCIE GART of 1024M enabled (table at 0x0014C000). [3.534726] radeon :01:00.0: WB enabled [3.534730] radeon :01:00.0: fence driver on ring 0 use gpu addr 0x4c00 and cpu addr 0x(ptrval) [3.534733] radeon :01:00.0: fence driver on ring 3 use gpu addr 0x4c0c and cpu addr 0x(ptrval) [3.541143] radeon :01:00.0: fence driver on ring 5 use gpu addr 0x0005c598 and cpu addr 0x(ptrval) [3.541147] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [3.541149] [drm] Driver supports precise vblank timestamp query. [3.541151] radeon :01:00.0: radeon: MSI limited to 32-bit [3.541204] [drm] radeon: irq initialized. … [5.677888] [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed (scratch(0x8504)=0xCAFEDEAD) [5.677934] radeon :01:00.0: disabling GPU acceleration [5.696050] [drm] Radeon Display Connectors [5.696054] [drm] Connector 0: [5.696055] [drm] VGA-1 [5.696057] [drm] DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c [5.696059] [drm] Encoders: [5.696061] [drm] CRT2: INTERNAL_KLDSCP_DAC2 [5.696062] [drm] Connector 1: [5.696063] [drm] HDMI-A-1 [5.696064] [drm] HPD2 [5.696066] [drm] DDC: 0x7f10 0x7f10 0x7f14 0x7f14 0x7f18 0x7f18 0x7f1c 0x7f1c [5.696068] [drm] Encoders: [5.696069] [drm] DFP2: INTERNAL_UNIPHY1 [5.696070] [drm] Connector 2: [5.696072] [drm] DVI-I-1 [5.696073] [drm] HPD1 [5.696074] [drm] DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c [5.696076] [drm] Encoders: [5.696077] [drm] CRT1: INTERNAL_KLDSCP_DAC1 [5.696079] [drm] DFP1: INTERNAL_UNIPHY … [5.905120] [drm] fb mappable at 0xE034D000 [5.905124] [drm] vram apper at 0xE000 [5.905126] [drm] size 8294400 [5.905127] [drm] fb depth is 24 [5.905129] [drm]pitch is 7680 [5.905201] fbcon: radeondrmfb (fb0) is primary device [5.933430] Console: switching to colour frame buffer device 240x67 … [5.983571] radeon :01:00.0: fb0: radeondrmfb frame buffer device [5.996432] [drm] Initialized radeon 2.50.0 20080528 for :01:00.0 on minor 0 … … [ 36.254301] [ cut here ] [ 36.254305] trying to bind memory to uninitialized GART ! [ 36.254467] WARNING: CPU: 3 PID: 2559 at drivers/gpu/drm/radeon/radeon_gart.c:299 radeon_gart_bind+0xef/0x100 [radeon] [ 36.254469] Modules linked in: zram snd_hda_intel snd_intel_dspcfg snd_usb_audio snd_hda_codec snd_hda_core snd_usbmidi_lib snd_hwdep mc snd_pcm snd_seq_midi joydev input_leds snd_seq_midi_event snd_rawmidi snd_seq edac_mce_amd snd_seq_device
[Bug 1899304] Re: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues
** Attachment added: "dmesg on Linux 5.4.0-48-generic on Ubuntu 20.04, K10 platform, ATI Radeon HD 4670 (truncated because it was weighting 62MB)" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1899304/+attachment/5430878/+files/dmesg.ubuntu-20.04.linux-5.4.0-48-generic_ASRock-AM2NF3-VSTA+K10_ATI-Radeon-HD-4670-AGP.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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues
Related and similar issue with PCI graphic cards (not AGP ones): https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1902795 While PCI graphic cards are broken on AMD K8/K10 platform for years (I've reproduced on Linux 4.4, 4.8 and 4.15 from Ubuntu 16.04 Xenial), AGP cards started to break on Ubuntu with 5.4.0-48-generic (was still working with 5.4.0-47-generic). -- 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues
** Attachment added: "dmesg on Linux 5.10.0-051000rc1-generic on Ubuntu 20.04, K10 platform, ATI Radeon HD 4670 AGP" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1899304/+attachment/5430875/+files/dmesg.ubuntu-20.04.linux-5.10.0-051000rc1-generic_ASRock-AM2NF3-VSTA+K10_ATI-Radeon-HD-4670-AGP.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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues
** Attachment added: "dmesg on Linux 5.9 vanilla on Ubuntu 20.04, K10 platform, ATI Radeon HD 4670 AGP" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1899304/+attachment/5430874/+files/dmesg.ubuntu-20.04.linux-5.9-vanilla_ASRock-AM2NF3-VSTA+K10_ATI-Radeon-HD-4670-AGP.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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues
For some reason I was able to compile v5.4 and v5.5 from torvalds branchs with `make -j$(nproc) deb-pkg` but starting with v5.6 I had to use `make -j$(nproc) bindeb-pkg`, in the end I lacked some modules (like my network driver, that did not helped me) but radeon one was there so tests could have been done. The GNOME desktop opened properly with 5.4, 5.5, 5.6, 5.7 and 5.8. But when v5.9, I just got the desktop (GDM is configured to autologin) restarting again and again, only showing me a mouse cursor before dying. The errors in dmesg were similar to the one I found with PCI devices (not AGP ones!) on the same AMD K8 or K10-based motherboard I reproduce issue with AGP devices. Also, the errors in vanilla 5.9 look to be the same as the one seen in 5.10-rc1 from mainline PPA. Here is a sample of captured dmesg error on vanilla 5.9: ``` [5.242322] [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed (scratch(0x8504)=0xCAFEDEAD) [5.242359] radeon :01:00.0: disabling GPU acceleration … [ 34.558885] [ cut here ] [ 34.558889] trying to bind memory to uninitialized GART ! [ 34.559048] WARNING: CPU: 1 PID: 2516 at drivers/gpu/drm/radeon/radeon_gart.c:299 radeon_gart_bind+0xdf/0xf0 [radeon] [ 34.559050] Modules linked in: zram snd_usb_audio snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_usbmidi_lib snd_hda_core snd_hwdep snd_pcm snd_seq_midi kvm_amd snd_seq_midi_event ccp joydev kvm snd_seq snd_rawmidi input_leds snd_timer snd_seq_device snd soundcore k10temp mac_hid serio_raw binfmt_misc sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables btrfs blake2b_generic zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx libcrc32c xor raid6_pq raid1 raid0 multipath linear uas usb_storage hid_generic usbhid hid radeon i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm psmouse forcedeth i2c_nforce2 [ 34.559107] CPU: 1 PID: 2516 Comm: gnome-shell Not tainted 5.9.0 #1 [ 34.559109] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./AM2NF3-VSTA, BIOS P3.20 10/09/2009 [ 34.559178] RIP: 0010:radeon_gart_bind+0xdf/0xf0 [radeon] [ 34.559184] Code: 00 48 89 ef 48 8b 40 60 e8 0e 2f 44 df 31 c0 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 48 c7 c7 38 6f 6b c0 e8 23 0c 6d de <0f> 0b b8 ea ff ff ff eb dc 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 [ 34.559187] RSP: 0018:c030838f7a28 EFLAGS: 00010282 [ 34.559191] RAX: RBX: a0cf6b88eb80 RCX: 0027 [ 34.559193] RDX: 0027 RSI: 0086 RDI: a0cf6fc98d08 [ 34.559196] RBP: c030838f7b28 R08: a0cf6fc98d00 R09: 0004 [ 34.559198] R10: R11: 0001 R12: c030838f7b28 [ 34.559201] R13: a0cf6a622868 R14: a0cf6c7cc6e8 R15: c030838f7b28 [ 34.559204] FS: 7f46ae245cc0() GS:a0cf6fc8() knlGS: [ 34.559207] CS: 0010 DS: ES: CR0: 80050033 [ 34.559210] CR2: 56494261c1c8 CR3: 00040bfe6000 CR4: 06e0 [ 34.559212] Call Trace: [ 34.559286] radeon_ttm_backend_bind+0x58/0x210 [radeon] [ 34.559305] ttm_tt_bind+0x32/0x60 [ttm] [ 34.559321] ttm_bo_handle_move_mem+0x236/0x590 [ttm] [ 34.559339] ttm_bo_validate+0x16c/0x180 [ttm] [ 34.559407] ? drm_ioctl_kernel+0xe9/0xf0 [drm] [ 34.559422] ttm_bo_init_reserved+0x2ae/0x320 [ttm] [ 34.559438] ttm_bo_init+0x6d/0xf0 [ttm] [ 34.559504] ? radeon_update_memory_usage.isra.0+0x50/0x50 [radeon] [ 34.559569] radeon_bo_create+0x184/0x210 [radeon] [ 34.559634] ? radeon_update_memory_usage.isra.0+0x50/0x50 [radeon] [ 34.559703] radeon_gem_object_create+0xa9/0x180 [radeon] [ 34.559773] ? radeon_gem_pwrite_ioctl+0x20/0x20 [radeon] [ 34.559840] radeon_gem_create_ioctl+0x66/0x120 [radeon] [ 34.559850] ? tomoyo_path_number_perm+0x66/0x1d0 [ 34.559918] ? radeon_gem_pwrite_ioctl+0x20/0x20 [radeon] [ 34.559968] drm_ioctl_kernel+0xaa/0xf0 [drm] [ 34.560021] drm_ioctl+0x1ec/0x390 [drm] [ 34.560090] ? radeon_gem_pwrite_ioctl+0x20/0x20 [radeon] [ 34.560152] radeon_drm_ioctl+0x49/0x80 [radeon] [ 34.560160] __x64_sys_ioctl+0x83/0xb0 [ 34.560167] do_syscall_64+0x33/0x80 [ 34.560174] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 34.560179] RIP: 0033:0x7f46b369550b [ 34.560183] Code: 0f 1e fa 48 8b 05 85 39 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 55 39 0d 00 f7 d8 64 89 01 48 [ 34.560186] RSP: 002b:7ffdb7421658 EFLAGS: 0246 ORIG_RAX: 0010 [ 34.560189] RAX: ffda RBX: 7ffdb74216d0 RCX: 7f46b369550b [ 34.560192] RDX: 7ffdb74216d0 RSI: c020645d RDI: 000e [ 34.560194] RBP: c020645d R08: 0011 R09: 0005 [ 34.560197] R10: 56494245c010 R11: 0246 R12:
[Bug 1899304] Re: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues
** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues
I built the v5.5.0 version from torvalds's branch and it works. So, if it does not work on Ubuntu's 5.4.0-48 I can assume it's was broken by some Ubuntu custom patch or some backports, making it harder for me to identify what may have introduced the regression. I'll try to find the vanilla version that started to fail anyway, that will be helpful. -- 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues
Would it be possible for you to do a kernel bisection? First, find the last -rc kernel works and the first -rc kernel doesn’t work from http://kernel.ubuntu.com/~kernel-ppa/mainline/ Then, $ sudo apt build-dep linux $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git $ cd linux $ git bisect start $ git bisect good $(the working version you found) $ git bisect bad $(the non-working version found) $ make localmodconfig $ make -j`nproc` deb-pkg Install the newly built kernel, then reboot with it. If it still have the same issue, $ git bisect bad Otherwise, $ git bisect good Repeat to "make -j`nproc` deb-pkg" until you find the offending commit. -- 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues
Hi, thank you for your answer and your attention, This issue is confirmed again. 1. 5.10.0-rc1 does not fix the problem introduced in 5.4.0-48 regarding ATI/AMD AGP GPU. 2. PCI GPUs are broken on AMD K8/K10 platform since years but they work on Intel platform, GPU being ATI/AMD or Nvidia doesn't make a difference, so there is no display fallback if AGP is disabled. 3. Present issue not only reports graphical performance regression, but global performance regression on the computers as a whole: slow disk IO, audio glitches… Because the commit you talked about seems to be related to Radeon and AGP and I've experienced bugs with PCI nVidia hardware too, I've done more testing. I previously reported issues with the PCI Nvidia GeForce 8400 GS rev.2 on 5.4.0-48 kernel, but at the time I did not tried if this one worked on 5.40.0-47 on this host computer. This is now done and in fact, this hardware does not work on this host computer on 4.15.0-118-generic kernel from Ubuntu 16.04 LTS (Xenial), either on 4.8.0-36 and 4.4.0-190 (Xenial). I'm not saying such hardware does not work at all, such hardware works on Intel based computers, they work on Intel-based PCIe computer with Ubuntu 20.04 (I have not tested older). I've tested Nvidia and ATI PCI GPUs on the K8 AGP-based computer, the K10 AGP-based computer, a K8 PCIe based computer, and an Intel based computer. Teh tested PCI ATI GPU is an ATI Radeon HD 4350, a not-so-old GPU (TeraScale generation) with HDMI output. Either ATI or Nvidia, those GPU works on Intel based computer but not in AMD K8 AGP or K10 AGP and even not on K8 PCIe-based computer. So, here is the list of GPU tested: AGP ATI Radeon HD 4670 (RV730 XT, TeraScale 1), HDMI + DVI-I + VGA AGP ATI Radeon X1950 PRO (RV570, R500), DVI-I + DVI-I PCI ATI Radeon HD 4350 (RV710, Terascale 1), HDMI + DVI-I + VGA PCI Nvidia Geforce 8400 GS rev.2 (NV98, Tesla 1.0), DVI-I + VGA AGP GPUs worked up to 5.4.0-47 and stopped working with 5.4.0-48, they still does not work on 5.10.0-rc1, I reproduced the issue on 5.10.0-rc1 on both K8 and K10 AGP based computers. I don't have access right now to Intel-based AGP computers to test them. Those are the computers tested: K8 AGP based: ASRock AM2NF3-VSTA motherboard with AMD Phenom II X4 970 CPU (quad core), Nvidia nForce3 bridge, 16GB DDR2 800MHz, AGP + PCI K10 AGP based: Dell Optiplex 740 motherboard with AMD Athlon 64 X2 CPU (dual core), Nvidia C51 host bridge, C51 PCI Express bridge, 6GB DDR2 667MHz, PCIe + PCI K8 PCIe based: MSI MS-6702E motherboard with AMD Athlon 64 3200+ CPU (single core), VIA K8T800Pro, VT8237/8251 bridge, 3GB DDR 400MHz, AGP + PCI Intel PCIe based: Lenovo ThinkCentre M58 motherboard with Pentium E5200 CPU (dual core), Intel 82801 PCI Bridge, 1GB DDR2 800MHz, PCIe + PCI On all K8 or K10-based computers with AGP, the screen may displays garbage but host can be accessed through SSH, so I got some logs (more to come). So to sum it up: - PCI Graphics are broken in kernel since ages on K8/K10 platform but went probably unnoticed since they work on Intel platform and those GPU are not very commons. - AGP Graphics regressed starting with 5.4.0-48. Because PCI graphics seems to be broken for ages on K8/K10 computers, when AGP is disabled in kernel, there is no fallback available to run a display, at all. On a side note, I'm surprised to hear hardware support like AGP may have been disabled less than six months after the release of an Long Term Support distribution that is expected to be supported for multiple years. Six months is even shorter than the usual support for non-LTS versions. Also, while PCIe was introduced a long time ago (2004?), AGP lived very lately, as demonstrated by this not-so-obsolete machine featuring a quad core CPU with hardware virtualization, 16GB of RAM and a TeraScale (OpenGL 3.3, OpenCL 1.0 capable) GPU with 1GB of VRAM. The motherboard is from 2006, GPU is from 2008, and CPU is from end of the year 2010. It seems to be a bit early to end support for them. This is among the best the market had to offer in 2010. Here can be found some documentation on the hardware: Motherboard: https://www.asrock.com/mb/nvidia/am2nf3-vsta/ GPU: http://www.hisdigital.com/us/product2-448.shtml CPU: https://www.cpu-world.com/CPUs/K10/AMD-Phenom%20II%20X4%20970%20Black%20Edition%20-%20HDZ970FBK4DGM%20(HDZ970FBGMBOX).html -- 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues
I guess it's caused by commit "drm/radeon: disable AGP by default". Please test latest mainline kernel: https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.10-rc1/amd64/ Hopefully it's already fixed. ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete -- 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues
Here is another photo of display glitch happening when the computer hangs. I got it with both the Radeon X1950 and the Radeon HD 4670. What happens it at startup, the GNOME Shell desktop makes an animation, expanding itself from the center of the screen. In such screenshot, we see the computer hang before the full size of the screen is reached (blues square is the frame of the screen). ** Attachment added: "Screen photo of GNOME Shell hanging on Linux 5.4.0-52 with ATI Radeon HD 4670 AGP" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1899304/+attachment/5429842/+files/20201027-215858-000.gnome-shell-hang-on-ati-radeon-hd4670-agp.jpg -- 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues
I reproduce the bug on another computer, using 5.4.0-52-generic kernel: Motherboard: Asrock AM2NF3 VSTA CPU: AMD Phenom II X4 970 (Quad core) RAM: 16GB DDR2 800MHz (4×4 GB) GPU: ATI Radeon HD 4670 AGP VRAM: 1GB DDR3 Of course the same computer works flawlessly with 5.4.0-47-generic kernel. I noticed that if I plug a Radeon 9250 instead of the Radeon HD 4670, the desktop uses LLVMpipe software and GNOME manages to start successfully but this is so slow I can see the desktop being drawn. Note that LLVMpipe rendering on that same GPU but on 5.4.0-47-generic kernel is not that slow. When running 5.4.0-53-generic I can see the pixels being painted, that say so much how slow Ubuntu becomes on kernel greater than 5.4.0-47-generic. -- 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: Linux 5.4.0-48 (and later) causes GPU lockup, huge performance drop, makes GNOME desktop fail to start and games going from 70fps to 7fps, slow file loading, audio issues 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