drm-devel-kmod amdgpu
Johannes Lundberg
johalun0 at gmail.com
Sun Nov 18 18:21:09 UTC 2018
On Sun, Nov 18, 2018 at 18:17 Daniel Eischen <deischen at freebsd.org> wrote:
>
> On Nov 18, 2018, at 12:53 PM, Johannes Lundberg <johalun0 at gmail.com>
> wrote:
>
>
>
> On Sat, Nov 17, 2018 at 7:08 PM Daniel Eischen <deischen at freebsd.org>
> wrote:
>
>> Greetings,
>>
>> I'm trying to get amdgpu to work with my AMD Ryzen 5 2400G (onboard
>> graphics). I guess it is Vega 11.
>>
>> I'm running:
>>
>> FreeBSD vega 13.0-CURRENT FreeBSD 13.0-CURRENT r340429 vega amd64
>> (my machine name was chosen years ago, long before AMD Vega)
>>
>> $ pkg info drm-devel-kmod
>> drm-devel-kmod-4.16.g20181027_1
>> Name : drm-devel-kmod
>> Version : 4.16.g20181027_1
>> Installed on : Sat Nov 10 22:09:05 2018 EST
>> ...
>>
>> I'm using radeonkms="/boot/modules/radeonkms.ko" in /etc/rc.conf
>> for now, as it works (mostly, the screen blanks briefly sometimes
>> when playing videos or sometimes using firefox, always comes back.
>> And VT switching works also).
>>
>> If I try using amdgpu, the screen will blank permanently, no VT
>> switching is possible, or at least no consoles can be shown.
>> Making sure that radeonkms is not loaded and X/KDE is not enabled,
>> I tried booting single user and manually loading amdgpu, as well
>> as letting it load from rc.conf. But a blank screen is all I
>> get.
>>
>> X doesn't seem to detect my monitor when using amdgpu, which
>> is probably part of the problem. I've attached both Xorg logs
>> from radeonkms and amdgpu, as well as 'pciconf -lv' and
>> 'devinfo -rv' output.
>>
>> I'm booting from a GPT partition, the default FreeBSD ZFS
>> installation.
>>
>
> Hi
>
> Thanks for the report.
>
> First, I can't believe that radeonkms does anything, unless you have an
> older discrete GPU in your machine. In your case it's falling back to VESA
> according to Xorg log.
>
>
> Yes, I believe it is using the VESA driver.
>
> Vega is still experimental as of 4.16. According to various online
> sources, it seems like we have to wait for 4.18 until Vega can be
> considered stable (meaning we won't spend time trying to fix bugs that are
> not obviously a FreeBSD problem). I think we can reach 4.18 before the end
> of this year.
>
>
> I see reports of the AMD 2400G running fine on the Linux 4.17 kernel.
>
> Until then, your best option is probably booting with UEFI if you can and
> using the scfb driver. It's much nicer than VESA...
>
>
> If I can find a spare disk, I may try that.
>
4.17 might come soon if we can iron out the last few bugs. But now focus is
on making 4.16 stable on 12.
I have dual setup on my AMD box (both efi partition and legacy boot) so I
can switch in BIOS setting and boot with either (same root partition). It’s
nice to have :)
> --
> DE
>
More information about the freebsd-x11
mailing list