Hardware 3D acceleration doesn't work anymore with the latest git kernel

Alex Deucher alexdeucher at gmail.com
Tue Nov 21 04:38:57 UTC 2017


On Mon, Nov 20, 2017 at 1:08 PM, Christian Zigotzky
<chzigotzky at xenosoft.de> wrote:
> Hi All,
>
> I tested the latest Git kernel version [1] on my Varisys Nemo board with a
> 64-bit dual-core PWRficient PA6T-1682M PowerPC CPU (A-EON AmigaOne X1000)
> [2] today. Unfortunately hardware 3D acceleration doesn't work anymore. It
> works without any problems with the kernel 4.14.0 [3].
>
> Error messages:
>
> dmesg | grep -i radeon
>
> [    0.720715] [drm] radeon kernel modesetting enabled.
> [    0.720832] radeon 0000:01:00.0: runtime IRQ mapping not provided by arch
> [    0.894456] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 -
> 0x000000003FFFFFFF (1024M used)
> [    0.894468] radeon 0000:01:00.0: GTT: 1024M 0x0000000040000000 -
> 0x000000007FFFFFFF
> [    0.894617] [drm] radeon: 1024M of VRAM memory ready
> [    0.894624] [drm] radeon: 1024M of GTT memory ready.
> [    0.899823] [drm] radeon: dpm initialized
> [    0.933524] radeon 0000:01:00.0: (-12) create WB bo failed
> [    0.933532] radeon 0000:01:00.0: disabling GPU acceleration
> [    0.938686] [drm] Radeon Display Connectors
> [    1.447790] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
> [    1.448338] [drm] Initialized radeon 2.50.0 20080528 for 0000:01:00.0 on
> minor 0
> [   39.299034] radeon_dp_aux_transfer_native: 158 callbacks suppressed
> [   70.924054] radeon_dp_aux_transfer_native: 158 callbacks suppressed
> [  683.732444] radeon_dp_aux_transfer_native: 410 callbacks suppressed
> [ 1049.062659] radeon_dp_aux_transfer_native: 74 callbacks suppressed
>
> Problem:
>
> [ 0.933524] radeon 0000:01:00.0: (-12) create WB bo failed
> [ 0.933532] radeon 0000:01:00.0: disabling GPU acceleration

If you look at the code, radeon_bo_create() is failing with -ENOMEM in
radeon_wb_init().  If you look at radeon_bo_create(), it can fail for
the following reasons:
1. kzalloc fails
2. drm_gem_object_init fails
3. ttm_bo_init fails

I'd start by looking into what's changed in those areas.

Alex

>
> I was able to revert the first DRM updates [4]. This solved the problem with
> the hardware 3D acceleration on my Varisys Nemo board. That means the bug is
> somewhere in the first DRM updates [4].
>
> Please find attached the DRM revert log.
>
> Cheers,
> Christian
>
>
> [1] http://www.xenosoft.de/vmlinux-4.15-alpha3-AmigaOne_X1000_X5000.tar.gz
> [2] https://en.wikipedia.org/wiki/AmigaOne_X1000
> [3] http://www.xenosoft.de/vmlinux-4.14-AmigaOne_X1000_X5000.tar.gz
> [4]
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e60e1ee60630cafef5e430c2ae364877e061d980
>
>
>
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
>


More information about the dri-devel mailing list