andrei-drexler / ironwail

High-performance QuakeSpasm fork
GNU General Public License v2.0
530 stars 49 forks source link

Debian 12 - Radeon 6850 - Too many vertex shader storage blocks (3/0) #229

Open jwh1981 opened 1 year ago

jwh1981 commented 1 year ago

I am on a Debian 12 x86_64 install using the current commit: 5fab9da81d403c3735d2cdfc9ee0aa95b498814e

The machine specs are: Core i5 3450 8GB RAM 256GB SSD Radeon 6850

I have confirmed that other games that require OpenGL work (such as Dhewm3). After I compile and try to run, I get the below error:

Command line: ./ironwail Found SDL version 2.26.5 Detected 4 CPUs. Initializing Ironwail v0.7.0 Host_Init Playing registered version. Using renderer/network isolation. Console initialized. UDP Initialized Server using protocol 999 (RMQ) Exe: 10:11:53 Jun 17 2023 (Linux 64-bit) 384.0 megabyte heap

Video initialization Video mode: 1440x900x24 Z24 S8 60Hz GL_VENDOR: X.Org GL_RENDERER: AMD BARTS (DRM 2.50.0 / 6.1.0-9-amd64, LLVM 15.0.6) GL_VERSION: 4.5 (Core Profile) Mesa 22.3.6 FOUND: EXT_texture_filter_anisotropic FOUND: ARB_buffer_storage FOUND: ARB_multi_bind FOUND: ARB_clip_control

ERROR-OUT BEGIN

QUAKE ERROR: Your system appears to meet the minimum requirements, however an error was encountered during OpenGL initialization. This could be caused by a driver or an engine bug. Please report this issue, including the following details:

Error linking world|OIT 0; DITHER 0; MODE 0 program:

error: Too many vertex shader storage blocks (3/0)

Engine: Ironwail 0.7.0 (64-bit) OpenGL: 4.5 (Core Profile) Mesa 22.3.6 GPU: AMD BARTS (DRM 2.50.0 / 6.1.0-9-amd64, LLVM 15.0.6) Vendor: X.Org

jwh1981 commented 1 year ago

I tested just now on my Macbook Pro 2012 with Debian 12 and the following specs:

Core i7 3820qm 16GB RAM 256GB SSD Geforce GT 650M

It works without issue. Its very possible its Mesa/Radeon driver related. I unfortunately do not have a newer AMD GPU to test with.

jwh1981 commented 1 year ago

I have a feeling this is due to the Radeon 6800 series cards not fulling supporting OpenGL 4.5 (64-bit arithmetic as an example) vi Mesa. It could be that the compute shaders are insufficient.

jwh1981 commented 1 year ago

It works fine on the initial machine (that had a Radeon 6850) once I put in a GTX 460 and used the 390xx drivers. Must be an issue with the Radeon and its up to the community if it should/could be fixed. I am not hard pressed on it :)