Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2020 14:25:43 +0200
From:      Michael Schuster <michaelsprivate@gmail.com>
To:        freebsd-x11@freebsd.org
Subject:   amdgpu on Ryzen 4700 w. Vega10 Renoir Graphics
Message-ID:  <CADqw_gKaifH9Q9aXR4VAtX7_tkoAGnL-dO9TXCDEpUju=4SKOw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I got a new HP laptop (455 G7) and put latest GhostBSD (20.04, based on
12.1 release) on it. During installation, the only graphics selection that
didn't fail was 'scfb', which I'm still using.

AFAICT from my research, Renoir is supported by latest drm driver/module,
so I installed that (
https://github.com/FreeBSDDesktop/kms-drm/tree/drm-v5.0-fbsd12.1).


"pciconf -lv" shows:
vgapci0@pci0:5:0:0:     class=0x030000 card=0x8730103c chip=0x16361002
rev=0xc2 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Renoir'
    class      = display
    subclass   = VGA

I did quite a bit of research (or so I claim ;-)), with mixed results, but
not success, I'm afraid. I have "kld_list ... amdgpu.ko" in my
/etc/rc.conf, I've moved the position in the line around other items
(linux*, cuse), w/o change

some of the attempts I made:
1) remove all xorg.conf files (recommended in several posts)
amdgpu isn't loaded, Xorg immediately falls back on scfb (I can post log if
required)
2) use this xorg.conf:
Section "Device"
        Identifier "Card0"
        Driver     "amdgpu"
        BusID      "PCI:5:0:0
EndSection

... produces this in the log:

[     8.577] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
[     8.577] (--) Using syscons driver with X support (version 2.0)
[     8.577] (++) using VT number 9

[     8.589] (II) AMDGPU(0): [KMS] drm report modesetting isn't supported.
[     8.589] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card
support
[     8.589] (EE) Screen 0 deleted because of no matching config section.
[     8.589] (II) UnloadModule: "amdgpu"

... and the screen stays in text mode.

3) I tried removing all the config files in
/usr/local/{share|etc}/X11/xorg.conf.d, same result as in 2).

I'd appreciate some advice/pointers as to what I could do to get this card
working ... then I'll follow up about the touchpad :-)

TIA
Michael
-- 
Michael Schuster
http://recursiveramblings.wordpress.com/
recursion, n: see 'recursion'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADqw_gKaifH9Q9aXR4VAtX7_tkoAGnL-dO9TXCDEpUju=4SKOw>