Bug 94525 - OpenCL memory allocation is limited to 1GB
Summary: OpenCL memory allocation is limited to 1GB
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 99553
  Show dependency treegraph
 
Reported: 2016-03-13 20:29 UTC by Benjamin Bellec
Modified: 2017-03-22 15:54 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Benjamin Bellec 2016-03-13 20:29:36 UTC
I wanted to try "ethminer" (the OpenCL Ethereum miner) on Mesa.
I installed Ubuntu 15.10 (x86-64), the "ethminer" client, and the Oibaf PPA Mesa packages.

The OpenCL's Mesa detects only 1GB on my Radeon R9 390 8GB.
So I can't even start "ethminer" since it currently requires 1.4 GB.

Moreover, the two others R9 Nano plugged in the computer are not even detected by "ethminer" nor "clinfo".
Comment 1 Vedran Miletić 2017-03-22 15:54:55 UTC
Should have been fixed by:

commit 8a4ace4a47a07323997da5c2dbc865a32df52451
Author: Marek Olšák <marek.olsak@amd.com>
Date:   Fri Jul 1 00:17:36 2016 +0200

    gallium/radeon: add and use radeon_info::max_alloc_size (v2)
    
    v2: - squashed the patches
        - use INT_MAX
        - clamp max_const_buffer_size
        - check the DRM version in radeon
    
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
    Reviewed-by: Vedran Miletić <vedran@miletic.net>

If it's still an issue, please reopen.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.