Score:0

Updated to 21.04 - Wayland is slow and glitchy, Xorg give black screen

ng flag

I just upgraded to 21.04 and am having issues with the display. If I log in with Wayland (default) the screen goes on and off for about the first 10 minutes then settles down. Once it is settled however, I notice a lot of occasional slowdown. I was using Xorg on 20.10 and everything was generally smooth as butter - however, if I try to start 21.04 with Xorg I get a black screen.

Not sure where to start fixing this. Any help appreciated.

Update - there seem to be a lot of graphics(?) related errors in the system log. I've included a snapshot below... may be related?

Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.904913] ------------[ cut here ]------------
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.904923] WARNING: CPU: 1 PID: 100 at drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:3187 amdgpu_vm_manager_fini+0x24/0x50 [amdgpu]
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905195] Modules linked in: rfcomm nft_chain_nat xt_MASQUERADE xt_state xt_conntrack ipt_REJECT nf_reject_ipv4 nft_counter xt_tcpudp nft_compat nf_tables nfnetlink nf_nat_h323 nf_conntrack_h323 nf_nat_pptp nf_conntrack_pptp nf_nat_tftp nf_conntrack_tftp nf_nat_sip nf_conntrack_sip nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 bridge stp llc vboxnetadp(OE) vboxnetflt(OE) cmac algif_hash algif_skcipher af_alg bnep vboxdrv(OE) binfmt_misc intel_rapl_msr mei_hdcp btusb btrtl btbcm btintel rtsx_usb_ms bluetooth uvcvideo memstick ecdh_generic ecc snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation soundwire_cadence snd_hda_codec snd_hda_core snd_hwdep soundwire_bus snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_pcm intel_rapl_common x86_pkg_temp_thermal intel_powerclamp snd_seq_midi coretemp snd_seq_midi_event dell_laptop
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905262]  kvm_intel ledtrig_audio dell_smm_hwmon kvm snd_rawmidi rapl iwlmvm intel_cstate snd_seq mac80211 snd_seq_device snd_timer libarc4 dell_wmi dell_smbios dcdbas input_leds iwlwifi serio_raw sparse_keymap at24 joydev dell_wmi_descriptor snd wmi_bmof cfg80211 soundcore mei_me mei mac_hid dell_rbtn sch_fq_codel msr parport_pc ppdev lp parport binder_linux ashmem_linux(CE) ip_tables x_tables autofs4 raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_logitech_hidpp ses enclosure scsi_transport_sas hid_logitech_dj usbhid rtsx_usb_sdmmc rtsx_usb uas usb_storage hid_rmi rmi_core videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc amdgpu hid_generic iommu_v2 gpu_sched crct10dif_pclmul i915 drm_ttm_helper crc32_pclmul ttm i2c_algo_bit ghash_clmulni_intel drm_kms_helper aesni_intel syscopyarea sysfillrect sysimgblt fb_sys_fops crypto_simd cec rc_core cryptd glue_helper psmouse drm
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905346]  i2c_i801 ahci xhci_pci libahci i2c_smbus lpc_ich xhci_pci_renesas r8169 realtek wmi i2c_hid video hid pinctrl_lynxpoint
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905366] CPU: 1 PID: 100 Comm: kworker/u16:1 Tainted: G      D WC OE     5.11.0-18-generic #19-Ubuntu
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905370] Hardware name: Dell Inc. Inspiron 5447/00HFXN, BIOS A05 08/12/2014
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905373] Workqueue: kacpi_hotplug acpi_hotplug_work_fn
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905380] RIP: 0010:amdgpu_vm_manager_fini+0x24/0x50 [amdgpu]
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905650] Code: 00 00 eb 9d 66 90 0f 1f 44 00 00 55 48 89 e5 41 54 49 89 fc 48 81 c7 d0 54 00 00 48 83 ec 08 49 83 bc 24 d8 54 00 00 00 74 15 <0f> 0b e8 b5 9b 41 cc 4c 89 e7 e8 5d bc 00 00 4c 8b 65 f8 c9 c3 31
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905657] RSP: 0018:ffffa210003abbf0 EFLAGS: 00010286
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905662] RAX: 0000000000000000 RBX: ffff8b25936c0000 RCX: 0000000000000000
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905666] RDX: ffff8b2440c38000 RSI: ffffa210003abb40 RDI: ffff8b25936c54d0
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905670] RBP: ffffa210003abc00 R08: 0000000000000000 R09: 0000000000000000
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905673] R10: 0000000000000001 R11: 0000000000000000 R12: ffff8b25936c0000
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905678] R13: 0000000000000001 R14: ffff8b25936d7558 R15: ffff8b2440e5f800
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905682] FS:  0000000000000000(0000) GS:ffff8b2597240000(0000) knlGS:0000000000000000
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905687] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905691] CR2: 00005627844d1c98 CR3: 000000018ce10006 CR4: 00000000001706e0
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905696] Call Trace:
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905701]  gmc_v7_0_sw_fini+0x1a/0x60 [amdgpu]
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.905968]  amdgpu_device_ip_fini.isra.0+0x206/0x2cd [amdgpu]
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.906326]  amdgpu_device_fini+0xba/0x21a [amdgpu]
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.906673]  amdgpu_driver_unload_kms+0x43/0x70 [amdgpu]
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.906904]  amdgpu_pci_remove+0x3b/0x60 [amdgpu]
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907045]  pci_device_remove+0x3e/0xb0
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907051]  __device_release_driver+0x181/0x250
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907056]  device_release_driver+0x29/0x40
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907059]  pci_stop_bus_device+0x70/0xa0
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907063]  pci_stop_and_remove_bus_device+0x13/0x30
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907066]  disable_slot+0x4f/0xa0
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907071]  acpiphp_check_bridge.part.0+0xbd/0x140
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907074]  hotplug_event+0x149/0x240
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907078]  ? hotplug_event+0x240/0x240
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907081]  acpiphp_hotplug_notify+0x27/0x80
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907085]  acpi_device_hotplug+0x99/0x1e0
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907090]  acpi_hotplug_work_fn+0x45/0x60
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907094]  process_one_work+0x220/0x3c0
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907098]  worker_thread+0x50/0x370
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907101]  kthread+0x12f/0x150
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907106]  ? process_one_work+0x3c0/0x3c0
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907109]  ? __kthread_bind_mask+0x70/0x70
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907114]  ret_from_fork+0x22/0x30
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907121] ---[ end trace d9bd9793a3ee2ec8 ]---
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907299] [TTM] Zone  kernel: Used memory at exit: 260 KiB
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907312] [TTM] Zone   dma32: Used memory at exit: 0 KiB
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907318] [drm] amdgpu: ttm finalized
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.907737] vga_switcheroo: disabled
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.909820] pci 0000:03:00.0: [1002:6900] type 00 class 0x038000
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.909861] pci 0000:03:00.0: reg 0x10: [mem 0xa0000000-0xafffffff 64bit pref]
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.909886] pci 0000:03:00.0: reg 0x18: [mem 0xb0000000-0xb01fffff 64bit pref]
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.909904] pci 0000:03:00.0: reg 0x20: [io  0x3000-0x30ff]
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.909922] pci 0000:03:00.0: reg 0x24: [mem 0xb0900000-0xb093ffff]
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.909939] pci 0000:03:00.0: reg 0x30: [mem 0xfffe0000-0xffffffff pref]
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910081] pci 0000:03:00.0: supports D1 D2
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910174] pci 0000:03:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:00:1c.4 (capable of 63.008 Gb/s with 8.0 GT/s PCIe x8 link)
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910396] pci 0000:03:00.0: BAR 0: assigned [mem 0xa0000000-0xafffffff 64bit pref]
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910420] pci 0000:03:00.0: BAR 2: assigned [mem 0xb0000000-0xb01fffff 64bit pref]
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910438] pci 0000:03:00.0: BAR 5: assigned [mem 0xb0900000-0xb093ffff]
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910446] pci 0000:03:00.0: BAR 6: assigned [mem 0xb0940000-0xb095ffff pref]
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910452] pci 0000:03:00.0: BAR 4: assigned [io  0x3000-0x30ff]
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910476] pci 0000:03:00.0: disabling ATS
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910678] [drm] initializing kernel modesetting (TOPAZ 0x1002:0x6900 0x1028:0x0640 0x00).
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910690] amdgpu 0000:03:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910767] [drm] register mmio base: 0xB0900000
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910771] [drm] register mmio size: 262144
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910776] [drm] PCIE atomic ops is not supported
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910786] [drm] add ip block number 0 <vi_common>
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910790] [drm] add ip block number 1 <gmc_v7_0>
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910793] [drm] add ip block number 2 <iceland_ih>
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910796] [drm] add ip block number 3 <gfx_v8_0>
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910799] [drm] add ip block number 4 <sdma_v2_4>
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910803] [drm] add ip block number 5 <powerplay>
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.910808] kfd kfd: TOPAZ  not supported in kfd
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.935261] amdgpu 0000:03:00.0: amdgpu: Fetched VBIOS from ATRM
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.935270] amdgpu: ATOM BIOS: BR45293.001
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.935310] amdgpu 0000:03:00.0: amdgpu: PCI CONFIG reset
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.935314] amdgpu 0000:03:00.0: amdgpu: GPU pci config reset
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.935430] [drm] GPU posting now...
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.939264] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.939315] amdgpu 0000:03:00.0: amdgpu: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.939321] amdgpu 0000:03:00.0: amdgpu: GART: 256M 0x000000FF00000000 - 0x000000FF0FFFFFFF
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.939333] [drm] Detected VRAM RAM=2048M, BAR=256M
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.939336] [drm] RAM width 64bits DDR3
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.939402] [TTM] Zone  kernel: Available graphics memory: 4014392 KiB
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.939406] [TTM] Zone   dma32: Available graphics memory: 2097152 KiB
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.939442] [drm] amdgpu: 2048M of VRAM memory ready
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.939446] [drm] amdgpu: 3072M of GTT memory ready.
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.939449] [drm] GART: num cpu pages 65536, num gpu pages 65536
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.940223] [drm] PCIE GART of 256M enabled (table at 0x000000F400000000).
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.940412] [drm] Chained IB support enabled!
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.942750] amdgpu: hwmgr_sw_init smu backed is iceland_smu
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.953518] amdgpu: can't get the mac of 5
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.955030] amdgpu: VBIOS did not find boot engine clock value in dependency table. Using Memory DPM level 0!
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.958161] amdgpu 0000:03:00.0: amdgpu: SE 1, SH per SE 1, CU per SH 6, active_cu_number 6
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.961464] vga_switcheroo: enabled
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.961479] amdgpu 0000:03:00.0: amdgpu: Using ATPX for runtime pm
Jun 16 23:15:22 jon-Inspiron-5447 kernel: [  465.961909] [drm] Initialized amdgpu 3.40.0 20150101 for 0000:03:00.0 on minor 58
Jun 16 23:15:22 jon-Inspiron-5447 gnome-shell[4215]: Failed to hotplug secondary gpu '/dev/dri/renderD186': GDBus.Error:System.Error.ENODEV: No such device
Jun 16 23:15:22 jon-Inspiron-5447 gnome-shell[4215]: amdgpu_device_initialize: amdgpu_get_auth (2) failed (-1)
Jun 16 23:15:22 jon-Inspiron-5447 gnome-shell[4215]: amdgpu: amdgpu_device_initialize failed.
Jun 16 23:15:22 jon-Inspiron-5447 gnome-shell[4215]: Failed to initialize accelerated iGPU/dGPU framebuffer sharing: Do not want to use software renderer (llvmpipe (LLVM 12.0.0, 256 bits)), falling back to CPU copy path
Jun 16 23:15:28 jon-Inspiron-5447 kernel: [  472.210326] amdgpu: VI should always have 2 performance levels
Jun 16 23:15:29 jon-Inspiron-5447 kernel: [  472.918129] [drm] PCIE GART of 256M enabled (table at 0x000000F400000000).
Jun 16 23:15:29 jon-Inspiron-5447 kernel: [  472.923118] amdgpu: can't get the mac of 5
Jun 16 23:15:29 jon-Inspiron-5447 kernel: [  472.924380] amdgpu: VBIOS did not find boot engine clock value in dependency table. Using Memory DPM level 0!
Jun 16 23:15:29 jon-Inspiron-5447 kernel: [  472.933689] [drm:amdgpu_pci_remove [amdgpu]] *ERROR* Hotplug removal is not supported
Jun 16 23:15:29 jon-Inspiron-5447 kernel: [  472.936891] amdgpu 0000:03:00.0: amdgpu: amdgpu: finishing device.
Jun 16 23:15:29 jon-Inspiron-5447 kernel: [  472.938070] amdgpu: VI should always have 2 performance levels
Jun 16 23:15:29 jon-Inspiron-5447 kernel: [  472.944839] ------------[ cut here ]------------
jonrandy avatar
ng flag
Update. All of this only happens after a fresh boot it seems. I then have to log in to Wayland, wait for the screen on and off period to calm down, then it is usable. After using Wayland for a while yesterday I decided to try Xorg again - logged out and back into Xorg... and all was OK Had all the same issues today after powering on again :(
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.