[amdgpu] black screen before login on 5.4 kernel, but iommu=soft fixes it

Bug #1876835 reported by Dean
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Black screen after grub menu, selected kernel 5.4.0-29-generic and can't login, have to shut down laptop by pressing power button, or Alt + SysRq + REISUB(O), and when those dont work a hard power off.

I have installed linux-signed-oem-5.6 and ppa.launchpad.net/oibaf/graphics-drivers/ubuntu as a workaround the this problem

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gdm3 3.34.1-1ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
Uname: Linux 5.4.0-29-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Tue May 5 01:25:40 2020
InstallationDate: Installed on 2020-05-03 (1 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
SourcePackage: gdm3
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.gdm3.custom.conf: 2020-05-04T14:16:57.900775
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: d 11805 F.... pulseaudio
 /dev/snd/controlC0: d 11805 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-05-03 (4 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
MachineType: LENOVO 81NB
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
Package: linux (not installed)
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_j8up1k@/vmlinuz-5.4.0-29-generic root=ZFS=rpool/ROOT/ubuntu_j8up1k ro recovery nomodeset
ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-29-generic N/A
 linux-backports-modules-5.4.0-29-generic N/A
 linux-firmware 1.187
Tags: focal
Uname: Linux 5.4.0-29-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 07/25/2019
dmi.bios.vendor: LENOVO
dmi.bios.version: AMCN25WW(V1.08)
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0R32866 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo IdeaPad S340-14API
dmi.modalias: dmi:bvnLENOVO:bvrAMCN25WW(V1.08):bd07/25/2019:svnLENOVO:pn81NB:pvrLenovoIdeaPadS340-14API:rvnLENOVO:rnLNVNB161216:rvrSDK0R32866WIN:cvnLENOVO:ct10:cvrLenovoIdeaPadS340-14API:
dmi.product.family: IdeaPad S340-14API
dmi.product.name: 81NB
dmi.product.sku: LENOVO_MT_81NB_BU_idea_FM_IdeaPad S340-14API
dmi.product.version: Lenovo IdeaPad S340-14API
dmi.sys.vendor: LENOVO

Revision history for this message
Dean (wee-snoop) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please try removing 'splash' from your kernel command line and tell us if that solves it.

Changed in gdm3 (Ubuntu):
status: New → Incomplete
Revision history for this message
Dean (wee-snoop) wrote :

Hi, I've removed the slash from the grub.cfg, but no joy this problem still exist with the 5.4 kernel.

Revision history for this message
Dean (wee-snoop) wrote :

After i managed to reboot (REISUB). I've look at dmesg log, and at the end of the log theres an error for the last boot

24.340774] kernel: amdgpu 0000:04:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0000 address=0x4a68002a0 flags=0x0070].

So i added iommu=soft to the grub.cfg and reboot booted into 5.4.0.29-generic kernel 5 times so far and it seem to be boot fine now

summary: - black screen before login on 5.4 kernel
+ [amdgpu] black screen before login on 5.4 kernel
tags: added: amdgpu
summary: - [amdgpu] black screen before login on 5.4 kernel
+ [amdgpu] black screen before login on 5.4 kernel, but iommu=soft fixes
+ it
affects: gdm3 (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1876835

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Dean (wee-snoop) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Dean (wee-snoop) wrote : CRDA.txt

apport information

Revision history for this message
Dean (wee-snoop) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Dean (wee-snoop) wrote : IwConfig.txt

apport information

Revision history for this message
Dean (wee-snoop) wrote : Lspci.txt

apport information

Revision history for this message
Dean (wee-snoop) wrote : Lspci-vt.txt

apport information

Revision history for this message
Dean (wee-snoop) wrote : Lsusb.txt

apport information

Revision history for this message
Dean (wee-snoop) wrote : Lsusb-t.txt

apport information

Revision history for this message
Dean (wee-snoop) wrote : Lsusb-v.txt

apport information

Revision history for this message
Dean (wee-snoop) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Dean (wee-snoop) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Dean (wee-snoop) wrote : ProcEnviron.txt

apport information

Revision history for this message
Dean (wee-snoop) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Dean (wee-snoop) wrote : ProcModules.txt

apport information

Revision history for this message
Dean (wee-snoop) wrote : PulseList.txt

apport information

Revision history for this message
Dean (wee-snoop) wrote : RfKill.txt

apport information

Revision history for this message
Dean (wee-snoop) wrote : UdevDb.txt

apport information

Revision history for this message
Dean (wee-snoop) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.