I've installed https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8-rc3/
and the problem seems to have been solved. My laptop is a HP-Pavilion-
Laptop-15-cw1xxx, CPU: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx.

-- 
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/1870971

Title:
  [amdgpu] (X)ubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API when in battery mode

Status in linux package in Ubuntu:
  Confirmed
Status in vlc package in Ubuntu:
  Invalid

Bug description:
  Freshly installed Xubuntu 20.04 shows black screen instead of login
  screen upon boot on Lenovo Ideapad L340-17API. It is not possible to
  chvt to text terminal when boot is stuck on black screen.

  Booting with 'nomodeset' kernel option works properly but is not an
  option (e.g. screen brightness is not adjustable in this case).

  Another workaround is to ssh to laptop and run systemctl restart
  display-manager.service. After 5-10 seconds upon executing this
  command perfectly working login screen appears.

  Check dmesg. There is apparently related messages from amdgpu driver:

  ...
  апр 05 20:46:45 kernel: [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* 
amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :3
  апр 05 20:46:45 kernel: [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* 
amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :3
  апр 05 20:46:45 kernel: [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* 
amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :3
  апр 05 20:46:45 kernel: [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* 
amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :3
  апр 05 20:46:45 kernel: [drm:amdgpu_dm_set_pflip_irq_state [amdgpu]] *ERROR* 
amdgpu_dm_set_pflip_irq_state: crtc is NULL at id :3
  апр 05 20:46:45 kernel: [drm:amdgpu_dm_set_pflip_irq_state [amdgpu]] *ERROR* 
amdgpu_dm_set_pflip_irq_state: crtc is NULL at id :3
  апр 05 20:46:45 kernel: [drm:amdgpu_dm_set_pflip_irq_state [amdgpu]] *ERROR* 
amdgpu_dm_set_pflip_irq_state: crtc is NULL at id :3
  апр 05 20:46:45 kernel: [drm:amdgpu_dm_set_pflip_irq_state [amdgpu]] *ERROR* 
amdgpu_dm_set_pflip_irq_state: crtc is NULL at id :3
  апр 05 20:46:45 kernel: [drm:amdgpu_dm_set_vupdate_irq_state [amdgpu]] 
*ERROR* amdgpu_dm_set_vupdate_irq_state: crtc is NULL at id :3
  апр 05 20:46:45 kernel: [drm:amdgpu_dm_set_vupdate_irq_state [amdgpu]] 
*ERROR* amdgpu_dm_set_vupdate_irq_state: crtc is NULL at id :3
  апр 05 20:46:45 kernel: [drm:amdgpu_dm_set_vupdate_irq_state [amdgpu]] 
*ERROR* amdgpu_dm_set_vupdate_irq_state: crtc is NULL at id :3
  апр 05 20:46:45 kernel: [drm:amdgpu_dm_set_vupdate_irq_state [amdgpu]] 
*ERROR* amdgpu_dm_set_vupdate_irq_state: crtc is NULL at id :3
  апр 05 20:46:45 kernel: [drm] recover vram bo from shadow start
  апр 05 20:46:45 kernel: [drm] recover vram bo from shadow done
  апр 05 20:46:45 kernel: [drm] Skip scheduling IBs!
  апр 05 20:46:45 kernel: ------------[ cut here ]------------
  апр 05 20:46:45 kernel: WARNING: CPU: 3 PID: 793 at 
include/linux/dma-fence.h:533 drm_sched_resubmit_jobs+0x152/0x160 [gpu_sched]
  апр 05 20:46:45 kernel: Modules linked in: cmac algif_hash algif_skcipher 
af_alg bnep zram nls_iso8859_1 snd_hda_codec_realtek snd_hda_codec_generic 
ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_nhlt snd_hda_codec >
  апр 05 20:46:45 kernel: CPU: 3 PID: 793 Comm: kworker/3:4 Tainted: G          
 OE     5.4.0-21-generic #25-Ubuntu
  апр 05 20:46:45 kernel: Hardware name: LENOVO 81LY/LNVNB161216, BIOS ARCN32WW 
07/11/2019
  апр 05 20:46:45 kernel: Workqueue: events drm_sched_job_timedout [gpu_sched]
  апр 05 20:46:45 kernel: RIP: 0010:drm_sched_resubmit_jobs+0x152/0x160 
[gpu_sched]
  апр 05 20:46:45 kernel: Code: 41 5c 41 5d 41 5e 41 5f 5d c3 49 8b 46 10 31 c9 
48 c7 80 80 00 00 00 00 00 00 00 49 8b 7f 70 31 c0 83 e7 01 74 04 0f 0b eb bf 
<0f> 0b eb c7 0f 0b eb 8b 66 0f 1f 44 00 00 0f 1f 44 00 00 83 7f 4c
  апр 05 20:46:45 kernel: RSP: 0018:ffffa4dc806d7d28 EFLAGS: 00010246
  апр 05 20:46:45 kernel: RAX: 0000000000000000 RBX: 0000000000000001 RCX: 
0000000000000000
  апр 05 20:46:45 kernel: RDX: ffff8cc9a6fc9180 RSI: ffff8cc9ac4609f8 RDI: 
0000000000000000
  апр 05 20:46:45 kernel: RBP: ffffa4dc806d7d60 R08: 000000000000047a R09: 
0000000000000004
  апр 05 20:46:45 kernel: R10: 0000000000000000 R11: 0000000000000001 R12: 
ffff8cc9ac463c00
  апр 05 20:46:45 kernel: R13: ffff8cc9a63c7980 R14: ffff8cc9ac460800 R15: 
ffff8cc9a6fc9140
  апр 05 20:46:45 kernel: FS:  0000000000000000(0000) GS:ffff8cc9b88c0000(0000) 
knlGS:0000000000000000
  апр 05 20:46:45 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  апр 05 20:46:45 kernel: CR2: 00007f275ff6c000 CR3: 00000001af148000 CR4: 
00000000003406e0
  апр 05 20:46:45 kernel: Call Trace:
  апр 05 20:46:45 kernel:  amdgpu_device_gpu_recover+0x6cd/0x95a [amdgpu]
  апр 05 20:46:45 kernel:  amdgpu_job_timedout+0x103/0x130 [amdgpu]
  апр 05 20:46:45 kernel:  drm_sched_job_timedout+0x44/0x90 [gpu_sched]
  апр 05 20:46:45 kernel:  process_one_work+0x1eb/0x3b0
  апр 05 20:46:45 kernel:  worker_thread+0x4d/0x400
  апр 05 20:46:45 kernel:  kthread+0x104/0x140
  апр 05 20:46:45 kernel:  ? process_one_work+0x3b0/0x3b0
  апр 05 20:46:45 kernel:  ? kthread_park+0x90/0x90
  апр 05 20:46:45 kernel:  ret_from_fork+0x22/0x40
  апр 05 20:46:45 kernel: ---[ end trace fb203c8f6a7afd49 ]---
  ...

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: xorg 1:7.7+19ubuntu14
  ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
  Uname: Linux 5.4.0-21-generic x86_64
  ApportVersion: 2.20.11-0ubuntu22
  Architecture: amd64
  BootLog: Error: [Errno 13] Отказано в доступе: '/var/log/boot.log'
  CompositorRunning: None
  CurrentDesktop: XFCE
  Date: Sun Apr  5 20:52:30 2020
  DistUpgraded: Fresh install
  DistroCodename: focal
  DistroVariant: ubuntu
  DkmsStatus: rtl8821ce, 5.5.2.1, 5.4.0-21-generic, x86_64: installed
  ExtraDebuggingInterest: Yes
  GpuHangFrequency: Several times a week
  GpuHangReproducibility: Yes, I can easily reproduce it
  GpuHangStarted: Immediately after installing this version of Ubuntu
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Picasso [1002:15d8] (rev c4) (prog-if 
00 [VGA controller])
     Subsystem: Lenovo Picasso [17aa:3808]
  InstallationDate: Installed on 2020-04-04 (1 days ago)
  InstallationMedia: Xubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200404)
  MachineType: LENOVO 81LY
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-21-generic 
root=/dev/mapper/vgxubuntu-root ro quiet splash vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  Title: Xorg freeze
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/11/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: ARCN32WW
  dmi.board.asset.tag: No Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: No DPK
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo IdeaPad L340-17API
  dmi.modalias: 
dmi:bvnLENOVO:bvrARCN32WW:bd07/11/2019:svnLENOVO:pn81LY:pvrLenovoIdeaPadL340-17API:rvnLENOVO:rnLNVNB161216:rvrNoDPK:cvnLENOVO:ct10:cvrLenovoIdeaPadL340-17API:
  dmi.product.family: IdeaPad L340-17API
  dmi.product.name: 81LY
  dmi.product.sku: LENOVO_MT_81LY_BU_idea_FM_IdeaPad L340-17API
  dmi.product.version: Lenovo IdeaPad L340-17API
  dmi.sys.vendor: LENOVO
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.100-4
  version.libgl1-mesa-dri: libgl1-mesa-dri 20.0.2-1ubuntu1
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.7-2ubuntu2
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20190815-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+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

Reply via email to