All of lore.kernel.org
 help / color / mirror / Atom feed
From: PGNet Dev <pgnet.dev@gmail.com>
To: lijo.lazar@amd.com, alexdeucher@gmail.com
Cc: amd-gfx@lists.freedesktop.org
Subject: Re: amdgpu "Fatal error during GPU init"; Ryzen 5600G integrated GPU + kernel 5.14.13
Date: Fri, 29 Oct 2021 18:13:25 -0400	[thread overview]
Message-ID: <9e964b4c-6a99-6605-63ae-f42537fd01db@gmail.com> (raw)
In-Reply-To: <27b8936d-ba79-cc13-7768-692565bedc2f@amd.com>

>> I would start with an sbios update is possible.

I swapped out the ASRockRack X470D4U mobo for a new, next-gen X570D4U.

Keeping the same 2X16GB UDIMMs, and trying 2 different Ryzen 5600G CPUs, I now see the following ...

With an NVIDIA PCIe card as primary adapter, it posts & functions, as before; no issues or problems.

Selecting the on-die AMDGPU, via the board's HDMI connector, now also posts & boots; No more OOPS.


Booting, now on

	uname -rm
		5.14.14-200.fc34.x86_64 x86_64

dmesg @ boot is:

	dmesg | grep -i amdgpu
		[    1.623977] [drm] amdgpu kernel modesetting enabled.
		[    1.627731] amdgpu: Virtual CRAT table created for CPU
		[    1.627738] amdgpu: Topology: Add CPU node
		[    1.627782] fb0: switching to amdgpudrmfb from EFI VGA
		[    1.627910] amdgpu 0000:30:00.0: vgaarb: deactivate vga console
		[    1.627972] amdgpu 0000:30:00.0: amdgpu: Trusted Memory Zone (TMZ) feature enabled
		[    1.634655] amdgpu 0000:30:00.0: amdgpu: Fetched VBIOS from ROM BAR
		[    1.634656] amdgpu: ATOM BIOS: 113-CEZANNE-018
		[    1.635463] amdgpu 0000:30:00.0: amdgpu: VRAM: 512M 0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
		[    1.635465] amdgpu 0000:30:00.0: amdgpu: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
		[    1.635466] amdgpu 0000:30:00.0: amdgpu: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF
		[    1.635504] [drm] amdgpu: 512M of VRAM memory ready
		[    1.635505] [drm] amdgpu: 3072M of GTT memory ready.
		[    1.639127] amdgpu 0000:30:00.0: amdgpu: PSP runtime database doesn't exist
		[    1.667936] amdgpu 0000:30:00.0: amdgpu: Will use PSP to load VCN firmware
		[    2.469604] amdgpu 0000:30:00.0: amdgpu: RAS: optional ras ta ucode is not available
		[    2.477996] amdgpu 0000:30:00.0: amdgpu: RAP: optional rap ta ucode is not available
		[    2.477999] amdgpu 0000:30:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
		[    2.478948] amdgpu 0000:30:00.0: amdgpu: SMU is initialized successfully!
		[    2.530805] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
		[    2.758719] amdgpu: HMM registered 512MB device memory
		[    2.758741] amdgpu: SRAT table not found
		[    2.758741] amdgpu: Virtual CRAT table created for GPU
		[    2.758942] amdgpu: Topology: Add dGPU node [0x1638:0x1002]
		[    2.758944] kfd kfd: amdgpu: added device 1002:1638
		[    2.758958] amdgpu 0000:30:00.0: amdgpu: SE 1, SH per SE 2, CU per SH 18, active_cu_number 27
		[    2.949242] fbcon: amdgpu (fb0) is primary device
		[    3.052240] amdgpu 0000:30:00.0: [drm] fb0: amdgpu frame buffer device
		[    3.061026] amdgpu 0000:30:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
		[    3.061030] amdgpu 0000:30:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
		[    3.061031] amdgpu 0000:30:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
		[    3.061032] amdgpu 0000:30:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
		[    3.061032] amdgpu 0000:30:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
		[    3.061033] amdgpu 0000:30:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
		[    3.061034] amdgpu 0000:30:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
		[    3.061034] amdgpu 0000:30:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
		[    3.061035] amdgpu 0000:30:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
		[    3.061036] amdgpu 0000:30:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
		[    3.061037] amdgpu 0000:30:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 1
		[    3.061038] amdgpu 0000:30:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 1
		[    3.061039] amdgpu 0000:30:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 1
		[    3.061039] amdgpu 0000:30:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 1
		[    3.061040] amdgpu 0000:30:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 1
		[    3.209226] [drm] Initialized amdgpu 3.42.0 20150101 for 0000:30:00.0 on minor 0
		[   13.749477] snd_hda_intel 0000:30:00.1: bound 0000:30:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])

However, now, the output color registration is wrong.

After grub selection, boot shell background is pink/magenta everywhere.  Screenshot here:  https://imgur.com/q2JJ4n6

If I continue from shell to launch a desktop environment (XFCE or KDE), it reaches runlevel 5 with no problems or errors -- EXCEPT the color registration is still wrong.

Switching back to the NVIdia cures the issue - back to normal black background @ runlevel 3 shell, and correct colors @ rl5

The mv from X470D4U -> X570D4U apparently 'fixed' the problem with NO video output from the on-die GPU. BIOS, or other board issues, I'm not clear.

Is this color issue *still* likely a BIOS issue? or the amdgpu driver?

  parent reply	other threads:[~2021-10-29 22:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-24 14:12 amdgpu "Fatal error during GPU init"; Ryzen 5600G integrated GPU + kernel 5.14.13 PGNet Dev
2021-10-25 13:48 ` PGNet Dev
2021-10-25 13:58   ` PGNet Dev
2021-10-25 14:15   ` Alex Deucher
2021-10-25 15:15     ` Lazar, Lijo
2021-10-25 16:32       ` PGNet Dev
2021-10-25 17:48         ` PGNet Dev
2021-10-26 17:02           ` PGNet Dev
2021-10-29 22:13       ` PGNet Dev [this message]
2021-10-29 22:34         ` PGNet Dev
2021-10-30  1:07           ` PGNet Dev
2021-10-30 15:24     ` amdgpu on Ryzen 5600G -- 'purple' background [WAS: Re: amdgpu "Fatal error during GPU init"; Ryzen 5600G integrated GPU + kernel 5.14.13} PGNet Dev
2021-11-02  9:37       ` PGNet Dev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9e964b4c-6a99-6605-63ae-f42537fd01db@gmail.com \
    --to=pgnet.dev@gmail.com \
    --cc=alexdeucher@gmail.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=lijo.lazar@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.