Public bug reported:

Dear developers, please let me thank you for all your hard work first of
all, I'm a big fan of yours!

On my desktop PC with AMD A8-7680 APU, I'm facing 2 problems which seem
to be connected to the amdgpu kernel module:

1. Amdgpu kernel module loads correctly during boot, but VESA Xorg
module is loaded instead of AMDGPU Xorg module during X startup. This
results in non-accelerated X and high CPU load.

- This situation is always reproducible.

- I'm experiencing it with all kernel versions in between
5.4.0-47-generic and 5.4.0-67-generic inclusive.

- The situation escalates more with newer kernel version. For
5.8.0-45-generic and 5.11.8-051108-generic, X even does not start and I
just get black screen.

- I have found a workaround after many days of googling and testing. AMDGPU 
Xorg module is loaded correctly if and only if I disable AMD ACP by means of 
the following kernel boot parameter:
amdgpu.ip_block_mask=0xfffffdff

- Acceleration is ok with kernels where AMD ACP is disabled by default
(linux-image-linuxlite-5.6.0 for example)


2. The 2nd problem I'm facing is with non functioning hibernation after I 
"fixed" the X acceleration. Hibernation image does not seem to get created, 
screen goes black, PC freezes but never turns off whenever AMDGPU Xorg module 
is loaded. Hibernation and subsequent resume is all ok if I disable AMDGPU by 
means of "nomodeset" and go just with VESA module.

- always reproducible but tested only with 5.4.0-67-generic


Thank you and best regards,
Radek

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-67-generic 5.4.0-67.75
ProcVersionSignature: Ubuntu 5.4.0-67.75-generic 5.4.94
Uname: Linux 5.4.0-67-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC1:  radek      1513 F.... pulseaudio
 /dev/snd/controlC0:  radek      1513 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Sun Mar 21 15:22:29 2021
HibernationDevice: RESUME=/dev/disk/by-label/SSD_LinuxSwap
IwConfig:
 lo        no wireless extensions.
 
 eth0      no wireless extensions.
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-67-generic 
root=UUID=1cc747ae-f2db-4733-aa04-be8d4bde050a ro ipv6.disable=1 net.ifnames=0 
nmi_watchdog=0 resume=LABEL=SSD_LinuxSwap amdgpu.ip_block_mask=0xfffffdff 
no_console_suspend
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-67-generic N/A
 linux-backports-modules-5.4.0-67-generic  N/A
 linux-firmware                            1.187.10
RfKill:
 
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/13/2019
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P5.20
dmi.board.name: FM2A68M-HD+
dmi.board.vendor: ASRock
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.:bvrP5.20:bd02/13/2019:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnFM2A68M-HD+:rvr:cvnTobefilledbyO.E.M.:ct3:cvrTobefilledbyO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1920674

Title:
  AMD A8-7680 (amdgpu): broken Xorg acceleration and hibernation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1920674/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to