Duke4.net Forums: Error: glGetTexLevelParameteriv returned GL_FALSE! - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Error: glGetTexLevelParameteriv returned GL_FALSE!  "Without S3TC"

User is offline   Zagro 

#1

When running current svn under Linux with r300 mesa driver from git and without libtxc-dxtn I get these GL errors:

$ ./eduke32 -hduke3d_hrp_polymost.def -grp duke3d_hrp.zip eduke32_mus.zip
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
EDuke32 2.0.0devel rXXXX 
Compiled Dec 23 2012 20:35:30
Application parameters: -hduke3d_hrp_polymost.def -grp duke3d_hrp.zip eduke32_mus.zip xxx_pack.zip 
Using DEF file "duke3d_hrp_polymost.def".
Using /home/zagro/games/eduke32/eseguibili/ for game data
Using /home/zagro/.eduke32/ for game data
Initializing SDL system interface (compiled against SDL version 1.2.15, found version 1.2.15)
Using "x11" video driver
Searching for game data...
 Checksumming DUKE3D.GRP... Done
Using "DUKE3D.GRP" as main game data file.
Using file "duke3d_hrp.zip" as game data.
Using file "eduke32_mus.zip" as game data.
Using file "xxx_pack.zip" as game data.
Compiling: GAME.CON (151190 bytes)
Including: DEFS.CON (35992 bytes)
Including: USER.CON (45482 bytes)
GAME.CON: In actor `ORGANTIC':
GAME.CON:3967: warning: found `else' with no `if'.
GAME.CON: In state `pigshootenemystate':
GAME.CON:5890: warning: found `else' with no `if'.
Found 2 warning(s), 0 error(s).
Resizing code buffer to 16189*4 bytes
Script compiled in 17ms, 16181*4b, version 1.4+
2006/11264 labels, 322/2048 variables, 2/512 arrays
125 quotes, 207 actors
Initialized 24,0M cache
Loading "duke3d_hrp_polymost.def"
High Resolution Pack (version 5.2.413 Polymost)
Definitions file "duke3d_hrp_polymost.def" loaded.
RTS file "DUKE.RTS" was not found
Initializing OSD...
1 joystick(s) found
  1. applesmc
Joystick 1 has 2 axes, 0 buttons, and 0 hat(s).
Setting video mode 1024x768 (32-bpp windowed)
couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable
r300: DRM version: 2.18.0, Name: ATI RV530, ID: 0x71c5, GB: 1, Z: 2
r300: GART size: 509 MB, VRAM size: 256 MB
r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: YES
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable
OpenGL Information:
 Version:  2.1 Mesa 9.1-devel (git-a585b8f quantal-oibaf-ppa)
 Vendor:   X.Org R300 Project
 Renderer: Gallium 0.4 on ATI RV530
Opened "textures" as cache file
Initializing music...
Initializing sound... 32 voices, 2 channels, 16-bit 48000 Hz
Load tile 2492: p0-m4-e0 highres/screen/menu/2492_ver_polymost.png... 150 ms
Load tile 2493: p0-m4-e0 highres/screen/menu/2493_polymost.png... 68 ms
Load tile 3281: p0-m4-e0 highres/screen/menu/3281.png... 143 ms
Error: glGetTexLevelParameteriv returned GL_FALSE!
Load tile 2499: p0-m4-e0 highres/screen/menu/2499.png... cached... 16 ms
Error: glGetTexLevelParameteriv returned GL_FALSE!
Load tile 2503: p0-m4-e0 highres/screen/menu/2503.png... cached... 15 ms
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
Error: glGetTexLevelParameteriv returned GL_FALSE!
 
Wrote eduke32.cfg
Wrote settings.cfg


The game seems to run fine however. Let me know if you need more info (gdb bt on error or else). The errors happens because I have not libtxc-dxtn.

This post has been edited by Zagro: 26 December 2012 - 05:21 AM

0

User is offline   Plagman 

  • Former VP of Media Operations

#2

Yeah, that's expected.
0

User is offline   Zagro 

#3

View PostPlagman, on 25 December 2012 - 10:46 AM, said:

Yeah, that's expected.


So it's something needing a fix? It also prints this while playing:
Mesa: User error: GL_INVALID_ENUM in glCompressedTexImage2D(internalFormat)
gloadtile_cached: bglCompressedTexImage2DARB failed  (glerr=500)
Error: glGetTexLevelParameteriv returned GL_FALSE!

0

User is offline   Plagman 

  • Former VP of Media Operations

#4

Not really, it's just that when we run against a driver that advertises texture compression support but doesn't support compressing textures (eg. only a straight passthrough to the GPU), we spew this and fall back to the uncompressed path. It isn't really a big deal except for spamming your log.
0

User is offline   Zagro 

#5

View PostPlagman, on 26 December 2012 - 08:55 AM, said:

Not really, it's just that when we run against a driver that advertises texture compression support but doesn't support compressing textures (eg. only a straight passthrough to the GPU), we spew this and fall back to the uncompressed path. It isn't really a big deal except for spamming your log.


What do you mean? When removing libtxc-dxtn, both GL_EXT_texture_compression_s3tc and GL_S3_s3tc extensions disappear. GL_ARB_texture_compression is still advertised, as well as GL_EXT_texture_compression_rgtc / 3dc / latc but not the S3 versions.

Also at least the
Mesa: User error: GL_INVALID_ENUM in glCompressedTexImage2D(internalFormat)

make me think that there is some misuse of OpenGL in eduke and is not simply using uncompressed textures. Or I am missing something?
0

User is offline   Plagman 

  • Former VP of Media Operations

#6

I think that's because you ran once with the S3TC-enabled driver, which created an S3TC-compressed disk cache, and it's now trying to re-upload it as-is into your now-DXT-less driver, so technically that's wrong. In practice we specify that you should nuke the on-disk cache when switching GPUs or drivers, so it's also expected.
0

User is offline   Zagro 

#7

You are right indeed, after purging the cache I only get:
Error: glGetTexLevelParameteriv returned GL_FALSE!

1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options