Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [gpu]

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

9
votes
3answers
6k 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+ #...
20
votes
5answers
101k 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?
1
vote
1answer
26 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 ...
0
votes
0answers
23 views

Kernel error : [drm] Resetting GPU

I am using an app which is using the vc4-drivers. Sometimes videos freeze for an instant, and I see a kernel message saying : [drm] Resetting GPU After that, some font are no more displayed but the ...
3
votes
1answer
50 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 ...
1
vote
1answer
350 views

Show multiple HD streams at once on raspberry pi?

We have a situation where we have a large number of incoming HD video streams which we would like to monitor in a way similar to this wall of monitors each showing 16 channels. This can probably be ...
0
votes
1answer
288 views

Frequency bands from FFT (audio visualizer)

I'm currently working on an audio visualizer running on a 64x64 LED matrix, and some tests showed that the Pi1 is totally capable of doing that. I'm receiving raw PCM audio data using PortAudio, and I ...
9
votes
2answers
9k 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 ...
2
votes
2answers
2k 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 ...
3
votes
2answers
1k 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 ...
-6
votes
1answer
52 views

Issues with PI and faster VC4 alternatives [closed]

I am aware that there has been alot of questions about using dedicated Nvidia or AMD GPUs with the Pi (I have asked a few of them). But ARM (mali core ) and Vivante among other companies appear to ...
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 ...
2
votes
2answers
423 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 ...
1
vote
1answer
107 views

Why does audio playback seem to depend on GPU memory?

I encountered a really odd behaviour with my Raspberry Pi B+, running a slightly modified version of Raspbian with a PiTFT screen from Adafruit. Because the screen cannot access the GPU I dialed down ...
4
votes
1answer
403 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 ...
0
votes
1answer
276 views

Use Pi as simple GPU for PC?

I have seen some many examples of connecting an external GPU to the PI but I want know if the reverse is possible whereby the RPI GPU can be accessed via a PC. The use case is to use the PI as a poor ...
1
vote
1answer
93 views

Use a raspberry pi as a GPU for another raspberry pi

I have 2 Pis, a original B+ and a 3. The B+ was used every day as a desktop PC for 4 years with overclocking, so it is pretty worn.So now I use the 3 as a desktop and try to run DOS games in DOSbox on ...
14
votes
8answers
48k 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 ...
0
votes
1answer
409 views

Interfacing pygame with dispmanx - performance

I'm working on a graphical application, made for console mode, and facing some performance issues when working with large resolution (1920px wide here). One part of the display, a video background, ...
1
vote
0answers
81 views

Raspberry Pi processing power [closed]

I've never worked with Raspberry Pi's, but I want to make some cute interactive shaders to put around the house and I was wondering if I could use a Raspberry Pi. I just wanted to know what one is ...
0
votes
1answer
128 views

Is there a way to drive the display via HDMI from a systemd service

When my Raspberry PI starts it will start a process using systemd. At this point the display of the PI will be the standard PIXEL desktop. This process does not run as root. What I am looking for is ...
1
vote
0answers
913 views

Is there a way to check out the GPU usage (how busy it is) on a RPi3? [duplicate]

I have a Raspberry Pi 3 Model B and would like to know how busy the GPU gets when I run certain tests to determine whether it would be possible for me to do certain things. I see that the GPU is a bit ...
103
votes
5answers
25k views

Can I use the GPU for calculations?

Is it possible to use the GPU for calculations? (e.g. CUDA/OpenCL)
2
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 ? ...
23
votes
3answers
18k 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.
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 ...
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?
71
votes
2answers
129k 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 ...
3
votes
1answer
3k 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 ...
11
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 ...
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 ...
0
votes
1answer
801 views

Overclocking GPU on raspberry pi 2 model B?

I'm trying to overclock the GPU on my raspberry pi 2, but I can't seem to find out how. Also, there's no setting for it in config.txt? Does anyone know where I might be able to find this setting (...
4
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 ...
2
votes
0answers
294 views

How to force GPU memory to 0 on a headless server [duplicate]

Is there any way to force the shared memory to 0? I'm running Jessie on a pi3 (and a pi2 and a few zero-w's) as a headless server and only ever access it via SSH or a WebUI for certain services. I ...
6
votes
5answers
45k 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?
1
vote
1answer
1k views

How will leaving the default GPU memory setting at 64 affect my installed packages

I left my default GPU setting at 64. Will this affect my installed packages in a negative way? I have a raspberry pi 3 and I am getting the hang of things so if there is a better setting I would like ...
28
votes
3answers
31k 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 ...
0
votes
1answer
600 views

Compile Raspivid from userland

I downloaded the userland repository from https://github.com/raspberrypi/userland and I wanted to compile just RaspiVid.c file. It's because I wanted to use the RaspiVid.c code in my project. But i ...
14
votes
3answers
8k 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 ...
1
vote
0answers
270 views

What should Pi 3 CPU/GPU split be for command line boot to run MJPG-Stream

The Raspberry Pi 3 - now has 1GB RAM, and older docs have always recommended 128M GPU split for most of the video streaming apps I've looked at - but a lot of them refer to 512M RAM limit in the older ...
11
votes
6answers
63k 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 ...
5
votes
2answers
3k 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 ...
-2
votes
1answer
18k views

Raspberry PI 3 Increase Gpu Memory to 944 [closed]

I use Raspberry PI 3 and wnat to get more GPU memory to work. I overclock my PI to get more performance because I use it for home Apache/PHP/MySQL server, Access Point and somethimes play music and ...
2
votes
1answer
12k 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 ...
5
votes
1answer
117 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 ...
2
votes
1answer
946 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 ...
3
votes
1answer
260 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.
1
vote
1answer
1k 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 ...
6
votes
1answer
145 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 ...
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 ...