Questions tagged [gpu]

Use for questions about the Broadcom VideoCore IV Graphics Processing Unit included in all Raspberry Pis.

Filter by
Sorted by
Tagged with
105
votes
5answers
26k views

Can I use the GPU for calculations?

Is it possible to use the GPU for calculations? (e.g. CUDA/OpenCL)
73
votes
2answers
135k views

What is the optimum split of main versus GPU memory?

I read that it's possible to allocate either 128MB, 64MB or 32MB to the Raspberry Pi's video memory. Given that my primary use case for this machine is educational: I will be running lightweight ...
44
votes
6answers
15k views

Is there a GPU accelerated Xorg server?

At present all of the official builds of the X Window System run on the CPU, which takes up a lot of processing power and runs X rather slowly. I know there's no official GPU accelerated version of ...
29
votes
3answers
33k views

What speed can I expect from the hardware-H264-encoding?

I stumbled over the Wikipedia-article that the Broadcom GPU has hardware support for encoding H.264/AVC, not only de-coding. I also found an article where someone gave an example using ffmpeg to ...
23
votes
3answers
19k views

How can I change the RAM split?

By default, the Pi is set to a 192MiB:64MiB RAM:VRAM split. As I will not be using the Pi for graphical purposes, I would like to change the split to allocate more normal RAM to ease swap usage.
22
votes
6answers
116k views

Get CPU and GPU usage on Raspberry Pi

I am trying to figure out a good split for the CPU/GPU. Is there a way to monitor the CPU and GPU usage to see where I should make the split?
18
votes
3answers
1k views

Is it possible to mine Bitcoins?

Obviously, the RPi can be used to mine Bitcoins on the CPU, but this would be very slow. Is it possible to use the GPU to mine Bitcoins?
16
votes
1answer
8k views

Running 1080p video from within XOrg smoothly

The 1080p examples that work outside of X.Org run very smoothly on my Pi, but within X.Org they don't run very smoothly at all at the moment. Given that X.Org is currently not GPU-accelerated, this ...
15
votes
3answers
15k views

OpenCL w/ Broadcom GPU?

I know this question has been asked and answered before here: Can I use the GPU for calculations? but there have been a number of developments recently, including a hint that there will be more ...
14
votes
8answers
51k views

Connect a GPU into Raspberry pi

I want to connect a GPU GT640 to a Raspberry pi model B. I know there is not a direct connection and the tranfer data are very differents but. Is there any chance to connect this devices in order to ...
13
votes
3answers
9k views

Raspberry Pi 3 has less than 1GB memory available at OS level

I don't know if it is a critical issue or not. But, I need to get rid of the question marks in my mind. I recently purchased a Raspberry Pi 3 board and while I was playing with it, I realized that ...
13
votes
2answers
23k views

VLC Hardware acceleration

I'm new to Raspberry Pi. I am trying to develop a media player that would use a library like libvlc to do the decoding. Now the problem is that I can't get the hardware acceleration going... I have ...
12
votes
6answers
65k views

Raspberry pi 2 1024M Increase Gpu Memory to 512 at least

I have a Raspberry B and a Raspberry 2. In the B model, I set the config file to gpu_mem_512=256 in order to get more memory for the graphics. It works fine. If I type the command vcgencmd get_mem ...
12
votes
1answer
4k views

Can a Pi be used as an OpenCL CPU device?

Can I use a Pi (or, for that matter, Beagle Bone or Arduino) as an OpenCL CPU device? I understand there isn't much of a GPGPU thing on a Pi, but couldn't I link a bunch together under an OpenCL ...
12
votes
2answers
6k views

OpenCL / GPGPU programming coming soon?

Last June the answer was a qualified no: Can I use the GPU for calculations? However, the Videocore driver code was open sourced towards the end of 2012: http://www.raspberrypi.org/archives/2221 - ...
11
votes
2answers
10k views

Hardware-accelerated h264 encoding possible?

The Raspberry Pi will do hardware accelerated h264 encoding when recording video from the camera board. How can I encode h264 (using hardware acceleration) when the source images are not coming ...
10
votes
3answers
9k views

WebGL does not work properly on Raspberry Pi Chromium Browser

I have a problem with WebGL on Raspberry Pi 3's Chromium browser. I did the settings required but nothing happened. Here is my information Device : Raspberry Pi 3 OS : Linux raspberrypi 4.9.80-v7+ #...
8
votes
1answer
2k views

Differences of Raspberry Pi models in GPU computation?

I know the publication Biosignal PI, an Affordable Open-Source ECG and Respiration Measurement System which uses Raspberry Pi A+ / B+ as a component isolated by ADums, since RP is not itself a medical ...
8
votes
1answer
2k views

Chromium tab crashes if mp4 video with GPU acceleration

I maintain a distro that runs chromium called FullePageOS. I added gpu acceleration, but now mp4 video crashes the chromium tab when its viewed (mpeg works). How can I fix this? Alternatively how do ...
7
votes
5answers
54k views

How to connect a graphic card to Raspberry pi?

I want a way to connect a graphic card like nvidia or amd to raspberry pi do you think has a way to do that?
6
votes
1answer
157 views

GPU Unified Memory?

Is it possible to access the memory the GPU is allocated on the CPU? For instance if I'm running a 3d application and I wish to edit a lookup table which is in a texture, is it possible to access the ...
5
votes
2answers
1k views

Persistent rainbow test pattern

I've got an install of arch linux on my B+, but the test pattern is showing in the upper-right corner of the screen even well after the OS is fully booted. It disappears every now and then, but comes ...
5
votes
2answers
2k views

Voice recognition

I was thinking about creating a kind of Jarvis computer (Iron man). Only then a (little) bit more minimalistic. What I want to built is more of a question/answer type of application (something like ...
5
votes
1answer
1k views

How to achieve gpu_mem=8?

I see some people claiming (see links) they have a memory splitting of gpu_mem=8, but I always thought 16/496 is the minimum split? Here is an answer on this very page: https://raspberrypi....
4
votes
2answers
4k views

Why does the Raspberry Pi's GPU control the first stages of the boot process?

According to the answers to this question and other sources, the GPU of the Raspberry Pi's BCM2835 SoC is responsible for the first stages of the boot process, including enabling the ARM CPU. Until ...
4
votes
1answer
3k views

Is it possible to do GPU-accelerated tasks on a raspberry pi?

I have been looking into doing some cluster computing on several raspberry pis. Is it possible to use any kind of GPU acceleration on a pi?
4
votes
1answer
5k views

How to: build a graphics cluster

Currently, I am waiting for my second RPi to arrive and then I will begin my fun building a RPi cluster. Also, later I want to extend it more and more. =) I am building it at home, home-experiment, ...
4
votes
1answer
460 views

Raspberry Pi 3 on Android Things OS for 40 inch display (Graphics Issue)

I am working on a project where I need to run videos on a 38"-40" inch LED TV. Mp4 (720p) videos don't run as seamlessly as needed. It is not the worst in the world but I can see that it is missing ...
4
votes
1answer
199 views

Is there way get the GPU-load average per second?

I am interested to get the GPU-load average over, for example, an interval of one second. Alas, I was unable to find a direct way to get this information with the current API or tools ( vcgdb or ...
3
votes
4answers
3k views

GPGPU simple example

I am programming ARM assembly on raspberry and I am wondering whether and how it is possible to access GPU. I already looked userland repo, but I completely do not understand the stucture. I would ...
3
votes
1answer
2k views

Using GPU to decode QRCODE

I'm using a raspberry pi compute module and my question is : Can we use the GPU to decode QRCODE ? I am using my own function inspired by the one from QRTOOLS and by doing so the timing is divided by ...
3
votes
2answers
2k views

How do I read the GPU temperature in C?

I am making a graph on the temperature using a NTC resistor and also by reading the CPU temperature, however I'd also like to read the GPU temperature. I read this answer explaining briefly how to ...
3
votes
2answers
1k views

eglGetDisplay() fails on RaspBerry 3

When called on a PI3, eglGetDisplay(EGM_DEFAULT_DISPLAY) stops the program (tried with some test programs like hello_triangle2) and displays this message: * failed to add service - already in use ? ...
3
votes
1answer
1k views

How to display a GPU surface on a afafruit TFT screen?

I'm playing with a PiTFT Plus display on a Raspberry Pi 2 using the Adafruit modified version of Raspian Jessie for this screen. The display looks ok for most things, but I'd like to play a video ...
3
votes
1answer
4k views

Unable to set GPU memory split on Raspberry Pi Zero W

I have looked everywhere (both on and off StackExchange) for this but cannot get an answer: I have a Raspberry Pi Zero W, which has 512MB of RAM total. I am running it headless, so I want to ...
3
votes
1answer
873 views

Memory split - How much is the GPU responsible for?

I am using my Pi2 to run some Python scripts that are heavily use the CSI camera (being pulled with the picamera module), being processed with OpenCV, and draw a GUI to screen (using the PyGame module)...
3
votes
1answer
77 views

Accessing GPU memory content

I'm currently working with advanced picamera parameters. A new functionnality to come is the "lens shading correction", a RGGB array that modify the image generated by the camera in order to ...
3
votes
1answer
381 views

How do I view gpu / h.264 block usage?

Normaly I can get this infromation from psensor but on the pi the only monitors i have access to are cpu and ram usage.
2
votes
2answers
4k views

How is memory split by CMA?

The post at http://www.raspberrypi.org/phpBB3/viewtopic.php?f=29&t=19334&p=218282&hilit=cma#p217665 mentions that:- gpu_mem_512=316 cma_lwm=16 cma_hwm=32 In the above ARM has 96M always. ...
2
votes
1answer
1k views

300 MHz (3D core) / 400 MHz (VideoCore IV) difference?

For the Raspberry Pi 3 it's mentioned here that the GPU has a 400 MHz (VideoCore IV subsystem) part and/or a 300 MHz (3D core) part. BCM2837 runs most of the VideoCore IV subsystem at 400MHz and ...
2
votes
2answers
993 views

What is the most optimum memory split for streaming pi's as security monitors which you will only ssh into?

I have a few model A's and model B's. I've also read about a few options that allow you to configure an arbitrary split apart from the 16, 32, 64, 128 (and 256 for the B). Any insight would be ...
2
votes
1answer
62 views

Getting OpenGL ES Framebuffer back to CPU Memory

I've started learning how to use OpenGL ES, and am trying to do some general purpose computing using the Pi's GPU. I've got it mostly working, but I'm hung up on the last step: getting a framebuffer ...
2
votes
2answers
551 views

Why does Raspberry PI use GPU for loading bootloaders and configuration

There is a great explanation of the boot process - What is the boot sequence? But I can't understand why GPU is responsible for doing all that work. Could someone explain this decision? I can't ...
2
votes
2answers
3k views

Fatal Error: GLES2/gl2.h: No such file or directory

I'm trying to install Urho3D on RPi 3. (GPU = 768 MB) I installed all the essential dependencies. All the steps went fine. Until this error which occurred during the final make step: [ 56%] Building ...
2
votes
1answer
13k views

Pi 3 GPU overclocking ability

As far as I am aware the Pi 3's CPU is currently not overclockable, its maximum clock speed is set at 1.2GHz. But what about overclocking the GPU? Is it even possible? And would I see performance ...
2
votes
1answer
2k views

Temperature differences between CPU & GPU

So recently I was interested in CPU and GPU temperatures and did some work displaying the temperatures in real time on a page and also recording the temperatures on a graph using rrdtool (which is ...
2
votes
1answer
615 views

What's the smallest amount of memory that can be allocated to GPU?

According to http://elinux.org/RPiconfig#Memory , the minimum that can be specified in /boot/config.txt is 16MB. Is there a way to shut off video completely and allocate nothing? I'm asking about ...
2
votes
1answer
272 views

Can we now use the DSI cnnector?

Now that the GPU source has been made open source, will we be able to use the DSI connector to power display panels?
2
votes
1answer
95 views

How do I set my gpu_split?

My Emulation Station keeps crashing saying I need to make sure my gpu_split is set high enough and/or switch back to carbon theme. Can someone help me dial this in? Any thoughts or suggestions are ...
2
votes
1answer
240 views

TensorFlow on a ClusterHat

Has anyone experience of running distributed AI on the Cluster Hat using Pi Zeroes? Specifically, can I run TensorFlow on a Cluster HAT ideally using the GPUs on the PiZeros as well as on the ...