Questions tagged [gpu]

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

The Raspberry Pi is based on the Broadcom BCM2835/BCM2836 system on a chip (SoC), which includes the ARM Processor, GPU and RAM.

The BCM2835 is a cost-optimized, full HD, multimedia applications processor for advanced mobile and embedded applications that require the highest levels of multimedia performance. Designed and optimized for power efficiency, BCM2835 uses Broadcom's VideoCore® IV technology to enable applications in media playback, imaging, camcorder, streaming media, graphics and 3D gaming.

108 questions
108
votes
5 answers

Can I use the GPU for calculations?

Is it possible to use the GPU for calculations? (e.g. CUDA/OpenCL)
Alex L
  • 7,615
  • 12
  • 44
  • 53
79
votes
3 answers

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 python scripts and web-browsing. Is it likely to…
Salim Fadhley
  • 2,035
  • 4
  • 19
  • 13
45
votes
6 answers

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 X11 yet, at least not from X.org, but has anyone…
berry120
  • 10,984
  • 11
  • 53
  • 63
35
votes
7 answers

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?
Scoop
  • 2,739
  • 7
  • 29
  • 25
34
votes
3 answers

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 generate a h264/mp4 video files. Ok, its a…
towi
  • 545
  • 2
  • 5
  • 8
25
votes
3 answers

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.
hifkanotiks
  • 1,901
  • 3
  • 16
  • 28
19
votes
3 answers

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?
Alex Chamberlain
  • 15,638
  • 15
  • 69
  • 113
17
votes
3 answers

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 directly from the camera? Are there any command line…
Szabolcs
  • 662
  • 2
  • 6
  • 18
16
votes
1 answer

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 is understandable - but with the hardware…
berry120
  • 10,984
  • 11
  • 53
  • 63
15
votes
8 answers

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 take advantage of GPU processing power? is not…
Arturo Veras
  • 279
  • 1
  • 2
  • 6
14
votes
3 answers

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 forthcoming. Does anyone know if this is likely in the…
cjm2671
  • 271
  • 2
  • 3
  • 7
13
votes
2 answers

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 read a lot on the internet and but no one seems to…
Helder AC
  • 269
  • 1
  • 2
  • 6
13
votes
6 answers

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 gpu it shows gpu=256M as requested. Now , with the…
diego.martinez
  • 245
  • 1
  • 2
  • 8
12
votes
1 answer

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 framework and do something cool and flexible with…
Ethan
  • 223
  • 2
  • 5
12
votes
2 answers

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 - does that mean we're now likely to see it happen? If…
David Carboni
  • 223
  • 2
  • 6
1
2 3 4 5 6 7 8