public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Adam Carter <adamcarter3@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] AMD Radeon R7 370 (Pitcairn) causing the bootup to hang
Date: Mon, 4 May 2020 20:53:18 +1000	[thread overview]
Message-ID: <CAC=wYCHAQsfTQj7KLCNb1+z5OaHXi8oYdDy5bqxNNi1CEBaJww@mail.gmail.com> (raw)
In-Reply-To: <20200504002109.ougojgs2tnxg6j5l@ad-gentoo-main>

[-- Attachment #1: Type: text/plain, Size: 2887 bytes --]

On Mon, May 4, 2020 at 10:21 AM Ashley Dixon <ash@suugaku.co.uk> wrote:

> Hi gentoo-user,
>
> I'm attempting to configure a mid-range video card: the Radeon R7 370.
>  Running
> on the Pitcairn chipset and a member  of  the  Southern  Islands  family,
> I  am
> surprised at the complexity of setting up the Radeon driver in comparison
> to its
> NVIDIA counterpart.
>
> I followed [1] carefully.  Initially opting to compile AMDGPU into the
> kernel, I
> emerged linux-firmware with the following files.  All of the relevant
> files were
> added to the kernel's CONFIG_EXTRA_FIRMWARE string, using /lib/firmware
> as  the
> base directory.
>
>         radeon/pitcairn_smc.bin
>         radeon/pitcairn_ce.bin
>         radeon/pitcairn_mc.bin
>         radeon/pitcairn_me.bin
>         radeon/pitcairn_pfp.bin
>         radeon/pitcairn_k_smc.bin
>         radeon/pitcairn_rlc.bin
>         radeon/TAHITI_uvd.bin
>         radeon/TAHITI_vce.bin
>

Did it load ok?
dmesg | grep -i drm.*firm
You should see;
[drm] Found UVD firmware Version etc
[drm] Found VCE firmware Version etc


> Unfortunately, upon booting, the kernel hangs with the following message.
>  This
> seems to be rather common, with a similar  complaint  being  discussed
> at  [2].
>
>         fb0: switching to amdgpudrmfb from EFI VGA
>

Here's what i get (R9 380)
# dmesg | grep -i fb0
[    1.302701] fbcon: amdgpudrmfb (fb0) is primary device
[    1.474076] amdgpu 0000:01:00.0: fb0: amdgpudrmfb frame buffer device

What CONFIG_FB options are enabled? I dont have CONFIG_FB_EFI set to try
removing that.


> As this all occurs pre-OpenRC, I am incapable of creating an S.S.H.\
> connection
> to the machine from my laptop.  When booting the kernel with the
> `nomodesetting`
> parameter, the X server reports the following after  a  successful
> kernel  boot
> (created when executing `startx`): [timestamps omitted]
>
>         (EE) Failed to load module "fbdev" (module does not exist, 0)
>         (II) LoadModule: "vesa"
>         (WW) Warning, couldn't open module vesa
>         (EE) Failed to load module "vesa" (module does not exist, 0)
>         (II) RADEON: Driver for ATI/AMD Radeon chipsets:
>                 ATI Radeon Mobility X600 (M24), ATI FireMV 2400,
>                 ATI Radeon Mobility X300 (M24), ATI FireGL M24 GL,
>
>                 [...]
>
>                 ARUBA, TAHITI, PITCAIRN, VERDE, OLAND, HAINAN, BONAIRE,
> KABINI,
>                 MULLINS, KAVERI, HAWAII
>         (II) modesetting: Driver for Modesetting Kernel Drivers: kms
>         (--) using VT number 7
>
>         (II) [KMS] drm report modesetting isn't supported.
>         (EE) open /dev/dri/card0: No such file or directory
>         (WW) Falling back to old probe method for modesetting
>         (EE) open /dev/dri/card0: No such file or directory
>

I'd say that's the key. What CONFIG_DRM options are enabled?

[-- Attachment #2: Type: text/html, Size: 3991 bytes --]

  reply	other threads:[~2020-05-04 10:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-04  0:21 [gentoo-user] AMD Radeon R7 370 (Pitcairn) causing the bootup to hang Ashley Dixon
2020-05-04 10:53 ` Adam Carter [this message]
2020-05-04 20:32   ` Ashley Dixon
2020-05-04 13:33 ` Peter Humphrey

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='CAC=wYCHAQsfTQj7KLCNb1+z5OaHXi8oYdDy5bqxNNi1CEBaJww@mail.gmail.com' \
    --to=adamcarter3@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox