question

DickM-5017 avatar image
0 Votes"
DickM-5017 asked Criszhan-msft commented

Windows IoT Core and gpu_mem in config.txt

Hi,

Was curious if increasing the gpu_mem in config.txt has any effect on Windows IoT Core and my UWP app?!

Dick

windows-iot-10core
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Criszhan-msft avatar image
0 Votes"
Criszhan-msft answered

Hi,

The gpu_mem option in config.txt specifies how much memory, in megabytes, to reserve for the exclusive use of the GPU: the remaining memory is allocated to the ARM CPU for use by the OS.
https://www.raspberrypi.org/documentation/configuration/config-txt/memory.md

You can take a test and observe for a period of time.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DickM-5017 avatar image
0 Votes"
DickM-5017 answered DickM-5017 commented

Hi @Criszhan-msft ,

Did test and observe it already for a period of time but wanted to know from a technical perspective if it would make any sense to increase the gpu_mem. Is it being used by Windows IoT Core or am I just reserving memory which is never used?

Best, Dick

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
There have been many discussions in the community that windows iot core cannot get performance acceleration on Raspberry Pi.

Unfortunately the GPU hardware in RPi is not Direct X capable so Windows is unable to leverage it.

https://social.msdn.microsoft.com/Forums/en-US/6b523e60-0a89-4860-9014-a07d8936c2d9/raspberry-pi-2-b-graphic-performance-issue?forum=WindowsIoT

Including the latest Release Notes(Build 17763.253) also mentioned some problems on the Raspberry Pi.

Video playback performance on the Raspberry Pi platform is not optimized. Animated user elements including XAML-based dropdown menus may exhibit less than optimal performance.


0 Votes 0 ·

Hi @Criszhan-msft ,

Thanks for the response. I know Windows IoT Core does not use the GPU for hardware acceleration. Our interface does not use heavy animations or video but shows some controls and mainly images.

Is gpu_mem used for displaying images on the screen and does it technically make sense to increase the gpu_mem in case of showing more images on the screen?

Best, Dick

0 Votes 0 ·
DickM-5017 avatar image
0 Votes"
DickM-5017 answered Criszhan-msft commented

Hi @Criszhan-msft ,

Do you have any update on my latest question above?

KR, Dick

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi DickM-5017,

Sorry I don’t know the answer to that question.

0 Votes 0 ·

Hi @Criszhan-msft ,

Can happen, do you know someone who does?

Dick

0 Votes 0 ·

Hi,
Unfortunately I can’t find and provide any information. I have no idea except to increase or decrease the option gpu_mem to observe the running status of the application.

0 Votes 0 ·