graphics on amd radeon vega
Vasily Postnicov
shamaz.mazum at gmail.com
Wed Dec 30 13:54:21 UTC 2020
Cannot say for sure where you need to place that. Its either
/boot/loader.conf or /etc/sysctl.conf
The second sets sysctls later in the boot process. And it can not set
tunables, of course.
I suggest you figure it yourself)
ср, 30 дек. 2020 г., 16:25 Michael Schuster <michaelsprivate at gmail.com>:
>
>
> On Wed, Dec 30, 2020 at 2:01 PM Vasily Postnicov <shamaz.mazum at 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 = 0;
>> to
>> int amdgpu_exp_hw_support = 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
>
>>
>> ср, 30 дек. 2020 г., 15:17 Michael Schuster <michaelsprivate at gmail.com>:
>>
>>> On Tue, Dec 29, 2020 at 3:35 PM Oskar Sharipov <oskarsh at 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/amd/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 at freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to "
>>> freebsd-questions-unsubscribe at freebsd.org"
>>>
>>
>
> --
> Michael Schuster
> http://recursiveramblings.wordpress.com/
> recursion, n: see 'recursion'
>
More information about the freebsd-questions
mailing list