Code: Select all
pi@raspberrypi:~/eduke32 $ make USE_OPENGL=0 source/duke3d/src/startgtk.game.cpp: In function ‘int32_t startwin_run()’: source/duke3d/src/startgtk.game.cpp:877:9: error: ‘glrendmode’ was not declared in this scope glrendmode = (settings.polymer) ? REND_POLYMER : REND_POLYMOST; ^~~~~~~~~~ Failed building obj/duke3d/startgtk.game.o from source/duke3d/src/startgtk.game.cpp! GNUmakefile:981: recipe for target 'obj/duke3d/startgtk.game.o' failed make: *** [obj/duke3d/startgtk.game.o] Error 1 pi@raspberrypi:~/eduke32 $
Thank you Now it's work but only 1024x768 in window...
Ok. Me downloaded Dec.2017 snapshot, compile it withjdonald wrote: ↑Sat Nov 24, 2018 12:33 amI'm building and running this with USE_OPENGL=1 (the default). Just tried a comparison against USE_OPENGL=0 + legacy driver, and can report that for once the full OpenGL driver makes this game play a whole lot better in fullscreen.
To get it to work with OpenGL I had to use the December 2017 snapshot: http://dukeworld.com/eduke32/synthesis/ ... 576.tar.xz
Code: Select all
jdonald wrote: • Did you remember to run sudo raspi-config and enable the full OpenGL driver with KMS?
• Confirm that the kernel module loads on boot. Run lsmod | grep vc4
• Check if it user software can see it by running sudo apt install mesa-utils, check glxinfo for version 1.4 or higher, and confirm you're getting 60 fps if you run glxgears. Unfortunately there's a lot that can still go wrong with the graphics driver ranging from a patched kernel to the wrong hardware.
• Among the latter requirements, can you confirm you're testing on a Pi 2 or newer? Full OpenGL is not supported on the Pi 1 or Zero.
• Don't use BerryBoot, which mandates the legacy driver.
• When all else fails there's rpi-update which updates the kernel, firmware, and VideoCore blobs.