Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2020 15:38:51 -0800
From:      Bakul Shah <bakul@bitblocks.com>
To:        Greg V <greg@unrelenting.technology>
Cc:        x11@freebsd.org, zeising@FreeBSD.org, jmd@freebsd.org
Subject:   Re: support for the Picasso APU in amdgpu
Message-ID:  <20200123233859.1092E156E448@mail.bitblocks.com>
In-Reply-To: Your message of "Thu, 23 Jan 2020 11:23:00 %2B0000." <4a80ff67-71cd-469c-ad42-3058f4aa9e4b@localhost>
References:  <20200123025813.129F9156E448@mail.bitblocks.com> <4a80ff67-71cd-469c-ad42-3058f4aa9e4b@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 Jan 2020 11:23:00 +0000 Greg V <greg@unrelenting.technology> wr=
ote:
Greg V writes:
> =

>
>
> Jan 23, 2020 5:58:29 AM Bakul Shah :
>
> > On the wiki.freebsd.org/Graphics I see that updating drm-devel
> > to 4.20 is 20% complete but I suspect this page is outdated!
> > Looking at drm-deel-kmod/Makefile it seems it is based on
> > linux 5.0? Ideally I don't want to upgrade to -current.
> >
> > Any advice?
>
> Use -current. Always use -current, especially on desktops.

Thnks all.

With -current and drm-devel-kmod I see /dev/dri but Xorg still
fails. Details below. I haven't touched the FreeBSD kernel in
a while but I may be able to help with the missing pieces.
[Though I suspect there are other problems as to why Xorg fails]

Xorg.0.log:
	...
      [  1837.611] (EE) open /dev/dri/card0: Operation not supported by de=
vice
      [  1837.611] (WW) Falling back to old probe method for modesetting
      [  1837.612] (EE) open /dev/dri/card0: Operation not supported by de=
vice
      [  1837.612] (WW) Falling back to old probe method for scfb
      [  1837.612] scfb trace: probe start
      [  1837.612] (II) scfb(1): using default device
      [  1837.612] scfb trace: probe done
      [  1837.612] (WW) VGA arbiter: cannot open kernel arbiter, no multi-=
card support
      [  1837.612] (EE) Screen 0 deleted because of no matching config sec=
tion.
      [  1837.612] (II) UnloadModule: "modesetting"
      [  1837.612] (EE)
      Fatal server error:
      [  1837.612] (EE) Cannot run in framebuffer mode. Please specify bus=
IDs        for all framebuffer devices

/dev/dri/card0 does exist.

dmesg reveals messages like
    ...
    i_size_write not implemented -- see your local kernel hacker
    ...
    get_nr_swap_pages not implemented -- see your local kernel hacker
    ...
    sched_setscheduler not implemented -- see your local kernel hacker
    ...
    pm_runtime_mark_last_busy not implemented -- see your local kernel hac=
ker
    drmn0: [drm:*ERROR* ] amdgpu_ring_test_helper[drm ERROR :gfx_v9_0_kiq_=
kcq_enable] KCQ enable failed
    [drm ERROR :amdgpu_device_ip_hw_init_phase2] hw_init of IP block <gfx_=
v9_0> failed -60
    drmn0: amdgpu_device_ip_init failed
    drmn0: Fatal error during GPU init
    unregister_acpi_notifier not implemented -- see your local kernel hack=
er
    [drm] amdgpu: finishing device.
    Memory manager not clean during takedown.

I am not sure why inode size is being written (may be
something to do with sysfs in linux?). =




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200123233859.1092E156E448>