Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
22
votes
6answers
114k 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?
0
votes
2answers
51 views

How am I supposed to set GPU memory in RPi4?

I am using RPi4 for a while and I found some problem playing videos on VLC and you-tube. After searching a long time I found that these problems can be solved by increasing GPU Memory. I found that ...
1
vote
1answer
45 views

DIfference betwenn vc_dispmanx and vc_vchi_dispmanx?

I'm using vc_dispmanx as a display engine and noticed the presence of vc_vchi_dispmanx library who looks quite close to vc_dispmanx. Dispmanx seems to be a broadcom proprietary alternative to openGL, ...
0
votes
1answer
440 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 ...
2
votes
1answer
52 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
1answer
65 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 ...
0
votes
0answers
24 views

Where is the GPU firmware loaded into?

According to cursory explanations of the booting process and software such as this, the small second stage bootloader on the SD card enables the GPU to access its firmware on the SD card and load it. ...
0
votes
1answer
71 views

Simulating OpenCL on a Raspberry Pi using Python

Is it possible to run code on a Raspberry Pi which simulates the use of OpenCL? I am developing code on a computer which is capable of using OpenCL, and am testing this code remotely on a Raspberry ...
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 ? ...
7
votes
5answers
53k 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?
2
votes
1answer
1k views

Can Raspbery Pi 4 hardware decode 4k@60hz H.265 10bit video?

I have seen it has H.265 support, but not specifically for 10 bit. Can anyone confirm this?
2
votes
0answers
126 views

Raspberry Pi Model 4 - Which nonfree parts remain?

As the Raspberry Pi Model 4 was released today, I reckon it's time to update this question. I'm aware of the fact that a lot of effort was put into writing usable free software GPU drivers as stated ...
1
vote
1answer
561 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 ...
1
vote
0answers
16 views

How to display numer of QPUs on screen?

I'm using the QPU library created by mn416 on GitHub (https://github.com/mn416/QPULib) to run a sample code on Raspberry Pi 3B I need to display the number of QPUs utilised by the GCD algorithm. I'm ...
2
votes
1answer
224 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 ...
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+ #...
1
vote
0answers
71 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
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 ...
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 ...
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 ...
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
75 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
540 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
117 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
455 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
505 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
201 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
50k 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
546 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
98 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
213 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
2k 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 ...
104
votes
5answers
26k views

Can I use the GPU for calculations?

Is it possible to use the GPU for calculations? (e.g. CUDA/OpenCL)
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.
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?
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 ...
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 ...
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 ...
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
917 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 (...
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 ...
2
votes
0answers
511 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 ...
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 ...
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 ...
0
votes
1answer
789 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 ...
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 ...
1
vote
0answers
295 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 ...
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 ...