This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MaliHwCntrReader doesn't probe mmuL2Count of Mali-T760x MP8 in Samsung Galaxy S6(SM-G920K)

Hi, I try to measure our game's performance on galaxy s6(SM-G920K). I measured on galaxy s7 successfully, but I coundn't do that on s6. I added some log code to gatord source code, and got this message. What should I do??

MaliHwCntrReader::create(device = 0xf4f24290)
{
unsigned probeMMUCount(device = 0xf4f24290)
{
MaliHwCntrReader::create(device = 0xf4f24290, mmul2count = 1, jm = 0, shader = 0, tilter = 0, mmuL2 = ffffffff)
{
MaliHwCntrReader::MaliHwCntrReader(device = 0xf4f24290, mmul2count = 1, buffercount = 1, jmBM = 0, shaderBM = 0, tilerBM = 0, mmuL2BM = ffffffff)
{
device file path = / dev / mali0
MaliHwCntrReader : ABI version : 10.6
KBASE_FUNC_SET_FLAGS : OK
KBASE_FUNC_HWCNT_READER_SETUP : hwcntReaderFd = 5
KBASE_HWCNT_READER_GET_API_VERSION : api_version = 1
KBASE_HWCNT_READER_GET_BUFFER_SIZE : sampleBufferSize = 6144
KBASE_HWCNT_READER_GET_HWVER : hardwareVersion = 5
MaliHwCntrReader : Could not mmap sample buffer
}
MaliHwCntrReader::MaliHwCntrReader(device = 0xf4f24290, mmul2count = 1, buffercount = 2, jmBM = 0, shaderBM = 0, tilerBM = 0, mmuL2BM = ffffffff)
{
device file path = / dev / mali0
MaliHwCntrReader : ABI version : 10.6
KBASE_FUNC_SET_FLAGS : OK
KBASE_FUNC_HWCNT_READER_SETUP : hwcntReaderFd = 5
KBASE_HWCNT_READER_GET_API_VERSION : api_version = 1
KBASE_HWCNT_READER_GET_BUFFER_SIZE : sampleBufferSize = 6144
KBASE_HWCNT_READER_GET_HWVER : hardwareVersion = 5
mmap(nullptr, bufferCount_ * sampleBufferSize, PROT_READ...) : OK
initialize = true
}

MaliHwCntrReader: Successfully created reader, with buffer size of 2
} // MaliHwCntrReader::create(device=0xf4f24290,mmul2count=1,jm=0,shader=0,tilter=0,mmuL2=ffffffff)

[MaliHwCntrReader]::probeBlockMaskCount()
{
MaliHwCntrReader::triggerCounterRead()
{
ioctl(hwcntReaderFd = 5, KBASE_HWCNT_READER_DUMP) : rcode = -1, errno = 22, Invalid argument
}
MaliHwCntrReader::triggerCounterRead()
{
ioctl(hwcntReaderFd = 5, KBASE_HWCNT_READER_DUMP) : rcode = -1, errno = 22, Invalid argument
}
MaliHwCntrReader::triggerCounterRead()
{
ioctl(hwcntReaderFd = 5, KBASE_HWCNT_READER_DUMP) : rcode = -1, errno = 22, Invalid argument
}
MaliHwCntrReader::triggerCounterRead()
{
ioctl(hwcntReaderFd = 5, KBASE_HWCNT_READER_DUMP) : rcode = -1, errno = 22, Invalid argument
}
MaliHwCntrReader::triggerCounterRead()
{
ioctl(hwcntReaderFd = 5, KBASE_HWCNT_READER_DUMP) : rcode = -1, errno = 22, Invalid argument
}
MaliHwCntrReader::triggerCounterRead()
{
ioctl(hwcntReaderFd = 5, KBASE_HWCNT_READER_DUMP) : rcode = -1, errno = 22, Invalid argument
}
MaliHwCntrReader::triggerCounterRead()
{
ioctl(hwcntReaderFd = 5, KBASE_HWCNT_READER_DUMP) : rcode = -1, errno = 22, Invalid argument
}
MaliHwCntrReader::triggerCounterRead()
{
ioctl(hwcntReaderFd = 5, KBASE_HWCNT_READER_DUMP) : rcode = -1, errno = 22, Invalid argument
}
MaliHwCntrReader::triggerCounterRead()
{
ioctl(hwcntReaderFd = 5, KBASE_HWCNT_READER_DUMP) : rcode = -1, errno = 22, Invalid argument
}
MaliHwCntrReader::triggerCounterRead()
{
ioctl(hwcntReaderFd = 5, KBASE_HWCNT_READER_DUMP) : rcode = -1, errno = 22, Invalid argument
}
}
} // probeMMUCount(device = 0xf4f24290)

MaliHwCntrReader::create(device = 0xf4f24290, mmul2count = 0, jm = ffffffff, shader = ffffffff, tilter = ffffffff, mmuL2 = ffffffff)
{
MaliHwCntrReader::MaliHwCntrReader(device = 0xf4f24290, mmul2count = 0, buffercount = 1, jmBM = ffffffff, shaderBM = ffffffff, tilerBM = ffffffff, mmuL2BM = ffffffff)
{
device file path = / dev / mali0
MaliHwCntrReader : ABI version : 10.6
KBASE_FUNC_SET_FLAGS : OK
KBASE_FUNC_HWCNT_READER_SETUP : hwcntReaderFd = 5
KBASE_HWCNT_READER_GET_API_VERSION : api_version = 1
KBASE_HWCNT_READER_GET_BUFFER_SIZE : sampleBufferSize = 6144
KBASE_HWCNT_READER_GET_HWVER : hardwareVersion = 5
MaliHwCntrReader : Hardware version 5 detected, but mmuL2BlockCount = 0
}
MaliHwCntrReader: created reader, with buffer size of 1. but does not initialized.
} // MaliHwCntrReader::create(device=0xf4f24290,mmul2count=0,jm=ffffffff,shader=ffffffff,tilter=ffffffff,mmuL2=ffffffff)
} // [MaliHwCntrReader::create(device = 0xf4f24290)
Parents
  • Hi ,

    Could you please try to modify probeBlockMaskCount function to default to returning 1 instead of 0 and see if that fixes the issue?

    Also, what Streamline / gator version are you using? What Android version are you running on your S6?

    Regards,

    Jacek

Reply
  • Hi ,

    Could you please try to modify probeBlockMaskCount function to default to returning 1 instead of 0 and see if that fixes the issue?

    Also, what Streamline / gator version are you using? What Android version are you running on your S6?

    Regards,

    Jacek

Children
No data