Page MenuHome

Official blenderplayer can not go fullscreen on Linux
Closed, ResolvedPublic

Description

Category: UI/Interface

The official build of blenderplayer, i.e. from [1], can not change the video resolution. However unofficial builds such as those from Irie's Ubuntu PPA [2] work fine. I think this is because the official builds fail to specify "WITH_X11_XF86VMODE = ON" in the build options.

$ ldd /usr/lib/blender/blenderplayer | grep -i xf86vm
libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f52157eb000)

$ ldd blenderplayer | grep -i xf86vm
<no result>

Attached is a very simple .blend file that should go full screen when the game starts in blenderplayer.

Blender: 2.68a
OS: Ubuntu 12.04 (64-bit)
CPU: Intel Core i5 U 430
Video: AMD Mobility Radeon HD 5430 (fglrx driver)

[1] http://www.blender.org/download/get-blender/
[2] https://launchpad.net/~irie/+archive/blender

Event Timeline

Attaching partial patch to enable xvidmode setting when building with scons. The build fails, though:

KeyError: 'WITH_X11_XINPUT':
[...]
File "/home/alex/Documents/projects/blender/blender/blender/intern/ghost/SConscript", line 78:
if env['WITH_X11_XINPUT']:
[...]

Campbell Barton (campbellbarton) changed the task status from Unknown Status to Resolved.Sep 5 2013, 1:45 AM