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.000000] 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 0000:01:00.0: remove_conflicting_pci_framebuffers: bar 0: 0xe0000000 -> 0xefffffff [ 3.456237] radeon 0000:01:00.0: remove_conflicting_pci_framebuffers: bar 2: 0xfebe0000 -> 0xfebeffff [ 3.478847] checking generic (e0000000 130000) vs hw (e0000000 10000000) [ 3.478853] fb0: switching to radeondrmfb from VESA VGA [ 3.490892] Console: switching to colour dummy device 80x25 [ 3.490909] radeon 0000: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 0x000c0000-0x000dffff], which spans more than PCI Bus 0000:00 [mem 0x000d0000-0x000dffff window] [ 3.491359] caller pci_map_rom+0x71/0x18c mapping multiple BARs [ 3.492982] ATOM BIOS: RV730XT [ 3.493101] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used) [ 3.493104] radeon 0000:01:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF [ 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 0x000000000014C000). [ 3.534726] radeon 0000:01:00.0: WB enabled [ 3.534730] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0x(____ptrval____) [ 3.534733] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0x(____ptrval____) [ 3.541143] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x000000000005c598 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 0000: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 0000: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 0xE0000000 [ 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 0000:01:00.0: fb0: radeondrmfb frame buffer device [ 5.996432] [drm] Initialized radeon 2.50.0 20080528 for 0000: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 snd_timer kvm_amd snd ccp kvm soundcore k10temp mac_hid serio_raw binfmt_misc sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear uas hid_generic usb_storage usbhid hid radeon i2c_algo_bit ttm drm_kms_helper syscopyarea sysfillrect sysimgblt forcedeth fb_sys_fops psmouse drm i2c_nforce2 [ 36.254530] CPU: 3 PID: 2559 Comm: gnome-shell Not tainted 5.4.0-48-generic #52-Ubuntu [ 36.254533] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./AM2NF3-VSTA, BIOS P3.20 10/09/2009 [ 36.254594] RIP: 0010:radeon_gart_bind+0xef/0x100 [radeon] [ 36.254600] Code: 00 4c 89 e7 48 8b 40 60 e8 de 41 61 d6 31 c0 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 c7 c7 a8 d1 2e c0 e8 6c 4c 8b d5 <0f> 0b b8 ea ff ff ff eb dc 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 [ 36.254603] RSP: 0018:ffffb92a04767928 EFLAGS: 00010282 [ 36.254607] RAX: 0000000000000000 RBX: ffff9ab7e79da600 RCX: 0000000000000006 [ 36.254609] RDX: 0000000000000007 RSI: 0000000000000082 RDI: ffff9ab7efb978c0 [ 36.254612] RBP: ffffb92a04767960 R08: 000000000000031d R09: 0000000000000004 [ 36.254614] R10: 0000000000000000 R11: 0000000000000001 R12: ffffb92a04767a38 [ 36.254616] R13: ffff9ab7dd1ec6e8 R14: ffffb92a04767a38 R15: ffffb92a04767a38 [ 36.254620] FS: 00007f8189ab0cc0(0000) GS:ffff9ab7efb80000(0000) knlGS:0000000000000000 [ 36.254623] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 36.254626] CR2: 00005650a10fb338 CR3: 0000000420e7a000 CR4: 00000000000006e0 [ 36.254628] Call Trace: [ 36.254690] radeon_ttm_backend_bind+0x5f/0x250 [radeon] [ 36.254706] ttm_tt_bind+0x37/0x60 [ttm] [ 36.254718] ttm_bo_handle_move_mem+0x2a4/0x5b0 [ttm] [ 36.254731] ttm_bo_validate+0x142/0x160 [ttm] [ 36.254787] ? drm_connector_list_update+0x94/0x180 [drm] [ 36.254800] ttm_bo_init_reserved+0x36c/0x400 [ttm] [ 36.254812] ttm_bo_init+0x6b/0x120 [ttm] [ 36.254869] ? radeon_update_memory_usage.isra.0+0x50/0x50 [radeon] [ 36.254926] radeon_bo_create+0x17a/0x200 [radeon] [ 36.254982] ? radeon_update_memory_usage.isra.0+0x50/0x50 [radeon] [ 36.255042] radeon_gem_object_create+0xad/0x190 [radeon] [ 36.255103] ? radeon_gem_pwrite_ioctl+0x30/0x30 [radeon] [ 36.255162] radeon_gem_create_ioctl+0x69/0x100 [radeon] [ 36.255222] ? radeon_gem_pwrite_ioctl+0x30/0x30 [radeon] [ 36.255258] drm_ioctl_kernel+0xae/0xf0 [drm] [ 36.255295] drm_ioctl+0x234/0x3d0 [drm] [ 36.255355] ? radeon_gem_pwrite_ioctl+0x30/0x30 [radeon] [ 36.255364] ? __handle_mm_fault+0x760/0x7a0 [ 36.255419] radeon_drm_ioctl+0x4e/0x80 [radeon] [ 36.255425] do_vfs_ioctl+0x407/0x670 [ 36.255433] ? do_user_addr_fault+0x216/0x450 [ 36.255437] ksys_ioctl+0x67/0x90 [ 36.255442] __x64_sys_ioctl+0x1a/0x20 [ 36.255448] do_syscall_64+0x57/0x190 [ 36.255455] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 36.255459] RIP: 0033:0x7f818ef0050b [ 36.255464] 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 [ 36.255466] RSP: 002b:00007ffc58049aa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 36.255470] RAX: ffffffffffffffda RBX: 00007ffc58049b20 RCX: 00007f818ef0050b [ 36.255472] RDX: 00007ffc58049b20 RSI: 00000000c020645d RDI: 000000000000000e [ 36.255474] RBP: 00000000c020645d R08: 0000000000000011 R09: 0000000000000005 [ 36.255477] R10: 00007ffc58049b00 R11: 0000000000000246 R12: 0000000000001000 [ 36.255479] R13: 000000000000000e R14: 0000000000010000 R15: 0000000000001000 [ 36.255485] ---[ end trace cc3e050ddf34973f ]--- [ 36.255545] [drm:radeon_ttm_backend_bind [radeon]] *ERROR* failed to bind 16 pages at 0x00000000 [ 36.255631] [drm:radeon_gem_object_create [radeon]] *ERROR* Failed to allocate GEM object (65536, 2, 4096, -22) ``` -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in 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 Status in linux package in Ubuntu: Confirmed Bug description: 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 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: USER PID 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. lo no wireless extensions. MachineType: MSI MS-6702E ProcEnviron: 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-firmware 1.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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1899304/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp