I've been able to successfully compile quake2xp on an Orange Pi 5 running Ubuntu after commenting line 59 in the wscript file. During compilation an error was being thrown due to -mcmodel. Commenting that line worked and the binary runs. I'm getting OGG audio but the opening screen is blank with left side of the screen black and the right side white.
The initial errors are related to GLSL and the supported version. On the Orange Pi 5 we have GLSL v1.30 which should be supported by quake2xp but as you can see I still get the errors below:
Here's the console output:
===== Quake2xp Console initialized =====
====== File System Initialization ======
Added packfile ./baseq2/pak0.pak (3307 files)
Added packfile ./baseq2/pak1.pak (279 files)
Added packfile ./baseq2/pak2.pak (2 files)
Added packfile ./baseq2/q2xp0.pkx (998 files)
Added packfile ./baseq2/q2xpMaps.pkx (144 files)
Added packfile ./baseq2/q2xpMdl.pkx (645 files)
Added packfile ./baseq2/q2xpMdl_q2e.pkx (18 files)
Added packfile ./baseq2/q2xpMusic.pkx (33 files)
Added packfile ./baseq2/q2xpTex0.pkx (3304 files)
Using '/home/ubuntu/.quake2xp/baseq2' for writing
Found game library at ''
execing default.cfg
execing x360.cfg
couldn't exec xpconfig.cfg
========System Information========
Total physical RAM: 15719 MB
Available physical RAM: 12778.1 MB
Total Virtual Memory: 15258.8 MB
Available virtual memory: 15258.8 MB
OS info: Linux orange-pi5 5.10.110-orange-pi #1 SMP Sat Feb 25 03:45:09 GMT 2023 aarch64 aarch64 aarch64 GNU/Linux
User name: ubuntu
==================================
Initialized SDL video, driver is "x11".
==== Starting OpenGL Renderer ====
Total count screens: 1
Screen 1: 1920X1080
setting mode 0:[1920x1080]
GL_VENDOR: Panfrost
GL_RENDERER: Mali-G610 (Panfrost)
GL_VERSION: 3.0 Mesa 23.0.0-devel (git-120202c675)
GLSL_VERSION: 1.30
Max Fragment Uniform Components: 16380
Max Vertex Uniform Components: 16352
Max Uniform Locations: 65500
Max Vertex Attribs: 16
Max Varying Floats: 128
Max Vertex TextureImageUnits: 32
Max Texture ImageUnits: 32
Max Combined TextureImageUnits: 96
Max Fragment UniformComponents: 16380
Max Render Buffer Size: 8192
Max Draw Buffers: 8
Max Color Attachments: 8
Max Buffer Samples: 4
Initializing programs...
Load null program program 'null': error(s) in vertex shader
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load ambient world program program 'ambientWorld': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load world interaction program program 'lightWorld': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load ambient md2 program program 'ambientMd2': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load ambient md3 program program 'ambientMd3': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load alias interaction program program 'lightAlias': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load glare program program 'glare': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load radial blur program program 'radialBlur': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load dof blur program program 'dof': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load motion blur program program 'mblur': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load linear depth program program 'linearDepth': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load ssao program program 'ssao': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load bloom program program 'bloomds': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load bloom blur program program 'bloomBlur': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load glass program program 'glass': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load glass interaction program program 'glassLight': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load sprite program program 'sprite': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load thermal vision program program 'thermal': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load water program program 'water': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load particles program program 'particles': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load generic program program 'generic': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load cinematic program program 'cin': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load load screen program program 'loading': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load fxaa program program 'fxaa': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load filmicFx program Failed!
Load white balance program program 'whitebalance': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load shadow volumes program program 'shadow': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load light2d program program 'light2d': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load perspective correction program program 'fixfov': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load menu background program program 'menu': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load sky program program 'sky': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load color program program 'color': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load flare program program 'flare': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load global fog program program 'globalFog': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load screen flash program program 'screenFlash': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load heat haze program program 'heatHaze': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load debug TBN program program 'tbnDebug': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load tonemap program program 'tonemap': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
Load final pass program program 'finalPass': error(s) in vertex shader:
0:1(10): error: GLSL 4.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
Failed!
GLSL shaders loading time: 0.0410 sec
Initializing FBOs...
Load HDR FBO succeeded
Load FINAL FBO succeeded
Load FXAA FBO succeeded
Load HDR64 FBO succeeded
Load LINEAR DEPTH FBO succeeded
Load SSAO FBO succeeded
Load BLOOM FBO succeeded
Load THERMAL FBO succeeded
Initializing Vertex Buffers: ok
...Max Texture Size is [8192]
...using GL_ARB_texture_filter_anisotropic [16 max] [16 selected]
...ignoring GL_ARB_texture_compression_bptc
...using GL_ARB_seamless_cube_map
...GL_EXT_depth_bounds_test not found
=====================================
Input initialized.
===Starting OpenAL audio subsystem===
====== Available Output Devices =====
: Built-in Audio HDMI
: Built-in Audio Headphones + Speaker
: Built-in Audio DP Port
Default Output Device: Built-in Audio HDMI
=====================================
...Initializing OpenAL Driver
...Opening Default Device: succeeded (OpenAL Soft)
...Creating AL Context: succeeded
...Making Context Current: succeeded
=====================================
...using ALC_SOFT_HRTF
...using default-44100
...HRTF Mode: on
...using AL_SOFT_source_resampler
...Available Resamplers:
0 Nearest
1 Linear
2 Cubic
3 11th order Sinc
4 23rd order Sinc
...select Linear resampler
64 Auxiliary Effect Slots
2 Auxiliary Sends per Source
Effects Supported: -
'Reverb' Support YES
'EAX Reverb' Support YES
'Chorus' Support YES
'Distortion' Support YES
'Echo' Support YES
'Flanger' Support YES
'Frequency Shifter' Support YES
'Vocal Morpher' Support NO
'Pitch Shifter' Support YES
'Ring Modulator' Support YES
'Autowah' Support YES
'Compressor' Support YES
'Equalizer' Support YES
Filters Supported: -
'Low Pass' Support YES
'High Pass' Support YES
'Band Pass' Support YES
126 mix channels allocated.
streaming channel allocated.
AL_VENDOR: OpenAL Community
AL_RENDERER: OpenAL Soft
AL_VERSION: 1.1 ALSOFT 1.19.1
AL_EXTENSIONS:
AL_EXT_ALAW
AL_EXT_BFORMAT
AL_EXT_DOUBLE
AL_EXT_EXPONENT_DISTANCE
AL_EXT_FLOAT32
AL_EXT_IMA4
AL_EXT_LINEAR_DISTANCE
AL_EXT_MCFORMATS
AL_EXT_MULAW
AL_EXT_MULAW_BFORMAT
AL_EXT_MULAW_MCFORMATS
AL_EXT_OFFSET
AL_EXT_source_distance_model
AL_EXT_SOURCE_RADIUS
AL_EXT_STEREO_ANGLES
AL_LOKI_quadriphonic
AL_SOFT_block_alignment
AL_SOFT_deferred_updates
AL_SOFT_direct_channels
AL_SOFTX_events
AL_SOFTX_filter_gain_ex
AL_SOFT_gain_clamp_ex
AL_SOFT_loop_points
AL_SOFTX_map_buffer
AL_SOFT_MSADPCM
AL_SOFT_source_latency
AL_SOFT_source_length
AL_SOFT_source_resampler
AL_SOFT_source_spatialize
DEVICE: OpenAL Soft
=====================================
EFX_VERSION: 1.0
Load EFX Presets...
Load GENERIC effect: ok
Load UNDERWATHER effect: ok
Load SMALL ROOM effect: ok
Load MEDIUM ROOM effect: ok
Load LARGE ROOM effect: ok
Load HALL effect: ok
Load COURTYARD effect: ok
Load ALCOVE effect: ok
======== Init Music subsystem =======
Loading ./baseq2/gamexp.so
====== Quake2xp Initialized ======
Anonymous
I write system requirements for whom? For Carmack? Are you still on voodoo2 or on riva tnt, try to run it, or something ....
I guess you didn't really read my first post. I AM running the binary. It's running on an Orange Pi 5 which has an RK3588 ARM64 CPU and a Mali-610 GPU which was just released a few months ago in 2022. I get sound/audio when running the binary but the video isn't working properly due to the GLSL errors shown in the console output.. Not sure why you'd even mention voodoo2 or riva
Your supported GLSL version (1.30) is much lower than necessary (4.30-4.50, as written in the log).
Ah, that makes sense. The wording of the error message is somewhat confusing and led me to believe that 1.30 was sufficient.
In the beginning, you need to read the description of the project so that there are no such ridiculous situations, with an attempt to launch on an unsupported hardware. Therefore, I laughed and asked - why don't you start it on Voodoo?
Last edit: Kirk Barnes 2023-03-15
I re-checked the specs of the Orange Pi 5 and it supports GLSL 3.10 so I will have to wait until there's an update for it that takes me to version 4.30 or higher. The RK3588 is quite powerful. It runs dhewm3 (Doom3 ) at over 120 fps at 1920x1080 resolution. So it isn't so ridiculous.
Last edit: Steve 2023-03-15
BTW, thanks for your hard work. Quake2XP looks amazing on my other systems.