Posts: 85
Joined: Sun Feb 15, 2015 2:59 am

both hdmi and pi?

Sun Mar 08, 2015 7:42 pm

i got this glitch where minecraft doesnt shop up on my small screen (i have everything programed to work on the small screen connected with gpio pins or whatever) i plugged in my hdmi port and there it was on the monitor... not on my small screen.. i guess i found where it went... help
ras pi 2, gotta love it.

User avatar
Posts: 2333
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: both hdmi and pi?

Mon Mar 09, 2015 11:18 am

Hi, the issue is that Minecraft (Pi Edition) uses OpenGL ES to display all those blocks in 3D. At the moment there is no easy way to show OpenGL ES output within the Desktop. So Minecraft uses a trick. It creates a window on the Desktop and then places the OpenGL ES overlay in the same location. When you use an HDMI or AV monitor/TV on the Raspberry Pi the Desktop (which is just one layer) is displayed along with any other layers created by OpenGL ES, OpenVG, the Raspberry Pi camera, etc. When you use a GPIO display, the available driver creates a single (framebuffer) that is used to display the Desktop. The only way around this (that I know of) is to run the Desktop on the framebuffer that is displayed on the TV/monitor attached to the Raspberry Pi (/dev/fb0) and use the program fbcp to copy everything displayed to the framebuffer of your GPIO LCD display (typically /dev/fb1).

Return to “Gaming”