Date: Wed, 30 Dec 2020 14:25:09 +0100 From: Michael Schuster <michaelsprivate@gmail.com> To: Vasily Postnicov <shamaz.mazum@gmail.com> Cc: Oskar Sharipov <oskarsh@riseup.net>, freeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: graphics on amd radeon vega Message-ID: <CADqw_gLNVRsbzzd0ME7yUf_kSTwqpf0LFKF9TKD69RZrc1feoQ@mail.gmail.com> In-Reply-To: <CADnZ6Bn_FSFhZdLc7rqTpHtW4OmJKikFNLWDB4j9RzHE3OgXtA@mail.gmail.com> References: <X%2BsnT05Xed2y8QP%2B@piggy> <CADnZ6BmO5eaTYBDLkCcEG8esySTbgijSEWagDJtDt=pf4=vqog@mail.gmail.com> <X%2Bsu%2Bn/%2BqHLrMyY9@piggy> <CADqw_gKFYTG1sif6co8xUVJHkhMKMO5jScN%2BoPSmac9oGungvQ@mail.gmail.com> <CADnZ6Bmi_6E%2B4mTrJcOmr5M1UQa22=CU2Vgaiqd4kKWWz1EajA@mail.gmail.com> <X%2Bs%2Bhy2f32dgGT9V@piggy> <CADqw_gKV0k7RG-H57mSpGCLZAYOAOueiH3mZ124GUjcaMwHMzA@mail.gmail.com> <CADnZ6Bn_FSFhZdLc7rqTpHtW4OmJKikFNLWDB4j9RzHE3OgXtA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 30, 2020 at 2:01 PM Vasily Postnicov <shamaz.mazum@gmail.com> wrote: > Does sysctl -a | grep exp_hw_support show anything? > indeed it does: $ sysctl -a | grep exp_hw_support hw.amdgpu.exp_hw_support: 0 compat.linuxkpi.amdgpu_exp_hw_support: 0 $ > Usual way to tweak kernel parameters is via sysctl. > from looking at other settings, I would guess I need to put this in /boot/loader.conf to make this persistent across reboot ... correct? (again, sorry if that's an FAQ - feel free to point me to documentation about this) > But this is linux stuff so it can be anything else. > > If sysctl does not help, you can recompile the whole driver changing > int amdgpu_exp_hw_support =3D 0; > to > int amdgpu_exp_hw_support =3D 1; > in drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c > I already found that, though I wanted to keep that as a very last resort :-= ) thx Michael > > =D1=81=D1=80, 30 =D0=B4=D0=B5=D0=BA. 2020 =D0=B3., 15:17 Michael Schuster= <michaelsprivate@gmail.com>: > >> On Tue, Dec 29, 2020 at 3:35 PM Oskar Sharipov <oskarsh@riseup.net> >> wrote: >> >> > On Tue, Dec 29, 2020 at 05:04:38PM +0300, Vasily Postnicov wrote: >> > > 13-CURRENT supports that chip. See >> > > >> > >> https://github.com/freebsd/drm-kmod/blob/drm_v5.4.62_4/drivers/gpu/drm/a= md/amdgpu/amdgpu_drv.c >> > > >> > > > {0x1002, 0x15d8, PCI_ANY_ID, PCI_ANY_ID, 0, 0, >> CHIP_RAVEN|AMD_IS_APU} >> > >> > Oh, wow. Then I will consider could I try CURRENT now or wait >> > until it released. Thank you! >> > >> >> when I Install this version on current as of today, I see this in >> /var/log/messages: >> >> Dec 30 13:11:56 hbeast kernel: [drm] amdgpu kernel modesetting enabled. >> Dec 30 13:11:56 hbeast kernel: drmn0: <drmn> on vgapci0 >> Dec 30 13:11:56 hbeast kernel: [drm] This hardware requires experimental >> hardware support. >> Dec 30 13:11:56 hbeast kernel: See modparam exp_hw_support >> Dec 30 13:11:56 hbeast kernel: device_attach: drmn0 attach returned 19 >> sorry if this is an FAQ, but I couldn't find an answer: how do I >> enable/modify "modparam exp_hw_support"? >> >> thx >> Michael >> >> -- >> Michael Schuster >> http://recursiveramblings.wordpress.com/ >> recursion, n: see 'recursion' >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > --=20 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_gLNVRsbzzd0ME7yUf_kSTwqpf0LFKF9TKD69RZrc1feoQ>